aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-03-20 16:09:09 +0100
committerLibravatar Kristóf Marussy <kris7topher@gmail.com>2019-03-20 16:09:09 +0100
commit3f5aaab5025b8eb243f414b1c789085327df04f4 (patch)
tree156d9d95888fce6b003d73f509b9155e6b24555f /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser
parentFix ParseUtil to avoid breaking the .vql editor in Eclipse (diff)
downloadVIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.tar.gz
VIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.tar.zst
VIATRA-Generator-3f5aaab5025b8eb243f414b1c789085327df04f4.zip
Fault tree transformation for partial models WIP
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser')
-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.g9205
-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.java4954
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java24967
6 files changed, 20961 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..baeaefcf 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.16.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..c1ed7d02 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.16.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..370bbe33 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,4902 @@
1/* 1/*
2 * generated by Xtext 2.12.0 2 * generated by Xtext 2.16.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 newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2());
311// Entry rule entryRuleEPackageImport 311 }
312entryRuleEPackageImport returns [EObject current=null]: 312 this_CftImport_2=ruleCftImport
313 { newCompositeNode(grammarAccess.getEPackageImportRule()); } 313 {
314 iv_ruleEPackageImport=ruleEPackageImport 314 $current = $this_CftImport_2.current;
315 { $current=$iv_ruleEPackageImport.current; } 315 afterParserOrEnumRuleCall();
316 EOF; 316 }
317 317 )
318// Rule EPackageImport 318;
319ruleEPackageImport returns [EObject current=null] 319
320@init { 320// Entry rule entryRuleEPackageImport
321 enterRule(); 321entryRuleEPackageImport returns [EObject current=null]:
322} 322 { newCompositeNode(grammarAccess.getEPackageImportRule()); }
323@after { 323 iv_ruleEPackageImport=ruleEPackageImport
324 leaveRule(); 324 { $current=$iv_ruleEPackageImport.current; }
325}: 325 EOF;
326 ( 326
327 otherlv_0='import' 327// Rule EPackageImport
328 { 328ruleEPackageImport returns [EObject current=null]
329 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 329@init {
330 } 330 enterRule();
331 otherlv_1='epackage' 331}
332 { 332@after {
333 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 333 leaveRule();
334 } 334}:
335 ( 335 (
336 ( 336 otherlv_0='import'
337 { 337 {
338 if ($current==null) { 338 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
339 $current = createModelElement(grammarAccess.getEPackageImportRule()); 339 }
340 } 340 otherlv_1='epackage'
341 } 341 {
342 otherlv_2=RULE_STRING 342 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
343 { 343 }
344 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 344 (
345 } 345 (
346 ) 346 {
347 ) 347 if ($current==null) {
348 ) 348 $current = createModelElement(grammarAccess.getEPackageImportRule());
349; 349 }
350 350 }
351// Entry rule entryRuleViatraImport 351 otherlv_2=RULE_STRING
352entryRuleViatraImport returns [EObject current=null]: 352 {
353 { newCompositeNode(grammarAccess.getViatraImportRule()); } 353 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
354 iv_ruleViatraImport=ruleViatraImport 354 }
355 { $current=$iv_ruleViatraImport.current; } 355 )
356 EOF; 356 )
357 357 )
358// Rule ViatraImport 358;
359ruleViatraImport returns [EObject current=null] 359
360@init { 360// Entry rule entryRuleViatraImport
361 enterRule(); 361entryRuleViatraImport returns [EObject current=null]:
362} 362 { newCompositeNode(grammarAccess.getViatraImportRule()); }
363@after { 363 iv_ruleViatraImport=ruleViatraImport
364 leaveRule(); 364 { $current=$iv_ruleViatraImport.current; }
365}: 365 EOF;
366 ( 366
367 otherlv_0='import' 367// Rule ViatraImport
368 { 368ruleViatraImport returns [EObject current=null]
369 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 369@init {
370 } 370 enterRule();
371 otherlv_1='viatra' 371}
372 { 372@after {
373 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 373 leaveRule();
374 } 374}:
375 ( 375 (
376 ( 376 otherlv_0='import'
377 { 377 {
378 if ($current==null) { 378 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
379 $current = createModelElement(grammarAccess.getViatraImportRule()); 379 }
380 } 380 otherlv_1='viatra'
381 } 381 {
382 otherlv_2=RULE_STRING 382 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
383 { 383 }
384 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 384 (
385 } 385 (
386 ) 386 {
387 ) 387 if ($current==null) {
388 ) 388 $current = createModelElement(grammarAccess.getViatraImportRule());
389; 389 }
390 390 }
391// Entry rule entryRuleDeclaration 391 otherlv_2=RULE_STRING
392entryRuleDeclaration returns [EObject current=null]: 392 {
393 { newCompositeNode(grammarAccess.getDeclarationRule()); } 393 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
394 iv_ruleDeclaration=ruleDeclaration 394 }
395 { $current=$iv_ruleDeclaration.current; } 395 )
396 EOF; 396 )
397 397 )
398// Rule Declaration 398;
399ruleDeclaration returns [EObject current=null] 399
400@init { 400// Entry rule entryRuleCftImport
401 enterRule(); 401entryRuleCftImport returns [EObject current=null]:
402} 402 { newCompositeNode(grammarAccess.getCftImportRule()); }
403@after { 403 iv_ruleCftImport=ruleCftImport
404 leaveRule(); 404 { $current=$iv_ruleCftImport.current; }
405}: 405 EOF;
406 ( 406
407 { 407// Rule CftImport
408 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 408ruleCftImport returns [EObject current=null]
409 } 409@init {
410 this_FileDeclaration_0=ruleFileDeclaration 410 enterRule();
411 { 411}
412 $current = $this_FileDeclaration_0.current; 412@after {
413 afterParserOrEnumRuleCall(); 413 leaveRule();
414 } 414}:
415 | 415 (
416 { 416 otherlv_0='import'
417 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 417 {
418 } 418 newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0());
419 this_MetamodelDeclaration_1=ruleMetamodelDeclaration 419 }
420 { 420 otherlv_1='reliability'
421 $current = $this_MetamodelDeclaration_1.current; 421 {
422 afterParserOrEnumRuleCall(); 422 newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1());
423 } 423 }
424 | 424 (
425 { 425 (
426 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 426 {
427 } 427 if ($current==null) {
428 this_PartialModelDeclaration_2=rulePartialModelDeclaration 428 $current = createModelElement(grammarAccess.getCftImportRule());
429 { 429 }
430 $current = $this_PartialModelDeclaration_2.current; 430 }
431 afterParserOrEnumRuleCall(); 431 otherlv_2=RULE_STRING
432 } 432 {
433 | 433 newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0());
434 { 434 }
435 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 435 )
436 } 436 )
437 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration 437 )
438 { 438;
439 $current = $this_GraphPatternDeclaration_3.current; 439
440 afterParserOrEnumRuleCall(); 440// Entry rule entryRuleDeclaration
441 } 441entryRuleDeclaration returns [EObject current=null]:
442 | 442 { newCompositeNode(grammarAccess.getDeclarationRule()); }
443 { 443 iv_ruleDeclaration=ruleDeclaration
444 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 444 { $current=$iv_ruleDeclaration.current; }
445 } 445 EOF;
446 this_ConfigDeclaration_4=ruleConfigDeclaration 446
447 { 447// Rule Declaration
448 $current = $this_ConfigDeclaration_4.current; 448ruleDeclaration returns [EObject current=null]
449 afterParserOrEnumRuleCall(); 449@init {
450 } 450 enterRule();
451 | 451}
452 { 452@after {
453 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 453 leaveRule();
454 } 454}:
455 this_ScopeDeclaration_5=ruleScopeDeclaration 455 (
456 { 456 {
457 $current = $this_ScopeDeclaration_5.current; 457 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
458 afterParserOrEnumRuleCall(); 458 }
459 } 459 this_FileDeclaration_0=ruleFileDeclaration
460 ) 460 {
461; 461 $current = $this_FileDeclaration_0.current;
462 462 afterParserOrEnumRuleCall();
463// Entry rule entryRuleFileSpecification 463 }
464entryRuleFileSpecification returns [EObject current=null]: 464 |
465 { newCompositeNode(grammarAccess.getFileSpecificationRule()); } 465 {
466 iv_ruleFileSpecification=ruleFileSpecification 466 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
467 { $current=$iv_ruleFileSpecification.current; } 467 }
468 EOF; 468 this_MetamodelDeclaration_1=ruleMetamodelDeclaration
469 469 {
470// Rule FileSpecification 470 $current = $this_MetamodelDeclaration_1.current;
471ruleFileSpecification returns [EObject current=null] 471 afterParserOrEnumRuleCall();
472@init { 472 }
473 enterRule(); 473 |
474} 474 {
475@after { 475 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
476 leaveRule(); 476 }
477}: 477 this_PartialModelDeclaration_2=rulePartialModelDeclaration
478 ( 478 {
479 ( 479 $current = $this_PartialModelDeclaration_2.current;
480 lv_path_0_0=RULE_STRING 480 afterParserOrEnumRuleCall();
481 { 481 }
482 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 482 |
483 } 483 {
484 { 484 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
485 if ($current==null) { 485 }
486 $current = createModelElement(grammarAccess.getFileSpecificationRule()); 486 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration
487 } 487 {
488 setWithLastConsumed( 488 $current = $this_GraphPatternDeclaration_3.current;
489 $current, 489 afterParserOrEnumRuleCall();
490 "path", 490 }
491 lv_path_0_0, 491 |
492 "org.eclipse.xtext.common.Terminals.STRING"); 492 {
493 } 493 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
494 ) 494 }
495 ) 495 this_ConfigDeclaration_4=ruleConfigDeclaration
496; 496 {
497 497 $current = $this_ConfigDeclaration_4.current;
498// Entry rule entryRuleFileDeclaration 498 afterParserOrEnumRuleCall();
499entryRuleFileDeclaration returns [EObject current=null]: 499 }
500 { newCompositeNode(grammarAccess.getFileDeclarationRule()); } 500 |
501 iv_ruleFileDeclaration=ruleFileDeclaration 501 {
502 { $current=$iv_ruleFileDeclaration.current; } 502 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
503 EOF; 503 }
504 504 this_ScopeDeclaration_5=ruleScopeDeclaration
505// Rule FileDeclaration 505 {
506ruleFileDeclaration returns [EObject current=null] 506 $current = $this_ScopeDeclaration_5.current;
507@init { 507 afterParserOrEnumRuleCall();
508 enterRule(); 508 }
509} 509 |
510@after { 510 {
511 leaveRule(); 511 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
512}: 512 }
513 ( 513 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration
514 otherlv_0='file' 514 {
515 { 515 $current = $this_ObjectiveDeclaration_6.current;
516 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 516 afterParserOrEnumRuleCall();
517 } 517 }
518 ( 518 )
519 ( 519;
520 lv_name_1_0=RULE_ID 520
521 { 521// Entry rule entryRuleFileSpecification
522 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 522entryRuleFileSpecification returns [EObject current=null]:
523 } 523 { newCompositeNode(grammarAccess.getFileSpecificationRule()); }
524 { 524 iv_ruleFileSpecification=ruleFileSpecification
525 if ($current==null) { 525 { $current=$iv_ruleFileSpecification.current; }
526 $current = createModelElement(grammarAccess.getFileDeclarationRule()); 526 EOF;
527 } 527
528 setWithLastConsumed( 528// Rule FileSpecification
529 $current, 529ruleFileSpecification returns [EObject current=null]
530 "name", 530@init {
531 lv_name_1_0, 531 enterRule();
532 "org.eclipse.xtext.common.Terminals.ID"); 532}
533 } 533@after {
534 ) 534 leaveRule();
535 ) 535}:
536 otherlv_2='=' 536 (
537 { 537 (
538 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 538 lv_path_0_0=RULE_STRING
539 } 539 {
540 ( 540 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
541 ( 541 }
542 { 542 {
543 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 543 if ($current==null) {
544 } 544 $current = createModelElement(grammarAccess.getFileSpecificationRule());
545 lv_specification_3_0=ruleFileSpecification 545 }
546 { 546 setWithLastConsumed(
547 if ($current==null) { 547 $current,
548 $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 548 "path",
549 } 549 lv_path_0_0,
550 set( 550 "org.eclipse.xtext.common.Terminals.STRING");
551 $current, 551 }
552 "specification", 552 )
553 lv_specification_3_0, 553 )
554 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 554;
555 afterParserOrEnumRuleCall(); 555
556 } 556// Entry rule entryRuleFileDeclaration
557 ) 557entryRuleFileDeclaration returns [EObject current=null]:
558 ) 558 { newCompositeNode(grammarAccess.getFileDeclarationRule()); }
559 ) 559 iv_ruleFileDeclaration=ruleFileDeclaration
560; 560 { $current=$iv_ruleFileDeclaration.current; }
561 561 EOF;
562// Entry rule entryRuleFileReference 562
563entryRuleFileReference returns [EObject current=null]: 563// Rule FileDeclaration
564 { newCompositeNode(grammarAccess.getFileReferenceRule()); } 564ruleFileDeclaration returns [EObject current=null]
565 iv_ruleFileReference=ruleFileReference 565@init {
566 { $current=$iv_ruleFileReference.current; } 566 enterRule();
567 EOF; 567}
568 568@after {
569// Rule FileReference 569 leaveRule();
570ruleFileReference returns [EObject current=null] 570}:
571@init { 571 (
572 enterRule(); 572 otherlv_0='file'
573} 573 {
574@after { 574 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
575 leaveRule(); 575 }
576}: 576 (
577 ( 577 (
578 ( 578 lv_name_1_0=RULE_ID
579 { 579 {
580 if ($current==null) { 580 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
581 $current = createModelElement(grammarAccess.getFileReferenceRule()); 581 }
582 } 582 {
583 } 583 if ($current==null) {
584 otherlv_0=RULE_ID 584 $current = createModelElement(grammarAccess.getFileDeclarationRule());
585 { 585 }
586 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 586 setWithLastConsumed(
587 } 587 $current,
588 ) 588 "name",
589 ) 589 lv_name_1_0,
590; 590 "org.eclipse.xtext.common.Terminals.ID");
591 591 }
592// Entry rule entryRuleFile 592 )
593entryRuleFile returns [EObject current=null]: 593 )
594 { newCompositeNode(grammarAccess.getFileRule()); } 594 otherlv_2='='
595 iv_ruleFile=ruleFile 595 {
596 { $current=$iv_ruleFile.current; } 596 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
597 EOF; 597 }
598 598 (
599// Rule File 599 (
600ruleFile returns [EObject current=null] 600 {
601@init { 601 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
602 enterRule(); 602 }
603} 603 lv_specification_3_0=ruleFileSpecification
604@after { 604 {
605 leaveRule(); 605 if ($current==null) {
606}: 606 $current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
607 ( 607 }
608 { 608 set(
609 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 609 $current,
610 } 610 "specification",
611 this_FileSpecification_0=ruleFileSpecification 611 lv_specification_3_0,
612 { 612 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
613 $current = $this_FileSpecification_0.current; 613 afterParserOrEnumRuleCall();
614 afterParserOrEnumRuleCall(); 614 }
615 } 615 )
616 | 616 )
617 { 617 )
618 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 618;
619 } 619
620 this_FileReference_1=ruleFileReference 620// Entry rule entryRuleFileReference
621 { 621entryRuleFileReference returns [EObject current=null]:
622 $current = $this_FileReference_1.current; 622 { newCompositeNode(grammarAccess.getFileReferenceRule()); }
623 afterParserOrEnumRuleCall(); 623 iv_ruleFileReference=ruleFileReference
624 } 624 { $current=$iv_ruleFileReference.current; }
625 ) 625 EOF;
626; 626
627 627// Rule FileReference
628// Entry rule entryRuleMetamodelSpecification 628ruleFileReference returns [EObject current=null]
629entryRuleMetamodelSpecification returns [EObject current=null]: 629@init {
630 { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } 630 enterRule();
631 iv_ruleMetamodelSpecification=ruleMetamodelSpecification 631}
632 { $current=$iv_ruleMetamodelSpecification.current; } 632@after {
633 EOF; 633 leaveRule();
634 634}:
635// Rule MetamodelSpecification 635 (
636ruleMetamodelSpecification returns [EObject current=null] 636 (
637@init { 637 {
638 enterRule(); 638 if ($current==null) {
639} 639 $current = createModelElement(grammarAccess.getFileReferenceRule());
640@after { 640 }
641 leaveRule(); 641 }
642}: 642 otherlv_0=RULE_ID
643 ( 643 {
644 otherlv_0='{' 644 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
645 { 645 }
646 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 646 )
647 } 647 )
648 ( 648;
649 ( 649
650 { 650// Entry rule entryRuleFile
651 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 651entryRuleFile returns [EObject current=null]:
652 } 652 { newCompositeNode(grammarAccess.getFileRule()); }
653 lv_entries_1_0=ruleMetamodelEntry 653 iv_ruleFile=ruleFile
654 { 654 { $current=$iv_ruleFile.current; }
655 if ($current==null) { 655 EOF;
656 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 656
657 } 657// Rule File
658 add( 658ruleFile returns [EObject current=null]
659 $current, 659@init {
660 "entries", 660 enterRule();
661 lv_entries_1_0, 661}
662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 662@after {
663 afterParserOrEnumRuleCall(); 663 leaveRule();
664 } 664}:
665 ) 665 (
666 ) 666 {
667 ( 667 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
668 otherlv_2=',' 668 }
669 { 669 this_FileSpecification_0=ruleFileSpecification
670 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 670 {
671 } 671 $current = $this_FileSpecification_0.current;
672 ( 672 afterParserOrEnumRuleCall();
673 ( 673 }
674 { 674 |
675 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 675 {
676 } 676 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
677 lv_entries_3_0=ruleMetamodelEntry 677 }
678 { 678 this_FileReference_1=ruleFileReference
679 if ($current==null) { 679 {
680 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 680 $current = $this_FileReference_1.current;
681 } 681 afterParserOrEnumRuleCall();
682 add( 682 }
683 $current, 683 )
684 "entries", 684;
685 lv_entries_3_0, 685
686 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 686// Entry rule entryRuleMetamodelSpecification
687 afterParserOrEnumRuleCall(); 687entryRuleMetamodelSpecification returns [EObject current=null]:
688 } 688 { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); }
689 ) 689 iv_ruleMetamodelSpecification=ruleMetamodelSpecification
690 ) 690 { $current=$iv_ruleMetamodelSpecification.current; }
691 )* 691 EOF;
692 otherlv_4='}' 692
693 { 693// Rule MetamodelSpecification
694 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 694ruleMetamodelSpecification returns [EObject current=null]
695 } 695@init {
696 ) 696 enterRule();
697; 697}
698 698@after {
699// Entry rule entryRuleMetamodelEntry 699 leaveRule();
700entryRuleMetamodelEntry returns [EObject current=null]: 700}:
701 { newCompositeNode(grammarAccess.getMetamodelEntryRule()); } 701 (
702 iv_ruleMetamodelEntry=ruleMetamodelEntry 702 otherlv_0='{'
703 { $current=$iv_ruleMetamodelEntry.current; } 703 {
704 EOF; 704 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
705 705 }
706// Rule MetamodelEntry 706 (
707ruleMetamodelEntry returns [EObject current=null] 707 (
708@init { 708 {
709 enterRule(); 709 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
710} 710 }
711@after { 711 lv_entries_1_0=ruleMetamodelEntry
712 leaveRule(); 712 {
713}: 713 if ($current==null) {
714 ( 714 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
715 { 715 }
716 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 716 add(
717 } 717 $current,
718 this_MetamodelElement_0=ruleMetamodelElement 718 "entries",
719 { 719 lv_entries_1_0,
720 $current = $this_MetamodelElement_0.current; 720 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
721 afterParserOrEnumRuleCall(); 721 afterParserOrEnumRuleCall();
722 } 722 }
723 | 723 )
724 { 724 )
725 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 725 (
726 } 726 otherlv_2=','
727 this_AllPackageEntry_1=ruleAllPackageEntry 727 {
728 { 728 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
729 $current = $this_AllPackageEntry_1.current; 729 }
730 afterParserOrEnumRuleCall(); 730 (
731 } 731 (
732 ) 732 {
733; 733 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
734 734 }
735// Entry rule entryRuleAllPackageEntry 735 lv_entries_3_0=ruleMetamodelEntry
736entryRuleAllPackageEntry returns [EObject current=null]: 736 {
737 { newCompositeNode(grammarAccess.getAllPackageEntryRule()); } 737 if ($current==null) {
738 iv_ruleAllPackageEntry=ruleAllPackageEntry 738 $current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
739 { $current=$iv_ruleAllPackageEntry.current; } 739 }
740 EOF; 740 add(
741 741 $current,
742// Rule AllPackageEntry 742 "entries",
743ruleAllPackageEntry returns [EObject current=null] 743 lv_entries_3_0,
744@init { 744 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
745 enterRule(); 745 afterParserOrEnumRuleCall();
746} 746 }
747@after { 747 )
748 leaveRule(); 748 )
749}: 749 )*
750 ( 750 otherlv_4='}'
751 otherlv_0='package' 751 {
752 { 752 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
753 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 753 }
754 } 754 )
755 ( 755;
756 ( 756
757 { 757// Entry rule entryRuleMetamodelEntry
758 if ($current==null) { 758entryRuleMetamodelEntry returns [EObject current=null]:
759 $current = createModelElement(grammarAccess.getAllPackageEntryRule()); 759 { newCompositeNode(grammarAccess.getMetamodelEntryRule()); }
760 } 760 iv_ruleMetamodelEntry=ruleMetamodelEntry
761 } 761 { $current=$iv_ruleMetamodelEntry.current; }
762 { 762 EOF;
763 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 763
764 } 764// Rule MetamodelEntry
765 ruleQualifiedName 765ruleMetamodelEntry returns [EObject current=null]
766 { 766@init {
767 afterParserOrEnumRuleCall(); 767 enterRule();
768 } 768}
769 ) 769@after {
770 ) 770 leaveRule();
771 ( 771}:
772 otherlv_2='excluding' 772 (
773 { 773 {
774 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 774 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
775 } 775 }
776 otherlv_3='{' 776 this_MetamodelElement_0=ruleMetamodelElement
777 { 777 {
778 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 778 $current = $this_MetamodelElement_0.current;
779 } 779 afterParserOrEnumRuleCall();
780 ( 780 }
781 ( 781 |
782 { 782 {
783 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 783 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
784 } 784 }
785 lv_exclusion_4_0=ruleMetamodelElement 785 this_AllPackageEntry_1=ruleAllPackageEntry
786 { 786 {
787 if ($current==null) { 787 $current = $this_AllPackageEntry_1.current;
788 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 788 afterParserOrEnumRuleCall();
789 } 789 }
790 add( 790 )
791 $current, 791;
792 "exclusion", 792
793 lv_exclusion_4_0, 793// Entry rule entryRuleAllPackageEntry
794 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 794entryRuleAllPackageEntry returns [EObject current=null]:
795 afterParserOrEnumRuleCall(); 795 { newCompositeNode(grammarAccess.getAllPackageEntryRule()); }
796 } 796 iv_ruleAllPackageEntry=ruleAllPackageEntry
797 ) 797 { $current=$iv_ruleAllPackageEntry.current; }
798 ) 798 EOF;
799 ( 799
800 otherlv_5=',' 800// Rule AllPackageEntry
801 { 801ruleAllPackageEntry returns [EObject current=null]
802 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 802@init {
803 } 803 enterRule();
804 ( 804}
805 ( 805@after {
806 { 806 leaveRule();
807 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 807}:
808 } 808 (
809 lv_exclusion_6_0=ruleMetamodelElement 809 otherlv_0='package'
810 { 810 {
811 if ($current==null) { 811 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
812 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 812 }
813 } 813 (
814 add( 814 (
815 $current, 815 {
816 "exclusion", 816 if ($current==null) {
817 lv_exclusion_6_0, 817 $current = createModelElement(grammarAccess.getAllPackageEntryRule());
818 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 818 }
819 afterParserOrEnumRuleCall(); 819 }
820 } 820 {
821 ) 821 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
822 ) 822 }
823 )* 823 ruleQualifiedName
824 otherlv_7='}' 824 {
825 { 825 afterParserOrEnumRuleCall();
826 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 826 }
827 } 827 )
828 )? 828 )
829 ) 829 (
830; 830 otherlv_2='excluding'
831 831 {
832// Entry rule entryRuleMetamodelElement 832 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
833entryRuleMetamodelElement returns [EObject current=null]: 833 }
834 { newCompositeNode(grammarAccess.getMetamodelElementRule()); } 834 otherlv_3='{'
835 iv_ruleMetamodelElement=ruleMetamodelElement 835 {
836 { $current=$iv_ruleMetamodelElement.current; } 836 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
837 EOF; 837 }
838 838 (
839// Rule MetamodelElement 839 (
840ruleMetamodelElement returns [EObject current=null] 840 {
841@init { 841 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
842 enterRule(); 842 }
843} 843 lv_exclusion_4_0=ruleMetamodelElement
844@after { 844 {
845 leaveRule(); 845 if ($current==null) {
846}: 846 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
847 ( 847 }
848 ( 848 add(
849 ( 849 $current,
850 ( 850 "exclusion",
851 { 851 lv_exclusion_4_0,
852 if ($current==null) { 852 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
853 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 853 afterParserOrEnumRuleCall();
854 } 854 }
855 } 855 )
856 { 856 )
857 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 857 (
858 } 858 otherlv_5=','
859 ruleQualifiedName 859 {
860 { 860 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
861 afterParserOrEnumRuleCall(); 861 }
862 } 862 (
863 ) 863 (
864 ) 864 {
865 otherlv_1='::' 865 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
866 { 866 }
867 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 867 lv_exclusion_6_0=ruleMetamodelElement
868 } 868 {
869 )? 869 if ($current==null) {
870 ( 870 $current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
871 ( 871 }
872 { 872 add(
873 if ($current==null) { 873 $current,
874 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 874 "exclusion",
875 } 875 lv_exclusion_6_0,
876 } 876 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
877 otherlv_2=RULE_ID 877 afterParserOrEnumRuleCall();
878 { 878 }
879 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 879 )
880 } 880 )
881 ) 881 )*
882 ) 882 otherlv_7='}'
883 ( 883 {
884 otherlv_3='.' 884 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
885 { 885 }
886 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 886 )?
887 } 887 )
888 ( 888;
889 ( 889
890 { 890// Entry rule entryRuleMetamodelElement
891 if ($current==null) { 891entryRuleMetamodelElement returns [EObject current=null]:
892 $current = createModelElement(grammarAccess.getMetamodelElementRule()); 892 { newCompositeNode(grammarAccess.getMetamodelElementRule()); }
893 } 893 iv_ruleMetamodelElement=ruleMetamodelElement
894 } 894 { $current=$iv_ruleMetamodelElement.current; }
895 otherlv_4=RULE_ID 895 EOF;
896 { 896
897 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 897// Rule MetamodelElement
898 } 898ruleMetamodelElement returns [EObject current=null]
899 ) 899@init {
900 ) 900 enterRule();
901 )? 901}
902 ) 902@after {
903; 903 leaveRule();
904 904}:
905// Entry rule entryRuleMetamodelDeclaration 905 (
906entryRuleMetamodelDeclaration returns [EObject current=null]: 906 (
907 { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); } 907 (
908 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration 908 (
909 { $current=$iv_ruleMetamodelDeclaration.current; } 909 {
910 EOF; 910 if ($current==null) {
911 911 $current = createModelElement(grammarAccess.getMetamodelElementRule());
912// Rule MetamodelDeclaration 912 }
913ruleMetamodelDeclaration returns [EObject current=null] 913 }
914@init { 914 {
915 enterRule(); 915 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
916} 916 }
917@after { 917 ruleQualifiedName
918 leaveRule(); 918 {
919}: 919 afterParserOrEnumRuleCall();
920 ( 920 }
921 otherlv_0='metamodel' 921 )
922 { 922 )
923 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 923 otherlv_1='::'
924 } 924 {
925 ( 925 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
926 ( 926 }
927 lv_name_1_0=RULE_ID 927 )?
928 { 928 (
929 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 929 (
930 } 930 {
931 { 931 if ($current==null) {
932 if ($current==null) { 932 $current = createModelElement(grammarAccess.getMetamodelElementRule());
933 $current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 933 }
934 } 934 }
935 setWithLastConsumed( 935 otherlv_2=RULE_ID
936 $current, 936 {
937 "name", 937 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
938 lv_name_1_0, 938 }
939 "org.eclipse.xtext.common.Terminals.ID"); 939 )
940 } 940 )
941 ) 941 (
942 ) 942 otherlv_3='.'
943 ( 943 {
944 ( 944 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
945 { 945 }
946 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 946 (
947 } 947 (
948 lv_specification_2_0=ruleMetamodelSpecification 948 {
949 { 949 if ($current==null) {
950 if ($current==null) { 950 $current = createModelElement(grammarAccess.getMetamodelElementRule());
951 $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 951 }
952 } 952 }
953 set( 953 otherlv_4=RULE_ID
954 $current, 954 {
955 "specification", 955 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
956 lv_specification_2_0, 956 }
957 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 957 )
958 afterParserOrEnumRuleCall(); 958 )
959 } 959 )?
960 ) 960 )
961 ) 961;
962 ) 962
963; 963// Entry rule entryRuleMetamodelDeclaration
964 964entryRuleMetamodelDeclaration returns [EObject current=null]:
965// Entry rule entryRuleMetamodelReference 965 { newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); }
966entryRuleMetamodelReference returns [EObject current=null]: 966 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration
967 { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); } 967 { $current=$iv_ruleMetamodelDeclaration.current; }
968 iv_ruleMetamodelReference=ruleMetamodelReference 968 EOF;
969 { $current=$iv_ruleMetamodelReference.current; } 969
970 EOF; 970// Rule MetamodelDeclaration
971 971ruleMetamodelDeclaration returns [EObject current=null]
972// Rule MetamodelReference 972@init {
973ruleMetamodelReference returns [EObject current=null] 973 enterRule();
974@init { 974}
975 enterRule(); 975@after {
976} 976 leaveRule();
977@after { 977}:
978 leaveRule(); 978 (
979}: 979 otherlv_0='metamodel'
980 ( 980 {
981 ( 981 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
982 { 982 }
983 if ($current==null) { 983 (
984 $current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 984 (
985 } 985 lv_name_1_0=RULE_ID
986 } 986 {
987 otherlv_0=RULE_ID 987 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
988 { 988 }
989 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 989 {
990 } 990 if ($current==null) {
991 ) 991 $current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
992 ) 992 }
993; 993 setWithLastConsumed(
994 994 $current,
995// Entry rule entryRuleMetamodel 995 "name",
996entryRuleMetamodel returns [EObject current=null]: 996 lv_name_1_0,
997 { newCompositeNode(grammarAccess.getMetamodelRule()); } 997 "org.eclipse.xtext.common.Terminals.ID");
998 iv_ruleMetamodel=ruleMetamodel 998 }
999 { $current=$iv_ruleMetamodel.current; } 999 )
1000 EOF; 1000 )
1001 1001 (
1002// Rule Metamodel 1002 (
1003ruleMetamodel returns [EObject current=null] 1003 {
1004@init { 1004 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
1005 enterRule(); 1005 }
1006} 1006 lv_specification_2_0=ruleMetamodelSpecification
1007@after { 1007 {
1008 leaveRule(); 1008 if ($current==null) {
1009}: 1009 $current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
1010 ( 1010 }
1011 { 1011 set(
1012 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 1012 $current,
1013 } 1013 "specification",
1014 this_MetamodelReference_0=ruleMetamodelReference 1014 lv_specification_2_0,
1015 { 1015 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
1016 $current = $this_MetamodelReference_0.current; 1016 afterParserOrEnumRuleCall();
1017 afterParserOrEnumRuleCall(); 1017 }
1018 } 1018 )
1019 | 1019 )
1020 { 1020 )
1021 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 1021;
1022 } 1022
1023 this_MetamodelSpecification_1=ruleMetamodelSpecification 1023// Entry rule entryRuleMetamodelReference
1024 { 1024entryRuleMetamodelReference returns [EObject current=null]:
1025 $current = $this_MetamodelSpecification_1.current; 1025 { newCompositeNode(grammarAccess.getMetamodelReferenceRule()); }
1026 afterParserOrEnumRuleCall(); 1026 iv_ruleMetamodelReference=ruleMetamodelReference
1027 } 1027 { $current=$iv_ruleMetamodelReference.current; }
1028 ) 1028 EOF;
1029; 1029
1030 1030// Rule MetamodelReference
1031// Entry rule entryRulePartialModelSpecification 1031ruleMetamodelReference returns [EObject current=null]
1032entryRulePartialModelSpecification returns [EObject current=null]: 1032@init {
1033 { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } 1033 enterRule();
1034 iv_rulePartialModelSpecification=rulePartialModelSpecification 1034}
1035 { $current=$iv_rulePartialModelSpecification.current; } 1035@after {
1036 EOF; 1036 leaveRule();
1037 1037}:
1038// Rule PartialModelSpecification 1038 (
1039rulePartialModelSpecification returns [EObject current=null] 1039 (
1040@init { 1040 {
1041 enterRule(); 1041 if ($current==null) {
1042} 1042 $current = createModelElement(grammarAccess.getMetamodelReferenceRule());
1043@after { 1043 }
1044 leaveRule(); 1044 }
1045}: 1045 otherlv_0=RULE_ID
1046 ( 1046 {
1047 otherlv_0='{' 1047 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
1048 { 1048 }
1049 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1049 )
1050 } 1050 )
1051 ( 1051;
1052 ( 1052
1053 { 1053// Entry rule entryRuleMetamodel
1054 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 1054entryRuleMetamodel returns [EObject current=null]:
1055 } 1055 { newCompositeNode(grammarAccess.getMetamodelRule()); }
1056 lv_entry_1_0=rulePartialModelEntry 1056 iv_ruleMetamodel=ruleMetamodel
1057 { 1057 { $current=$iv_ruleMetamodel.current; }
1058 if ($current==null) { 1058 EOF;
1059 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 1059
1060 } 1060// Rule Metamodel
1061 add( 1061ruleMetamodel returns [EObject current=null]
1062 $current, 1062@init {
1063 "entry", 1063 enterRule();
1064 lv_entry_1_0, 1064}
1065 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 1065@after {
1066 afterParserOrEnumRuleCall(); 1066 leaveRule();
1067 } 1067}:
1068 ) 1068 (
1069 ) 1069 {
1070 ( 1070 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
1071 otherlv_2=',' 1071 }
1072 { 1072 this_MetamodelReference_0=ruleMetamodelReference
1073 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 1073 {
1074 } 1074 $current = $this_MetamodelReference_0.current;
1075 ( 1075 afterParserOrEnumRuleCall();
1076 ( 1076 }
1077 { 1077 |
1078 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 1078 {
1079 } 1079 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
1080 lv_entry_3_0=rulePartialModelEntry 1080 }
1081 { 1081 this_MetamodelSpecification_1=ruleMetamodelSpecification
1082 if ($current==null) { 1082 {
1083 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 1083 $current = $this_MetamodelSpecification_1.current;
1084 } 1084 afterParserOrEnumRuleCall();
1085 add( 1085 }
1086 $current, 1086 )
1087 "entry", 1087;
1088 lv_entry_3_0, 1088
1089 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 1089// Entry rule entryRulePartialModelSpecification
1090 afterParserOrEnumRuleCall(); 1090entryRulePartialModelSpecification returns [EObject current=null]:
1091 } 1091 { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); }
1092 ) 1092 iv_rulePartialModelSpecification=rulePartialModelSpecification
1093 ) 1093 { $current=$iv_rulePartialModelSpecification.current; }
1094 )? 1094 EOF;
1095 otherlv_4='}' 1095
1096 { 1096// Rule PartialModelSpecification
1097 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1097rulePartialModelSpecification returns [EObject current=null]
1098 } 1098@init {
1099 ) 1099 enterRule();
1100; 1100}
1101 1101@after {
1102// Entry rule entryRulePartialModelEntry 1102 leaveRule();
1103entryRulePartialModelEntry returns [EObject current=null]: 1103}:
1104 { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } 1104 (
1105 iv_rulePartialModelEntry=rulePartialModelEntry 1105 otherlv_0='{'
1106 { $current=$iv_rulePartialModelEntry.current; } 1106 {
1107 EOF; 1107 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
1108 1108 }
1109// Rule PartialModelEntry 1109 (
1110rulePartialModelEntry returns [EObject current=null] 1110 (
1111@init { 1111 {
1112 enterRule(); 1112 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
1113} 1113 }
1114@after { 1114 lv_entry_1_0=rulePartialModelEntry
1115 leaveRule(); 1115 {
1116}: 1116 if ($current==null) {
1117 ( 1117 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
1118 { 1118 }
1119 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 1119 add(
1120 } 1120 $current,
1121 this_ModelEntry_0=ruleModelEntry 1121 "entry",
1122 { 1122 lv_entry_1_0,
1123 $current = $this_ModelEntry_0.current; 1123 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
1124 afterParserOrEnumRuleCall(); 1124 afterParserOrEnumRuleCall();
1125 } 1125 }
1126 | 1126 )
1127 { 1127 )
1128 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 1128 (
1129 } 1129 otherlv_2=','
1130 this_FolderEntry_1=ruleFolderEntry 1130 {
1131 { 1131 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
1132 $current = $this_FolderEntry_1.current; 1132 }
1133 afterParserOrEnumRuleCall(); 1133 (
1134 } 1134 (
1135 ) 1135 {
1136; 1136 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
1137 1137 }
1138// Entry rule entryRuleModelEntry 1138 lv_entry_3_0=rulePartialModelEntry
1139entryRuleModelEntry returns [EObject current=null]: 1139 {
1140 { newCompositeNode(grammarAccess.getModelEntryRule()); } 1140 if ($current==null) {
1141 iv_ruleModelEntry=ruleModelEntry 1141 $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
1142 { $current=$iv_ruleModelEntry.current; } 1142 }
1143 EOF; 1143 add(
1144 1144 $current,
1145// Rule ModelEntry 1145 "entry",
1146ruleModelEntry returns [EObject current=null] 1146 lv_entry_3_0,
1147@init { 1147 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
1148 enterRule(); 1148 afterParserOrEnumRuleCall();
1149} 1149 }
1150@after { 1150 )
1151 leaveRule(); 1151 )
1152}: 1152 )?
1153 ( 1153 otherlv_4='}'
1154 ( 1154 {
1155 { 1155 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
1156 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 1156 }
1157 } 1157 )
1158 lv_path_0_0=ruleFile 1158;
1159 { 1159
1160 if ($current==null) { 1160// Entry rule entryRulePartialModelEntry
1161 $current = createModelElementForParent(grammarAccess.getModelEntryRule()); 1161entryRulePartialModelEntry returns [EObject current=null]:
1162 } 1162 { newCompositeNode(grammarAccess.getPartialModelEntryRule()); }
1163 set( 1163 iv_rulePartialModelEntry=rulePartialModelEntry
1164 $current, 1164 { $current=$iv_rulePartialModelEntry.current; }
1165 "path", 1165 EOF;
1166 lv_path_0_0, 1166
1167 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 1167// Rule PartialModelEntry
1168 afterParserOrEnumRuleCall(); 1168rulePartialModelEntry returns [EObject current=null]
1169 } 1169@init {
1170 ) 1170 enterRule();
1171 ) 1171}
1172; 1172@after {
1173 1173 leaveRule();
1174// Entry rule entryRuleFolderEntry 1174}:
1175entryRuleFolderEntry returns [EObject current=null]: 1175 (
1176 { newCompositeNode(grammarAccess.getFolderEntryRule()); } 1176 {
1177 iv_ruleFolderEntry=ruleFolderEntry 1177 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
1178 { $current=$iv_ruleFolderEntry.current; } 1178 }
1179 EOF; 1179 this_ModelEntry_0=ruleModelEntry
1180 1180 {
1181// Rule FolderEntry 1181 $current = $this_ModelEntry_0.current;
1182ruleFolderEntry returns [EObject current=null] 1182 afterParserOrEnumRuleCall();
1183@init { 1183 }
1184 enterRule(); 1184 |
1185} 1185 {
1186@after { 1186 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
1187 leaveRule(); 1187 }
1188}: 1188 this_FolderEntry_1=ruleFolderEntry
1189 ( 1189 {
1190 otherlv_0='folder' 1190 $current = $this_FolderEntry_1.current;
1191 { 1191 afterParserOrEnumRuleCall();
1192 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 1192 }
1193 } 1193 )
1194 ( 1194;
1195 ( 1195
1196 { 1196// Entry rule entryRuleModelEntry
1197 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 1197entryRuleModelEntry returns [EObject current=null]:
1198 } 1198 { newCompositeNode(grammarAccess.getModelEntryRule()); }
1199 lv_path_1_0=ruleFile 1199 iv_ruleModelEntry=ruleModelEntry
1200 { 1200 { $current=$iv_ruleModelEntry.current; }
1201 if ($current==null) { 1201 EOF;
1202 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1202
1203 } 1203// Rule ModelEntry
1204 set( 1204ruleModelEntry returns [EObject current=null]
1205 $current, 1205@init {
1206 "path", 1206 enterRule();
1207 lv_path_1_0, 1207}
1208 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 1208@after {
1209 afterParserOrEnumRuleCall(); 1209 leaveRule();
1210 } 1210}:
1211 ) 1211 (
1212 ) 1212 (
1213 ( 1213 {
1214 otherlv_2='excluding' 1214 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
1215 { 1215 }
1216 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 1216 lv_path_0_0=ruleFile
1217 } 1217 {
1218 otherlv_3='{' 1218 if ($current==null) {
1219 { 1219 $current = createModelElementForParent(grammarAccess.getModelEntryRule());
1220 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 1220 }
1221 } 1221 set(
1222 ( 1222 $current,
1223 ( 1223 "path",
1224 { 1224 lv_path_0_0,
1225 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 1225 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
1226 } 1226 afterParserOrEnumRuleCall();
1227 lv_exclusion_4_0=ruleModelEntry 1227 }
1228 { 1228 )
1229 if ($current==null) { 1229 )
1230 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1230;
1231 } 1231
1232 add( 1232// Entry rule entryRuleFolderEntry
1233 $current, 1233entryRuleFolderEntry returns [EObject current=null]:
1234 "exclusion", 1234 { newCompositeNode(grammarAccess.getFolderEntryRule()); }
1235 lv_exclusion_4_0, 1235 iv_ruleFolderEntry=ruleFolderEntry
1236 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 1236 { $current=$iv_ruleFolderEntry.current; }
1237 afterParserOrEnumRuleCall(); 1237 EOF;
1238 } 1238
1239 ) 1239// Rule FolderEntry
1240 ) 1240ruleFolderEntry returns [EObject current=null]
1241 ( 1241@init {
1242 otherlv_5=',' 1242 enterRule();
1243 { 1243}
1244 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 1244@after {
1245 } 1245 leaveRule();
1246 ( 1246}:
1247 ( 1247 (
1248 { 1248 otherlv_0='folder'
1249 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 1249 {
1250 } 1250 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
1251 lv_exclusion_6_0=ruleModelEntry 1251 }
1252 { 1252 (
1253 if ($current==null) { 1253 (
1254 $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 1254 {
1255 } 1255 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
1256 add( 1256 }
1257 $current, 1257 lv_path_1_0=ruleFile
1258 "exclusion", 1258 {
1259 lv_exclusion_6_0, 1259 if ($current==null) {
1260 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 1260 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1261 afterParserOrEnumRuleCall(); 1261 }
1262 } 1262 set(
1263 ) 1263 $current,
1264 ) 1264 "path",
1265 )* 1265 lv_path_1_0,
1266 otherlv_7='}' 1266 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
1267 { 1267 afterParserOrEnumRuleCall();
1268 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 1268 }
1269 } 1269 )
1270 )? 1270 )
1271 ) 1271 (
1272; 1272 otherlv_2='excluding'
1273 1273 {
1274// Entry rule entryRulePartialModelDeclaration 1274 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
1275entryRulePartialModelDeclaration returns [EObject current=null]: 1275 }
1276 { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } 1276 otherlv_3='{'
1277 iv_rulePartialModelDeclaration=rulePartialModelDeclaration 1277 {
1278 { $current=$iv_rulePartialModelDeclaration.current; } 1278 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
1279 EOF; 1279 }
1280 1280 (
1281// Rule PartialModelDeclaration 1281 (
1282rulePartialModelDeclaration returns [EObject current=null] 1282 {
1283@init { 1283 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
1284 enterRule(); 1284 }
1285} 1285 lv_exclusion_4_0=ruleModelEntry
1286@after { 1286 {
1287 leaveRule(); 1287 if ($current==null) {
1288}: 1288 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1289 ( 1289 }
1290 otherlv_0='models' 1290 add(
1291 { 1291 $current,
1292 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 1292 "exclusion",
1293 } 1293 lv_exclusion_4_0,
1294 ( 1294 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
1295 ( 1295 afterParserOrEnumRuleCall();
1296 lv_name_1_0=RULE_ID 1296 }
1297 { 1297 )
1298 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1298 )
1299 } 1299 (
1300 { 1300 otherlv_5=','
1301 if ($current==null) { 1301 {
1302 $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 1302 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
1303 } 1303 }
1304 setWithLastConsumed( 1304 (
1305 $current, 1305 (
1306 "name", 1306 {
1307 lv_name_1_0, 1307 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
1308 "org.eclipse.xtext.common.Terminals.ID"); 1308 }
1309 } 1309 lv_exclusion_6_0=ruleModelEntry
1310 ) 1310 {
1311 ) 1311 if ($current==null) {
1312 ( 1312 $current = createModelElementForParent(grammarAccess.getFolderEntryRule());
1313 ( 1313 }
1314 { 1314 add(
1315 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 1315 $current,
1316 } 1316 "exclusion",
1317 lv_specification_2_0=rulePartialModelSpecification 1317 lv_exclusion_6_0,
1318 { 1318 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
1319 if ($current==null) { 1319 afterParserOrEnumRuleCall();
1320 $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 1320 }
1321 } 1321 )
1322 set( 1322 )
1323 $current, 1323 )*
1324 "specification", 1324 otherlv_7='}'
1325 lv_specification_2_0, 1325 {
1326 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 1326 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
1327 afterParserOrEnumRuleCall(); 1327 }
1328 } 1328 )?
1329 ) 1329 )
1330 ) 1330;
1331 ) 1331
1332; 1332// Entry rule entryRulePartialModelDeclaration
1333 1333entryRulePartialModelDeclaration returns [EObject current=null]:
1334// Entry rule entryRulePartialModelReference 1334 { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); }
1335entryRulePartialModelReference returns [EObject current=null]: 1335 iv_rulePartialModelDeclaration=rulePartialModelDeclaration
1336 { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } 1336 { $current=$iv_rulePartialModelDeclaration.current; }
1337 iv_rulePartialModelReference=rulePartialModelReference 1337 EOF;
1338 { $current=$iv_rulePartialModelReference.current; } 1338
1339 EOF; 1339// Rule PartialModelDeclaration
1340 1340rulePartialModelDeclaration returns [EObject current=null]
1341// Rule PartialModelReference 1341@init {
1342rulePartialModelReference returns [EObject current=null] 1342 enterRule();
1343@init { 1343}
1344 enterRule(); 1344@after {
1345} 1345 leaveRule();
1346@after { 1346}:
1347 leaveRule(); 1347 (
1348}: 1348 otherlv_0='models'
1349 ( 1349 {
1350 ( 1350 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
1351 { 1351 }
1352 if ($current==null) { 1352 (
1353 $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 1353 (
1354 } 1354 lv_name_1_0=RULE_ID
1355 } 1355 {
1356 otherlv_0=RULE_ID 1356 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1357 { 1357 }
1358 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 1358 {
1359 } 1359 if ($current==null) {
1360 ) 1360 $current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
1361 ) 1361 }
1362; 1362 setWithLastConsumed(
1363 1363 $current,
1364// Entry rule entryRulePartialModel 1364 "name",
1365entryRulePartialModel returns [EObject current=null]: 1365 lv_name_1_0,
1366 { newCompositeNode(grammarAccess.getPartialModelRule()); } 1366 "org.eclipse.xtext.common.Terminals.ID");
1367 iv_rulePartialModel=rulePartialModel 1367 }
1368 { $current=$iv_rulePartialModel.current; } 1368 )
1369 EOF; 1369 )
1370 1370 (
1371// Rule PartialModel 1371 (
1372rulePartialModel returns [EObject current=null] 1372 {
1373@init { 1373 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
1374 enterRule(); 1374 }
1375} 1375 lv_specification_2_0=rulePartialModelSpecification
1376@after { 1376 {
1377 leaveRule(); 1377 if ($current==null) {
1378}: 1378 $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
1379 ( 1379 }
1380 { 1380 set(
1381 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 1381 $current,
1382 } 1382 "specification",
1383 this_PartialModelSpecification_0=rulePartialModelSpecification 1383 lv_specification_2_0,
1384 { 1384 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
1385 $current = $this_PartialModelSpecification_0.current; 1385 afterParserOrEnumRuleCall();
1386 afterParserOrEnumRuleCall(); 1386 }
1387 } 1387 )
1388 | 1388 )
1389 { 1389 )
1390 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 1390;
1391 } 1391
1392 this_PartialModelReference_1=rulePartialModelReference 1392// Entry rule entryRulePartialModelReference
1393 { 1393entryRulePartialModelReference returns [EObject current=null]:
1394 $current = $this_PartialModelReference_1.current; 1394 { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); }
1395 afterParserOrEnumRuleCall(); 1395 iv_rulePartialModelReference=rulePartialModelReference
1396 } 1396 { $current=$iv_rulePartialModelReference.current; }
1397 ) 1397 EOF;
1398; 1398
1399 1399// Rule PartialModelReference
1400// Entry rule entryRulePatternSpecification 1400rulePartialModelReference returns [EObject current=null]
1401entryRulePatternSpecification returns [EObject current=null]: 1401@init {
1402 { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } 1402 enterRule();
1403 iv_rulePatternSpecification=rulePatternSpecification 1403}
1404 { $current=$iv_rulePatternSpecification.current; } 1404@after {
1405 EOF; 1405 leaveRule();
1406 1406}:
1407// Rule PatternSpecification 1407 (
1408rulePatternSpecification returns [EObject current=null] 1408 (
1409@init { 1409 {
1410 enterRule(); 1410 if ($current==null) {
1411} 1411 $current = createModelElement(grammarAccess.getPartialModelReferenceRule());
1412@after { 1412 }
1413 leaveRule(); 1413 }
1414}: 1414 otherlv_0=RULE_ID
1415 ( 1415 {
1416 otherlv_0='{' 1416 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
1417 { 1417 }
1418 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1418 )
1419 } 1419 )
1420 ( 1420;
1421 ( 1421
1422 { 1422// Entry rule entryRulePartialModel
1423 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 1423entryRulePartialModel returns [EObject current=null]:
1424 } 1424 { newCompositeNode(grammarAccess.getPartialModelRule()); }
1425 lv_entries_1_0=rulePatternEntry 1425 iv_rulePartialModel=rulePartialModel
1426 { 1426 { $current=$iv_rulePartialModel.current; }
1427 if ($current==null) { 1427 EOF;
1428 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 1428
1429 } 1429// Rule PartialModel
1430 add( 1430rulePartialModel returns [EObject current=null]
1431 $current, 1431@init {
1432 "entries", 1432 enterRule();
1433 lv_entries_1_0, 1433}
1434 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 1434@after {
1435 afterParserOrEnumRuleCall(); 1435 leaveRule();
1436 } 1436}:
1437 ) 1437 (
1438 ) 1438 {
1439 ( 1439 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
1440 otherlv_2=',' 1440 }
1441 { 1441 this_PartialModelSpecification_0=rulePartialModelSpecification
1442 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 1442 {
1443 } 1443 $current = $this_PartialModelSpecification_0.current;
1444 ( 1444 afterParserOrEnumRuleCall();
1445 ( 1445 }
1446 { 1446 |
1447 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 1447 {
1448 } 1448 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
1449 lv_entries_3_0=rulePatternEntry 1449 }
1450 { 1450 this_PartialModelReference_1=rulePartialModelReference
1451 if ($current==null) { 1451 {
1452 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 1452 $current = $this_PartialModelReference_1.current;
1453 } 1453 afterParserOrEnumRuleCall();
1454 add( 1454 }
1455 $current, 1455 )
1456 "entries", 1456;
1457 lv_entries_3_0, 1457
1458 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 1458// Entry rule entryRulePatternSpecification
1459 afterParserOrEnumRuleCall(); 1459entryRulePatternSpecification returns [EObject current=null]:
1460 } 1460 { newCompositeNode(grammarAccess.getPatternSpecificationRule()); }
1461 ) 1461 iv_rulePatternSpecification=rulePatternSpecification
1462 ) 1462 { $current=$iv_rulePatternSpecification.current; }
1463 )* 1463 EOF;
1464 otherlv_4='}' 1464
1465 { 1465// Rule PatternSpecification
1466 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 1466rulePatternSpecification returns [EObject current=null]
1467 } 1467@init {
1468 ) 1468 enterRule();
1469; 1469}
1470 1470@after {
1471// Entry rule entryRulePatternEntry 1471 leaveRule();
1472entryRulePatternEntry returns [EObject current=null]: 1472}:
1473 { newCompositeNode(grammarAccess.getPatternEntryRule()); } 1473 (
1474 iv_rulePatternEntry=rulePatternEntry 1474 otherlv_0='{'
1475 { $current=$iv_rulePatternEntry.current; } 1475 {
1476 EOF; 1476 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
1477 1477 }
1478// Rule PatternEntry 1478 (
1479rulePatternEntry returns [EObject current=null] 1479 (
1480@init { 1480 {
1481 enterRule(); 1481 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
1482} 1482 }
1483@after { 1483 lv_entries_1_0=rulePatternEntry
1484 leaveRule(); 1484 {
1485}: 1485 if ($current==null) {
1486 ( 1486 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
1487 { 1487 }
1488 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 1488 add(
1489 } 1489 $current,
1490 this_PatternElement_0=rulePatternElement 1490 "entries",
1491 { 1491 lv_entries_1_0,
1492 $current = $this_PatternElement_0.current; 1492 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
1493 afterParserOrEnumRuleCall(); 1493 afterParserOrEnumRuleCall();
1494 } 1494 }
1495 | 1495 )
1496 { 1496 )
1497 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 1497 (
1498 } 1498 otherlv_2=','
1499 this_AllPatternEntry_1=ruleAllPatternEntry 1499 {
1500 { 1500 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
1501 $current = $this_AllPatternEntry_1.current; 1501 }
1502 afterParserOrEnumRuleCall(); 1502 (
1503 } 1503 (
1504 ) 1504 {
1505; 1505 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
1506 1506 }
1507// Entry rule entryRuleAllPatternEntry 1507 lv_entries_3_0=rulePatternEntry
1508entryRuleAllPatternEntry returns [EObject current=null]: 1508 {
1509 { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } 1509 if ($current==null) {
1510 iv_ruleAllPatternEntry=ruleAllPatternEntry 1510 $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
1511 { $current=$iv_ruleAllPatternEntry.current; } 1511 }
1512 EOF; 1512 add(
1513 1513 $current,
1514// Rule AllPatternEntry 1514 "entries",
1515ruleAllPatternEntry returns [EObject current=null] 1515 lv_entries_3_0,
1516@init { 1516 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
1517 enterRule(); 1517 afterParserOrEnumRuleCall();
1518} 1518 }
1519@after { 1519 )
1520 leaveRule(); 1520 )
1521}: 1521 )*
1522 ( 1522 otherlv_4='}'
1523 otherlv_0='package' 1523 {
1524 { 1524 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
1525 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 1525 }
1526 } 1526 )
1527 ( 1527;
1528 ( 1528
1529 { 1529// Entry rule entryRulePatternEntry
1530 if ($current==null) { 1530entryRulePatternEntry returns [EObject current=null]:
1531 $current = createModelElement(grammarAccess.getAllPatternEntryRule()); 1531 { newCompositeNode(grammarAccess.getPatternEntryRule()); }
1532 } 1532 iv_rulePatternEntry=rulePatternEntry
1533 } 1533 { $current=$iv_rulePatternEntry.current; }
1534 { 1534 EOF;
1535 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 1535
1536 } 1536// Rule PatternEntry
1537 ruleQualifiedName 1537rulePatternEntry returns [EObject current=null]
1538 { 1538@init {
1539 afterParserOrEnumRuleCall(); 1539 enterRule();
1540 } 1540}
1541 ) 1541@after {
1542 ) 1542 leaveRule();
1543 ( 1543}:
1544 otherlv_2='excluding' 1544 (
1545 { 1545 {
1546 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 1546 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
1547 } 1547 }
1548 otherlv_3='{' 1548 this_PatternElement_0=rulePatternElement
1549 { 1549 {
1550 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 1550 $current = $this_PatternElement_0.current;
1551 } 1551 afterParserOrEnumRuleCall();
1552 ( 1552 }
1553 ( 1553 |
1554 { 1554 {
1555 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 1555 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
1556 } 1556 }
1557 lv_exclusuion_4_0=rulePatternElement 1557 this_AllPatternEntry_1=ruleAllPatternEntry
1558 { 1558 {
1559 if ($current==null) { 1559 $current = $this_AllPatternEntry_1.current;
1560 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 1560 afterParserOrEnumRuleCall();
1561 } 1561 }
1562 add( 1562 )
1563 $current, 1563;
1564 "exclusuion", 1564
1565 lv_exclusuion_4_0, 1565// Entry rule entryRuleAllPatternEntry
1566 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 1566entryRuleAllPatternEntry returns [EObject current=null]:
1567 afterParserOrEnumRuleCall(); 1567 { newCompositeNode(grammarAccess.getAllPatternEntryRule()); }
1568 } 1568 iv_ruleAllPatternEntry=ruleAllPatternEntry
1569 ) 1569 { $current=$iv_ruleAllPatternEntry.current; }
1570 ) 1570 EOF;
1571 ( 1571
1572 otherlv_5=',' 1572// Rule AllPatternEntry
1573 { 1573ruleAllPatternEntry returns [EObject current=null]
1574 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 1574@init {
1575 } 1575 enterRule();
1576 ( 1576}
1577 ( 1577@after {
1578 { 1578 leaveRule();
1579 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 1579}:
1580 } 1580 (
1581 lv_exclusuion_6_0=rulePatternElement 1581 otherlv_0='package'
1582 { 1582 {
1583 if ($current==null) { 1583 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
1584 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 1584 }
1585 } 1585 (
1586 add( 1586 (
1587 $current, 1587 {
1588 "exclusuion", 1588 if ($current==null) {
1589 lv_exclusuion_6_0, 1589 $current = createModelElement(grammarAccess.getAllPatternEntryRule());
1590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 1590 }
1591 afterParserOrEnumRuleCall(); 1591 }
1592 } 1592 {
1593 ) 1593 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
1594 ) 1594 }
1595 )* 1595 ruleQualifiedName
1596 otherlv_7='}' 1596 {
1597 { 1597 afterParserOrEnumRuleCall();
1598 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 1598 }
1599 } 1599 )
1600 )? 1600 )
1601 ) 1601 (
1602; 1602 otherlv_2='excluding'
1603 1603 {
1604// Entry rule entryRulePatternElement 1604 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
1605entryRulePatternElement returns [EObject current=null]: 1605 }
1606 { newCompositeNode(grammarAccess.getPatternElementRule()); } 1606 otherlv_3='{'
1607 iv_rulePatternElement=rulePatternElement 1607 {
1608 { $current=$iv_rulePatternElement.current; } 1608 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
1609 EOF; 1609 }
1610 1610 (
1611// Rule PatternElement 1611 (
1612rulePatternElement returns [EObject current=null] 1612 {
1613@init { 1613 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
1614 enterRule(); 1614 }
1615} 1615 lv_exclusuion_4_0=rulePatternElement
1616@after { 1616 {
1617 leaveRule(); 1617 if ($current==null) {
1618}: 1618 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
1619 ( 1619 }
1620 ( 1620 add(
1621 ( 1621 $current,
1622 ( 1622 "exclusuion",
1623 { 1623 lv_exclusuion_4_0,
1624 if ($current==null) { 1624 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
1625 $current = createModelElement(grammarAccess.getPatternElementRule()); 1625 afterParserOrEnumRuleCall();
1626 } 1626 }
1627 } 1627 )
1628 { 1628 )
1629 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 1629 (
1630 } 1630 otherlv_5=','
1631 ruleQualifiedName 1631 {
1632 { 1632 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
1633 afterParserOrEnumRuleCall(); 1633 }
1634 } 1634 (
1635 ) 1635 (
1636 ) 1636 {
1637 otherlv_1='::' 1637 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
1638 { 1638 }
1639 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 1639 lv_exclusuion_6_0=rulePatternElement
1640 } 1640 {
1641 )? 1641 if ($current==null) {
1642 ( 1642 $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
1643 ( 1643 }
1644 { 1644 add(
1645 if ($current==null) { 1645 $current,
1646 $current = createModelElement(grammarAccess.getPatternElementRule()); 1646 "exclusuion",
1647 } 1647 lv_exclusuion_6_0,
1648 } 1648 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
1649 otherlv_2=RULE_ID 1649 afterParserOrEnumRuleCall();
1650 { 1650 }
1651 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 1651 )
1652 } 1652 )
1653 ) 1653 )*
1654 ) 1654 otherlv_7='}'
1655 ) 1655 {
1656; 1656 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
1657 1657 }
1658// Entry rule entryRuleGraphPatternDeclaration 1658 )?
1659entryRuleGraphPatternDeclaration returns [EObject current=null]: 1659 )
1660 { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } 1660;
1661 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration 1661
1662 { $current=$iv_ruleGraphPatternDeclaration.current; } 1662// Entry rule entryRulePatternElement
1663 EOF; 1663entryRulePatternElement returns [EObject current=null]:
1664 1664 { newCompositeNode(grammarAccess.getPatternElementRule()); }
1665// Rule GraphPatternDeclaration 1665 iv_rulePatternElement=rulePatternElement
1666ruleGraphPatternDeclaration returns [EObject current=null] 1666 { $current=$iv_rulePatternElement.current; }
1667@init { 1667 EOF;
1668 enterRule(); 1668
1669} 1669// Rule PatternElement
1670@after { 1670rulePatternElement returns [EObject current=null]
1671 leaveRule(); 1671@init {
1672}: 1672 enterRule();
1673 ( 1673}
1674 otherlv_0='constraints' 1674@after {
1675 { 1675 leaveRule();
1676 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 1676}:
1677 } 1677 (
1678 ( 1678 (
1679 ( 1679 (
1680 lv_name_1_0=RULE_ID 1680 (
1681 { 1681 {
1682 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1682 if ($current==null) {
1683 } 1683 $current = createModelElement(grammarAccess.getPatternElementRule());
1684 { 1684 }
1685 if ($current==null) { 1685 }
1686 $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 1686 {
1687 } 1687 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
1688 setWithLastConsumed( 1688 }
1689 $current, 1689 ruleQualifiedName
1690 "name", 1690 {
1691 lv_name_1_0, 1691 afterParserOrEnumRuleCall();
1692 "org.eclipse.xtext.common.Terminals.ID"); 1692 }
1693 } 1693 )
1694 ) 1694 )
1695 ) 1695 otherlv_1='::'
1696 ( 1696 {
1697 ( 1697 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
1698 { 1698 }
1699 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 1699 )?
1700 } 1700 (
1701 lv_specification_2_0=rulePatternSpecification 1701 (
1702 { 1702 {
1703 if ($current==null) { 1703 if ($current==null) {
1704 $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 1704 $current = createModelElement(grammarAccess.getPatternElementRule());
1705 } 1705 }
1706 set( 1706 }
1707 $current, 1707 otherlv_2=RULE_ID
1708 "specification", 1708 {
1709 lv_specification_2_0, 1709 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
1710 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 1710 }
1711 afterParserOrEnumRuleCall(); 1711 )
1712 } 1712 )
1713 ) 1713 )
1714 ) 1714;
1715 ) 1715
1716; 1716// Entry rule entryRuleGraphPatternDeclaration
1717 1717entryRuleGraphPatternDeclaration returns [EObject current=null]:
1718// Entry rule entryRuleGraphPatternReference 1718 { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); }
1719entryRuleGraphPatternReference returns [EObject current=null]: 1719 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration
1720 { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } 1720 { $current=$iv_ruleGraphPatternDeclaration.current; }
1721 iv_ruleGraphPatternReference=ruleGraphPatternReference 1721 EOF;
1722 { $current=$iv_ruleGraphPatternReference.current; } 1722
1723 EOF; 1723// Rule GraphPatternDeclaration
1724 1724ruleGraphPatternDeclaration returns [EObject current=null]
1725// Rule GraphPatternReference 1725@init {
1726ruleGraphPatternReference returns [EObject current=null] 1726 enterRule();
1727@init { 1727}
1728 enterRule(); 1728@after {
1729} 1729 leaveRule();
1730@after { 1730}:
1731 leaveRule(); 1731 (
1732}: 1732 otherlv_0='constraints'
1733 ( 1733 {
1734 ( 1734 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
1735 { 1735 }
1736 if ($current==null) { 1736 (
1737 $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 1737 (
1738 } 1738 lv_name_1_0=RULE_ID
1739 } 1739 {
1740 otherlv_0=RULE_ID 1740 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1741 { 1741 }
1742 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 1742 {
1743 } 1743 if ($current==null) {
1744 ) 1744 $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
1745 ) 1745 }
1746; 1746 setWithLastConsumed(
1747 1747 $current,
1748// Entry rule entryRuleGraphPattern 1748 "name",
1749entryRuleGraphPattern returns [EObject current=null]: 1749 lv_name_1_0,
1750 { newCompositeNode(grammarAccess.getGraphPatternRule()); } 1750 "org.eclipse.xtext.common.Terminals.ID");
1751 iv_ruleGraphPattern=ruleGraphPattern 1751 }
1752 { $current=$iv_ruleGraphPattern.current; } 1752 )
1753 EOF; 1753 )
1754 1754 (
1755// Rule GraphPattern 1755 (
1756ruleGraphPattern returns [EObject current=null] 1756 {
1757@init { 1757 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
1758 enterRule(); 1758 }
1759} 1759 lv_specification_2_0=rulePatternSpecification
1760@after { 1760 {
1761 leaveRule(); 1761 if ($current==null) {
1762}: 1762 $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
1763 ( 1763 }
1764 { 1764 set(
1765 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 1765 $current,
1766 } 1766 "specification",
1767 this_GraphPatternReference_0=ruleGraphPatternReference 1767 lv_specification_2_0,
1768 { 1768 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
1769 $current = $this_GraphPatternReference_0.current; 1769 afterParserOrEnumRuleCall();
1770 afterParserOrEnumRuleCall(); 1770 }
1771 } 1771 )
1772 | 1772 )
1773 { 1773 )
1774 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 1774;
1775 } 1775
1776 this_PatternSpecification_1=rulePatternSpecification 1776// Entry rule entryRuleGraphPatternReference
1777 { 1777entryRuleGraphPatternReference returns [EObject current=null]:
1778 $current = $this_PatternSpecification_1.current; 1778 { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); }
1779 afterParserOrEnumRuleCall(); 1779 iv_ruleGraphPatternReference=ruleGraphPatternReference
1780 } 1780 { $current=$iv_ruleGraphPatternReference.current; }
1781 ) 1781 EOF;
1782; 1782
1783 1783// Rule GraphPatternReference
1784// Entry rule entryRuleConfigSpecification 1784ruleGraphPatternReference returns [EObject current=null]
1785entryRuleConfigSpecification returns [EObject current=null]: 1785@init {
1786 { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } 1786 enterRule();
1787 iv_ruleConfigSpecification=ruleConfigSpecification 1787}
1788 { $current=$iv_ruleConfigSpecification.current; } 1788@after {
1789 EOF; 1789 leaveRule();
1790 1790}:
1791// Rule ConfigSpecification 1791 (
1792ruleConfigSpecification returns [EObject current=null] 1792 (
1793@init { 1793 {
1794 enterRule(); 1794 if ($current==null) {
1795} 1795 $current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
1796@after { 1796 }
1797 leaveRule(); 1797 }
1798}: 1798 otherlv_0=RULE_ID
1799 ( 1799 {
1800 ( 1800 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
1801 { 1801 }
1802 $current = forceCreateModelElement( 1802 )
1803 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 1803 )
1804 $current); 1804;
1805 } 1805
1806 ) 1806// Entry rule entryRuleGraphPattern
1807 otherlv_1='{' 1807entryRuleGraphPattern returns [EObject current=null]:
1808 { 1808 { newCompositeNode(grammarAccess.getGraphPatternRule()); }
1809 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 1809 iv_ruleGraphPattern=ruleGraphPattern
1810 } 1810 { $current=$iv_ruleGraphPattern.current; }
1811 ( 1811 EOF;
1812 ( 1812
1813 ( 1813// Rule GraphPattern
1814 { 1814ruleGraphPattern returns [EObject current=null]
1815 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 1815@init {
1816 } 1816 enterRule();
1817 lv_entries_2_0=ruleConfigEntry 1817}
1818 { 1818@after {
1819 if ($current==null) { 1819 leaveRule();
1820 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 1820}:
1821 } 1821 (
1822 add( 1822 {
1823 $current, 1823 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
1824 "entries", 1824 }
1825 lv_entries_2_0, 1825 this_GraphPatternReference_0=ruleGraphPatternReference
1826 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 1826 {
1827 afterParserOrEnumRuleCall(); 1827 $current = $this_GraphPatternReference_0.current;
1828 } 1828 afterParserOrEnumRuleCall();
1829 ) 1829 }
1830 ) 1830 |
1831 ( 1831 {
1832 otherlv_3=',' 1832 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
1833 { 1833 }
1834 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 1834 this_PatternSpecification_1=rulePatternSpecification
1835 } 1835 {
1836 ( 1836 $current = $this_PatternSpecification_1.current;
1837 ( 1837 afterParserOrEnumRuleCall();
1838 { 1838 }
1839 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 1839 )
1840 } 1840;
1841 lv_entries_4_0=ruleConfigEntry 1841
1842 { 1842// Entry rule entryRuleObjectiveSpecification
1843 if ($current==null) { 1843entryRuleObjectiveSpecification returns [EObject current=null]:
1844 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 1844 { newCompositeNode(grammarAccess.getObjectiveSpecificationRule()); }
1845 } 1845 iv_ruleObjectiveSpecification=ruleObjectiveSpecification
1846 add( 1846 { $current=$iv_ruleObjectiveSpecification.current; }
1847 $current, 1847 EOF;
1848 "entries", 1848
1849 lv_entries_4_0, 1849// Rule ObjectiveSpecification
1850 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 1850ruleObjectiveSpecification returns [EObject current=null]
1851 afterParserOrEnumRuleCall(); 1851@init {
1852 } 1852 enterRule();
1853 ) 1853}
1854 ) 1854@after {
1855 )* 1855 leaveRule();
1856 )? 1856}:
1857 otherlv_5='}' 1857 (
1858 { 1858 otherlv_0='{'
1859 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 1859 {
1860 } 1860 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
1861 ) 1861 }
1862; 1862 (
1863 1863 (
1864// Entry rule entryRuleConfigDeclaration 1864 {
1865entryRuleConfigDeclaration returns [EObject current=null]: 1865 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
1866 { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } 1866 }
1867 iv_ruleConfigDeclaration=ruleConfigDeclaration 1867 lv_entries_1_0=ruleObjectiveEntry
1868 { $current=$iv_ruleConfigDeclaration.current; } 1868 {
1869 EOF; 1869 if ($current==null) {
1870 1870 $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
1871// Rule ConfigDeclaration 1871 }
1872ruleConfigDeclaration returns [EObject current=null] 1872 add(
1873@init { 1873 $current,
1874 enterRule(); 1874 "entries",
1875} 1875 lv_entries_1_0,
1876@after { 1876 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
1877 leaveRule(); 1877 afterParserOrEnumRuleCall();
1878}: 1878 }
1879 ( 1879 )
1880 otherlv_0='config' 1880 )
1881 { 1881 (
1882 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 1882 otherlv_2=','
1883 } 1883 {
1884 ( 1884 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
1885 ( 1885 }
1886 lv_name_1_0=RULE_ID 1886 (
1887 { 1887 (
1888 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1888 {
1889 } 1889 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
1890 { 1890 }
1891 if ($current==null) { 1891 lv_entries_3_0=ruleObjectiveEntry
1892 $current = createModelElement(grammarAccess.getConfigDeclarationRule()); 1892 {
1893 } 1893 if ($current==null) {
1894 setWithLastConsumed( 1894 $current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
1895 $current, 1895 }
1896 "name", 1896 add(
1897 lv_name_1_0, 1897 $current,
1898 "org.eclipse.xtext.common.Terminals.ID"); 1898 "entries",
1899 } 1899 lv_entries_3_0,
1900 ) 1900 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
1901 ) 1901 afterParserOrEnumRuleCall();
1902 ( 1902 }
1903 ( 1903 )
1904 { 1904 )
1905 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 1905 )*
1906 } 1906 otherlv_4='}'
1907 lv_specification_2_0=ruleConfigSpecification 1907 {
1908 { 1908 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
1909 if ($current==null) { 1909 }
1910 $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 1910 )
1911 } 1911;
1912 set( 1912
1913 $current, 1913// Entry rule entryRuleObjectiveEntry
1914 "specification", 1914entryRuleObjectiveEntry returns [EObject current=null]:
1915 lv_specification_2_0, 1915 { newCompositeNode(grammarAccess.getObjectiveEntryRule()); }
1916 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 1916 iv_ruleObjectiveEntry=ruleObjectiveEntry
1917 afterParserOrEnumRuleCall(); 1917 { $current=$iv_ruleObjectiveEntry.current; }
1918 } 1918 EOF;
1919 ) 1919
1920 ) 1920// Rule ObjectiveEntry
1921 ) 1921ruleObjectiveEntry returns [EObject current=null]
1922; 1922@init {
1923 1923 enterRule();
1924// Entry rule entryRuleConfigEntry 1924}
1925entryRuleConfigEntry returns [EObject current=null]: 1925@after {
1926 { newCompositeNode(grammarAccess.getConfigEntryRule()); } 1926 leaveRule();
1927 iv_ruleConfigEntry=ruleConfigEntry 1927}:
1928 { $current=$iv_ruleConfigEntry.current; } 1928 (
1929 EOF; 1929 {
1930 1930 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
1931// Rule ConfigEntry 1931 }
1932ruleConfigEntry returns [EObject current=null] 1932 this_OptimizationEntry_0=ruleOptimizationEntry
1933@init { 1933 {
1934 enterRule(); 1934 $current = $this_OptimizationEntry_0.current;
1935} 1935 afterParserOrEnumRuleCall();
1936@after { 1936 }
1937 leaveRule(); 1937 |
1938}: 1938 {
1939 ( 1939 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
1940 { 1940 }
1941 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 1941 this_ThresholdEntry_1=ruleThresholdEntry
1942 } 1942 {
1943 this_DocumentationEntry_0=ruleDocumentationEntry 1943 $current = $this_ThresholdEntry_1.current;
1944 { 1944 afterParserOrEnumRuleCall();
1945 $current = $this_DocumentationEntry_0.current; 1945 }
1946 afterParserOrEnumRuleCall(); 1946 )
1947 } 1947;
1948 | 1948
1949 { 1949// Entry rule entryRuleOptimizationEntry
1950 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); 1950entryRuleOptimizationEntry returns [EObject current=null]:
1951 } 1951 { newCompositeNode(grammarAccess.getOptimizationEntryRule()); }
1952 this_RuntimeEntry_1=ruleRuntimeEntry 1952 iv_ruleOptimizationEntry=ruleOptimizationEntry
1953 { 1953 { $current=$iv_ruleOptimizationEntry.current; }
1954 $current = $this_RuntimeEntry_1.current; 1954 EOF;
1955 afterParserOrEnumRuleCall(); 1955
1956 } 1956// Rule OptimizationEntry
1957 | 1957ruleOptimizationEntry returns [EObject current=null]
1958 { 1958@init {
1959 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 1959 enterRule();
1960 } 1960}
1961 this_MemoryEntry_2=ruleMemoryEntry 1961@after {
1962 { 1962 leaveRule();
1963 $current = $this_MemoryEntry_2.current; 1963}:
1964 afterParserOrEnumRuleCall(); 1964 (
1965 } 1965 (
1966 | 1966 (
1967 { 1967 {
1968 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 1968 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
1969 } 1969 }
1970 this_CustomEntry_3=ruleCustomEntry 1970 lv_direction_0_0=ruleOptimizationDirection
1971 { 1971 {
1972 $current = $this_CustomEntry_3.current; 1972 if ($current==null) {
1973 afterParserOrEnumRuleCall(); 1973 $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
1974 } 1974 }
1975 ) 1975 set(
1976; 1976 $current,
1977 1977 "direction",
1978// Entry rule entryRuleDocumentationEntry 1978 lv_direction_0_0,
1979entryRuleDocumentationEntry returns [EObject current=null]: 1979 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
1980 { newCompositeNode(grammarAccess.getDocumentationEntryRule()); } 1980 afterParserOrEnumRuleCall();
1981 iv_ruleDocumentationEntry=ruleDocumentationEntry 1981 }
1982 { $current=$iv_ruleDocumentationEntry.current; } 1982 )
1983 EOF; 1983 )
1984 1984 (
1985// Rule DocumentationEntry 1985 (
1986ruleDocumentationEntry returns [EObject current=null] 1986 {
1987@init { 1987 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
1988 enterRule(); 1988 }
1989} 1989 lv_function_1_0=ruleObjectiveFunction
1990@after { 1990 {
1991 leaveRule(); 1991 if ($current==null) {
1992}: 1992 $current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
1993 ( 1993 }
1994 otherlv_0='log-level' 1994 set(
1995 { 1995 $current,
1996 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 1996 "function",
1997 } 1997 lv_function_1_0,
1998 otherlv_1='=' 1998 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
1999 { 1999 afterParserOrEnumRuleCall();
2000 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 2000 }
2001 } 2001 )
2002 ( 2002 )
2003 ( 2003 )
2004 { 2004;
2005 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 2005
2006 } 2006// Entry rule entryRuleThresholdEntry
2007 lv_level_2_0=ruleDocumentLevelSpecification 2007entryRuleThresholdEntry returns [EObject current=null]:
2008 { 2008 { newCompositeNode(grammarAccess.getThresholdEntryRule()); }
2009 if ($current==null) { 2009 iv_ruleThresholdEntry=ruleThresholdEntry
2010 $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 2010 { $current=$iv_ruleThresholdEntry.current; }
2011 } 2011 EOF;
2012 set( 2012
2013 $current, 2013// Rule ThresholdEntry
2014 "level", 2014ruleThresholdEntry returns [EObject current=null]
2015 lv_level_2_0, 2015@init {
2016 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 2016 enterRule();
2017 afterParserOrEnumRuleCall(); 2017}
2018 } 2018@after {
2019 ) 2019 leaveRule();
2020 ) 2020}:
2021 ) 2021 (
2022; 2022 (
2023 2023 (
2024// Entry rule entryRuleRuntimeEntry 2024 {
2025entryRuleRuntimeEntry returns [EObject current=null]: 2025 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
2026 { newCompositeNode(grammarAccess.getRuntimeEntryRule()); } 2026 }
2027 iv_ruleRuntimeEntry=ruleRuntimeEntry 2027 lv_function_0_0=ruleObjectiveFunction
2028 { $current=$iv_ruleRuntimeEntry.current; } 2028 {
2029 EOF; 2029 if ($current==null) {
2030 2030 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
2031// Rule RuntimeEntry 2031 }
2032ruleRuntimeEntry returns [EObject current=null] 2032 set(
2033@init { 2033 $current,
2034 enterRule(); 2034 "function",
2035} 2035 lv_function_0_0,
2036@after { 2036 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
2037 leaveRule(); 2037 afterParserOrEnumRuleCall();
2038}: 2038 }
2039 ( 2039 )
2040 otherlv_0='runtime' 2040 )
2041 { 2041 (
2042 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 2042 (
2043 } 2043 {
2044 otherlv_1='=' 2044 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
2045 { 2045 }
2046 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 2046 lv_operator_1_0=ruleComparisonOperator
2047 } 2047 {
2048 ( 2048 if ($current==null) {
2049 ( 2049 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
2050 lv_millisecLimit_2_0=RULE_INT 2050 }
2051 { 2051 set(
2052 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 2052 $current,
2053 } 2053 "operator",
2054 { 2054 lv_operator_1_0,
2055 if ($current==null) { 2055 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
2056 $current = createModelElement(grammarAccess.getRuntimeEntryRule()); 2056 afterParserOrEnumRuleCall();
2057 } 2057 }
2058 setWithLastConsumed( 2058 )
2059 $current, 2059 )
2060 "millisecLimit", 2060 (
2061 lv_millisecLimit_2_0, 2061 (
2062 "org.eclipse.xtext.common.Terminals.INT"); 2062 {
2063 } 2063 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
2064 ) 2064 }
2065 ) 2065 lv_threshold_2_0=ruleREALLiteral
2066 ) 2066 {
2067; 2067 if ($current==null) {
2068 2068 $current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
2069// Entry rule entryRuleMemoryEntry 2069 }
2070entryRuleMemoryEntry returns [EObject current=null]: 2070 set(
2071 { newCompositeNode(grammarAccess.getMemoryEntryRule()); } 2071 $current,
2072 iv_ruleMemoryEntry=ruleMemoryEntry 2072 "threshold",
2073 { $current=$iv_ruleMemoryEntry.current; } 2073 lv_threshold_2_0,
2074 EOF; 2074 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
2075 2075 afterParserOrEnumRuleCall();
2076// Rule MemoryEntry 2076 }
2077ruleMemoryEntry returns [EObject current=null] 2077 )
2078@init { 2078 )
2079 enterRule(); 2079 )
2080} 2080;
2081@after { 2081
2082 leaveRule(); 2082// Entry rule entryRuleObjectiveFunction
2083}: 2083entryRuleObjectiveFunction returns [EObject current=null]:
2084 ( 2084 { newCompositeNode(grammarAccess.getObjectiveFunctionRule()); }
2085 otherlv_0='memory' 2085 iv_ruleObjectiveFunction=ruleObjectiveFunction
2086 { 2086 { $current=$iv_ruleObjectiveFunction.current; }
2087 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 2087 EOF;
2088 } 2088
2089 otherlv_1='=' 2089// Rule ObjectiveFunction
2090 { 2090ruleObjectiveFunction returns [EObject current=null]
2091 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 2091@init {
2092 } 2092 enterRule();
2093 ( 2093}
2094 ( 2094@after {
2095 lv_megabyteLimit_2_0=RULE_INT 2095 leaveRule();
2096 { 2096}:
2097 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 2097 {
2098 } 2098 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall());
2099 { 2099 }
2100 if ($current==null) { 2100 this_ReliabiltiyFunction_0=ruleReliabiltiyFunction
2101 $current = createModelElement(grammarAccess.getMemoryEntryRule()); 2101 {
2102 } 2102 $current = $this_ReliabiltiyFunction_0.current;
2103 setWithLastConsumed( 2103 afterParserOrEnumRuleCall();
2104 $current, 2104 }
2105 "megabyteLimit", 2105;
2106 lv_megabyteLimit_2_0, 2106
2107 "org.eclipse.xtext.common.Terminals.INT"); 2107// Entry rule entryRuleReliabiltiyFunction
2108 } 2108entryRuleReliabiltiyFunction returns [EObject current=null]:
2109 ) 2109 { newCompositeNode(grammarAccess.getReliabiltiyFunctionRule()); }
2110 ) 2110 iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction
2111 ) 2111 { $current=$iv_ruleReliabiltiyFunction.current; }
2112; 2112 EOF;
2113 2113
2114// Entry rule entryRuleCustomEntry 2114// Rule ReliabiltiyFunction
2115entryRuleCustomEntry returns [EObject current=null]: 2115ruleReliabiltiyFunction returns [EObject current=null]
2116 { newCompositeNode(grammarAccess.getCustomEntryRule()); } 2116@init {
2117 iv_ruleCustomEntry=ruleCustomEntry 2117 enterRule();
2118 { $current=$iv_ruleCustomEntry.current; } 2118}
2119 EOF; 2119@after {
2120 2120 leaveRule();
2121// Rule CustomEntry 2121}:
2122ruleCustomEntry returns [EObject current=null] 2122 (
2123@init { 2123 otherlv_0='reliability'
2124 enterRule(); 2124 {
2125} 2125 newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0());
2126@after { 2126 }
2127 leaveRule(); 2127 (
2128}: 2128 (
2129 ( 2129 (
2130 ( 2130 {
2131 ( 2131 if ($current==null) {
2132 lv_key_0_0=RULE_STRING 2132 $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
2133 { 2133 }
2134 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 2134 }
2135 } 2135 {
2136 { 2136 newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0());
2137 if ($current==null) { 2137 }
2138 $current = createModelElement(grammarAccess.getCustomEntryRule()); 2138 ruleQualifiedName
2139 } 2139 {
2140 setWithLastConsumed( 2140 afterParserOrEnumRuleCall();
2141 $current, 2141 }
2142 "key", 2142 )
2143 lv_key_0_0, 2143 )
2144 "org.eclipse.xtext.common.Terminals.STRING"); 2144 otherlv_2='::'
2145 } 2145 {
2146 ) 2146 newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1());
2147 ) 2147 }
2148 otherlv_1='=' 2148 )?
2149 { 2149 (
2150 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 2150 (
2151 } 2151 {
2152 ( 2152 if ($current==null) {
2153 ( 2153 $current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
2154 lv_value_2_0=RULE_STRING 2154 }
2155 { 2155 }
2156 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 2156 otherlv_3=RULE_ID
2157 } 2157 {
2158 { 2158 newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0());
2159 if ($current==null) { 2159 }
2160 $current = createModelElement(grammarAccess.getCustomEntryRule()); 2160 )
2161 } 2161 )
2162 setWithLastConsumed( 2162 )
2163 $current, 2163;
2164 "value", 2164
2165 lv_value_2_0, 2165// Entry rule entryRuleObjectiveDeclaration
2166 "org.eclipse.xtext.common.Terminals.STRING"); 2166entryRuleObjectiveDeclaration returns [EObject current=null]:
2167 } 2167 { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); }
2168 ) 2168 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration
2169 ) 2169 { $current=$iv_ruleObjectiveDeclaration.current; }
2170 ) 2170 EOF;
2171; 2171
2172 2172// Rule ObjectiveDeclaration
2173// Entry rule entryRuleConfigReference 2173ruleObjectiveDeclaration returns [EObject current=null]
2174entryRuleConfigReference returns [EObject current=null]: 2174@init {
2175 { newCompositeNode(grammarAccess.getConfigReferenceRule()); } 2175 enterRule();
2176 iv_ruleConfigReference=ruleConfigReference 2176}
2177 { $current=$iv_ruleConfigReference.current; } 2177@after {
2178 EOF; 2178 leaveRule();
2179 2179}:
2180// Rule ConfigReference 2180 (
2181ruleConfigReference returns [EObject current=null] 2181 otherlv_0='objectives'
2182@init { 2182 {
2183 enterRule(); 2183 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
2184} 2184 }
2185@after { 2185 (
2186 leaveRule(); 2186 (
2187}: 2187 lv_name_1_0=RULE_ID
2188 ( 2188 {
2189 ( 2189 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2190 { 2190 }
2191 if ($current==null) { 2191 {
2192 $current = createModelElement(grammarAccess.getConfigReferenceRule()); 2192 if ($current==null) {
2193 } 2193 $current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
2194 } 2194 }
2195 otherlv_0=RULE_ID 2195 setWithLastConsumed(
2196 { 2196 $current,
2197 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 2197 "name",
2198 } 2198 lv_name_1_0,
2199 ) 2199 "org.eclipse.xtext.common.Terminals.ID");
2200 ) 2200 }
2201; 2201 )
2202 2202 )
2203// Entry rule entryRuleConfig 2203 (
2204entryRuleConfig returns [EObject current=null]: 2204 (
2205 { newCompositeNode(grammarAccess.getConfigRule()); } 2205 {
2206 iv_ruleConfig=ruleConfig 2206 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
2207 { $current=$iv_ruleConfig.current; } 2207 }
2208 EOF; 2208 lv_specification_2_0=ruleObjectiveSpecification
2209 2209 {
2210// Rule Config 2210 if ($current==null) {
2211ruleConfig returns [EObject current=null] 2211 $current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
2212@init { 2212 }
2213 enterRule(); 2213 set(
2214} 2214 $current,
2215@after { 2215 "specification",
2216 leaveRule(); 2216 lv_specification_2_0,
2217}: 2217 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
2218 ( 2218 afterParserOrEnumRuleCall();
2219 { 2219 }
2220 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 2220 )
2221 } 2221 )
2222 this_ConfigSpecification_0=ruleConfigSpecification 2222 )
2223 { 2223;
2224 $current = $this_ConfigSpecification_0.current; 2224
2225 afterParserOrEnumRuleCall(); 2225// Entry rule entryRuleObjectiveReference
2226 } 2226entryRuleObjectiveReference returns [EObject current=null]:
2227 | 2227 { newCompositeNode(grammarAccess.getObjectiveReferenceRule()); }
2228 { 2228 iv_ruleObjectiveReference=ruleObjectiveReference
2229 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 2229 { $current=$iv_ruleObjectiveReference.current; }
2230 } 2230 EOF;
2231 this_ConfigReference_1=ruleConfigReference 2231
2232 { 2232// Rule ObjectiveReference
2233 $current = $this_ConfigReference_1.current; 2233ruleObjectiveReference returns [EObject current=null]
2234 afterParserOrEnumRuleCall(); 2234@init {
2235 } 2235 enterRule();
2236 ) 2236}
2237; 2237@after {
2238 2238 leaveRule();
2239// Entry rule entryRuleScopeSpecification 2239}:
2240entryRuleScopeSpecification returns [EObject current=null]: 2240 (
2241 { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } 2241 (
2242 iv_ruleScopeSpecification=ruleScopeSpecification 2242 {
2243 { $current=$iv_ruleScopeSpecification.current; } 2243 if ($current==null) {
2244 EOF; 2244 $current = createModelElement(grammarAccess.getObjectiveReferenceRule());
2245 2245 }
2246// Rule ScopeSpecification 2246 }
2247ruleScopeSpecification returns [EObject current=null] 2247 otherlv_0=RULE_ID
2248@init { 2248 {
2249 enterRule(); 2249 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
2250} 2250 }
2251@after { 2251 )
2252 leaveRule(); 2252 )
2253}: 2253;
2254 ( 2254
2255 ( 2255// Entry rule entryRuleObjective
2256 { 2256entryRuleObjective returns [EObject current=null]:
2257 $current = forceCreateModelElement( 2257 { newCompositeNode(grammarAccess.getObjectiveRule()); }
2258 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 2258 iv_ruleObjective=ruleObjective
2259 $current); 2259 { $current=$iv_ruleObjective.current; }
2260 } 2260 EOF;
2261 ) 2261
2262 otherlv_1='{' 2262// Rule Objective
2263 { 2263ruleObjective returns [EObject current=null]
2264 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 2264@init {
2265 } 2265 enterRule();
2266 ( 2266}
2267 ( 2267@after {
2268 ( 2268 leaveRule();
2269 { 2269}:
2270 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 2270 (
2271 } 2271 {
2272 lv_scopes_2_0=ruleTypeScope 2272 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
2273 { 2273 }
2274 if ($current==null) { 2274 this_ObjectiveReference_0=ruleObjectiveReference
2275 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 2275 {
2276 } 2276 $current = $this_ObjectiveReference_0.current;
2277 add( 2277 afterParserOrEnumRuleCall();
2278 $current, 2278 }
2279 "scopes", 2279 |
2280 lv_scopes_2_0, 2280 {
2281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 2281 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
2282 afterParserOrEnumRuleCall(); 2282 }
2283 } 2283 this_ObjectiveSpecification_1=ruleObjectiveSpecification
2284 ) 2284 {
2285 ) 2285 $current = $this_ObjectiveSpecification_1.current;
2286 ( 2286 afterParserOrEnumRuleCall();
2287 otherlv_3=',' 2287 }
2288 { 2288 )
2289 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 2289;
2290 } 2290
2291 ( 2291// Entry rule entryRuleConfigSpecification
2292 ( 2292entryRuleConfigSpecification returns [EObject current=null]:
2293 { 2293 { newCompositeNode(grammarAccess.getConfigSpecificationRule()); }
2294 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 2294 iv_ruleConfigSpecification=ruleConfigSpecification
2295 } 2295 { $current=$iv_ruleConfigSpecification.current; }
2296 lv_scopes_4_0=ruleTypeScope 2296 EOF;
2297 { 2297
2298 if ($current==null) { 2298// Rule ConfigSpecification
2299 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 2299ruleConfigSpecification returns [EObject current=null]
2300 } 2300@init {
2301 add( 2301 enterRule();
2302 $current, 2302}
2303 "scopes", 2303@after {
2304 lv_scopes_4_0, 2304 leaveRule();
2305 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 2305}:
2306 afterParserOrEnumRuleCall(); 2306 (
2307 } 2307 (
2308 ) 2308 {
2309 ) 2309 $current = forceCreateModelElement(
2310 )* 2310 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
2311 )? 2311 $current);
2312 otherlv_5='}' 2312 }
2313 { 2313 )
2314 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 2314 otherlv_1='{'
2315 } 2315 {
2316 ) 2316 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
2317; 2317 }
2318 2318 (
2319// Entry rule entryRuleTypeScope 2319 (
2320entryRuleTypeScope returns [EObject current=null]: 2320 (
2321 { newCompositeNode(grammarAccess.getTypeScopeRule()); } 2321 {
2322 iv_ruleTypeScope=ruleTypeScope 2322 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
2323 { $current=$iv_ruleTypeScope.current; } 2323 }
2324 EOF; 2324 lv_entries_2_0=ruleConfigEntry
2325 2325 {
2326// Rule TypeScope 2326 if ($current==null) {
2327ruleTypeScope returns [EObject current=null] 2327 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
2328@init { 2328 }
2329 enterRule(); 2329 add(
2330} 2330 $current,
2331@after { 2331 "entries",
2332 leaveRule(); 2332 lv_entries_2_0,
2333}: 2333 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
2334 ( 2334 afterParserOrEnumRuleCall();
2335 { 2335 }
2336 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 2336 )
2337 } 2337 )
2338 this_ClassTypeScope_0=ruleClassTypeScope 2338 (
2339 { 2339 otherlv_3=','
2340 $current = $this_ClassTypeScope_0.current; 2340 {
2341 afterParserOrEnumRuleCall(); 2341 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
2342 } 2342 }
2343 | 2343 (
2344 { 2344 (
2345 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 2345 {
2346 } 2346 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
2347 this_ObjectTypeScope_1=ruleObjectTypeScope 2347 }
2348 { 2348 lv_entries_4_0=ruleConfigEntry
2349 $current = $this_ObjectTypeScope_1.current; 2349 {
2350 afterParserOrEnumRuleCall(); 2350 if ($current==null) {
2351 } 2351 $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
2352 | 2352 }
2353 { 2353 add(
2354 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 2354 $current,
2355 } 2355 "entries",
2356 this_IntegerTypeScope_2=ruleIntegerTypeScope 2356 lv_entries_4_0,
2357 { 2357 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
2358 $current = $this_IntegerTypeScope_2.current; 2358 afterParserOrEnumRuleCall();
2359 afterParserOrEnumRuleCall(); 2359 }
2360 } 2360 )
2361 | 2361 )
2362 { 2362 )*
2363 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 2363 )?
2364 } 2364 otherlv_5='}'
2365 this_RealTypeScope_3=ruleRealTypeScope 2365 {
2366 { 2366 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
2367 $current = $this_RealTypeScope_3.current; 2367 }
2368 afterParserOrEnumRuleCall(); 2368 )
2369 } 2369;
2370 | 2370
2371 { 2371// Entry rule entryRuleConfigDeclaration
2372 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 2372entryRuleConfigDeclaration returns [EObject current=null]:
2373 } 2373 { newCompositeNode(grammarAccess.getConfigDeclarationRule()); }
2374 this_StringTypeScope_4=ruleStringTypeScope 2374 iv_ruleConfigDeclaration=ruleConfigDeclaration
2375 { 2375 { $current=$iv_ruleConfigDeclaration.current; }
2376 $current = $this_StringTypeScope_4.current; 2376 EOF;
2377 afterParserOrEnumRuleCall(); 2377
2378 } 2378// Rule ConfigDeclaration
2379 ) 2379ruleConfigDeclaration returns [EObject current=null]
2380; 2380@init {
2381 2381 enterRule();
2382// Entry rule entryRuleClassTypeScope 2382}
2383entryRuleClassTypeScope returns [EObject current=null]: 2383@after {
2384 { newCompositeNode(grammarAccess.getClassTypeScopeRule()); } 2384 leaveRule();
2385 iv_ruleClassTypeScope=ruleClassTypeScope 2385}:
2386 { $current=$iv_ruleClassTypeScope.current; } 2386 (
2387 EOF; 2387 otherlv_0='config'
2388 2388 {
2389// Rule ClassTypeScope 2389 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
2390ruleClassTypeScope returns [EObject current=null] 2390 }
2391@init { 2391 (
2392 enterRule(); 2392 (
2393} 2393 lv_name_1_0=RULE_ID
2394@after { 2394 {
2395 leaveRule(); 2395 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2396}: 2396 }
2397 ( 2397 {
2398 otherlv_0='#' 2398 if ($current==null) {
2399 { 2399 $current = createModelElement(grammarAccess.getConfigDeclarationRule());
2400 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); 2400 }
2401 } 2401 setWithLastConsumed(
2402 ( 2402 $current,
2403 ( 2403 "name",
2404 { 2404 lv_name_1_0,
2405 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 2405 "org.eclipse.xtext.common.Terminals.ID");
2406 } 2406 }
2407 lv_type_1_0=ruleClassReference 2407 )
2408 { 2408 )
2409 if ($current==null) { 2409 (
2410 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2410 (
2411 } 2411 {
2412 set( 2412 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
2413 $current, 2413 }
2414 "type", 2414 lv_specification_2_0=ruleConfigSpecification
2415 lv_type_1_0, 2415 {
2416 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 2416 if ($current==null) {
2417 afterParserOrEnumRuleCall(); 2417 $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
2418 } 2418 }
2419 ) 2419 set(
2420 ) 2420 $current,
2421 ( 2421 "specification",
2422 ( 2422 lv_specification_2_0,
2423 ( 2423 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
2424 lv_setsNew_2_0='+=' 2424 afterParserOrEnumRuleCall();
2425 { 2425 }
2426 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2426 )
2427 } 2427 )
2428 { 2428 )
2429 if ($current==null) { 2429;
2430 $current = createModelElement(grammarAccess.getClassTypeScopeRule()); 2430
2431 } 2431// Entry rule entryRuleConfigEntry
2432 setWithLastConsumed($current, "setsNew", true, "+="); 2432entryRuleConfigEntry returns [EObject current=null]:
2433 } 2433 { newCompositeNode(grammarAccess.getConfigEntryRule()); }
2434 ) 2434 iv_ruleConfigEntry=ruleConfigEntry
2435 ) 2435 { $current=$iv_ruleConfigEntry.current; }
2436 | 2436 EOF;
2437 ( 2437
2438 ( 2438// Rule ConfigEntry
2439 lv_setsSum_3_0='=' 2439ruleConfigEntry returns [EObject current=null]
2440 { 2440@init {
2441 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2441 enterRule();
2442 } 2442}
2443 { 2443@after {
2444 if ($current==null) { 2444 leaveRule();
2445 $current = createModelElement(grammarAccess.getClassTypeScopeRule()); 2445}:
2446 } 2446 (
2447 setWithLastConsumed($current, "setsSum", true, "="); 2447 {
2448 } 2448 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
2449 ) 2449 }
2450 ) 2450 this_DocumentationEntry_0=ruleDocumentationEntry
2451 ) 2451 {
2452 ( 2452 $current = $this_DocumentationEntry_0.current;
2453 ( 2453 afterParserOrEnumRuleCall();
2454 ( 2454 }
2455 { 2455 |
2456 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2456 {
2457 } 2457 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
2458 lv_number_4_0=ruleExactNumber 2458 }
2459 { 2459 this_RuntimeEntry_1=ruleRuntimeEntry
2460 if ($current==null) { 2460 {
2461 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2461 $current = $this_RuntimeEntry_1.current;
2462 } 2462 afterParserOrEnumRuleCall();
2463 set( 2463 }
2464 $current, 2464 |
2465 "number", 2465 {
2466 lv_number_4_0, 2466 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
2467 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2467 }
2468 afterParserOrEnumRuleCall(); 2468 this_MemoryEntry_2=ruleMemoryEntry
2469 } 2469 {
2470 ) 2470 $current = $this_MemoryEntry_2.current;
2471 ) 2471 afterParserOrEnumRuleCall();
2472 | 2472 }
2473 ( 2473 |
2474 ( 2474 {
2475 { 2475 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
2476 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2476 }
2477 } 2477 this_CustomEntry_3=ruleCustomEntry
2478 lv_number_5_0=ruleIntervallNumber 2478 {
2479 { 2479 $current = $this_CustomEntry_3.current;
2480 if ($current==null) { 2480 afterParserOrEnumRuleCall();
2481 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 2481 }
2482 } 2482 )
2483 set( 2483;
2484 $current, 2484
2485 "number", 2485// Entry rule entryRuleDocumentationEntry
2486 lv_number_5_0, 2486entryRuleDocumentationEntry returns [EObject current=null]:
2487 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2487 { newCompositeNode(grammarAccess.getDocumentationEntryRule()); }
2488 afterParserOrEnumRuleCall(); 2488 iv_ruleDocumentationEntry=ruleDocumentationEntry
2489 } 2489 { $current=$iv_ruleDocumentationEntry.current; }
2490 ) 2490 EOF;
2491 ) 2491
2492 ) 2492// Rule DocumentationEntry
2493 ) 2493ruleDocumentationEntry returns [EObject current=null]
2494; 2494@init {
2495 2495 enterRule();
2496// Entry rule entryRuleObjectTypeScope 2496}
2497entryRuleObjectTypeScope returns [EObject current=null]: 2497@after {
2498 { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); } 2498 leaveRule();
2499 iv_ruleObjectTypeScope=ruleObjectTypeScope 2499}:
2500 { $current=$iv_ruleObjectTypeScope.current; } 2500 (
2501 EOF; 2501 otherlv_0='log-level'
2502 2502 {
2503// Rule ObjectTypeScope 2503 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
2504ruleObjectTypeScope returns [EObject current=null] 2504 }
2505@init { 2505 otherlv_1='='
2506 enterRule(); 2506 {
2507} 2507 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
2508@after { 2508 }
2509 leaveRule(); 2509 (
2510}: 2510 (
2511 ( 2511 {
2512 otherlv_0='#' 2512 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
2513 { 2513 }
2514 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 2514 lv_level_2_0=ruleDocumentLevelSpecification
2515 } 2515 {
2516 ( 2516 if ($current==null) {
2517 ( 2517 $current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
2518 { 2518 }
2519 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 2519 set(
2520 } 2520 $current,
2521 lv_type_1_0=ruleObjectReference 2521 "level",
2522 { 2522 lv_level_2_0,
2523 if ($current==null) { 2523 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
2524 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2524 afterParserOrEnumRuleCall();
2525 } 2525 }
2526 set( 2526 )
2527 $current, 2527 )
2528 "type", 2528 )
2529 lv_type_1_0, 2529;
2530 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 2530
2531 afterParserOrEnumRuleCall(); 2531// Entry rule entryRuleRuntimeEntry
2532 } 2532entryRuleRuntimeEntry returns [EObject current=null]:
2533 ) 2533 { newCompositeNode(grammarAccess.getRuntimeEntryRule()); }
2534 ) 2534 iv_ruleRuntimeEntry=ruleRuntimeEntry
2535 ( 2535 { $current=$iv_ruleRuntimeEntry.current; }
2536 ( 2536 EOF;
2537 ( 2537
2538 lv_setsNew_2_0='+=' 2538// Rule RuntimeEntry
2539 { 2539ruleRuntimeEntry returns [EObject current=null]
2540 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2540@init {
2541 } 2541 enterRule();
2542 { 2542}
2543 if ($current==null) { 2543@after {
2544 $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 2544 leaveRule();
2545 } 2545}:
2546 setWithLastConsumed($current, "setsNew", true, "+="); 2546 (
2547 } 2547 otherlv_0='runtime'
2548 ) 2548 {
2549 ) 2549 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
2550 | 2550 }
2551 ( 2551 otherlv_1='='
2552 ( 2552 {
2553 lv_setsSum_3_0='=' 2553 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
2554 { 2554 }
2555 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2555 (
2556 } 2556 (
2557 { 2557 lv_millisecLimit_2_0=RULE_INT
2558 if ($current==null) { 2558 {
2559 $current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 2559 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
2560 } 2560 }
2561 setWithLastConsumed($current, "setsSum", true, "="); 2561 {
2562 } 2562 if ($current==null) {
2563 ) 2563 $current = createModelElement(grammarAccess.getRuntimeEntryRule());
2564 ) 2564 }
2565 ) 2565 setWithLastConsumed(
2566 ( 2566 $current,
2567 ( 2567 "millisecLimit",
2568 ( 2568 lv_millisecLimit_2_0,
2569 { 2569 "org.eclipse.xtext.common.Terminals.INT");
2570 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2570 }
2571 } 2571 )
2572 lv_number_4_0=ruleExactNumber 2572 )
2573 { 2573 )
2574 if ($current==null) { 2574;
2575 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2575
2576 } 2576// Entry rule entryRuleMemoryEntry
2577 set( 2577entryRuleMemoryEntry returns [EObject current=null]:
2578 $current, 2578 { newCompositeNode(grammarAccess.getMemoryEntryRule()); }
2579 "number", 2579 iv_ruleMemoryEntry=ruleMemoryEntry
2580 lv_number_4_0, 2580 { $current=$iv_ruleMemoryEntry.current; }
2581 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2581 EOF;
2582 afterParserOrEnumRuleCall(); 2582
2583 } 2583// Rule MemoryEntry
2584 ) 2584ruleMemoryEntry returns [EObject current=null]
2585 ) 2585@init {
2586 | 2586 enterRule();
2587 ( 2587}
2588 ( 2588@after {
2589 { 2589 leaveRule();
2590 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2590}:
2591 } 2591 (
2592 lv_number_5_0=ruleIntervallNumber 2592 otherlv_0='memory'
2593 { 2593 {
2594 if ($current==null) { 2594 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
2595 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 2595 }
2596 } 2596 otherlv_1='='
2597 set( 2597 {
2598 $current, 2598 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
2599 "number", 2599 }
2600 lv_number_5_0, 2600 (
2601 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2601 (
2602 afterParserOrEnumRuleCall(); 2602 lv_megabyteLimit_2_0=RULE_INT
2603 } 2603 {
2604 ) 2604 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
2605 ) 2605 }
2606 ) 2606 {
2607 ) 2607 if ($current==null) {
2608; 2608 $current = createModelElement(grammarAccess.getMemoryEntryRule());
2609 2609 }
2610// Entry rule entryRuleIntegerTypeScope 2610 setWithLastConsumed(
2611entryRuleIntegerTypeScope returns [EObject current=null]: 2611 $current,
2612 { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); } 2612 "megabyteLimit",
2613 iv_ruleIntegerTypeScope=ruleIntegerTypeScope 2613 lv_megabyteLimit_2_0,
2614 { $current=$iv_ruleIntegerTypeScope.current; } 2614 "org.eclipse.xtext.common.Terminals.INT");
2615 EOF; 2615 }
2616 2616 )
2617// Rule IntegerTypeScope 2617 )
2618ruleIntegerTypeScope returns [EObject current=null] 2618 )
2619@init { 2619;
2620 enterRule(); 2620
2621} 2621// Entry rule entryRuleCustomEntry
2622@after { 2622entryRuleCustomEntry returns [EObject current=null]:
2623 leaveRule(); 2623 { newCompositeNode(grammarAccess.getCustomEntryRule()); }
2624}: 2624 iv_ruleCustomEntry=ruleCustomEntry
2625 ( 2625 { $current=$iv_ruleCustomEntry.current; }
2626 otherlv_0='#' 2626 EOF;
2627 { 2627
2628 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 2628// Rule CustomEntry
2629 } 2629ruleCustomEntry returns [EObject current=null]
2630 ( 2630@init {
2631 ( 2631 enterRule();
2632 { 2632}
2633 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 2633@after {
2634 } 2634 leaveRule();
2635 lv_type_1_0=ruleIntegerReference 2635}:
2636 { 2636 (
2637 if ($current==null) { 2637 (
2638 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2638 (
2639 } 2639 lv_key_0_0=RULE_STRING
2640 set( 2640 {
2641 $current, 2641 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
2642 "type", 2642 }
2643 lv_type_1_0, 2643 {
2644 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 2644 if ($current==null) {
2645 afterParserOrEnumRuleCall(); 2645 $current = createModelElement(grammarAccess.getCustomEntryRule());
2646 } 2646 }
2647 ) 2647 setWithLastConsumed(
2648 ) 2648 $current,
2649 ( 2649 "key",
2650 ( 2650 lv_key_0_0,
2651 ( 2651 "org.eclipse.xtext.common.Terminals.STRING");
2652 lv_setsNew_2_0='+=' 2652 }
2653 { 2653 )
2654 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2654 )
2655 } 2655 otherlv_1='='
2656 { 2656 {
2657 if ($current==null) { 2657 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
2658 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 2658 }
2659 } 2659 (
2660 setWithLastConsumed($current, "setsNew", true, "+="); 2660 (
2661 } 2661 lv_value_2_0=RULE_STRING
2662 ) 2662 {
2663 ) 2663 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
2664 | 2664 }
2665 ( 2665 {
2666 ( 2666 if ($current==null) {
2667 lv_setsSum_3_0='=' 2667 $current = createModelElement(grammarAccess.getCustomEntryRule());
2668 { 2668 }
2669 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2669 setWithLastConsumed(
2670 } 2670 $current,
2671 { 2671 "value",
2672 if ($current==null) { 2672 lv_value_2_0,
2673 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 2673 "org.eclipse.xtext.common.Terminals.STRING");
2674 } 2674 }
2675 setWithLastConsumed($current, "setsSum", true, "="); 2675 )
2676 } 2676 )
2677 ) 2677 )
2678 ) 2678;
2679 ) 2679
2680 ( 2680// Entry rule entryRuleConfigReference
2681 ( 2681entryRuleConfigReference returns [EObject current=null]:
2682 ( 2682 { newCompositeNode(grammarAccess.getConfigReferenceRule()); }
2683 { 2683 iv_ruleConfigReference=ruleConfigReference
2684 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2684 { $current=$iv_ruleConfigReference.current; }
2685 } 2685 EOF;
2686 lv_number_4_0=ruleExactNumber 2686
2687 { 2687// Rule ConfigReference
2688 if ($current==null) { 2688ruleConfigReference returns [EObject current=null]
2689 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2689@init {
2690 } 2690 enterRule();
2691 set( 2691}
2692 $current, 2692@after {
2693 "number", 2693 leaveRule();
2694 lv_number_4_0, 2694}:
2695 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2695 (
2696 afterParserOrEnumRuleCall(); 2696 (
2697 } 2697 {
2698 ) 2698 if ($current==null) {
2699 ) 2699 $current = createModelElement(grammarAccess.getConfigReferenceRule());
2700 | 2700 }
2701 ( 2701 }
2702 ( 2702 otherlv_0=RULE_ID
2703 { 2703 {
2704 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2704 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
2705 } 2705 }
2706 lv_number_5_0=ruleIntervallNumber 2706 )
2707 { 2707 )
2708 if ($current==null) { 2708;
2709 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2709
2710 } 2710// Entry rule entryRuleConfig
2711 set( 2711entryRuleConfig returns [EObject current=null]:
2712 $current, 2712 { newCompositeNode(grammarAccess.getConfigRule()); }
2713 "number", 2713 iv_ruleConfig=ruleConfig
2714 lv_number_5_0, 2714 { $current=$iv_ruleConfig.current; }
2715 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2715 EOF;
2716 afterParserOrEnumRuleCall(); 2716
2717 } 2717// Rule Config
2718 ) 2718ruleConfig returns [EObject current=null]
2719 ) 2719@init {
2720 | 2720 enterRule();
2721 ( 2721}
2722 ( 2722@after {
2723 { 2723 leaveRule();
2724 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 2724}:
2725 } 2725 (
2726 lv_number_6_0=ruleIntEnumberation 2726 {
2727 { 2727 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
2728 if ($current==null) { 2728 }
2729 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 2729 this_ConfigSpecification_0=ruleConfigSpecification
2730 } 2730 {
2731 set( 2731 $current = $this_ConfigSpecification_0.current;
2732 $current, 2732 afterParserOrEnumRuleCall();
2733 "number", 2733 }
2734 lv_number_6_0, 2734 |
2735 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 2735 {
2736 afterParserOrEnumRuleCall(); 2736 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
2737 } 2737 }
2738 ) 2738 this_ConfigReference_1=ruleConfigReference
2739 ) 2739 {
2740 ) 2740 $current = $this_ConfigReference_1.current;
2741 ) 2741 afterParserOrEnumRuleCall();
2742; 2742 }
2743 2743 )
2744// Entry rule entryRuleRealTypeScope 2744;
2745entryRuleRealTypeScope returns [EObject current=null]: 2745
2746 { newCompositeNode(grammarAccess.getRealTypeScopeRule()); } 2746// Entry rule entryRuleScopeSpecification
2747 iv_ruleRealTypeScope=ruleRealTypeScope 2747entryRuleScopeSpecification returns [EObject current=null]:
2748 { $current=$iv_ruleRealTypeScope.current; } 2748 { newCompositeNode(grammarAccess.getScopeSpecificationRule()); }
2749 EOF; 2749 iv_ruleScopeSpecification=ruleScopeSpecification
2750 2750 { $current=$iv_ruleScopeSpecification.current; }
2751// Rule RealTypeScope 2751 EOF;
2752ruleRealTypeScope returns [EObject current=null] 2752
2753@init { 2753// Rule ScopeSpecification
2754 enterRule(); 2754ruleScopeSpecification returns [EObject current=null]
2755} 2755@init {
2756@after { 2756 enterRule();
2757 leaveRule(); 2757}
2758}: 2758@after {
2759 ( 2759 leaveRule();
2760 otherlv_0='#' 2760}:
2761 { 2761 (
2762 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 2762 (
2763 } 2763 {
2764 ( 2764 $current = forceCreateModelElement(
2765 ( 2765 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
2766 { 2766 $current);
2767 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 2767 }
2768 } 2768 )
2769 lv_type_1_0=ruleRealReference 2769 otherlv_1='{'
2770 { 2770 {
2771 if ($current==null) { 2771 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
2772 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2772 }
2773 } 2773 (
2774 set( 2774 (
2775 $current, 2775 (
2776 "type", 2776 {
2777 lv_type_1_0, 2777 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
2778 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 2778 }
2779 afterParserOrEnumRuleCall(); 2779 lv_scopes_2_0=ruleTypeScope
2780 } 2780 {
2781 ) 2781 if ($current==null) {
2782 ) 2782 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
2783 ( 2783 }
2784 ( 2784 add(
2785 ( 2785 $current,
2786 lv_setsNew_2_0='+=' 2786 "scopes",
2787 { 2787 lv_scopes_2_0,
2788 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2788 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
2789 } 2789 afterParserOrEnumRuleCall();
2790 { 2790 }
2791 if ($current==null) { 2791 )
2792 $current = createModelElement(grammarAccess.getRealTypeScopeRule()); 2792 )
2793 } 2793 (
2794 setWithLastConsumed($current, "setsNew", true, "+="); 2794 otherlv_3=','
2795 } 2795 {
2796 ) 2796 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
2797 ) 2797 }
2798 | 2798 (
2799 ( 2799 (
2800 ( 2800 {
2801 lv_setsSum_3_0='=' 2801 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
2802 { 2802 }
2803 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2803 lv_scopes_4_0=ruleTypeScope
2804 } 2804 {
2805 { 2805 if ($current==null) {
2806 if ($current==null) { 2806 $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
2807 $current = createModelElement(grammarAccess.getRealTypeScopeRule()); 2807 }
2808 } 2808 add(
2809 setWithLastConsumed($current, "setsSum", true, "="); 2809 $current,
2810 } 2810 "scopes",
2811 ) 2811 lv_scopes_4_0,
2812 ) 2812 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
2813 ) 2813 afterParserOrEnumRuleCall();
2814 ( 2814 }
2815 ( 2815 )
2816 ( 2816 )
2817 { 2817 )*
2818 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2818 )?
2819 } 2819 otherlv_5='}'
2820 lv_number_4_0=ruleExactNumber 2820 {
2821 { 2821 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
2822 if ($current==null) { 2822 }
2823 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2823 )
2824 } 2824;
2825 set( 2825
2826 $current, 2826// Entry rule entryRuleTypeScope
2827 "number", 2827entryRuleTypeScope returns [EObject current=null]:
2828 lv_number_4_0, 2828 { newCompositeNode(grammarAccess.getTypeScopeRule()); }
2829 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2829 iv_ruleTypeScope=ruleTypeScope
2830 afterParserOrEnumRuleCall(); 2830 { $current=$iv_ruleTypeScope.current; }
2831 } 2831 EOF;
2832 ) 2832
2833 ) 2833// Rule TypeScope
2834 | 2834ruleTypeScope returns [EObject current=null]
2835 ( 2835@init {
2836 ( 2836 enterRule();
2837 { 2837}
2838 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2838@after {
2839 } 2839 leaveRule();
2840 lv_number_5_0=ruleIntervallNumber 2840}:
2841 { 2841 (
2842 if ($current==null) { 2842 {
2843 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2843 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
2844 } 2844 }
2845 set( 2845 this_ClassTypeScope_0=ruleClassTypeScope
2846 $current, 2846 {
2847 "number", 2847 $current = $this_ClassTypeScope_0.current;
2848 lv_number_5_0, 2848 afterParserOrEnumRuleCall();
2849 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2849 }
2850 afterParserOrEnumRuleCall(); 2850 |
2851 } 2851 {
2852 ) 2852 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
2853 ) 2853 }
2854 | 2854 this_ObjectTypeScope_1=ruleObjectTypeScope
2855 ( 2855 {
2856 ( 2856 $current = $this_ObjectTypeScope_1.current;
2857 { 2857 afterParserOrEnumRuleCall();
2858 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 2858 }
2859 } 2859 |
2860 lv_number_6_0=ruleRealEnumeration 2860 {
2861 { 2861 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
2862 if ($current==null) { 2862 }
2863 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 2863 this_IntegerTypeScope_2=ruleIntegerTypeScope
2864 } 2864 {
2865 set( 2865 $current = $this_IntegerTypeScope_2.current;
2866 $current, 2866 afterParserOrEnumRuleCall();
2867 "number", 2867 }
2868 lv_number_6_0, 2868 |
2869 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 2869 {
2870 afterParserOrEnumRuleCall(); 2870 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
2871 } 2871 }
2872 ) 2872 this_RealTypeScope_3=ruleRealTypeScope
2873 ) 2873 {
2874 ) 2874 $current = $this_RealTypeScope_3.current;
2875 ) 2875 afterParserOrEnumRuleCall();
2876; 2876 }
2877 2877 |
2878// Entry rule entryRuleStringTypeScope 2878 {
2879entryRuleStringTypeScope returns [EObject current=null]: 2879 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
2880 { newCompositeNode(grammarAccess.getStringTypeScopeRule()); } 2880 }
2881 iv_ruleStringTypeScope=ruleStringTypeScope 2881 this_StringTypeScope_4=ruleStringTypeScope
2882 { $current=$iv_ruleStringTypeScope.current; } 2882 {
2883 EOF; 2883 $current = $this_StringTypeScope_4.current;
2884 2884 afterParserOrEnumRuleCall();
2885// Rule StringTypeScope 2885 }
2886ruleStringTypeScope returns [EObject current=null] 2886 )
2887@init { 2887;
2888 enterRule(); 2888
2889} 2889// Entry rule entryRuleClassTypeScope
2890@after { 2890entryRuleClassTypeScope returns [EObject current=null]:
2891 leaveRule(); 2891 { newCompositeNode(grammarAccess.getClassTypeScopeRule()); }
2892}: 2892 iv_ruleClassTypeScope=ruleClassTypeScope
2893 ( 2893 { $current=$iv_ruleClassTypeScope.current; }
2894 otherlv_0='#' 2894 EOF;
2895 { 2895
2896 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 2896// Rule ClassTypeScope
2897 } 2897ruleClassTypeScope returns [EObject current=null]
2898 ( 2898@init {
2899 ( 2899 enterRule();
2900 { 2900}
2901 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 2901@after {
2902 } 2902 leaveRule();
2903 lv_type_1_0=ruleStringReference 2903}:
2904 { 2904 (
2905 if ($current==null) { 2905 otherlv_0='#'
2906 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2906 {
2907 } 2907 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
2908 set( 2908 }
2909 $current, 2909 (
2910 "type", 2910 (
2911 lv_type_1_0, 2911 {
2912 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 2912 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
2913 afterParserOrEnumRuleCall(); 2913 }
2914 } 2914 lv_type_1_0=ruleClassReference
2915 ) 2915 {
2916 ) 2916 if ($current==null) {
2917 ( 2917 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
2918 ( 2918 }
2919 ( 2919 set(
2920 lv_setsNew_2_0='+=' 2920 $current,
2921 { 2921 "type",
2922 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 2922 lv_type_1_0,
2923 } 2923 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
2924 { 2924 afterParserOrEnumRuleCall();
2925 if ($current==null) { 2925 }
2926 $current = createModelElement(grammarAccess.getStringTypeScopeRule()); 2926 )
2927 } 2927 )
2928 setWithLastConsumed($current, "setsNew", true, "+="); 2928 (
2929 } 2929 (
2930 ) 2930 (
2931 ) 2931 lv_setsNew_2_0='+='
2932 | 2932 {
2933 ( 2933 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
2934 ( 2934 }
2935 lv_setsSum_3_0='=' 2935 {
2936 { 2936 if ($current==null) {
2937 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 2937 $current = createModelElement(grammarAccess.getClassTypeScopeRule());
2938 } 2938 }
2939 { 2939 setWithLastConsumed($current, "setsNew", true, "+=");
2940 if ($current==null) { 2940 }
2941 $current = createModelElement(grammarAccess.getStringTypeScopeRule()); 2941 )
2942 } 2942 )
2943 setWithLastConsumed($current, "setsSum", true, "="); 2943 |
2944 } 2944 (
2945 ) 2945 (
2946 ) 2946 lv_setsSum_3_0='='
2947 ) 2947 {
2948 ( 2948 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
2949 ( 2949 }
2950 ( 2950 {
2951 { 2951 if ($current==null) {
2952 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 2952 $current = createModelElement(grammarAccess.getClassTypeScopeRule());
2953 } 2953 }
2954 lv_number_4_0=ruleExactNumber 2954 setWithLastConsumed($current, "setsSum", true, "=");
2955 { 2955 }
2956 if ($current==null) { 2956 )
2957 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2957 )
2958 } 2958 )
2959 set( 2959 (
2960 $current, 2960 (
2961 "number", 2961 (
2962 lv_number_4_0, 2962 {
2963 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 2963 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
2964 afterParserOrEnumRuleCall(); 2964 }
2965 } 2965 lv_number_4_0=ruleExactNumber
2966 ) 2966 {
2967 ) 2967 if ($current==null) {
2968 | 2968 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
2969 ( 2969 }
2970 ( 2970 set(
2971 { 2971 $current,
2972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 2972 "number",
2973 } 2973 lv_number_4_0,
2974 lv_number_5_0=ruleIntervallNumber 2974 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
2975 { 2975 afterParserOrEnumRuleCall();
2976 if ($current==null) { 2976 }
2977 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2977 )
2978 } 2978 )
2979 set( 2979 |
2980 $current, 2980 (
2981 "number", 2981 (
2982 lv_number_5_0, 2982 {
2983 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 2983 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
2984 afterParserOrEnumRuleCall(); 2984 }
2985 } 2985 lv_number_5_0=ruleIntervallNumber
2986 ) 2986 {
2987 ) 2987 if ($current==null) {
2988 | 2988 $current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
2989 ( 2989 }
2990 ( 2990 set(
2991 { 2991 $current,
2992 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 2992 "number",
2993 } 2993 lv_number_5_0,
2994 lv_number_6_0=ruleStringEnumeration 2994 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
2995 { 2995 afterParserOrEnumRuleCall();
2996 if ($current==null) { 2996 }
2997 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 2997 )
2998 } 2998 )
2999 set( 2999 )
3000 $current, 3000 )
3001 "number", 3001;
3002 lv_number_6_0, 3002
3003 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 3003// Entry rule entryRuleObjectTypeScope
3004 afterParserOrEnumRuleCall(); 3004entryRuleObjectTypeScope returns [EObject current=null]:
3005 } 3005 { newCompositeNode(grammarAccess.getObjectTypeScopeRule()); }
3006 ) 3006 iv_ruleObjectTypeScope=ruleObjectTypeScope
3007 ) 3007 { $current=$iv_ruleObjectTypeScope.current; }
3008 ) 3008 EOF;
3009 ) 3009
3010; 3010// Rule ObjectTypeScope
3011 3011ruleObjectTypeScope returns [EObject current=null]
3012// Entry rule entryRuleClassReference 3012@init {
3013entryRuleClassReference returns [EObject current=null]: 3013 enterRule();
3014 { newCompositeNode(grammarAccess.getClassReferenceRule()); } 3014}
3015 iv_ruleClassReference=ruleClassReference 3015@after {
3016 { $current=$iv_ruleClassReference.current; } 3016 leaveRule();
3017 EOF; 3017}:
3018 3018 (
3019// Rule ClassReference 3019 otherlv_0='#'
3020ruleClassReference returns [EObject current=null] 3020 {
3021@init { 3021 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
3022 enterRule(); 3022 }
3023} 3023 (
3024@after { 3024 (
3025 leaveRule(); 3025 {
3026}: 3026 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
3027 ( 3027 }
3028 otherlv_0='<' 3028 lv_type_1_0=ruleObjectReference
3029 { 3029 {
3030 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 3030 if ($current==null) {
3031 } 3031 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3032 ( 3032 }
3033 ( 3033 set(
3034 { 3034 $current,
3035 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 3035 "type",
3036 } 3036 lv_type_1_0,
3037 lv_element_1_0=ruleMetamodelElement 3037 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
3038 { 3038 afterParserOrEnumRuleCall();
3039 if ($current==null) { 3039 }
3040 $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 3040 )
3041 } 3041 )
3042 set( 3042 (
3043 $current, 3043 (
3044 "element", 3044 (
3045 lv_element_1_0, 3045 lv_setsNew_2_0='+='
3046 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 3046 {
3047 afterParserOrEnumRuleCall(); 3047 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3048 } 3048 }
3049 ) 3049 {
3050 ) 3050 if ($current==null) {
3051 otherlv_2='>' 3051 $current = createModelElement(grammarAccess.getObjectTypeScopeRule());
3052 { 3052 }
3053 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 3053 setWithLastConsumed($current, "setsNew", true, "+=");
3054 } 3054 }
3055 ) 3055 )
3056; 3056 )
3057 3057 |
3058// Entry rule entryRuleObjectReference 3058 (
3059entryRuleObjectReference returns [EObject current=null]: 3059 (
3060 { newCompositeNode(grammarAccess.getObjectReferenceRule()); } 3060 lv_setsSum_3_0='='
3061 iv_ruleObjectReference=ruleObjectReference 3061 {
3062 { $current=$iv_ruleObjectReference.current; } 3062 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3063 EOF; 3063 }
3064 3064 {
3065// Rule ObjectReference 3065 if ($current==null) {
3066ruleObjectReference returns [EObject current=null] 3066 $current = createModelElement(grammarAccess.getObjectTypeScopeRule());
3067@init { 3067 }
3068 enterRule(); 3068 setWithLastConsumed($current, "setsSum", true, "=");
3069} 3069 }
3070@after { 3070 )
3071 leaveRule(); 3071 )
3072}: 3072 )
3073 ( 3073 (
3074 ( 3074 (
3075 { 3075 (
3076 $current = forceCreateModelElement( 3076 {
3077 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 3077 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3078 $current); 3078 }
3079 } 3079 lv_number_4_0=ruleExactNumber
3080 ) 3080 {
3081 otherlv_1='node' 3081 if ($current==null) {
3082 { 3082 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3083 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 3083 }
3084 } 3084 set(
3085 ) 3085 $current,
3086; 3086 "number",
3087 3087 lv_number_4_0,
3088// Entry rule entryRuleIntegerReference 3088 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3089entryRuleIntegerReference returns [EObject current=null]: 3089 afterParserOrEnumRuleCall();
3090 { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } 3090 }
3091 iv_ruleIntegerReference=ruleIntegerReference 3091 )
3092 { $current=$iv_ruleIntegerReference.current; } 3092 )
3093 EOF; 3093 |
3094 3094 (
3095// Rule IntegerReference 3095 (
3096ruleIntegerReference returns [EObject current=null] 3096 {
3097@init { 3097 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3098 enterRule(); 3098 }
3099} 3099 lv_number_5_0=ruleIntervallNumber
3100@after { 3100 {
3101 leaveRule(); 3101 if ($current==null) {
3102}: 3102 $current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
3103 ( 3103 }
3104 ( 3104 set(
3105 { 3105 $current,
3106 $current = forceCreateModelElement( 3106 "number",
3107 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 3107 lv_number_5_0,
3108 $current); 3108 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3109 } 3109 afterParserOrEnumRuleCall();
3110 ) 3110 }
3111 otherlv_1='int' 3111 )
3112 { 3112 )
3113 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 3113 )
3114 } 3114 )
3115 ) 3115;
3116; 3116
3117 3117// Entry rule entryRuleIntegerTypeScope
3118// Entry rule entryRuleRealReference 3118entryRuleIntegerTypeScope returns [EObject current=null]:
3119entryRuleRealReference returns [EObject current=null]: 3119 { newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); }
3120 { newCompositeNode(grammarAccess.getRealReferenceRule()); } 3120 iv_ruleIntegerTypeScope=ruleIntegerTypeScope
3121 iv_ruleRealReference=ruleRealReference 3121 { $current=$iv_ruleIntegerTypeScope.current; }
3122 { $current=$iv_ruleRealReference.current; } 3122 EOF;
3123 EOF; 3123
3124 3124// Rule IntegerTypeScope
3125// Rule RealReference 3125ruleIntegerTypeScope returns [EObject current=null]
3126ruleRealReference returns [EObject current=null] 3126@init {
3127@init { 3127 enterRule();
3128 enterRule(); 3128}
3129} 3129@after {
3130@after { 3130 leaveRule();
3131 leaveRule(); 3131}:
3132}: 3132 (
3133 ( 3133 otherlv_0='#'
3134 ( 3134 {
3135 { 3135 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
3136 $current = forceCreateModelElement( 3136 }
3137 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 3137 (
3138 $current); 3138 (
3139 } 3139 {
3140 ) 3140 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
3141 otherlv_1='real' 3141 }
3142 { 3142 lv_type_1_0=ruleIntegerReference
3143 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 3143 {
3144 } 3144 if ($current==null) {
3145 ) 3145 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3146; 3146 }
3147 3147 set(
3148// Entry rule entryRuleStringReference 3148 $current,
3149entryRuleStringReference returns [EObject current=null]: 3149 "type",
3150 { newCompositeNode(grammarAccess.getStringReferenceRule()); } 3150 lv_type_1_0,
3151 iv_ruleStringReference=ruleStringReference 3151 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
3152 { $current=$iv_ruleStringReference.current; } 3152 afterParserOrEnumRuleCall();
3153 EOF; 3153 }
3154 3154 )
3155// Rule StringReference 3155 )
3156ruleStringReference returns [EObject current=null] 3156 (
3157@init { 3157 (
3158 enterRule(); 3158 (
3159} 3159 lv_setsNew_2_0='+='
3160@after { 3160 {
3161 leaveRule(); 3161 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3162}: 3162 }
3163 ( 3163 {
3164 ( 3164 if ($current==null) {
3165 { 3165 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
3166 $current = forceCreateModelElement( 3166 }
3167 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 3167 setWithLastConsumed($current, "setsNew", true, "+=");
3168 $current); 3168 }
3169 } 3169 )
3170 ) 3170 )
3171 otherlv_1='string' 3171 |
3172 { 3172 (
3173 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 3173 (
3174 } 3174 lv_setsSum_3_0='='
3175 ) 3175 {
3176; 3176 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3177 3177 }
3178// Entry rule entryRuleExactNumber 3178 {
3179entryRuleExactNumber returns [EObject current=null]: 3179 if ($current==null) {
3180 { newCompositeNode(grammarAccess.getExactNumberRule()); } 3180 $current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
3181 iv_ruleExactNumber=ruleExactNumber 3181 }
3182 { $current=$iv_ruleExactNumber.current; } 3182 setWithLastConsumed($current, "setsSum", true, "=");
3183 EOF; 3183 }
3184 3184 )
3185// Rule ExactNumber 3185 )
3186ruleExactNumber returns [EObject current=null] 3186 )
3187@init { 3187 (
3188 enterRule(); 3188 (
3189} 3189 (
3190@after { 3190 {
3191 leaveRule(); 3191 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3192}: 3192 }
3193 ( 3193 lv_number_4_0=ruleExactNumber
3194 ( 3194 {
3195 ( 3195 if ($current==null) {
3196 lv_exactNumber_0_0=RULE_INT 3196 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3197 { 3197 }
3198 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 3198 set(
3199 } 3199 $current,
3200 { 3200 "number",
3201 if ($current==null) { 3201 lv_number_4_0,
3202 $current = createModelElement(grammarAccess.getExactNumberRule()); 3202 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3203 } 3203 afterParserOrEnumRuleCall();
3204 setWithLastConsumed( 3204 }
3205 $current, 3205 )
3206 "exactNumber", 3206 )
3207 lv_exactNumber_0_0, 3207 |
3208 "org.eclipse.xtext.common.Terminals.INT"); 3208 (
3209 } 3209 (
3210 ) 3210 {
3211 ) 3211 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3212 | 3212 }
3213 ( 3213 lv_number_5_0=ruleIntervallNumber
3214 ( 3214 {
3215 lv_exactUnlimited_1_0='*' 3215 if ($current==null) {
3216 { 3216 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3217 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 3217 }
3218 } 3218 set(
3219 { 3219 $current,
3220 if ($current==null) { 3220 "number",
3221 $current = createModelElement(grammarAccess.getExactNumberRule()); 3221 lv_number_5_0,
3222 } 3222 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3223 setWithLastConsumed($current, "exactUnlimited", true, "*"); 3223 afterParserOrEnumRuleCall();
3224 } 3224 }
3225 ) 3225 )
3226 ) 3226 )
3227 ) 3227 |
3228; 3228 (
3229 3229 (
3230// Entry rule entryRuleIntervallNumber 3230 {
3231entryRuleIntervallNumber returns [EObject current=null]: 3231 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
3232 { newCompositeNode(grammarAccess.getIntervallNumberRule()); } 3232 }
3233 iv_ruleIntervallNumber=ruleIntervallNumber 3233 lv_number_6_0=ruleIntEnumberation
3234 { $current=$iv_ruleIntervallNumber.current; } 3234 {
3235 EOF; 3235 if ($current==null) {
3236 3236 $current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
3237// Rule IntervallNumber 3237 }
3238ruleIntervallNumber returns [EObject current=null] 3238 set(
3239@init { 3239 $current,
3240 enterRule(); 3240 "number",
3241} 3241 lv_number_6_0,
3242@after { 3242 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
3243 leaveRule(); 3243 afterParserOrEnumRuleCall();
3244}: 3244 }
3245 ( 3245 )
3246 ( 3246 )
3247 ( 3247 )
3248 lv_min_0_0=RULE_INT 3248 )
3249 { 3249;
3250 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 3250
3251 } 3251// Entry rule entryRuleRealTypeScope
3252 { 3252entryRuleRealTypeScope returns [EObject current=null]:
3253 if ($current==null) { 3253 { newCompositeNode(grammarAccess.getRealTypeScopeRule()); }
3254 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3254 iv_ruleRealTypeScope=ruleRealTypeScope
3255 } 3255 { $current=$iv_ruleRealTypeScope.current; }
3256 setWithLastConsumed( 3256 EOF;
3257 $current, 3257
3258 "min", 3258// Rule RealTypeScope
3259 lv_min_0_0, 3259ruleRealTypeScope returns [EObject current=null]
3260 "org.eclipse.xtext.common.Terminals.INT"); 3260@init {
3261 } 3261 enterRule();
3262 ) 3262}
3263 ) 3263@after {
3264 otherlv_1='..' 3264 leaveRule();
3265 { 3265}:
3266 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 3266 (
3267 } 3267 otherlv_0='#'
3268 ( 3268 {
3269 ( 3269 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
3270 ( 3270 }
3271 lv_maxNumber_2_0=RULE_INT 3271 (
3272 { 3272 (
3273 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 3273 {
3274 } 3274 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
3275 { 3275 }
3276 if ($current==null) { 3276 lv_type_1_0=ruleRealReference
3277 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3277 {
3278 } 3278 if ($current==null) {
3279 setWithLastConsumed( 3279 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3280 $current, 3280 }
3281 "maxNumber", 3281 set(
3282 lv_maxNumber_2_0, 3282 $current,
3283 "org.eclipse.xtext.common.Terminals.INT"); 3283 "type",
3284 } 3284 lv_type_1_0,
3285 ) 3285 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
3286 ) 3286 afterParserOrEnumRuleCall();
3287 | 3287 }
3288 ( 3288 )
3289 ( 3289 )
3290 lv_maxUnlimited_3_0='*' 3290 (
3291 { 3291 (
3292 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 3292 (
3293 } 3293 lv_setsNew_2_0='+='
3294 { 3294 {
3295 if ($current==null) { 3295 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3296 $current = createModelElement(grammarAccess.getIntervallNumberRule()); 3296 }
3297 } 3297 {
3298 setWithLastConsumed($current, "maxUnlimited", true, "*"); 3298 if ($current==null) {
3299 } 3299 $current = createModelElement(grammarAccess.getRealTypeScopeRule());
3300 ) 3300 }
3301 ) 3301 setWithLastConsumed($current, "setsNew", true, "+=");
3302 ) 3302 }
3303 ) 3303 )
3304; 3304 )
3305 3305 |
3306// Entry rule entryRuleIntEnumberation 3306 (
3307entryRuleIntEnumberation returns [EObject current=null]: 3307 (
3308 { newCompositeNode(grammarAccess.getIntEnumberationRule()); } 3308 lv_setsSum_3_0='='
3309 iv_ruleIntEnumberation=ruleIntEnumberation 3309 {
3310 { $current=$iv_ruleIntEnumberation.current; } 3310 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3311 EOF; 3311 }
3312 3312 {
3313// Rule IntEnumberation 3313 if ($current==null) {
3314ruleIntEnumberation returns [EObject current=null] 3314 $current = createModelElement(grammarAccess.getRealTypeScopeRule());
3315@init { 3315 }
3316 enterRule(); 3316 setWithLastConsumed($current, "setsSum", true, "=");
3317} 3317 }
3318@after { 3318 )
3319 leaveRule(); 3319 )
3320}: 3320 )
3321 ( 3321 (
3322 ( 3322 (
3323 { 3323 (
3324 $current = forceCreateModelElement( 3324 {
3325 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 3325 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3326 $current); 3326 }
3327 } 3327 lv_number_4_0=ruleExactNumber
3328 ) 3328 {
3329 otherlv_1='{' 3329 if ($current==null) {
3330 { 3330 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3331 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 3331 }
3332 } 3332 set(
3333 ( 3333 $current,
3334 ( 3334 "number",
3335 ( 3335 lv_number_4_0,
3336 { 3336 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3337 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 3337 afterParserOrEnumRuleCall();
3338 } 3338 }
3339 lv_entry_2_0=ruleINTLiteral 3339 )
3340 { 3340 )
3341 if ($current==null) { 3341 |
3342 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 3342 (
3343 } 3343 (
3344 add( 3344 {
3345 $current, 3345 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3346 "entry", 3346 }
3347 lv_entry_2_0, 3347 lv_number_5_0=ruleIntervallNumber
3348 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 3348 {
3349 afterParserOrEnumRuleCall(); 3349 if ($current==null) {
3350 } 3350 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3351 ) 3351 }
3352 ) 3352 set(
3353 ( 3353 $current,
3354 otherlv_3=',' 3354 "number",
3355 { 3355 lv_number_5_0,
3356 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 3356 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3357 } 3357 afterParserOrEnumRuleCall();
3358 ( 3358 }
3359 ( 3359 )
3360 { 3360 )
3361 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 3361 |
3362 } 3362 (
3363 lv_entry_4_0=ruleINTLiteral 3363 (
3364 { 3364 {
3365 if ($current==null) { 3365 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
3366 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 3366 }
3367 } 3367 lv_number_6_0=ruleRealEnumeration
3368 add( 3368 {
3369 $current, 3369 if ($current==null) {
3370 "entry", 3370 $current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
3371 lv_entry_4_0, 3371 }
3372 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 3372 set(
3373 afterParserOrEnumRuleCall(); 3373 $current,
3374 } 3374 "number",
3375 ) 3375 lv_number_6_0,
3376 ) 3376 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
3377 )* 3377 afterParserOrEnumRuleCall();
3378 )? 3378 }
3379 otherlv_5='}' 3379 )
3380 { 3380 )
3381 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 3381 )
3382 } 3382 )
3383 ) 3383;
3384; 3384
3385 3385// Entry rule entryRuleStringTypeScope
3386// Entry rule entryRuleRealEnumeration 3386entryRuleStringTypeScope returns [EObject current=null]:
3387entryRuleRealEnumeration returns [EObject current=null]: 3387 { newCompositeNode(grammarAccess.getStringTypeScopeRule()); }
3388 { newCompositeNode(grammarAccess.getRealEnumerationRule()); } 3388 iv_ruleStringTypeScope=ruleStringTypeScope
3389 iv_ruleRealEnumeration=ruleRealEnumeration 3389 { $current=$iv_ruleStringTypeScope.current; }
3390 { $current=$iv_ruleRealEnumeration.current; } 3390 EOF;
3391 EOF; 3391
3392 3392// Rule StringTypeScope
3393// Rule RealEnumeration 3393ruleStringTypeScope returns [EObject current=null]
3394ruleRealEnumeration returns [EObject current=null] 3394@init {
3395@init { 3395 enterRule();
3396 enterRule(); 3396}
3397} 3397@after {
3398@after { 3398 leaveRule();
3399 leaveRule(); 3399}:
3400}: 3400 (
3401 ( 3401 otherlv_0='#'
3402 ( 3402 {
3403 { 3403 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
3404 $current = forceCreateModelElement( 3404 }
3405 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 3405 (
3406 $current); 3406 (
3407 } 3407 {
3408 ) 3408 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
3409 otherlv_1='{' 3409 }
3410 { 3410 lv_type_1_0=ruleStringReference
3411 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 3411 {
3412 } 3412 if ($current==null) {
3413 ( 3413 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3414 ( 3414 }
3415 ( 3415 set(
3416 { 3416 $current,
3417 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 3417 "type",
3418 } 3418 lv_type_1_0,
3419 lv_entry_2_0=ruleREALLiteral 3419 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
3420 { 3420 afterParserOrEnumRuleCall();
3421 if ($current==null) { 3421 }
3422 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 3422 )
3423 } 3423 )
3424 add( 3424 (
3425 $current, 3425 (
3426 "entry", 3426 (
3427 lv_entry_2_0, 3427 lv_setsNew_2_0='+='
3428 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 3428 {
3429 afterParserOrEnumRuleCall(); 3429 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
3430 } 3430 }
3431 ) 3431 {
3432 ) 3432 if ($current==null) {
3433 ( 3433 $current = createModelElement(grammarAccess.getStringTypeScopeRule());
3434 otherlv_3=',' 3434 }
3435 { 3435 setWithLastConsumed($current, "setsNew", true, "+=");
3436 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 3436 }
3437 } 3437 )
3438 ( 3438 )
3439 ( 3439 |
3440 { 3440 (
3441 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); 3441 (
3442 } 3442 lv_setsSum_3_0='='
3443 lv_entry_4_0=ruleREALLiteral 3443 {
3444 { 3444 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
3445 if ($current==null) { 3445 }
3446 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 3446 {
3447 } 3447 if ($current==null) {
3448 add( 3448 $current = createModelElement(grammarAccess.getStringTypeScopeRule());
3449 $current, 3449 }
3450 "entry", 3450 setWithLastConsumed($current, "setsSum", true, "=");
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 (
3457 )* 3457 (
3458 )? 3458 {
3459 otherlv_5='}' 3459 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
3460 { 3460 }
3461 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 3461 lv_number_4_0=ruleExactNumber
3462 } 3462 {
3463 ) 3463 if ($current==null) {
3464; 3464 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3465 3465 }
3466// Entry rule entryRuleStringEnumeration 3466 set(
3467entryRuleStringEnumeration returns [EObject current=null]: 3467 $current,
3468 { newCompositeNode(grammarAccess.getStringEnumerationRule()); } 3468 "number",
3469 iv_ruleStringEnumeration=ruleStringEnumeration 3469 lv_number_4_0,
3470 { $current=$iv_ruleStringEnumeration.current; } 3470 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
3471 EOF; 3471 afterParserOrEnumRuleCall();
3472 3472 }
3473// Rule StringEnumeration 3473 )
3474ruleStringEnumeration returns [EObject current=null] 3474 )
3475@init { 3475 |
3476 enterRule(); 3476 (
3477} 3477 (
3478@after { 3478 {
3479 leaveRule(); 3479 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
3480}: 3480 }
3481 ( 3481 lv_number_5_0=ruleIntervallNumber
3482 ( 3482 {
3483 { 3483 if ($current==null) {
3484 $current = forceCreateModelElement( 3484 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3485 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 3485 }
3486 $current); 3486 set(
3487 } 3487 $current,
3488 ) 3488 "number",
3489 otherlv_1='{' 3489 lv_number_5_0,
3490 { 3490 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
3491 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 3491 afterParserOrEnumRuleCall();
3492 } 3492 }
3493 ( 3493 )
3494 ( 3494 )
3495 ( 3495 |
3496 lv_entry_2_0=RULE_STRING 3496 (
3497 { 3497 (
3498 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 3498 {
3499 } 3499 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
3500 { 3500 }
3501 if ($current==null) { 3501 lv_number_6_0=ruleStringEnumeration
3502 $current = createModelElement(grammarAccess.getStringEnumerationRule()); 3502 {
3503 } 3503 if ($current==null) {
3504 addWithLastConsumed( 3504 $current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
3505 $current, 3505 }
3506 "entry", 3506 set(
3507 lv_entry_2_0, 3507 $current,
3508 "org.eclipse.xtext.common.Terminals.STRING"); 3508 "number",
3509 } 3509 lv_number_6_0,
3510 ) 3510 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
3511 ) 3511 afterParserOrEnumRuleCall();
3512 ( 3512 }
3513 otherlv_3=',' 3513 )
3514 { 3514 )
3515 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 3515 )
3516 } 3516 )
3517 ( 3517;
3518 ( 3518
3519 lv_entry_4_0=RULE_STRING 3519// Entry rule entryRuleClassReference
3520 { 3520entryRuleClassReference returns [EObject current=null]:
3521 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 3521 { newCompositeNode(grammarAccess.getClassReferenceRule()); }
3522 } 3522 iv_ruleClassReference=ruleClassReference
3523 { 3523 { $current=$iv_ruleClassReference.current; }
3524 if ($current==null) { 3524 EOF;
3525 $current = createModelElement(grammarAccess.getStringEnumerationRule()); 3525
3526 } 3526// Rule ClassReference
3527 addWithLastConsumed( 3527ruleClassReference returns [EObject current=null]
3528 $current, 3528@init {
3529 "entry", 3529 enterRule();
3530 lv_entry_4_0, 3530}
3531 "org.eclipse.xtext.common.Terminals.STRING"); 3531@after {
3532 } 3532 leaveRule();
3533 ) 3533}:
3534 ) 3534 (
3535 )* 3535 otherlv_0='<'
3536 )? 3536 {
3537 otherlv_5='}' 3537 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
3538 { 3538 }
3539 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 3539 (
3540 } 3540 (
3541 ) 3541 {
3542; 3542 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
3543 3543 }
3544// Entry rule entryRuleScopeDeclaration 3544 lv_element_1_0=ruleMetamodelElement
3545entryRuleScopeDeclaration returns [EObject current=null]: 3545 {
3546 { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } 3546 if ($current==null) {
3547 iv_ruleScopeDeclaration=ruleScopeDeclaration 3547 $current = createModelElementForParent(grammarAccess.getClassReferenceRule());
3548 { $current=$iv_ruleScopeDeclaration.current; } 3548 }
3549 EOF; 3549 set(
3550 3550 $current,
3551// Rule ScopeDeclaration 3551 "element",
3552ruleScopeDeclaration returns [EObject current=null] 3552 lv_element_1_0,
3553@init { 3553 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
3554 enterRule(); 3554 afterParserOrEnumRuleCall();
3555} 3555 }
3556@after { 3556 )
3557 leaveRule(); 3557 )
3558}: 3558 otherlv_2='>'
3559 ( 3559 {
3560 otherlv_0='scope' 3560 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
3561 { 3561 }
3562 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 3562 )
3563 } 3563;
3564 ( 3564
3565 ( 3565// Entry rule entryRuleObjectReference
3566 lv_name_1_0=RULE_ID 3566entryRuleObjectReference returns [EObject current=null]:
3567 { 3567 { newCompositeNode(grammarAccess.getObjectReferenceRule()); }
3568 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3568 iv_ruleObjectReference=ruleObjectReference
3569 } 3569 { $current=$iv_ruleObjectReference.current; }
3570 { 3570 EOF;
3571 if ($current==null) { 3571
3572 $current = createModelElement(grammarAccess.getScopeDeclarationRule()); 3572// Rule ObjectReference
3573 } 3573ruleObjectReference returns [EObject current=null]
3574 setWithLastConsumed( 3574@init {
3575 $current, 3575 enterRule();
3576 "name", 3576}
3577 lv_name_1_0, 3577@after {
3578 "org.eclipse.xtext.common.Terminals.ID"); 3578 leaveRule();
3579 } 3579}:
3580 ) 3580 (
3581 ) 3581 (
3582 ( 3582 {
3583 ( 3583 $current = forceCreateModelElement(
3584 { 3584 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
3585 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 3585 $current);
3586 } 3586 }
3587 lv_specification_2_0=ruleScopeSpecification 3587 )
3588 { 3588 otherlv_1='node'
3589 if ($current==null) { 3589 {
3590 $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 3590 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
3591 } 3591 }
3592 set( 3592 )
3593 $current, 3593;
3594 "specification", 3594
3595 lv_specification_2_0, 3595// Entry rule entryRuleIntegerReference
3596 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 3596entryRuleIntegerReference returns [EObject current=null]:
3597 afterParserOrEnumRuleCall(); 3597 { newCompositeNode(grammarAccess.getIntegerReferenceRule()); }
3598 } 3598 iv_ruleIntegerReference=ruleIntegerReference
3599 ) 3599 { $current=$iv_ruleIntegerReference.current; }
3600 ) 3600 EOF;
3601 ) 3601
3602; 3602// Rule IntegerReference
3603 3603ruleIntegerReference returns [EObject current=null]
3604// Entry rule entryRuleScopeReference 3604@init {
3605entryRuleScopeReference returns [EObject current=null]: 3605 enterRule();
3606 { newCompositeNode(grammarAccess.getScopeReferenceRule()); } 3606}
3607 iv_ruleScopeReference=ruleScopeReference 3607@after {
3608 { $current=$iv_ruleScopeReference.current; } 3608 leaveRule();
3609 EOF; 3609}:
3610 3610 (
3611// Rule ScopeReference 3611 (
3612ruleScopeReference returns [EObject current=null] 3612 {
3613@init { 3613 $current = forceCreateModelElement(
3614 enterRule(); 3614 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
3615} 3615 $current);
3616@after { 3616 }
3617 leaveRule(); 3617 )
3618}: 3618 otherlv_1='int'
3619 ( 3619 {
3620 ( 3620 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
3621 { 3621 }
3622 if ($current==null) { 3622 )
3623 $current = createModelElement(grammarAccess.getScopeReferenceRule()); 3623;
3624 } 3624
3625 } 3625// Entry rule entryRuleRealReference
3626 otherlv_0=RULE_ID 3626entryRuleRealReference returns [EObject current=null]:
3627 { 3627 { newCompositeNode(grammarAccess.getRealReferenceRule()); }
3628 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 3628 iv_ruleRealReference=ruleRealReference
3629 } 3629 { $current=$iv_ruleRealReference.current; }
3630 ) 3630 EOF;
3631 ) 3631
3632; 3632// Rule RealReference
3633 3633ruleRealReference returns [EObject current=null]
3634// Entry rule entryRuleScope 3634@init {
3635entryRuleScope returns [EObject current=null]: 3635 enterRule();
3636 { newCompositeNode(grammarAccess.getScopeRule()); } 3636}
3637 iv_ruleScope=ruleScope 3637@after {
3638 { $current=$iv_ruleScope.current; } 3638 leaveRule();
3639 EOF; 3639}:
3640 3640 (
3641// Rule Scope 3641 (
3642ruleScope returns [EObject current=null] 3642 {
3643@init { 3643 $current = forceCreateModelElement(
3644 enterRule(); 3644 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
3645} 3645 $current);
3646@after { 3646 }
3647 leaveRule(); 3647 )
3648}: 3648 otherlv_1='real'
3649 ( 3649 {
3650 { 3650 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
3651 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 3651 }
3652 } 3652 )
3653 this_ScopeSpecification_0=ruleScopeSpecification 3653;
3654 { 3654
3655 $current = $this_ScopeSpecification_0.current; 3655// Entry rule entryRuleStringReference
3656 afterParserOrEnumRuleCall(); 3656entryRuleStringReference returns [EObject current=null]:
3657 } 3657 { newCompositeNode(grammarAccess.getStringReferenceRule()); }
3658 | 3658 iv_ruleStringReference=ruleStringReference
3659 { 3659 { $current=$iv_ruleStringReference.current; }
3660 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 3660 EOF;
3661 } 3661
3662 this_ScopeReference_1=ruleScopeReference 3662// Rule StringReference
3663 { 3663ruleStringReference returns [EObject current=null]
3664 $current = $this_ScopeReference_1.current; 3664@init {
3665 afterParserOrEnumRuleCall(); 3665 enterRule();
3666 } 3666}
3667 ) 3667@after {
3668; 3668 leaveRule();
3669 3669}:
3670// Entry rule entryRuleTask 3670 (
3671entryRuleTask returns [EObject current=null]: 3671 (
3672 { newCompositeNode(grammarAccess.getTaskRule()); } 3672 {
3673 iv_ruleTask=ruleTask 3673 $current = forceCreateModelElement(
3674 { $current=$iv_ruleTask.current; } 3674 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
3675 EOF; 3675 $current);
3676 3676 }
3677// Rule Task 3677 )
3678ruleTask returns [EObject current=null] 3678 otherlv_1='string'
3679@init { 3679 {
3680 enterRule(); 3680 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
3681} 3681 }
3682@after { 3682 )
3683 leaveRule(); 3683;
3684}: 3684
3685 { 3685// Entry rule entryRuleExactNumber
3686 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 3686entryRuleExactNumber returns [EObject current=null]:
3687 } 3687 { newCompositeNode(grammarAccess.getExactNumberRule()); }
3688 this_GenerationTask_0=ruleGenerationTask 3688 iv_ruleExactNumber=ruleExactNumber
3689 { 3689 { $current=$iv_ruleExactNumber.current; }
3690 $current = $this_GenerationTask_0.current; 3690 EOF;
3691 afterParserOrEnumRuleCall(); 3691
3692 } 3692// Rule ExactNumber
3693; 3693ruleExactNumber returns [EObject current=null]
3694 3694@init {
3695// Entry rule entryRuleGenerationTask 3695 enterRule();
3696entryRuleGenerationTask returns [EObject current=null]: 3696}
3697 { newCompositeNode(grammarAccess.getGenerationTaskRule()); } 3697@after {
3698 iv_ruleGenerationTask=ruleGenerationTask 3698 leaveRule();
3699 { $current=$iv_ruleGenerationTask.current; } 3699}:
3700 EOF; 3700 (
3701 3701 (
3702// Rule GenerationTask 3702 (
3703ruleGenerationTask returns [EObject current=null] 3703 lv_exactNumber_0_0=RULE_INT
3704@init { 3704 {
3705 enterRule(); 3705 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
3706} 3706 }
3707@after { 3707 {
3708 leaveRule(); 3708 if ($current==null) {
3709}: 3709 $current = createModelElement(grammarAccess.getExactNumberRule());
3710 ( 3710 }
3711 otherlv_0='generate' 3711 setWithLastConsumed(
3712 { 3712 $current,
3713 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 3713 "exactNumber",
3714 } 3714 lv_exactNumber_0_0,
3715 ( 3715 "org.eclipse.xtext.common.Terminals.INT");
3716 { 3716 }
3717 $current = forceCreateModelElement( 3717 )
3718 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 3718 )
3719 $current); 3719 |
3720 } 3720 (
3721 ) 3721 (
3722 otherlv_2='{' 3722 lv_exactUnlimited_1_0='*'
3723 { 3723 {
3724 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 3724 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
3725 } 3725 }
3726 ( 3726 {
3727 ( 3727 if ($current==null) {
3728 { 3728 $current = createModelElement(grammarAccess.getExactNumberRule());
3729 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3729 }
3730 } 3730 setWithLastConsumed($current, "exactUnlimited", true, "*");
3731 ( 3731 }
3732 ( 3732 )
3733 ( 3733 )
3734 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( 3734 )
3735 { 3735;
3736 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 3736
3737 } 3737// Entry rule entryRuleIntervallNumber
3738 ({true}?=>(otherlv_4='metamodel' 3738entryRuleIntervallNumber returns [EObject current=null]:
3739 { 3739 { newCompositeNode(grammarAccess.getIntervallNumberRule()); }
3740 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); 3740 iv_ruleIntervallNumber=ruleIntervallNumber
3741 } 3741 { $current=$iv_ruleIntervallNumber.current; }
3742 otherlv_5='=' 3742 EOF;
3743 { 3743
3744 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); 3744// Rule IntervallNumber
3745 } 3745ruleIntervallNumber returns [EObject current=null]
3746 ( 3746@init {
3747 ( 3747 enterRule();
3748 { 3748}
3749 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 3749@after {
3750 } 3750 leaveRule();
3751 lv_metamodel_6_0=ruleMetamodel 3751}:
3752 { 3752 (
3753 if ($current==null) { 3753 (
3754 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3754 (
3755 } 3755 lv_min_0_0=RULE_INT
3756 set( 3756 {
3757 $current, 3757 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
3758 "metamodel", 3758 }
3759 lv_metamodel_6_0, 3759 {
3760 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 3760 if ($current==null) {
3761 afterParserOrEnumRuleCall(); 3761 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3762 } 3762 }
3763 ) 3763 setWithLastConsumed(
3764 ) 3764 $current,
3765 )) 3765 "min",
3766 { 3766 lv_min_0_0,
3767 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3767 "org.eclipse.xtext.common.Terminals.INT");
3768 } 3768 }
3769 ) 3769 )
3770 )| 3770 )
3771 ( 3771 otherlv_1='..'
3772 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( 3772 {
3773 { 3773 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
3774 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 3774 }
3775 } 3775 (
3776 ({true}?=>(otherlv_7='partial-model' 3776 (
3777 { 3777 (
3778 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 3778 lv_maxNumber_2_0=RULE_INT
3779 } 3779 {
3780 otherlv_8='=' 3780 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
3781 { 3781 }
3782 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 3782 {
3783 } 3783 if ($current==null) {
3784 ( 3784 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3785 ( 3785 }
3786 { 3786 setWithLastConsumed(
3787 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 3787 $current,
3788 } 3788 "maxNumber",
3789 lv_partialModel_9_0=rulePartialModel 3789 lv_maxNumber_2_0,
3790 { 3790 "org.eclipse.xtext.common.Terminals.INT");
3791 if ($current==null) { 3791 }
3792 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3792 )
3793 } 3793 )
3794 set( 3794 |
3795 $current, 3795 (
3796 "partialModel", 3796 (
3797 lv_partialModel_9_0, 3797 lv_maxUnlimited_3_0='*'
3798 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 3798 {
3799 afterParserOrEnumRuleCall(); 3799 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
3800 } 3800 }
3801 ) 3801 {
3802 ) 3802 if ($current==null) {
3803 )) 3803 $current = createModelElement(grammarAccess.getIntervallNumberRule());
3804 { 3804 }
3805 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3805 setWithLastConsumed($current, "maxUnlimited", true, "*");
3806 } 3806 }
3807 ) 3807 )
3808 )| 3808 )
3809 ( 3809 )
3810 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( 3810 )
3811 { 3811;
3812 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); 3812
3813 } 3813// Entry rule entryRuleIntEnumberation
3814 ({true}?=>(otherlv_10='constraints' 3814entryRuleIntEnumberation returns [EObject current=null]:
3815 { 3815 { newCompositeNode(grammarAccess.getIntEnumberationRule()); }
3816 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 3816 iv_ruleIntEnumberation=ruleIntEnumberation
3817 } 3817 { $current=$iv_ruleIntEnumberation.current; }
3818 otherlv_11='=' 3818 EOF;
3819 { 3819
3820 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 3820// Rule IntEnumberation
3821 } 3821ruleIntEnumberation returns [EObject current=null]
3822 ( 3822@init {
3823 ( 3823 enterRule();
3824 { 3824}
3825 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 3825@after {
3826 } 3826 leaveRule();
3827 lv_patterns_12_0=ruleGraphPattern 3827}:
3828 { 3828 (
3829 if ($current==null) { 3829 (
3830 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3830 {
3831 } 3831 $current = forceCreateModelElement(
3832 set( 3832 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
3833 $current, 3833 $current);
3834 "patterns", 3834 }
3835 lv_patterns_12_0, 3835 )
3836 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 3836 otherlv_1='{'
3837 afterParserOrEnumRuleCall(); 3837 {
3838 } 3838 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
3839 ) 3839 }
3840 ) 3840 (
3841 )) 3841 (
3842 { 3842 (
3843 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3843 {
3844 } 3844 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
3845 ) 3845 }
3846 )| 3846 lv_entry_2_0=ruleINTLiteral
3847 ( 3847 {
3848 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( 3848 if ($current==null) {
3849 { 3849 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
3850 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 3850 }
3851 } 3851 add(
3852 ({true}?=>(otherlv_13='scope' 3852 $current,
3853 { 3853 "entry",
3854 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 3854 lv_entry_2_0,
3855 } 3855 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
3856 otherlv_14='=' 3856 afterParserOrEnumRuleCall();
3857 { 3857 }
3858 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 3858 )
3859 } 3859 )
3860 ( 3860 (
3861 ( 3861 otherlv_3=','
3862 { 3862 {
3863 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 3863 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
3864 } 3864 }
3865 lv_scope_15_0=ruleScope 3865 (
3866 { 3866 (
3867 if ($current==null) { 3867 {
3868 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 3868 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
3869 } 3869 }
3870 set( 3870 lv_entry_4_0=ruleINTLiteral
3871 $current, 3871 {
3872 "scope", 3872 if ($current==null) {
3873 lv_scope_15_0, 3873 $current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
3874 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 3874 }
3875 afterParserOrEnumRuleCall(); 3875 add(
3876 } 3876 $current,
3877 ) 3877 "entry",
3878 ) 3878 lv_entry_4_0,
3879 )) 3879 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
3880 { 3880 afterParserOrEnumRuleCall();
3881 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3881 }
3882 } 3882 )
3883 ) 3883 )
3884 )| 3884 )*
3885 ( 3885 )?
3886 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( 3886 otherlv_5='}'
3887 { 3887 {
3888 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 3888 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
3889 } 3889 }
3890 ({true}?=>(( 3890 )
3891 ( 3891;
3892 lv_numberSpecified_16_0='number' 3892
3893 { 3893// Entry rule entryRuleRealEnumeration
3894 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 3894entryRuleRealEnumeration returns [EObject current=null]:
3895 } 3895 { newCompositeNode(grammarAccess.getRealEnumerationRule()); }
3896 { 3896 iv_ruleRealEnumeration=ruleRealEnumeration
3897 if ($current==null) { 3897 { $current=$iv_ruleRealEnumeration.current; }
3898 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3898 EOF;
3899 } 3899
3900 setWithLastConsumed($current, "numberSpecified", true, "number"); 3900// Rule RealEnumeration
3901 } 3901ruleRealEnumeration returns [EObject current=null]
3902 ) 3902@init {
3903 ) 3903 enterRule();
3904 otherlv_17='=' 3904}
3905 { 3905@after {
3906 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 3906 leaveRule();
3907 } 3907}:
3908 ( 3908 (
3909 ( 3909 (
3910 lv_number_18_0=RULE_INT 3910 {
3911 { 3911 $current = forceCreateModelElement(
3912 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 3912 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
3913 } 3913 $current);
3914 { 3914 }
3915 if ($current==null) { 3915 )
3916 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3916 otherlv_1='{'
3917 } 3917 {
3918 setWithLastConsumed( 3918 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
3919 $current, 3919 }
3920 "number", 3920 (
3921 lv_number_18_0, 3921 (
3922 "org.eclipse.xtext.common.Terminals.INT"); 3922 (
3923 } 3923 {
3924 ) 3924 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
3925 ) 3925 }
3926 )) 3926 lv_entry_2_0=ruleREALLiteral
3927 { 3927 {
3928 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3928 if ($current==null) {
3929 } 3929 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
3930 ) 3930 }
3931 )| 3931 add(
3932 ( 3932 $current,
3933 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( 3933 "entry",
3934 { 3934 lv_entry_2_0,
3935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 3935 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
3936 } 3936 afterParserOrEnumRuleCall();
3937 ({true}?=>(( 3937 }
3938 ( 3938 )
3939 lv_runSpecified_19_0='runs' 3939 )
3940 { 3940 (
3941 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 3941 otherlv_3=','
3942 } 3942 {
3943 { 3943 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
3944 if ($current==null) { 3944 }
3945 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3945 (
3946 } 3946 (
3947 setWithLastConsumed($current, "runSpecified", true, "runs"); 3947 {
3948 } 3948 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
3949 ) 3949 }
3950 ) 3950 lv_entry_4_0=ruleREALLiteral
3951 otherlv_20='=' 3951 {
3952 { 3952 if ($current==null) {
3953 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 3953 $current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
3954 } 3954 }
3955 ( 3955 add(
3956 ( 3956 $current,
3957 lv_runs_21_0=RULE_INT 3957 "entry",
3958 { 3958 lv_entry_4_0,
3959 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 3959 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
3960 } 3960 afterParserOrEnumRuleCall();
3961 { 3961 }
3962 if ($current==null) { 3962 )
3963 $current = createModelElement(grammarAccess.getGenerationTaskRule()); 3963 )
3964 } 3964 )*
3965 setWithLastConsumed( 3965 )?
3966 $current, 3966 otherlv_5='}'
3967 "runs", 3967 {
3968 lv_runs_21_0, 3968 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
3969 "org.eclipse.xtext.common.Terminals.INT"); 3969 }
3970 } 3970 )
3971 ) 3971;
3972 ) 3972
3973 )) 3973// Entry rule entryRuleStringEnumeration
3974 { 3974entryRuleStringEnumeration returns [EObject current=null]:
3975 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 3975 { newCompositeNode(grammarAccess.getStringEnumerationRule()); }
3976 } 3976 iv_ruleStringEnumeration=ruleStringEnumeration
3977 ) 3977 { $current=$iv_ruleStringEnumeration.current; }
3978 )| 3978 EOF;
3979 ( 3979
3980 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( 3980// Rule StringEnumeration
3981 { 3981ruleStringEnumeration returns [EObject current=null]
3982 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 3982@init {
3983 } 3983 enterRule();
3984 ({true}?=>(otherlv_22='solver' 3984}
3985 { 3985@after {
3986 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 3986 leaveRule();
3987 } 3987}:
3988 otherlv_23='=' 3988 (
3989 { 3989 (
3990 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 3990 {
3991 } 3991 $current = forceCreateModelElement(
3992 ( 3992 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
3993 ( 3993 $current);
3994 { 3994 }
3995 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 3995 )
3996 } 3996 otherlv_1='{'
3997 lv_solver_24_0=ruleSolver 3997 {
3998 { 3998 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
3999 if ($current==null) { 3999 }
4000 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4000 (
4001 } 4001 (
4002 set( 4002 (
4003 $current, 4003 lv_entry_2_0=RULE_STRING
4004 "solver", 4004 {
4005 lv_solver_24_0, 4005 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
4006 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 4006 }
4007 afterParserOrEnumRuleCall(); 4007 {
4008 } 4008 if ($current==null) {
4009 ) 4009 $current = createModelElement(grammarAccess.getStringEnumerationRule());
4010 ) 4010 }
4011 )) 4011 addWithLastConsumed(
4012 { 4012 $current,
4013 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4013 "entry",
4014 } 4014 lv_entry_2_0,
4015 ) 4015 "org.eclipse.xtext.common.Terminals.STRING");
4016 )| 4016 }
4017 ( 4017 )
4018 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( 4018 )
4019 { 4019 (
4020 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); 4020 otherlv_3=','
4021 } 4021 {
4022 ({true}?=>(otherlv_25='config' 4022 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
4023 { 4023 }
4024 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 4024 (
4025 } 4025 (
4026 otherlv_26='=' 4026 lv_entry_4_0=RULE_STRING
4027 { 4027 {
4028 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 4028 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
4029 } 4029 }
4030 ( 4030 {
4031 ( 4031 if ($current==null) {
4032 { 4032 $current = createModelElement(grammarAccess.getStringEnumerationRule());
4033 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); 4033 }
4034 } 4034 addWithLastConsumed(
4035 lv_config_27_0=ruleConfig 4035 $current,
4036 { 4036 "entry",
4037 if ($current==null) { 4037 lv_entry_4_0,
4038 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4038 "org.eclipse.xtext.common.Terminals.STRING");
4039 } 4039 }
4040 set( 4040 )
4041 $current, 4041 )
4042 "config", 4042 )*
4043 lv_config_27_0, 4043 )?
4044 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 4044 otherlv_5='}'
4045 afterParserOrEnumRuleCall(); 4045 {
4046 } 4046 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
4047 ) 4047 }
4048 ) 4048 )
4049 )) 4049;
4050 { 4050
4051 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4051// Entry rule entryRuleScopeDeclaration
4052 } 4052entryRuleScopeDeclaration returns [EObject current=null]:
4053 ) 4053 { newCompositeNode(grammarAccess.getScopeDeclarationRule()); }
4054 )| 4054 iv_ruleScopeDeclaration=ruleScopeDeclaration
4055 ( 4055 { $current=$iv_ruleScopeDeclaration.current; }
4056 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( 4056 EOF;
4057 { 4057
4058 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 4058// Rule ScopeDeclaration
4059 } 4059ruleScopeDeclaration returns [EObject current=null]
4060 ({true}?=>(otherlv_28='debug' 4060@init {
4061 { 4061 enterRule();
4062 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 4062}
4063 } 4063@after {
4064 otherlv_29='=' 4064 leaveRule();
4065 { 4065}:
4066 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 4066 (
4067 } 4067 otherlv_0='scope'
4068 ( 4068 {
4069 ( 4069 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
4070 { 4070 }
4071 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 4071 (
4072 } 4072 (
4073 lv_debugFolder_30_0=ruleFile 4073 lv_name_1_0=RULE_ID
4074 { 4074 {
4075 if ($current==null) { 4075 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4076 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4076 }
4077 } 4077 {
4078 set( 4078 if ($current==null) {
4079 $current, 4079 $current = createModelElement(grammarAccess.getScopeDeclarationRule());
4080 "debugFolder", 4080 }
4081 lv_debugFolder_30_0, 4081 setWithLastConsumed(
4082 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4082 $current,
4083 afterParserOrEnumRuleCall(); 4083 "name",
4084 } 4084 lv_name_1_0,
4085 ) 4085 "org.eclipse.xtext.common.Terminals.ID");
4086 ) 4086 }
4087 )) 4087 )
4088 { 4088 )
4089 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4089 (
4090 } 4090 (
4091 ) 4091 {
4092 )| 4092 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
4093 ( 4093 }
4094 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( 4094 lv_specification_2_0=ruleScopeSpecification
4095 { 4095 {
4096 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 4096 if ($current==null) {
4097 } 4097 $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
4098 ({true}?=>(otherlv_31='log' 4098 }
4099 { 4099 set(
4100 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 4100 $current,
4101 } 4101 "specification",
4102 otherlv_32='=' 4102 lv_specification_2_0,
4103 { 4103 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
4104 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 4104 afterParserOrEnumRuleCall();
4105 } 4105 }
4106 ( 4106 )
4107 ( 4107 )
4108 { 4108 )
4109 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 4109;
4110 } 4110
4111 lv_targetLogFile_33_0=ruleFile 4111// Entry rule entryRuleScopeReference
4112 { 4112entryRuleScopeReference returns [EObject current=null]:
4113 if ($current==null) { 4113 { newCompositeNode(grammarAccess.getScopeReferenceRule()); }
4114 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4114 iv_ruleScopeReference=ruleScopeReference
4115 } 4115 { $current=$iv_ruleScopeReference.current; }
4116 set( 4116 EOF;
4117 $current, 4117
4118 "targetLogFile", 4118// Rule ScopeReference
4119 lv_targetLogFile_33_0, 4119ruleScopeReference returns [EObject current=null]
4120 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4120@init {
4121 afterParserOrEnumRuleCall(); 4121 enterRule();
4122 } 4122}
4123 ) 4123@after {
4124 ) 4124 leaveRule();
4125 )) 4125}:
4126 { 4126 (
4127 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4127 (
4128 } 4128 {
4129 ) 4129 if ($current==null) {
4130 )| 4130 $current = createModelElement(grammarAccess.getScopeReferenceRule());
4131 ( 4131 }
4132 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( 4132 }
4133 { 4133 otherlv_0=RULE_ID
4134 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 4134 {
4135 } 4135 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
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
4141 { 4141// Entry rule entryRuleScope
4142 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 4142entryRuleScope returns [EObject current=null]:
4143 } 4143 { newCompositeNode(grammarAccess.getScopeRule()); }
4144 ( 4144 iv_ruleScope=ruleScope
4145 ( 4145 { $current=$iv_ruleScope.current; }
4146 { 4146 EOF;
4147 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 4147
4148 } 4148// Rule Scope
4149 lv_targetStatisticsFile_36_0=ruleFile 4149ruleScope returns [EObject current=null]
4150 { 4150@init {
4151 if ($current==null) { 4151 enterRule();
4152 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4152}
4153 } 4153@after {
4154 set( 4154 leaveRule();
4155 $current, 4155}:
4156 "targetStatisticsFile", 4156 (
4157 lv_targetStatisticsFile_36_0, 4157 {
4158 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4158 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
4159 afterParserOrEnumRuleCall(); 4159 }
4160 } 4160 this_ScopeSpecification_0=ruleScopeSpecification
4161 ) 4161 {
4162 ) 4162 $current = $this_ScopeSpecification_0.current;
4163 )) 4163 afterParserOrEnumRuleCall();
4164 { 4164 }
4165 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4165 |
4166 } 4166 {
4167 ) 4167 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
4168 )| 4168 }
4169 ( 4169 this_ScopeReference_1=ruleScopeReference
4170 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( 4170 {
4171 { 4171 $current = $this_ScopeReference_1.current;
4172 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 4172 afterParserOrEnumRuleCall();
4173 } 4173 }
4174 ({true}?=>(otherlv_37='output' 4174 )
4175 { 4175;
4176 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 4176
4177 } 4177// Entry rule entryRuleTask
4178 otherlv_38='=' 4178entryRuleTask returns [EObject current=null]:
4179 { 4179 { newCompositeNode(grammarAccess.getTaskRule()); }
4180 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 4180 iv_ruleTask=ruleTask
4181 } 4181 { $current=$iv_ruleTask.current; }
4182 ( 4182 EOF;
4183 ( 4183
4184 { 4184// Rule Task
4185 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 4185ruleTask returns [EObject current=null]
4186 } 4186@init {
4187 lv_tagetFolder_39_0=ruleFile 4187 enterRule();
4188 { 4188}
4189 if ($current==null) { 4189@after {
4190 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 4190 leaveRule();
4191 } 4191}:
4192 set( 4192 {
4193 $current, 4193 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
4194 "tagetFolder", 4194 }
4195 lv_tagetFolder_39_0, 4195 this_GenerationTask_0=ruleGenerationTask
4196 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 4196 {
4197 afterParserOrEnumRuleCall(); 4197 $current = $this_GenerationTask_0.current;
4198 } 4198 afterParserOrEnumRuleCall();
4199 ) 4199 }
4200 ) 4200;
4201 )) 4201
4202 { 4202// Entry rule entryRuleGenerationTask
4203 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4203entryRuleGenerationTask returns [EObject current=null]:
4204 } 4204 { newCompositeNode(grammarAccess.getGenerationTaskRule()); }
4205 ) 4205 iv_ruleGenerationTask=ruleGenerationTask
4206 ) 4206 { $current=$iv_ruleGenerationTask.current; }
4207 )* 4207 EOF;
4208 ) 4208
4209 ) 4209// Rule GenerationTask
4210 { 4210ruleGenerationTask returns [EObject current=null]
4211 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 4211@init {
4212 } 4212 enterRule();
4213 ) 4213}
4214 otherlv_40='}' 4214@after {
4215 { 4215 leaveRule();
4216 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 4216}:
4217 } 4217 (
4218 ) 4218 otherlv_0='generate'
4219; 4219 {
4220 4220 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
4221// Rule DocumentLevelSpecification 4221 }
4222ruleDocumentLevelSpecification returns [Enumerator current=null] 4222 (
4223@init { 4223 {
4224 enterRule(); 4224 $current = forceCreateModelElement(
4225} 4225 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
4226@after { 4226 $current);
4227 leaveRule(); 4227 }
4228}: 4228 )
4229 ( 4229 otherlv_2='{'
4230 ( 4230 {
4231 enumLiteral_0='none' 4231 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
4232 { 4232 }
4233 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 4233 (
4234 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 4234 (
4235 } 4235 {
4236 ) 4236 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4237 | 4237 }
4238 ( 4238 (
4239 enumLiteral_1='normal' 4239 (
4240 { 4240 (
4241 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 4241 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>(
4242 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 4242 {
4243 } 4243 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
4244 ) 4244 }
4245 | 4245 ({true}?=>(otherlv_4='metamodel'
4246 ( 4246 {
4247 enumLiteral_2='full' 4247 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
4248 { 4248 }
4249 $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 4249 otherlv_5='='
4250 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 4250 {
4251 } 4251 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
4252 ) 4252 }
4253 ) 4253 (
4254; 4254 (
4255 4255 {
4256// Rule Solver 4256 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
4257ruleSolver returns [Enumerator current=null] 4257 }
4258@init { 4258 lv_metamodel_6_0=ruleMetamodel
4259 enterRule(); 4259 {
4260} 4260 if ($current==null) {
4261@after { 4261 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4262 leaveRule(); 4262 }
4263}: 4263 set(
4264 ( 4264 $current,
4265 ( 4265 "metamodel",
4266 enumLiteral_0='SMTSolver' 4266 lv_metamodel_6_0,
4267 { 4267 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
4268 $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 4268 afterParserOrEnumRuleCall();
4269 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 4269 }
4270 } 4270 )
4271 ) 4271 )
4272 | 4272 ))
4273 ( 4273 {
4274 enumLiteral_1='AlloySolver' 4274 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4275 { 4275 }
4276 $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 4276 )
4277 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 4277 )|
4278 } 4278 (
4279 ) 4279 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>(
4280 | 4280 {
4281 ( 4281 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
4282 enumLiteral_2='ViatraSolver' 4282 }
4283 { 4283 ({true}?=>(otherlv_7='partial-model'
4284 $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 4284 {
4285 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 4285 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
4286 } 4286 }
4287 ) 4287 otherlv_8='='
4288 ) 4288 {
4289; 4289 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
4290 4290 }
4291RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; 4291 (
4292 4292 (
4293RULE_INT : ('0'..'9')+; 4293 {
4294 4294 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
4295RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); 4295 }
4296 4296 lv_partialModel_9_0=rulePartialModel
4297RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; 4297 {
4298 4298 if ($current==null) {
4299RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; 4299 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4300 4300 }
4301RULE_WS : (' '|'\t'|'\r'|'\n')+; 4301 set(
4302 4302 $current,
4303RULE_ANY_OTHER : .; 4303 "partialModel",
4304 lv_partialModel_9_0,
4305 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
4306 afterParserOrEnumRuleCall();
4307 }
4308 )
4309 )
4310 ))
4311 {
4312 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4313 }
4314 )
4315 )|
4316 (
4317 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>(
4318 {
4319 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
4320 }
4321 ({true}?=>(otherlv_10='constraints'
4322 {
4323 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
4324 }
4325 otherlv_11='='
4326 {
4327 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
4328 }
4329 (
4330 (
4331 {
4332 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
4333 }
4334 lv_patterns_12_0=ruleGraphPattern
4335 {
4336 if ($current==null) {
4337 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4338 }
4339 set(
4340 $current,
4341 "patterns",
4342 lv_patterns_12_0,
4343 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
4344 afterParserOrEnumRuleCall();
4345 }
4346 )
4347 )
4348 ))
4349 {
4350 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4351 }
4352 )
4353 )|
4354 (
4355 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>(
4356 {
4357 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
4358 }
4359 ({true}?=>(otherlv_13='objectives'
4360 {
4361 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
4362 }
4363 otherlv_14='='
4364 {
4365 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
4366 }
4367 (
4368 (
4369 {
4370 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
4371 }
4372 lv_objectives_15_0=ruleObjective
4373 {
4374 if ($current==null) {
4375 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4376 }
4377 set(
4378 $current,
4379 "objectives",
4380 lv_objectives_15_0,
4381 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
4382 afterParserOrEnumRuleCall();
4383 }
4384 )
4385 )
4386 ))
4387 {
4388 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4389 }
4390 )
4391 )|
4392 (
4393 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>(
4394 {
4395 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
4396 }
4397 ({true}?=>(otherlv_16='scope'
4398 {
4399 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
4400 }
4401 otherlv_17='='
4402 {
4403 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
4404 }
4405 (
4406 (
4407 {
4408 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
4409 }
4410 lv_scope_18_0=ruleScope
4411 {
4412 if ($current==null) {
4413 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4414 }
4415 set(
4416 $current,
4417 "scope",
4418 lv_scope_18_0,
4419 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
4420 afterParserOrEnumRuleCall();
4421 }
4422 )
4423 )
4424 ))
4425 {
4426 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4427 }
4428 )
4429 )|
4430 (
4431 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>(
4432 {
4433 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
4434 }
4435 ({true}?=>((
4436 (
4437 lv_numberSpecified_19_0='number'
4438 {
4439 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
4440 }
4441 {
4442 if ($current==null) {
4443 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4444 }
4445 setWithLastConsumed($current, "numberSpecified", true, "number");
4446 }
4447 )
4448 )
4449 otherlv_20='='
4450 {
4451 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
4452 }
4453 (
4454 (
4455 lv_number_21_0=RULE_INT
4456 {
4457 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
4458 }
4459 {
4460 if ($current==null) {
4461 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4462 }
4463 setWithLastConsumed(
4464 $current,
4465 "number",
4466 lv_number_21_0,
4467 "org.eclipse.xtext.common.Terminals.INT");
4468 }
4469 )
4470 )
4471 ))
4472 {
4473 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4474 }
4475 )
4476 )|
4477 (
4478 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>(
4479 {
4480 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
4481 }
4482 ({true}?=>((
4483 (
4484 lv_runSpecified_22_0='runs'
4485 {
4486 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
4487 }
4488 {
4489 if ($current==null) {
4490 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4491 }
4492 setWithLastConsumed($current, "runSpecified", true, "runs");
4493 }
4494 )
4495 )
4496 otherlv_23='='
4497 {
4498 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
4499 }
4500 (
4501 (
4502 lv_runs_24_0=RULE_INT
4503 {
4504 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
4505 }
4506 {
4507 if ($current==null) {
4508 $current = createModelElement(grammarAccess.getGenerationTaskRule());
4509 }
4510 setWithLastConsumed(
4511 $current,
4512 "runs",
4513 lv_runs_24_0,
4514 "org.eclipse.xtext.common.Terminals.INT");
4515 }
4516 )
4517 )
4518 ))
4519 {
4520 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4521 }
4522 )
4523 )|
4524 (
4525 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>(
4526 {
4527 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
4528 }
4529 ({true}?=>(otherlv_25='solver'
4530 {
4531 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
4532 }
4533 otherlv_26='='
4534 {
4535 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
4536 }
4537 (
4538 (
4539 {
4540 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
4541 }
4542 lv_solver_27_0=ruleSolver
4543 {
4544 if ($current==null) {
4545 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4546 }
4547 set(
4548 $current,
4549 "solver",
4550 lv_solver_27_0,
4551 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
4552 afterParserOrEnumRuleCall();
4553 }
4554 )
4555 )
4556 ))
4557 {
4558 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4559 }
4560 )
4561 )|
4562 (
4563 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>(
4564 {
4565 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
4566 }
4567 ({true}?=>(otherlv_28='config'
4568 {
4569 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
4570 }
4571 otherlv_29='='
4572 {
4573 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
4574 }
4575 (
4576 (
4577 {
4578 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
4579 }
4580 lv_config_30_0=ruleConfig
4581 {
4582 if ($current==null) {
4583 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4584 }
4585 set(
4586 $current,
4587 "config",
4588 lv_config_30_0,
4589 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
4590 afterParserOrEnumRuleCall();
4591 }
4592 )
4593 )
4594 ))
4595 {
4596 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4597 }
4598 )
4599 )|
4600 (
4601 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>(
4602 {
4603 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
4604 }
4605 ({true}?=>(otherlv_31='debug'
4606 {
4607 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
4608 }
4609 otherlv_32='='
4610 {
4611 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
4612 }
4613 (
4614 (
4615 {
4616 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
4617 }
4618 lv_debugFolder_33_0=ruleFile
4619 {
4620 if ($current==null) {
4621 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4622 }
4623 set(
4624 $current,
4625 "debugFolder",
4626 lv_debugFolder_33_0,
4627 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4628 afterParserOrEnumRuleCall();
4629 }
4630 )
4631 )
4632 ))
4633 {
4634 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4635 }
4636 )
4637 )|
4638 (
4639 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>(
4640 {
4641 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
4642 }
4643 ({true}?=>(otherlv_34='log'
4644 {
4645 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
4646 }
4647 otherlv_35='='
4648 {
4649 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
4650 }
4651 (
4652 (
4653 {
4654 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
4655 }
4656 lv_targetLogFile_36_0=ruleFile
4657 {
4658 if ($current==null) {
4659 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4660 }
4661 set(
4662 $current,
4663 "targetLogFile",
4664 lv_targetLogFile_36_0,
4665 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4666 afterParserOrEnumRuleCall();
4667 }
4668 )
4669 )
4670 ))
4671 {
4672 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4673 }
4674 )
4675 )|
4676 (
4677 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>(
4678 {
4679 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
4680 }
4681 ({true}?=>(otherlv_37='statistics'
4682 {
4683 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
4684 }
4685 otherlv_38='='
4686 {
4687 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
4688 }
4689 (
4690 (
4691 {
4692 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
4693 }
4694 lv_targetStatisticsFile_39_0=ruleFile
4695 {
4696 if ($current==null) {
4697 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4698 }
4699 set(
4700 $current,
4701 "targetStatisticsFile",
4702 lv_targetStatisticsFile_39_0,
4703 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4704 afterParserOrEnumRuleCall();
4705 }
4706 )
4707 )
4708 ))
4709 {
4710 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4711 }
4712 )
4713 )|
4714 (
4715 {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)}?=>(
4716 {
4717 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
4718 }
4719 ({true}?=>(otherlv_40='output'
4720 {
4721 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
4722 }
4723 otherlv_41='='
4724 {
4725 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
4726 }
4727 (
4728 (
4729 {
4730 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
4731 }
4732 lv_tagetFolder_42_0=ruleFile
4733 {
4734 if ($current==null) {
4735 $current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
4736 }
4737 set(
4738 $current,
4739 "tagetFolder",
4740 lv_tagetFolder_42_0,
4741 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
4742 afterParserOrEnumRuleCall();
4743 }
4744 )
4745 )
4746 ))
4747 {
4748 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4749 }
4750 )
4751 )
4752 )*
4753 )
4754 )
4755 {
4756 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
4757 }
4758 )
4759 otherlv_43='}'
4760 {
4761 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
4762 }
4763 )
4764;
4765
4766// Rule OptimizationDirection
4767ruleOptimizationDirection returns [Enumerator current=null]
4768@init {
4769 enterRule();
4770}
4771@after {
4772 leaveRule();
4773}:
4774 (
4775 (
4776 enumLiteral_0='minimize'
4777 {
4778 $current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4779 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
4780 }
4781 )
4782 |
4783 (
4784 enumLiteral_1='maximize'
4785 {
4786 $current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4787 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
4788 }
4789 )
4790 )
4791;
4792
4793// Rule ComparisonOperator
4794ruleComparisonOperator returns [Enumerator current=null]
4795@init {
4796 enterRule();
4797}
4798@after {
4799 leaveRule();
4800}:
4801 (
4802 (
4803 enumLiteral_0='<='
4804 {
4805 $current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4806 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0());
4807 }
4808 )
4809 |
4810 (
4811 enumLiteral_1='>='
4812 {
4813 $current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4814 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1());
4815 }
4816 )
4817 )
4818;
4819
4820// Rule DocumentLevelSpecification
4821ruleDocumentLevelSpecification returns [Enumerator current=null]
4822@init {
4823 enterRule();
4824}
4825@after {
4826 leaveRule();
4827}:
4828 (
4829 (
4830 enumLiteral_0='none'
4831 {
4832 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4833 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
4834 }
4835 )
4836 |
4837 (
4838 enumLiteral_1='normal'
4839 {
4840 $current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4841 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
4842 }
4843 )
4844 |
4845 (
4846 enumLiteral_2='full'
4847 {
4848 $current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
4849 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
4850 }
4851 )
4852 )
4853;
4854
4855// Rule Solver
4856ruleSolver returns [Enumerator current=null]
4857@init {
4858 enterRule();
4859}
4860@after {
4861 leaveRule();
4862}:
4863 (
4864 (
4865 enumLiteral_0='SMTSolver'
4866 {
4867 $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
4868 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
4869 }
4870 )
4871 |
4872 (
4873 enumLiteral_1='AlloySolver'
4874 {
4875 $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
4876 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
4877 }
4878 )
4879 |
4880 (
4881 enumLiteral_2='ViatraSolver'
4882 {
4883 $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
4884 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
4885 }
4886 )
4887 )
4888;
4889
4890RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*;
4891
4892RULE_INT : ('0'..'9')+;
4893
4894RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\'');
4895
4896RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/';
4897
4898RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?;
4899
4900RULE_WS : (' '|'\t'|'\r'|'\n')+;
4901
4902RULE_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..17aa6491 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','=20
5'-'=12 5'-'=12
6'.'=11 6'.'=11
7'..'=41 7'..'=43
8'::'=23 8'::'=24
9'<'=34 9'<'=36
10'='=17 10'<='=56
11'>'=35 11'='=18
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'=28
19'excluding'=22 19'debug'=50
20'file'=16 20'epackage'=14
21'folder'=25 21'excluding'=23
22'full'=54 22'file'=17
23'generate'=43 23'folder'=26
24'import'=13 24'full'=60
25'int'=37 25'generate'=45
26'log'=49 26'import'=13
27'log-level'=29 27'int'=39
28'memory'=31 28'log'=51
29'metamodel'=24 29'log-level'=31
30'models'=26 30'maximize'=55
31'node'=36 31'memory'=33
32'none'=52 32'metamodel'=25
33'normal'=53 33'minimize'=54
34'number'=45 34'models'=27
35'output'=51 35'node'=38
36'package'=21 36'none'=58
37'partial-model'=44 37'normal'=59
38'real'=38 38'number'=47
39'runs'=46 39'objectives'=29
40'runtime'=30 40'output'=53
41'scope'=42 41'package'=22
42'solver'=47 42'partial-model'=46
43'statistics'=50 43'real'=40
44'string'=39 44'reliability'=16
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'{'=19
53RULE_STRING=6 53'}'=21
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..175d43ba 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,2584 @@
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: ( 'reliability' )
199 199 // InternalApplicationConfiguration.g:16:9: 'reliability'
200 state.type = _type; 200 {
201 state.channel = _channel; 201 match("reliability");
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: ( 'file' )
220 state.type = _type; 220 // InternalApplicationConfiguration.g:17:9: 'file'
221 state.channel = _channel; 221 {
222 } 222 match("file");
223 finally { 223
224 } 224
225 } 225 }
226 // $ANTLR end "T__17" 226
227 227 state.type = _type;
228 // $ANTLR start "T__18" 228 state.channel = _channel;
229 public final void mT__18() throws RecognitionException { 229 }
230 try { 230 finally {
231 int _type = T__18; 231 }
232 int _channel = DEFAULT_TOKEN_CHANNEL; 232 }
233 // InternalApplicationConfiguration.g:18:7: ( '{' ) 233 // $ANTLR end "T__17"
234 // InternalApplicationConfiguration.g:18:9: '{' 234
235 { 235 // $ANTLR start "T__18"
236 match('{'); 236 public final void mT__18() throws RecognitionException {
237 237 try {
238 } 238 int _type = T__18;
239 239 int _channel = DEFAULT_TOKEN_CHANNEL;
240 state.type = _type; 240 // InternalApplicationConfiguration.g:18:7: ( '=' )
241 state.channel = _channel; 241 // InternalApplicationConfiguration.g:18:9: '='
242 } 242 {
243 finally { 243 match('=');
244 } 244
245 } 245 }
246 // $ANTLR end "T__18" 246
247 247 state.type = _type;
248 // $ANTLR start "T__19" 248 state.channel = _channel;
249 public final void mT__19() throws RecognitionException { 249 }
250 try { 250 finally {
251 int _type = T__19; 251 }
252 int _channel = DEFAULT_TOKEN_CHANNEL; 252 }
253 // InternalApplicationConfiguration.g:19:7: ( ',' ) 253 // $ANTLR end "T__18"
254 // InternalApplicationConfiguration.g:19:9: ',' 254
255 { 255 // $ANTLR start "T__19"
256 match(','); 256 public final void mT__19() throws RecognitionException {
257 257 try {
258 } 258 int _type = T__19;
259 259 int _channel = DEFAULT_TOKEN_CHANNEL;
260 state.type = _type; 260 // InternalApplicationConfiguration.g:19:7: ( '{' )
261 state.channel = _channel; 261 // InternalApplicationConfiguration.g:19:9: '{'
262 } 262 {
263 finally { 263 match('{');
264 } 264
265 } 265 }
266 // $ANTLR end "T__19" 266
267 267 state.type = _type;
268 // $ANTLR start "T__20" 268 state.channel = _channel;
269 public final void mT__20() throws RecognitionException { 269 }
270 try { 270 finally {
271 int _type = T__20; 271 }
272 int _channel = DEFAULT_TOKEN_CHANNEL; 272 }
273 // InternalApplicationConfiguration.g:20:7: ( '}' ) 273 // $ANTLR end "T__19"
274 // InternalApplicationConfiguration.g:20:9: '}' 274
275 { 275 // $ANTLR start "T__20"
276 match('}'); 276 public final void mT__20() throws RecognitionException {
277 277 try {
278 } 278 int _type = T__20;
279 279 int _channel = DEFAULT_TOKEN_CHANNEL;
280 state.type = _type; 280 // InternalApplicationConfiguration.g:20:7: ( ',' )
281 state.channel = _channel; 281 // InternalApplicationConfiguration.g:20:9: ','
282 } 282 {
283 finally { 283 match(',');
284 } 284
285 } 285 }
286 // $ANTLR end "T__20" 286
287 287 state.type = _type;
288 // $ANTLR start "T__21" 288 state.channel = _channel;
289 public final void mT__21() throws RecognitionException { 289 }
290 try { 290 finally {
291 int _type = T__21; 291 }
292 int _channel = DEFAULT_TOKEN_CHANNEL; 292 }
293 // InternalApplicationConfiguration.g:21:7: ( 'package' ) 293 // $ANTLR end "T__20"
294 // InternalApplicationConfiguration.g:21:9: 'package' 294
295 { 295 // $ANTLR start "T__21"
296 match("package"); 296 public final void mT__21() throws RecognitionException {
297 297 try {
298 298 int _type = T__21;
299 } 299 int _channel = DEFAULT_TOKEN_CHANNEL;
300 300 // InternalApplicationConfiguration.g:21:7: ( '}' )
301 state.type = _type; 301 // InternalApplicationConfiguration.g:21:9: '}'
302 state.channel = _channel; 302 {
303 } 303 match('}');
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: ( 'package' )
321 321 // InternalApplicationConfiguration.g:22:9: 'package'
322 state.type = _type; 322 {
323 state.channel = _channel; 323 match("package");
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: ( 'excluding' )
342 342 // InternalApplicationConfiguration.g:23:9: 'excluding'
343 state.type = _type; 343 {
344 state.channel = _channel; 344 match("excluding");
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: ( '::' )
363 363 // InternalApplicationConfiguration.g:24:9: '::'
364 state.type = _type; 364 {
365 state.channel = _channel; 365 match("::");
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: ( 'metamodel' )
384 384 // InternalApplicationConfiguration.g:25:9: 'metamodel'
385 state.type = _type; 385 {
386 state.channel = _channel; 386 match("metamodel");
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: ( 'folder' )
405 405 // InternalApplicationConfiguration.g:26:9: 'folder'
406 state.type = _type; 406 {
407 state.channel = _channel; 407 match("folder");
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: ( 'models' )
426 426 // InternalApplicationConfiguration.g:27:9: 'models'
427 state.type = _type; 427 {
428 state.channel = _channel; 428 match("models");
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: ( 'constraints' )
447 447 // InternalApplicationConfiguration.g:28:9: 'constraints'
448 state.type = _type; 448 {
449 state.channel = _channel; 449 match("constraints");
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:4890:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
1199 int LA6_0 = input.LA(1); 1199 // InternalApplicationConfiguration.g:4890:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
1200 1200 {
1201 if ( (LA6_0=='\"') ) { 1201 // InternalApplicationConfiguration.g:4890: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:4890: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:4890: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:4892:10: ( ( '0' .. '9' )+ )
1278 } 1278 // InternalApplicationConfiguration.g:4892: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:4892: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:4892: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:4894:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
1327 finally { 1327 // InternalApplicationConfiguration.g:4894:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
1328 } 1328 {
1329 } 1329 // InternalApplicationConfiguration.g:4894: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:4894:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
1348 if ( (LA7_0=='*') ) { 1348 {
1349 int LA7_1 = input.LA(2); 1349 match('\"');
1350 1350 // InternalApplicationConfiguration.g:4894: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:4894: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:4894: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:4894:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
1400 match("//"); 1400 {
1401 1401 match('\'');
1402 // InternalApplicationConfiguration.g:4299:24: (~ ( ( '\\n' | '\\r' ) ) )* 1402 // InternalApplicationConfiguration.g:4894: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:4894: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:4894: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:4896:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
1470 1470 // InternalApplicationConfiguration.g:4896:19: '/*' ( options {greedy=false; } : . )* '*/'
1471 1471 {
1472 } 1472 match("/*");
1473 1473
1474 state.type = _type; 1474 // InternalApplicationConfiguration.g:4896: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:4896: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:4898:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
1530 1530 // InternalApplicationConfiguration.g:4898:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
1531 state.type = _type; 1531 {
1532 state.channel = _channel; 1532 match("//");
1533 } 1533
1534 finally { 1534 // InternalApplicationConfiguration.g:4898: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:4898: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:4898: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:4898:41: ( '\\r' )? '\\n'
1577 break; 1577 {
1578 case 3 : 1578 // InternalApplicationConfiguration.g:4898: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:4898: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:4900:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
1620 case 9 : 1620 // InternalApplicationConfiguration.g:4900:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
1621 // InternalApplicationConfiguration.g:1:58: T__19 1621 {
1622 { 1622 // InternalApplicationConfiguration.g:4900: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:4902:16: ( . )
1677 // InternalApplicationConfiguration.g:1:106: T__27 1677 // InternalApplicationConfiguration.g:4902: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\5\53\4\uffff\1\53\1\45\4\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\10\53\4\uffff\1\53\1\uffff\10\53\6\uffff\5\53\1\uffff\5\53\5\uffff\1\53\1\174\23\53\1\u0093\16\53\1\uffff\4\53\1\u00a6\1\53\1\u00a8\1\u00a9\1\53\1\u00ab\13\53\2\uffff\1\u00b7\1\u00b8\20\53\1\uffff\1\53\2\uffff\1\53\1\uffff\13\53\2\uffff\4\53\1\u00da\2\53\1\u00dd\3\53\1\u00e1\2\53\1\u00e4\2\53\1\u00e7\3\53\1\u00eb\1\u00ec\3\53\1\u00f0\1\53\1\u00f2\1\u00f3\1\u00f4\1\u00f5\1\53\1\uffff\1\u00f7\1\53\1\uffff\3\53\1\uffff\2\53\1\uffff\1\53\1\u00ff\1\uffff\1\u0100\2\53\2\uffff\3\53\1\uffff\1\53\4\uffff\1\53\1\uffff\4\53\1\u010c\2\53\3\uffff\1\53\1\u0110\1\u0111\3\53\1\u0115\3\53\1\uffff\1\u0119\1\53\1\u011b\2\uffff\3\53\1\uffff\1\u011f\2\53\1\uffff\1\53\1\uffff\1\53\1\u0124\1\u0125\1\uffff\2\53\1\u0128\1\u0129\2\uffff\1\u012a\1\53\3\uffff\1\u012c\1\uffff";
2125 "", 2125 static final String DFA12_eofS =
2126 "", 2126 "\u012d\uffff";
2127 "", 2127 static final String DFA12_minS =
2128 "", 2128 "\1\0\1\56\1\uffff\1\155\1\160\1\151\1\145\1\151\4\uffff\1\141\1\72\1\141\1\157\1\142\1\157\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\2\141\1\156\3\154\4\uffff\1\143\1\uffff\1\155\1\144\1\156\1\170\1\156\1\152\1\164\1\147\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\151\1\154\1\163\1\145\1\144\1\154\1\153\1\164\1\141\1\157\1\145\2\151\1\146\1\145\1\160\1\55\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\141\1\60\1\151\2\60\1\145\1\60\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\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\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\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\1\60\1\151\1\145\1\60\1\145\1\154\1\144\2\60\2\172\1\141\1\60\1\151\4\60\1\164\1\uffff\1\60\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\60\1\uffff\1\60\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\60\1\147\1\151\3\uffff\1\154\2\60\1\156\1\145\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\164\1\60\2\uffff\1\164\2\163\1\uffff\1\60\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\60\1\uffff\1\162\1\145\2\60\2\uffff\1\60\1\162\3\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\2\165\4\uffff\1\141\1\72\2\157\1\165\1\157\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\1\154\1\156\3\154\4\uffff\1\162\1\uffff\1\164\1\144\1\156\1\170\1\156\1\152\1\164\1\147\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\151\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\145\1\160\1\172\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\141\1\172\1\151\2\172\1\145\1\172\1\141\1\151\1\155\1\162\1\154\2\155\1\164\1\151\1\143\1\165\2\uffff\2\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\142\1\uffff\1\155\2\uffff\1\162\1\uffff\1\147\1\141\1\157\1\171\1\163\2\151\1\162\1\147\2\164\2\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\1\172\1\151\1\145\1\172\1\145\1\154\1\144\4\172\1\141\1\172\1\151\4\172\1\164\1\uffff\1\172\1\164\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\1\uffff\1\154\1\172\1\uffff\1\172\1\55\1\145\2\uffff\2\145\1\151\1\uffff\1\166\4\uffff\1\151\1\uffff\2\145\1\154\1\157\1\172\1\147\1\151\3\uffff\1\154\2\172\1\156\1\145\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\164\1\172\2\uffff\1\164\2\163\1\uffff\1\172\1\145\1\166\1\uffff\1\171\1\uffff\1\163\2\172\1\uffff\1\162\1\145\2\172\2\uffff\1\172\1\162\3\uffff\1\172\1\uffff";
2131 "\1\u00c2", 2131 static final String DFA12_acceptS =
2132 "\1\u00c3", 2132 "\2\uffff\1\2\5\uffff\1\10\1\11\1\12\1\13\6\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\10\uffff\1\10\1\11\1\12\1\13\1\uffff\1\16\10\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\25\uffff\1\25\1\51\22\uffff\1\36\1\uffff\1\46\1\7\1\uffff\1\62\13\uffff\1\34\1\60\41\uffff\1\42\2\uffff\1\50\3\uffff\1\3\2\uffff\1\5\2\uffff\1\20\3\uffff\1\27\1\21\3\uffff\1\24\1\uffff\1\53\1\61\1\45\1\37\1\uffff\1\47\7\uffff\1\26\1\14\1\44\12\uffff\1\4\3\uffff\1\54\1\55\3\uffff\1\43\3\uffff\1\15\1\uffff\1\17\3\uffff\1\63\4\uffff\1\23\1\52\2\uffff\1\6\1\22\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\u010a\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\12\1\2\1\1\1\43\12\40\1\15\1\45\1\24\1\10\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\17\1\32\1\4\1\7\1\31\1\37\1\3\2\37\1\21\1\16\1\26\1\20\1\14\1\37\1\6\1\27\2\37\1\5\4\37\1\11\1\45\1\13\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\17\uffff\1\60",
2143 "\1\u00ce", 2143 "\1\61\5\uffff\1\62\5\uffff\1\63",
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 "",
2148 "\1\u00d3", 2148 "\1\70",
2149 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2149 "\1\71",
2150 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2150 "\1\75\3\uffff\1\72\3\uffff\1\74\5\uffff\1\73",
2151 "\1\u00d6", 2151 "\1\76",
2152 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2152 "\1\77\22\uffff\1\100",
2153 "\1\u00d8", 2153 "\1\101",
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\136\12\uffff\1\135",
2184 "\1\u00eb", 2184 "\1\137",
2185 "", 2185 "\1\140",
2186 "\1\u00ec", 2186 "\1\141",
2187 "\1\u00ed", 2187 "\1\142",
2188 "\1\u00ee", 2188 "",
2189 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53", 2189 "",
2190 "\1\u00f0", 2190 "",
2191 "", 2191 "",
2192 "", 2192 "\1\143\16\uffff\1\144",
2193 "\1\u00f1", 2193 "",
2194 "\1\u00f2", 2194 "\1\146\6\uffff\1\145",
2195 "", 2195 "\1\147",
2196 "\1\u00f3", 2196 "\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\u0083\1\u0082",
2232 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); 2232 "\1\u0084",
2233 static final short[][] DFA12_transition; 2233 "\1\u0085",
2234 2234 "\1\u0086",
2235 static { 2235 "\1\u0087",
2236 int numStates = DFA12_transitionS.length; 2236 "\1\u0088",
2237 DFA12_transition = new short[numStates][]; 2237 "\1\u0089",
2238 for (int i=0; i<numStates; i++) { 2238 "\1\u008a",
2239 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); 2239 "\1\u008b",
2240 } 2240 "\1\u008c",
2241 } 2241 "\1\u008d",
2242 2242 "\1\u008f\14\uffff\1\u008e",
2243 class DFA12 extends DFA { 2243 "\1\u0090",
2244 2244 "\1\u0091",
2245 public DFA12(BaseRecognizer recognizer) { 2245 "\1\u0092\2\uffff\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
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 "\1\u00a5",
2265 2265 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2266 s = -1; 2266 "\1\u00a7",
2267 if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 79;} 2267 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2268 2268 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2269 else s = 37; 2269 "\1\u00aa",
2270 2270 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
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 "\1\u00b1",
2277 if ( (LA12_0=='.') ) {s = 1;} 2277 "\1\u00b2",
2278 2278 "\1\u00b3",
2279 else if ( (LA12_0=='-') ) {s = 2;} 2279 "\1\u00b4",
2280 2280 "\1\u00b5",
2281 else if ( (LA12_0=='i') ) {s = 3;} 2281 "\1\u00b6",
2282 2282 "",
2283 else if ( (LA12_0=='e') ) {s = 4;} 2283 "",
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 "\1\u00c8",
2302 2302 "",
2303 else if ( (LA12_0=='c') ) {s = 14;} 2303 "\1\u00c9",
2304 2304 "",
2305 else if ( (LA12_0=='l') ) {s = 15;} 2305 "",
2306 2306 "\1\u00ca",
2307 else if ( (LA12_0=='r') ) {s = 16;} 2307 "",
2308 2308 "\1\u00cb",
2309 else if ( (LA12_0=='#') ) {s = 17;} 2309 "\1\u00cc",
2310 2310 "\1\u00cd",
2311 else if ( (LA12_0=='+') ) {s = 18;} 2311 "\1\u00ce",
2312 2312 "\1\u00cf",
2313 else if ( (LA12_0=='<') ) {s = 19;} 2313 "\1\u00d0",
2314 2314 "\1\u00d1",
2315 else if ( (LA12_0=='>') ) {s = 20;} 2315 "\1\u00d2",
2316 2316 "\1\u00d3",
2317 else if ( (LA12_0=='n') ) {s = 21;} 2317 "\1\u00d4",
2318 2318 "\1\u00d5",
2319 else if ( (LA12_0=='s') ) {s = 22;} 2319 "",
2320 2320 "",
2321 else if ( (LA12_0=='*') ) {s = 23;} 2321 "\1\u00d6",
2322 2322 "\1\u00d7",
2323 else if ( (LA12_0=='g') ) {s = 24;} 2323 "\1\u00d8",
2324 2324 "\1\u00d9",
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\u00db",
2327 else if ( (LA12_0=='o') ) {s = 26;} 2327 "\1\u00dc",
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\u00de",
2330 2330 "\1\u00df",
2331 else if ( (LA12_0=='A') ) {s = 28;} 2331 "\1\u00e0",
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\u00e2",
2334 2334 "\1\u00e3",
2335 else if ( (LA12_0=='^') ) {s = 30;} 2335 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2336 2336 "\1\u00e5",
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\u00e6",
2338 2338 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2339 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} 2339 "\1\u00e8",
2340 2340 "\1\u00e9",
2341 else if ( (LA12_0=='\"') ) {s = 33;} 2341 "\1\u00ea",
2342 2342 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2343 else if ( (LA12_0=='\'') ) {s = 34;} 2343 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2344 2344 "\1\u00ed",
2345 else if ( (LA12_0=='/') ) {s = 35;} 2345 "\1\u00ee",
2346 2346 "\1\u00ef",
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\u00f1",
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 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2353 case 2 : 2353 "\1\u00f6",
2354 int LA12_33 = input.LA(1); 2354 "",
2355 2355 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2356 s = -1; 2356 "\1\u00f8",
2357 if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 79;} 2357 "",
2358 2358 "\1\u00f9",
2359 else s = 37; 2359 "\1\u00fa",
2360 2360 "\1\u00fb",
2361 if ( s>=0 ) return s; 2361 "",
2362 break; 2362 "\1\u00fc",
2363 } 2363 "\1\u00fd",
2364 NoViableAltException nvae = 2364 "",
2365 new NoViableAltException(getDescription(), 12, _s, input); 2365 "\1\u00fe",
2366 error(nvae); 2366 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2367 throw nvae; 2367 "",
2368 } 2368 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2369 } 2369 "\1\u0101",
2370 2370 "\1\u0102",
2371 2371 "",
2372 "",
2373 "\1\u0103",
2374 "\1\u0104",
2375 "\1\u0105",
2376 "",
2377 "\1\u0106",
2378 "",
2379 "",
2380 "",
2381 "",
2382 "\1\u0107",
2383 "",
2384 "\1\u0108",
2385 "\1\u0109",
2386 "\1\u010a",
2387 "\1\u010b",
2388 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2389 "\1\u010d",
2390 "\1\u010e",
2391 "",
2392 "",
2393 "",
2394 "\1\u010f",
2395 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2396 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2397 "\1\u0112",
2398 "\1\u0113",
2399 "\1\u0114",
2400 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2401 "\1\u0116",
2402 "\1\u0117",
2403 "\1\u0118",
2404 "",
2405 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2406 "\1\u011a",
2407 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2408 "",
2409 "",
2410 "\1\u011c",
2411 "\1\u011d",
2412 "\1\u011e",
2413 "",
2414 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2415 "\1\u0120",
2416 "\1\u0121",
2417 "",
2418 "\1\u0122",
2419 "",
2420 "\1\u0123",
2421 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2422 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2423 "",
2424 "\1\u0126",
2425 "\1\u0127",
2426 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2427 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2428 "",
2429 "",
2430 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2431 "\1\u012b",
2432 "",
2433 "",
2434 "",
2435 "\12\53\7\uffff\32\53\4\uffff\1\53\1\uffff\32\53",
2436 ""
2437 };
2438
2439 static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
2440 static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS);
2441 static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS);
2442 static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS);
2443 static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS);
2444 static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS);
2445 static final short[][] DFA12_transition;
2446
2447 static {
2448 int numStates = DFA12_transitionS.length;
2449 DFA12_transition = new short[numStates][];
2450 for (int i=0; i<numStates; i++) {
2451 DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]);
2452 }
2453 }
2454
2455 class DFA12 extends DFA {
2456
2457 public DFA12(BaseRecognizer recognizer) {
2458 this.recognizer = recognizer;
2459 this.decisionNumber = 12;
2460 this.eot = DFA12_eot;
2461 this.eof = DFA12_eof;
2462 this.min = DFA12_min;
2463 this.max = DFA12_max;
2464 this.accept = DFA12_accept;
2465 this.special = DFA12_special;
2466 this.transition = DFA12_transition;
2467 }
2468 public String getDescription() {
2469 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 );";
2470 }
2471 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
2472 IntStream input = _input;
2473 int _s = s;
2474 switch ( s ) {
2475 case 0 :
2476 int LA12_0 = input.LA(1);
2477
2478 s = -1;
2479 if ( (LA12_0=='.') ) {s = 1;}
2480
2481 else if ( (LA12_0=='-') ) {s = 2;}
2482
2483 else if ( (LA12_0=='i') ) {s = 3;}
2484
2485 else if ( (LA12_0=='e') ) {s = 4;}
2486
2487 else if ( (LA12_0=='v') ) {s = 5;}
2488
2489 else if ( (LA12_0=='r') ) {s = 6;}
2490
2491 else if ( (LA12_0=='f') ) {s = 7;}
2492
2493 else if ( (LA12_0=='=') ) {s = 8;}
2494
2495 else if ( (LA12_0=='{') ) {s = 9;}
2496
2497 else if ( (LA12_0==',') ) {s = 10;}
2498
2499 else if ( (LA12_0=='}') ) {s = 11;}
2500
2501 else if ( (LA12_0=='p') ) {s = 12;}
2502
2503 else if ( (LA12_0==':') ) {s = 13;}
2504
2505 else if ( (LA12_0=='m') ) {s = 14;}
2506
2507 else if ( (LA12_0=='c') ) {s = 15;}
2508
2509 else if ( (LA12_0=='o') ) {s = 16;}
2510
2511 else if ( (LA12_0=='l') ) {s = 17;}
2512
2513 else if ( (LA12_0=='#') ) {s = 18;}
2514
2515 else if ( (LA12_0=='+') ) {s = 19;}
2516
2517 else if ( (LA12_0=='<') ) {s = 20;}
2518
2519 else if ( (LA12_0=='>') ) {s = 21;}
2520
2521 else if ( (LA12_0=='n') ) {s = 22;}
2522
2523 else if ( (LA12_0=='s') ) {s = 23;}
2524
2525 else if ( (LA12_0=='*') ) {s = 24;}
2526
2527 else if ( (LA12_0=='g') ) {s = 25;}
2528
2529 else if ( (LA12_0=='d') ) {s = 26;}
2530
2531 else if ( (LA12_0=='S') ) {s = 27;}
2532
2533 else if ( (LA12_0=='A') ) {s = 28;}
2534
2535 else if ( (LA12_0=='V') ) {s = 29;}
2536
2537 else if ( (LA12_0=='^') ) {s = 30;}
2538
2539 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;}
2540
2541 else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;}
2542
2543 else if ( (LA12_0=='\"') ) {s = 33;}
2544
2545 else if ( (LA12_0=='\'') ) {s = 34;}
2546
2547 else if ( (LA12_0=='/') ) {s = 35;}
2548
2549 else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;}
2550
2551 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;}
2552
2553 if ( s>=0 ) return s;
2554 break;
2555 case 1 :
2556 int LA12_33 = input.LA(1);
2557
2558 s = -1;
2559 if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 84;}
2560
2561 else s = 37;
2562
2563 if ( s>=0 ) return s;
2564 break;
2565 case 2 :
2566 int LA12_34 = input.LA(1);
2567
2568 s = -1;
2569 if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 84;}
2570
2571 else s = 37;
2572
2573 if ( s>=0 ) return s;
2574 break;
2575 }
2576 NoViableAltException nvae =
2577 new NoViableAltException(getDescription(), 12, _s, input);
2578 error(nvae);
2579 throw nvae;
2580 }
2581 }
2582
2583
2372} \ No newline at end of file 2584} \ 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..191f96eb 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
@@ -1,11660 +1,13307 @@
1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal; 1package hu.bme.mit.inf.dslreasoner.application.parser.antlr.internal;
2 2
3import org.eclipse.xtext.*; 3import org.eclipse.xtext.*;
4import org.eclipse.xtext.parser.*; 4import org.eclipse.xtext.parser.*;
5import org.eclipse.xtext.parser.impl.*; 5import org.eclipse.xtext.parser.impl.*;
6import org.eclipse.emf.ecore.util.EcoreUtil; 6import org.eclipse.emf.ecore.util.EcoreUtil;
7import org.eclipse.emf.ecore.EObject; 7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.common.util.Enumerator; 8import org.eclipse.emf.common.util.Enumerator;
9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; 9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream; 10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; 11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; 12import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; 13import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess;
14 14
15 15
16 16
17import org.antlr.runtime.*; 17import org.antlr.runtime.*;
18import java.util.Stack; 18import java.util.Stack;
19import java.util.List; 19import java.util.List;
20import java.util.ArrayList; 20import java.util.ArrayList;
21 21
22@SuppressWarnings("all") 22@SuppressWarnings("all")
23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { 23public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser {
24 public static final String[] tokenNames = new String[] { 24 public static final String[] tokenNames = new String[] {
25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" 25 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'-'", "'import'", "'epackage'", "'viatra'", "'reliability'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'constraints'", "'objectives'", "'config'", "'log-level'", "'runtime'", "'memory'", "'#'", "'+='", "'<'", "'>'", "'node'", "'int'", "'real'", "'string'", "'*'", "'..'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'debug'", "'log'", "'statistics'", "'output'", "'minimize'", "'maximize'", "'<='", "'>='", "'none'", "'normal'", "'full'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'"
26 }; 26 };
27 public static final int T__50=50; 27 public static final int T__50=50;
28 public static final int T__19=19; 28 public static final int T__19=19;
29 public static final int T__15=15; 29 public static final int T__15=15;
30 public static final int T__16=16; 30 public static final int T__59=59;
31 public static final int T__17=17; 31 public static final int T__16=16;
32 public static final int T__18=18; 32 public static final int T__17=17;
33 public static final int T__11=11; 33 public static final int T__18=18;
34 public static final int T__55=55; 34 public static final int T__11=11;
35 public static final int T__12=12; 35 public static final int T__55=55;
36 public static final int T__56=56; 36 public static final int T__12=12;
37 public static final int T__13=13; 37 public static final int T__56=56;
38 public static final int T__57=57; 38 public static final int T__13=13;
39 public static final int T__14=14; 39 public static final int T__57=57;
40 public static final int T__51=51; 40 public static final int T__14=14;
41 public static final int T__52=52; 41 public static final int T__58=58;
42 public static final int T__53=53; 42 public static final int T__51=51;
43 public static final int T__54=54; 43 public static final int T__52=52;
44 public static final int RULE_ID=4; 44 public static final int T__53=53;
45 public static final int T__26=26; 45 public static final int T__54=54;
46 public static final int T__27=27; 46 public static final int T__60=60;
47 public static final int T__28=28; 47 public static final int T__61=61;
48 public static final int RULE_INT=5; 48 public static final int RULE_ID=4;
49 public static final int T__29=29; 49 public static final int T__26=26;
50 public static final int T__22=22; 50 public static final int T__27=27;
51 public static final int RULE_ML_COMMENT=7; 51 public static final int T__28=28;
52 public static final int T__23=23; 52 public static final int RULE_INT=5;
53 public static final int T__24=24; 53 public static final int T__29=29;
54 public static final int T__25=25; 54 public static final int T__22=22;
55 public static final int T__20=20; 55 public static final int RULE_ML_COMMENT=7;
56 public static final int T__21=21; 56 public static final int T__23=23;
57 public static final int RULE_STRING=6; 57 public static final int T__24=24;
58 public static final int RULE_SL_COMMENT=8; 58 public static final int T__25=25;
59 public static final int T__37=37; 59 public static final int T__62=62;
60 public static final int T__38=38; 60 public static final int T__63=63;
61 public static final int T__39=39; 61 public static final int T__20=20;
62 public static final int T__33=33; 62 public static final int T__21=21;
63 public static final int T__34=34; 63 public static final int RULE_STRING=6;
64 public static final int T__35=35; 64 public static final int RULE_SL_COMMENT=8;
65 public static final int T__36=36; 65 public static final int T__37=37;
66 public static final int EOF=-1; 66 public static final int T__38=38;
67 public static final int T__30=30; 67 public static final int T__39=39;
68 public static final int T__31=31; 68 public static final int T__33=33;
69 public static final int T__32=32; 69 public static final int T__34=34;
70 public static final int RULE_WS=9; 70 public static final int T__35=35;
71 public static final int RULE_ANY_OTHER=10; 71 public static final int T__36=36;
72 public static final int T__48=48; 72 public static final int EOF=-1;
73 public static final int T__49=49; 73 public static final int T__30=30;
74 public static final int T__44=44; 74 public static final int T__31=31;
75 public static final int T__45=45; 75 public static final int T__32=32;
76 public static final int T__46=46; 76 public static final int RULE_WS=9;
77 public static final int T__47=47; 77 public static final int RULE_ANY_OTHER=10;
78 public static final int T__40=40; 78 public static final int T__48=48;
79 public static final int T__41=41; 79 public static final int T__49=49;
80 public static final int T__42=42; 80 public static final int T__44=44;
81 public static final int T__43=43; 81 public static final int T__45=45;
82 82 public static final int T__46=46;
83 // delegates 83 public static final int T__47=47;
84 // delegators 84 public static final int T__40=40;
85 85 public static final int T__41=41;
86 86 public static final int T__42=42;
87 public InternalApplicationConfigurationParser(TokenStream input) { 87 public static final int T__43=43;
88 this(input, new RecognizerSharedState()); 88
89 } 89 // delegates
90 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { 90 // delegators
91 super(input, state); 91
92 92
93 } 93 public InternalApplicationConfigurationParser(TokenStream input) {
94 94 this(input, new RecognizerSharedState());
95 95 }
96 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } 96 public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) {
97 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } 97 super(input, state);
98 98
99 99 }
100 100
101 private ApplicationConfigurationGrammarAccess grammarAccess; 101
102 102 public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; }
103 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) { 103 public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; }
104 this(input); 104
105 this.grammarAccess = grammarAccess; 105
106 registerRules(grammarAccess.getGrammar()); 106
107 } 107 private ApplicationConfigurationGrammarAccess grammarAccess;
108 108
109 @Override 109 public InternalApplicationConfigurationParser(TokenStream input, ApplicationConfigurationGrammarAccess grammarAccess) {
110 protected String getFirstRuleName() { 110 this(input);
111 return "ConfigurationScript"; 111 this.grammarAccess = grammarAccess;
112 } 112 registerRules(grammarAccess.getGrammar());
113 113 }
114 @Override 114
115 protected ApplicationConfigurationGrammarAccess getGrammarAccess() { 115 @Override
116 return grammarAccess; 116 protected String getFirstRuleName() {
117 } 117 return "ConfigurationScript";
118 118 }
119 119
120 120 @Override
121 121 protected ApplicationConfigurationGrammarAccess getGrammarAccess() {
122 // $ANTLR start "entryRuleConfigurationScript" 122 return grammarAccess;
123 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; 123 }
124 public final EObject entryRuleConfigurationScript() throws RecognitionException { 124
125 EObject current = null; 125
126 126
127 EObject iv_ruleConfigurationScript = null; 127
128 128 // $ANTLR start "entryRuleConfigurationScript"
129 129 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ;
130 try { 130 public final EObject entryRuleConfigurationScript() throws RecognitionException {
131 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) 131 EObject current = null;
132 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF 132
133 { 133 EObject iv_ruleConfigurationScript = null;
134 newCompositeNode(grammarAccess.getConfigurationScriptRule()); 134
135 pushFollow(FOLLOW_1); 135
136 iv_ruleConfigurationScript=ruleConfigurationScript(); 136 try {
137 137 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF )
138 state._fsp--; 138 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF
139 139 {
140 current =iv_ruleConfigurationScript; 140 newCompositeNode(grammarAccess.getConfigurationScriptRule());
141 match(input,EOF,FOLLOW_2); 141 pushFollow(FOLLOW_1);
142 142 iv_ruleConfigurationScript=ruleConfigurationScript();
143 } 143
144 144 state._fsp--;
145 } 145
146 146 current =iv_ruleConfigurationScript;
147 catch (RecognitionException re) { 147 match(input,EOF,FOLLOW_2);
148 recover(input,re); 148
149 appendSkippedTokens(); 149 }
150 } 150
151 finally { 151 }
152 } 152
153 return current; 153 catch (RecognitionException re) {
154 } 154 recover(input,re);
155 // $ANTLR end "entryRuleConfigurationScript" 155 appendSkippedTokens();
156 156 }
157 157 finally {
158 // $ANTLR start "ruleConfigurationScript" 158 }
159 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; 159 return current;
160 public final EObject ruleConfigurationScript() throws RecognitionException { 160 }
161 EObject current = null; 161 // $ANTLR end "entryRuleConfigurationScript"
162 162
163 EObject lv_imports_0_0 = null; 163
164 164 // $ANTLR start "ruleConfigurationScript"
165 EObject lv_commands_1_0 = null; 165 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
166 166 public final EObject ruleConfigurationScript() throws RecognitionException {
167 167 EObject current = null;
168 168
169 enterRule(); 169 EObject lv_imports_0_0 = null;
170 170
171 try { 171 EObject lv_commands_1_0 = null;
172 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) 172
173 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 173
174 { 174
175 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 175 enterRule();
176 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* 176
177 { 177 try {
178 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* 178 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
179 loop1: 179 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
180 do { 180 {
181 int alt1=2; 181 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
182 int LA1_0 = input.LA(1); 182 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )*
183 183 {
184 if ( (LA1_0==13) ) { 184 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )*
185 alt1=1; 185 loop1:
186 } 186 do {
187 187 int alt1=2;
188 188 int LA1_0 = input.LA(1);
189 switch (alt1) { 189
190 case 1 : 190 if ( (LA1_0==13) ) {
191 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 191 alt1=1;
192 { 192 }
193 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) 193
194 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport 194
195 { 195 switch (alt1) {
196 196 case 1 :
197 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); 197 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
198 198 {
199 pushFollow(FOLLOW_3); 199 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
200 lv_imports_0_0=ruleImport(); 200 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport
201 201 {
202 state._fsp--; 202
203 203 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0());
204 204
205 if (current==null) { 205 pushFollow(FOLLOW_3);
206 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 206 lv_imports_0_0=ruleImport();
207 } 207
208 add( 208 state._fsp--;
209 current, 209
210 "imports", 210
211 lv_imports_0_0, 211 if (current==null) {
212 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 212 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
213 afterParserOrEnumRuleCall(); 213 }
214 214 add(
215 215 current,
216 } 216 "imports",
217 217 lv_imports_0_0,
218 218 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
219 } 219 afterParserOrEnumRuleCall();
220 break; 220
221 221
222 default : 222 }
223 break loop1; 223
224 } 224
225 } while (true); 225 }
226 226 break;
227 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* 227
228 loop2: 228 default :
229 do { 229 break loop1;
230 int alt2=2; 230 }
231 int LA2_0 = input.LA(1); 231 } while (true);
232 232
233 if ( (LA2_0==16||LA2_0==24||(LA2_0>=26 && LA2_0<=28)||(LA2_0>=42 && LA2_0<=43)) ) { 233 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )*
234 alt2=1; 234 loop2:
235 } 235 do {
236 236 int alt2=2;
237 237 int LA2_0 = input.LA(1);
238 switch (alt2) { 238
239 case 1 : 239 if ( (LA2_0==17||LA2_0==25||(LA2_0>=27 && LA2_0<=30)||(LA2_0>=44 && LA2_0<=45)) ) {
240 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 240 alt2=1;
241 { 241 }
242 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) 242
243 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand 243
244 { 244 switch (alt2) {
245 245 case 1 :
246 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); 246 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
247 247 {
248 pushFollow(FOLLOW_4); 248 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
249 lv_commands_1_0=ruleCommand(); 249 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand
250 250 {
251 state._fsp--; 251
252 252 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0());
253 253
254 if (current==null) { 254 pushFollow(FOLLOW_4);
255 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 255 lv_commands_1_0=ruleCommand();
256 } 256
257 add( 257 state._fsp--;
258 current, 258
259 "commands", 259
260 lv_commands_1_0, 260 if (current==null) {
261 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); 261 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
262 afterParserOrEnumRuleCall(); 262 }
263 263 add(
264 264 current,
265 } 265 "commands",
266 266 lv_commands_1_0,
267 267 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command");
268 } 268 afterParserOrEnumRuleCall();
269 break; 269
270 270
271 default : 271 }
272 break loop2; 272
273 } 273
274 } while (true); 274 }
275 275 break;
276 276
277 } 277 default :
278 278 break loop2;
279 279 }
280 } 280 } while (true);
281 281
282 282
283 leaveRule(); 283 }
284 284
285 } 285
286 286 }
287 catch (RecognitionException re) { 287
288 recover(input,re); 288
289 appendSkippedTokens(); 289 leaveRule();
290 } 290
291 finally { 291 }
292 } 292
293 return current; 293 catch (RecognitionException re) {
294 } 294 recover(input,re);
295 // $ANTLR end "ruleConfigurationScript" 295 appendSkippedTokens();
296 296 }
297 297 finally {
298 // $ANTLR start "entryRuleCommand" 298 }
299 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; 299 return current;
300 public final EObject entryRuleCommand() throws RecognitionException { 300 }
301 EObject current = null; 301 // $ANTLR end "ruleConfigurationScript"
302 302
303 EObject iv_ruleCommand = null; 303
304 304 // $ANTLR start "entryRuleCommand"
305 305 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
306 try { 306 public final EObject entryRuleCommand() throws RecognitionException {
307 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) 307 EObject current = null;
308 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF 308
309 { 309 EObject iv_ruleCommand = null;
310 newCompositeNode(grammarAccess.getCommandRule()); 310
311 pushFollow(FOLLOW_1); 311
312 iv_ruleCommand=ruleCommand(); 312 try {
313 313 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF )
314 state._fsp--; 314 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF
315 315 {
316 current =iv_ruleCommand; 316 newCompositeNode(grammarAccess.getCommandRule());
317 match(input,EOF,FOLLOW_2); 317 pushFollow(FOLLOW_1);
318 318 iv_ruleCommand=ruleCommand();
319 } 319
320 320 state._fsp--;
321 } 321
322 322 current =iv_ruleCommand;
323 catch (RecognitionException re) { 323 match(input,EOF,FOLLOW_2);
324 recover(input,re); 324
325 appendSkippedTokens(); 325 }
326 } 326
327 finally { 327 }
328 } 328
329 return current; 329 catch (RecognitionException re) {
330 } 330 recover(input,re);
331 // $ANTLR end "entryRuleCommand" 331 appendSkippedTokens();
332 332 }
333 333 finally {
334 // $ANTLR start "ruleCommand" 334 }
335 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; 335 return current;
336 public final EObject ruleCommand() throws RecognitionException { 336 }
337 EObject current = null; 337 // $ANTLR end "entryRuleCommand"
338 338
339 EObject this_Declaration_0 = null; 339
340 340 // $ANTLR start "ruleCommand"
341 EObject this_Task_1 = null; 341 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ;
342 342 public final EObject ruleCommand() throws RecognitionException {
343 343 EObject current = null;
344 344
345 enterRule(); 345 EObject this_Declaration_0 = null;
346 346
347 try { 347 EObject this_Task_1 = null;
348 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) 348
349 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 349
350 { 350
351 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) 351 enterRule();
352 int alt3=2; 352
353 int LA3_0 = input.LA(1); 353 try {
354 354 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) )
355 if ( (LA3_0==16||LA3_0==24||(LA3_0>=26 && LA3_0<=28)||LA3_0==42) ) { 355 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
356 alt3=1; 356 {
357 } 357 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
358 else if ( (LA3_0==43) ) { 358 int alt3=2;
359 alt3=2; 359 int LA3_0 = input.LA(1);
360 } 360
361 else { 361 if ( (LA3_0==17||LA3_0==25||(LA3_0>=27 && LA3_0<=30)||LA3_0==44) ) {
362 NoViableAltException nvae = 362 alt3=1;
363 new NoViableAltException("", 3, 0, input); 363 }
364 364 else if ( (LA3_0==45) ) {
365 throw nvae; 365 alt3=2;
366 } 366 }
367 switch (alt3) { 367 else {
368 case 1 : 368 NoViableAltException nvae =
369 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration 369 new NoViableAltException("", 3, 0, input);
370 { 370
371 371 throw nvae;
372 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); 372 }
373 373 switch (alt3) {
374 pushFollow(FOLLOW_2); 374 case 1 :
375 this_Declaration_0=ruleDeclaration(); 375 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration
376 376 {
377 state._fsp--; 377
378 378 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0());
379 379
380 current = this_Declaration_0; 380 pushFollow(FOLLOW_2);
381 afterParserOrEnumRuleCall(); 381 this_Declaration_0=ruleDeclaration();
382 382
383 383 state._fsp--;
384 } 384
385 break; 385
386 case 2 : 386 current = this_Declaration_0;
387 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask 387 afterParserOrEnumRuleCall();
388 { 388
389 389
390 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); 390 }
391 391 break;
392 pushFollow(FOLLOW_2); 392 case 2 :
393 this_Task_1=ruleTask(); 393 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask
394 394 {
395 state._fsp--; 395
396 396 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1());
397 397
398 current = this_Task_1; 398 pushFollow(FOLLOW_2);
399 afterParserOrEnumRuleCall(); 399 this_Task_1=ruleTask();
400 400
401 401 state._fsp--;
402 } 402
403 break; 403
404 404 current = this_Task_1;
405 } 405 afterParserOrEnumRuleCall();
406 406
407 407
408 } 408 }
409 409 break;
410 410
411 leaveRule(); 411 }
412 412
413 } 413
414 414 }
415 catch (RecognitionException re) { 415
416 recover(input,re); 416
417 appendSkippedTokens(); 417 leaveRule();
418 } 418
419 finally { 419 }
420 } 420
421 return current; 421 catch (RecognitionException re) {
422 } 422 recover(input,re);
423 // $ANTLR end "ruleCommand" 423 appendSkippedTokens();
424 424 }
425 425 finally {
426 // $ANTLR start "entryRuleQualifiedName" 426 }
427 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; 427 return current;
428 public final String entryRuleQualifiedName() throws RecognitionException { 428 }
429 String current = null; 429 // $ANTLR end "ruleCommand"
430 430
431 AntlrDatatypeRuleToken iv_ruleQualifiedName = null; 431
432 432 // $ANTLR start "entryRuleQualifiedName"
433 433 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
434 try { 434 public final String entryRuleQualifiedName() throws RecognitionException {
435 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) 435 String current = null;
436 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF 436
437 { 437 AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
438 newCompositeNode(grammarAccess.getQualifiedNameRule()); 438
439 pushFollow(FOLLOW_1); 439
440 iv_ruleQualifiedName=ruleQualifiedName(); 440 try {
441 441 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
442 state._fsp--; 442 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF
443 443 {
444 current =iv_ruleQualifiedName.getText(); 444 newCompositeNode(grammarAccess.getQualifiedNameRule());
445 match(input,EOF,FOLLOW_2); 445 pushFollow(FOLLOW_1);
446 446 iv_ruleQualifiedName=ruleQualifiedName();
447 } 447
448 448 state._fsp--;
449 } 449
450 450 current =iv_ruleQualifiedName.getText();
451 catch (RecognitionException re) { 451 match(input,EOF,FOLLOW_2);
452 recover(input,re); 452
453 appendSkippedTokens(); 453 }
454 } 454
455 finally { 455 }
456 } 456
457 return current; 457 catch (RecognitionException re) {
458 } 458 recover(input,re);
459 // $ANTLR end "entryRuleQualifiedName" 459 appendSkippedTokens();
460 460 }
461 461 finally {
462 // $ANTLR start "ruleQualifiedName" 462 }
463 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; 463 return current;
464 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { 464 }
465 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 465 // $ANTLR end "entryRuleQualifiedName"
466 466
467 Token this_ID_0=null; 467
468 Token kw=null; 468 // $ANTLR start "ruleQualifiedName"
469 Token this_ID_2=null; 469 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
470 470 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
471 471 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
472 enterRule(); 472
473 473 Token this_ID_0=null;
474 try { 474 Token kw=null;
475 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) 475 Token this_ID_2=null;
476 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 476
477 { 477
478 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) 478 enterRule();
479 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* 479
480 { 480 try {
481 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); 481 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
482 482 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
483 current.merge(this_ID_0); 483 {
484 484 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
485 485 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
486 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); 486 {
487 487 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5);
488 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* 488
489 loop4: 489 current.merge(this_ID_0);
490 do { 490
491 int alt4=2; 491
492 int LA4_0 = input.LA(1); 492 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
493 493
494 if ( (LA4_0==11) ) { 494 // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )*
495 alt4=1; 495 loop4:
496 } 496 do {
497 497 int alt4=2;
498 498 int LA4_0 = input.LA(1);
499 switch (alt4) { 499
500 case 1 : 500 if ( (LA4_0==11) ) {
501 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID 501 alt4=1;
502 { 502 }
503 kw=(Token)match(input,11,FOLLOW_6); 503
504 504
505 current.merge(kw); 505 switch (alt4) {
506 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); 506 case 1 :
507 507 // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID
508 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); 508 {
509 509 kw=(Token)match(input,11,FOLLOW_6);
510 current.merge(this_ID_2); 510
511 511 current.merge(kw);
512 512 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
513 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); 513
514 514 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5);
515 515
516 } 516 current.merge(this_ID_2);
517 break; 517
518 518
519 default : 519 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
520 break loop4; 520
521 } 521
522 } while (true); 522 }
523 523 break;
524 524
525 } 525 default :
526 526 break loop4;
527 527 }
528 } 528 } while (true);
529 529
530 530
531 leaveRule(); 531 }
532 532
533 } 533
534 534 }
535 catch (RecognitionException re) { 535
536 recover(input,re); 536
537 appendSkippedTokens(); 537 leaveRule();
538 } 538
539 finally { 539 }
540 } 540
541 return current; 541 catch (RecognitionException re) {
542 } 542 recover(input,re);
543 // $ANTLR end "ruleQualifiedName" 543 appendSkippedTokens();
544 544 }
545 545 finally {
546 // $ANTLR start "entryRuleREALLiteral" 546 }
547 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ; 547 return current;
548 public final String entryRuleREALLiteral() throws RecognitionException { 548 }
549 String current = null; 549 // $ANTLR end "ruleQualifiedName"
550 550
551 AntlrDatatypeRuleToken iv_ruleREALLiteral = null; 551
552 552 // $ANTLR start "entryRuleREALLiteral"
553 553 // InternalApplicationConfiguration.g:198:1: entryRuleREALLiteral returns [String current=null] : iv_ruleREALLiteral= ruleREALLiteral EOF ;
554 try { 554 public final String entryRuleREALLiteral() throws RecognitionException {
555 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF ) 555 String current = null;
556 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF 556
557 { 557 AntlrDatatypeRuleToken iv_ruleREALLiteral = null;
558 newCompositeNode(grammarAccess.getREALLiteralRule()); 558
559 pushFollow(FOLLOW_1); 559
560 iv_ruleREALLiteral=ruleREALLiteral(); 560 try {
561 561 // InternalApplicationConfiguration.g:198:51: (iv_ruleREALLiteral= ruleREALLiteral EOF )
562 state._fsp--; 562 // InternalApplicationConfiguration.g:199:2: iv_ruleREALLiteral= ruleREALLiteral EOF
563 563 {
564 current =iv_ruleREALLiteral.getText(); 564 newCompositeNode(grammarAccess.getREALLiteralRule());
565 match(input,EOF,FOLLOW_2); 565 pushFollow(FOLLOW_1);
566 566 iv_ruleREALLiteral=ruleREALLiteral();
567 } 567
568 568 state._fsp--;
569 } 569
570 570 current =iv_ruleREALLiteral.getText();
571 catch (RecognitionException re) { 571 match(input,EOF,FOLLOW_2);
572 recover(input,re); 572
573 appendSkippedTokens(); 573 }
574 } 574
575 finally { 575 }
576 } 576
577 return current; 577 catch (RecognitionException re) {
578 } 578 recover(input,re);
579 // $ANTLR end "entryRuleREALLiteral" 579 appendSkippedTokens();
580 580 }
581 581 finally {
582 // $ANTLR start "ruleREALLiteral" 582 }
583 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ; 583 return current;
584 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException { 584 }
585 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 585 // $ANTLR end "entryRuleREALLiteral"
586 586
587 Token kw=null; 587
588 Token this_INT_1=null; 588 // $ANTLR start "ruleREALLiteral"
589 Token this_INT_3=null; 589 // InternalApplicationConfiguration.g:205:1: ruleREALLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ;
590 590 public final AntlrDatatypeRuleToken ruleREALLiteral() throws RecognitionException {
591 591 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
592 enterRule(); 592
593 593 Token kw=null;
594 try { 594 Token this_INT_1=null;
595 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) ) 595 Token this_INT_3=null;
596 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 596
597 { 597
598 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) 598 enterRule();
599 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT 599
600 { 600 try {
601 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? 601 // InternalApplicationConfiguration.g:211:2: ( ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT ) )
602 int alt5=2; 602 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
603 int LA5_0 = input.LA(1); 603 {
604 604 // InternalApplicationConfiguration.g:212:2: ( (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT )
605 if ( (LA5_0==12) ) { 605 // InternalApplicationConfiguration.g:213:3: (kw= '-' )? this_INT_1= RULE_INT kw= '.' this_INT_3= RULE_INT
606 alt5=1; 606 {
607 } 607 // InternalApplicationConfiguration.g:213:3: (kw= '-' )?
608 switch (alt5) { 608 int alt5=2;
609 case 1 : 609 int LA5_0 = input.LA(1);
610 // InternalApplicationConfiguration.g:214:4: kw= '-' 610
611 { 611 if ( (LA5_0==12) ) {
612 kw=(Token)match(input,12,FOLLOW_7); 612 alt5=1;
613 613 }
614 current.merge(kw); 614 switch (alt5) {
615 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0()); 615 case 1 :
616 616 // InternalApplicationConfiguration.g:214:4: kw= '-'
617 617 {
618 } 618 kw=(Token)match(input,12,FOLLOW_7);
619 break; 619
620 620 current.merge(kw);
621 } 621 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getHyphenMinusKeyword_0());
622 622
623 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8); 623
624 624 }
625 current.merge(this_INT_1); 625 break;
626 626
627 627 }
628 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1()); 628
629 629 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_8);
630 kw=(Token)match(input,11,FOLLOW_7); 630
631 631 current.merge(this_INT_1);
632 current.merge(kw); 632
633 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2()); 633
634 634 newLeafNode(this_INT_1, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_1());
635 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); 635
636 636 kw=(Token)match(input,11,FOLLOW_7);
637 current.merge(this_INT_3); 637
638 638 current.merge(kw);
639 639 newLeafNode(kw, grammarAccess.getREALLiteralAccess().getFullStopKeyword_2());
640 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3()); 640
641 641 this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2);
642 642
643 } 643 current.merge(this_INT_3);
644 644
645 645
646 } 646 newLeafNode(this_INT_3, grammarAccess.getREALLiteralAccess().getINTTerminalRuleCall_3());
647 647
648 648
649 leaveRule(); 649 }
650 650
651 } 651
652 652 }
653 catch (RecognitionException re) { 653
654 recover(input,re); 654
655 appendSkippedTokens(); 655 leaveRule();
656 } 656
657 finally { 657 }
658 } 658
659 return current; 659 catch (RecognitionException re) {
660 } 660 recover(input,re);
661 // $ANTLR end "ruleREALLiteral" 661 appendSkippedTokens();
662 662 }
663 663 finally {
664 // $ANTLR start "entryRuleINTLiteral" 664 }
665 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ; 665 return current;
666 public final String entryRuleINTLiteral() throws RecognitionException { 666 }
667 String current = null; 667 // $ANTLR end "ruleREALLiteral"
668 668
669 AntlrDatatypeRuleToken iv_ruleINTLiteral = null; 669
670 670 // $ANTLR start "entryRuleINTLiteral"
671 671 // InternalApplicationConfiguration.g:243:1: entryRuleINTLiteral returns [String current=null] : iv_ruleINTLiteral= ruleINTLiteral EOF ;
672 try { 672 public final String entryRuleINTLiteral() throws RecognitionException {
673 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF ) 673 String current = null;
674 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF 674
675 { 675 AntlrDatatypeRuleToken iv_ruleINTLiteral = null;
676 newCompositeNode(grammarAccess.getINTLiteralRule()); 676
677 pushFollow(FOLLOW_1); 677
678 iv_ruleINTLiteral=ruleINTLiteral(); 678 try {
679 679 // InternalApplicationConfiguration.g:243:50: (iv_ruleINTLiteral= ruleINTLiteral EOF )
680 state._fsp--; 680 // InternalApplicationConfiguration.g:244:2: iv_ruleINTLiteral= ruleINTLiteral EOF
681 681 {
682 current =iv_ruleINTLiteral.getText(); 682 newCompositeNode(grammarAccess.getINTLiteralRule());
683 match(input,EOF,FOLLOW_2); 683 pushFollow(FOLLOW_1);
684 684 iv_ruleINTLiteral=ruleINTLiteral();
685 } 685
686 686 state._fsp--;
687 } 687
688 688 current =iv_ruleINTLiteral.getText();
689 catch (RecognitionException re) { 689 match(input,EOF,FOLLOW_2);
690 recover(input,re); 690
691 appendSkippedTokens(); 691 }
692 } 692
693 finally { 693 }
694 } 694
695 return current; 695 catch (RecognitionException re) {
696 } 696 recover(input,re);
697 // $ANTLR end "entryRuleINTLiteral" 697 appendSkippedTokens();
698 698 }
699 699 finally {
700 // $ANTLR start "ruleINTLiteral" 700 }
701 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; 701 return current;
702 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException { 702 }
703 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); 703 // $ANTLR end "entryRuleINTLiteral"
704 704
705 Token kw=null; 705
706 Token this_INT_1=null; 706 // $ANTLR start "ruleINTLiteral"
707 707 // InternalApplicationConfiguration.g:250:1: ruleINTLiteral returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ;
708 708 public final AntlrDatatypeRuleToken ruleINTLiteral() throws RecognitionException {
709 enterRule(); 709 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
710 710
711 try { 711 Token kw=null;
712 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) 712 Token this_INT_1=null;
713 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 713
714 { 714
715 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT ) 715 enterRule();
716 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT 716
717 { 717 try {
718 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? 718 // InternalApplicationConfiguration.g:256:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
719 int alt6=2; 719 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
720 int LA6_0 = input.LA(1); 720 {
721 721 // InternalApplicationConfiguration.g:257:2: ( (kw= '-' )? this_INT_1= RULE_INT )
722 if ( (LA6_0==12) ) { 722 // InternalApplicationConfiguration.g:258:3: (kw= '-' )? this_INT_1= RULE_INT
723 alt6=1; 723 {
724 } 724 // InternalApplicationConfiguration.g:258:3: (kw= '-' )?
725 switch (alt6) { 725 int alt6=2;
726 case 1 : 726 int LA6_0 = input.LA(1);
727 // InternalApplicationConfiguration.g:259:4: kw= '-' 727
728 { 728 if ( (LA6_0==12) ) {
729 kw=(Token)match(input,12,FOLLOW_7); 729 alt6=1;
730 730 }
731 current.merge(kw); 731 switch (alt6) {
732 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0()); 732 case 1 :
733 733 // InternalApplicationConfiguration.g:259:4: kw= '-'
734 734 {
735 } 735 kw=(Token)match(input,12,FOLLOW_7);
736 break; 736
737 737 current.merge(kw);
738 } 738 newLeafNode(kw, grammarAccess.getINTLiteralAccess().getHyphenMinusKeyword_0());
739 739
740 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); 740
741 741 }
742 current.merge(this_INT_1); 742 break;
743 743
744 744 }
745 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1()); 745
746 746 this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2);
747 747
748 } 748 current.merge(this_INT_1);
749 749
750 750
751 } 751 newLeafNode(this_INT_1, grammarAccess.getINTLiteralAccess().getINTTerminalRuleCall_1());
752 752
753 753
754 leaveRule(); 754 }
755 755
756 } 756
757 757 }
758 catch (RecognitionException re) { 758
759 recover(input,re); 759
760 appendSkippedTokens(); 760 leaveRule();
761 } 761
762 finally { 762 }
763 } 763
764 return current; 764 catch (RecognitionException re) {
765 } 765 recover(input,re);
766 // $ANTLR end "ruleINTLiteral" 766 appendSkippedTokens();
767 767 }
768 768 finally {
769 // $ANTLR start "entryRuleImport" 769 }
770 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; 770 return current;
771 public final EObject entryRuleImport() throws RecognitionException { 771 }
772 EObject current = null; 772 // $ANTLR end "ruleINTLiteral"
773 773
774 EObject iv_ruleImport = null; 774
775 775 // $ANTLR start "entryRuleImport"
776 776 // InternalApplicationConfiguration.g:276:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
777 try { 777 public final EObject entryRuleImport() throws RecognitionException {
778 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF ) 778 EObject current = null;
779 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF 779
780 { 780 EObject iv_ruleImport = null;
781 newCompositeNode(grammarAccess.getImportRule()); 781
782 pushFollow(FOLLOW_1); 782
783 iv_ruleImport=ruleImport(); 783 try {
784 784 // InternalApplicationConfiguration.g:276:47: (iv_ruleImport= ruleImport EOF )
785 state._fsp--; 785 // InternalApplicationConfiguration.g:277:2: iv_ruleImport= ruleImport EOF
786 786 {
787 current =iv_ruleImport; 787 newCompositeNode(grammarAccess.getImportRule());
788 match(input,EOF,FOLLOW_2); 788 pushFollow(FOLLOW_1);
789 789 iv_ruleImport=ruleImport();
790 } 790
791 791 state._fsp--;
792 } 792
793 793 current =iv_ruleImport;
794 catch (RecognitionException re) { 794 match(input,EOF,FOLLOW_2);
795 recover(input,re); 795
796 appendSkippedTokens(); 796 }
797 } 797
798 finally { 798 }
799 } 799
800 return current; 800 catch (RecognitionException re) {
801 } 801 recover(input,re);
802 // $ANTLR end "entryRuleImport" 802 appendSkippedTokens();
803 803 }
804 804 finally {
805 // $ANTLR start "ruleImport" 805 }
806 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; 806 return current;
807 public final EObject ruleImport() throws RecognitionException { 807 }
808 EObject current = null; 808 // $ANTLR end "entryRuleImport"
809 809
810 EObject this_EPackageImport_0 = null; 810
811 811 // $ANTLR start "ruleImport"
812 EObject this_ViatraImport_1 = null; 812 // InternalApplicationConfiguration.g:283:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) ;
813 813 public final EObject ruleImport() throws RecognitionException {
814 814 EObject current = null;
815 815
816 enterRule(); 816 EObject this_EPackageImport_0 = null;
817 817
818 try { 818 EObject this_ViatraImport_1 = null;
819 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) 819
820 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 820 EObject this_CftImport_2 = null;
821 { 821
822 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 822
823 int alt7=2; 823
824 int LA7_0 = input.LA(1); 824 enterRule();
825 825
826 if ( (LA7_0==13) ) { 826 try {
827 int LA7_1 = input.LA(2); 827 // InternalApplicationConfiguration.g:289:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport ) )
828 828 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport )
829 if ( (LA7_1==14) ) { 829 {
830 alt7=1; 830 // InternalApplicationConfiguration.g:290:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport | this_CftImport_2= ruleCftImport )
831 } 831 int alt7=3;
832 else if ( (LA7_1==15) ) { 832 int LA7_0 = input.LA(1);
833 alt7=2; 833
834 } 834 if ( (LA7_0==13) ) {
835 else { 835 switch ( input.LA(2) ) {
836 NoViableAltException nvae = 836 case 14:
837 new NoViableAltException("", 7, 1, input); 837 {
838 838 alt7=1;
839 throw nvae; 839 }
840 } 840 break;
841 } 841 case 15:
842 else { 842 {
843 NoViableAltException nvae = 843 alt7=2;
844 new NoViableAltException("", 7, 0, input); 844 }
845 845 break;
846 throw nvae; 846 case 16:
847 } 847 {
848 switch (alt7) { 848 alt7=3;
849 case 1 : 849 }
850 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport 850 break;
851 { 851 default:
852 852 NoViableAltException nvae =
853 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 853 new NoViableAltException("", 7, 1, input);
854 854
855 pushFollow(FOLLOW_2); 855 throw nvae;
856 this_EPackageImport_0=ruleEPackageImport(); 856 }
857 857
858 state._fsp--; 858 }
859 859 else {
860 860 NoViableAltException nvae =
861 current = this_EPackageImport_0; 861 new NoViableAltException("", 7, 0, input);
862 afterParserOrEnumRuleCall(); 862
863 863 throw nvae;
864 864 }
865 } 865 switch (alt7) {
866 break; 866 case 1 :
867 case 2 : 867 // InternalApplicationConfiguration.g:291:3: this_EPackageImport_0= ruleEPackageImport
868 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport 868 {
869 { 869
870 870 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
871 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 871
872 872 pushFollow(FOLLOW_2);
873 pushFollow(FOLLOW_2); 873 this_EPackageImport_0=ruleEPackageImport();
874 this_ViatraImport_1=ruleViatraImport(); 874
875 875 state._fsp--;
876 state._fsp--; 876
877 877
878 878 current = this_EPackageImport_0;
879 current = this_ViatraImport_1; 879 afterParserOrEnumRuleCall();
880 afterParserOrEnumRuleCall(); 880
881 881
882 882 }
883 } 883 break;
884 break; 884 case 2 :
885 885 // InternalApplicationConfiguration.g:300:3: this_ViatraImport_1= ruleViatraImport
886 } 886 {
887 887
888 888 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
889 } 889
890 890 pushFollow(FOLLOW_2);
891 891 this_ViatraImport_1=ruleViatraImport();
892 leaveRule(); 892
893 893 state._fsp--;
894 } 894
895 895
896 catch (RecognitionException re) { 896 current = this_ViatraImport_1;
897 recover(input,re); 897 afterParserOrEnumRuleCall();
898 appendSkippedTokens(); 898
899 } 899
900 finally { 900 }
901 } 901 break;
902 return current; 902 case 3 :
903 } 903 // InternalApplicationConfiguration.g:309:3: this_CftImport_2= ruleCftImport
904 // $ANTLR end "ruleImport" 904 {
905 905
906 906 newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2());
907 // $ANTLR start "entryRuleEPackageImport" 907
908 // InternalApplicationConfiguration.g:312:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; 908 pushFollow(FOLLOW_2);
909 public final EObject entryRuleEPackageImport() throws RecognitionException { 909 this_CftImport_2=ruleCftImport();
910 EObject current = null; 910
911 911 state._fsp--;
912 EObject iv_ruleEPackageImport = null; 912
913 913
914 914 current = this_CftImport_2;
915 try { 915 afterParserOrEnumRuleCall();
916 // InternalApplicationConfiguration.g:312:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) 916
917 // InternalApplicationConfiguration.g:313:2: iv_ruleEPackageImport= ruleEPackageImport EOF 917
918 { 918 }
919 newCompositeNode(grammarAccess.getEPackageImportRule()); 919 break;
920 pushFollow(FOLLOW_1); 920
921 iv_ruleEPackageImport=ruleEPackageImport(); 921 }
922 922
923 state._fsp--; 923
924 924 }
925 current =iv_ruleEPackageImport; 925
926 match(input,EOF,FOLLOW_2); 926
927 927 leaveRule();
928 } 928
929 929 }
930 } 930
931 931 catch (RecognitionException re) {
932 catch (RecognitionException re) { 932 recover(input,re);
933 recover(input,re); 933 appendSkippedTokens();
934 appendSkippedTokens(); 934 }
935 } 935 finally {
936 finally { 936 }
937 } 937 return current;
938 return current; 938 }
939 } 939 // $ANTLR end "ruleImport"
940 // $ANTLR end "entryRuleEPackageImport" 940
941 941
942 942 // $ANTLR start "entryRuleEPackageImport"
943 // $ANTLR start "ruleEPackageImport" 943 // InternalApplicationConfiguration.g:321:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ;
944 // InternalApplicationConfiguration.g:319:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; 944 public final EObject entryRuleEPackageImport() throws RecognitionException {
945 public final EObject ruleEPackageImport() throws RecognitionException { 945 EObject current = null;
946 EObject current = null; 946
947 947 EObject iv_ruleEPackageImport = null;
948 Token otherlv_0=null; 948
949 Token otherlv_1=null; 949
950 Token otherlv_2=null; 950 try {
951 951 // InternalApplicationConfiguration.g:321:55: (iv_ruleEPackageImport= ruleEPackageImport EOF )
952 952 // InternalApplicationConfiguration.g:322:2: iv_ruleEPackageImport= ruleEPackageImport EOF
953 enterRule(); 953 {
954 954 newCompositeNode(grammarAccess.getEPackageImportRule());
955 try { 955 pushFollow(FOLLOW_1);
956 // InternalApplicationConfiguration.g:325:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) 956 iv_ruleEPackageImport=ruleEPackageImport();
957 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 957
958 { 958 state._fsp--;
959 // InternalApplicationConfiguration.g:326:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 959
960 // InternalApplicationConfiguration.g:327:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) 960 current =iv_ruleEPackageImport;
961 { 961 match(input,EOF,FOLLOW_2);
962 otherlv_0=(Token)match(input,13,FOLLOW_9); 962
963 963 }
964 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 964
965 965 }
966 otherlv_1=(Token)match(input,14,FOLLOW_10); 966
967 967 catch (RecognitionException re) {
968 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 968 recover(input,re);
969 969 appendSkippedTokens();
970 // InternalApplicationConfiguration.g:335:3: ( (otherlv_2= RULE_STRING ) ) 970 }
971 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 971 finally {
972 { 972 }
973 // InternalApplicationConfiguration.g:336:4: (otherlv_2= RULE_STRING ) 973 return current;
974 // InternalApplicationConfiguration.g:337:5: otherlv_2= RULE_STRING 974 }
975 { 975 // $ANTLR end "entryRuleEPackageImport"
976 976
977 if (current==null) { 977
978 current = createModelElement(grammarAccess.getEPackageImportRule()); 978 // $ANTLR start "ruleEPackageImport"
979 } 979 // InternalApplicationConfiguration.g:328:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ;
980 980 public final EObject ruleEPackageImport() throws RecognitionException {
981 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 981 EObject current = null;
982 982
983 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 983 Token otherlv_0=null;
984 984 Token otherlv_1=null;
985 985 Token otherlv_2=null;
986 } 986
987 987
988 988 enterRule();
989 } 989
990 990 try {
991 991 // InternalApplicationConfiguration.g:334:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) )
992 } 992 // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
993 993 {
994 994 // InternalApplicationConfiguration.g:335:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
995 } 995 // InternalApplicationConfiguration.g:336:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) )
996 996 {
997 997 otherlv_0=(Token)match(input,13,FOLLOW_9);
998 leaveRule(); 998
999 999 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
1000 } 1000
1001 1001 otherlv_1=(Token)match(input,14,FOLLOW_10);
1002 catch (RecognitionException re) { 1002
1003 recover(input,re); 1003 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
1004 appendSkippedTokens(); 1004
1005 } 1005 // InternalApplicationConfiguration.g:344:3: ( (otherlv_2= RULE_STRING ) )
1006 finally { 1006 // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING )
1007 } 1007 {
1008 return current; 1008 // InternalApplicationConfiguration.g:345:4: (otherlv_2= RULE_STRING )
1009 } 1009 // InternalApplicationConfiguration.g:346:5: otherlv_2= RULE_STRING
1010 // $ANTLR end "ruleEPackageImport" 1010 {
1011 1011
1012 1012 if (current==null) {
1013 // $ANTLR start "entryRuleViatraImport" 1013 current = createModelElement(grammarAccess.getEPackageImportRule());
1014 // InternalApplicationConfiguration.g:352:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; 1014 }
1015 public final EObject entryRuleViatraImport() throws RecognitionException { 1015
1016 EObject current = null; 1016 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1017 1017
1018 EObject iv_ruleViatraImport = null; 1018 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
1019 1019
1020 1020
1021 try { 1021 }
1022 // InternalApplicationConfiguration.g:352:53: (iv_ruleViatraImport= ruleViatraImport EOF ) 1022
1023 // InternalApplicationConfiguration.g:353:2: iv_ruleViatraImport= ruleViatraImport EOF 1023
1024 { 1024 }
1025 newCompositeNode(grammarAccess.getViatraImportRule()); 1025
1026 pushFollow(FOLLOW_1); 1026
1027 iv_ruleViatraImport=ruleViatraImport(); 1027 }
1028 1028
1029 state._fsp--; 1029
1030 1030 }
1031 current =iv_ruleViatraImport; 1031
1032 match(input,EOF,FOLLOW_2); 1032
1033 1033 leaveRule();
1034 } 1034
1035 1035 }
1036 } 1036
1037 1037 catch (RecognitionException re) {
1038 catch (RecognitionException re) { 1038 recover(input,re);
1039 recover(input,re); 1039 appendSkippedTokens();
1040 appendSkippedTokens(); 1040 }
1041 } 1041 finally {
1042 finally { 1042 }
1043 } 1043 return current;
1044 return current; 1044 }
1045 } 1045 // $ANTLR end "ruleEPackageImport"
1046 // $ANTLR end "entryRuleViatraImport" 1046
1047 1047
1048 1048 // $ANTLR start "entryRuleViatraImport"
1049 // $ANTLR start "ruleViatraImport" 1049 // InternalApplicationConfiguration.g:361:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ;
1050 // InternalApplicationConfiguration.g:359:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; 1050 public final EObject entryRuleViatraImport() throws RecognitionException {
1051 public final EObject ruleViatraImport() throws RecognitionException { 1051 EObject current = null;
1052 EObject current = null; 1052
1053 1053 EObject iv_ruleViatraImport = null;
1054 Token otherlv_0=null; 1054
1055 Token otherlv_1=null; 1055
1056 Token otherlv_2=null; 1056 try {
1057 1057 // InternalApplicationConfiguration.g:361:53: (iv_ruleViatraImport= ruleViatraImport EOF )
1058 1058 // InternalApplicationConfiguration.g:362:2: iv_ruleViatraImport= ruleViatraImport EOF
1059 enterRule(); 1059 {
1060 1060 newCompositeNode(grammarAccess.getViatraImportRule());
1061 try { 1061 pushFollow(FOLLOW_1);
1062 // InternalApplicationConfiguration.g:365:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) 1062 iv_ruleViatraImport=ruleViatraImport();
1063 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1063
1064 { 1064 state._fsp--;
1065 // InternalApplicationConfiguration.g:366:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 1065
1066 // InternalApplicationConfiguration.g:367:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) 1066 current =iv_ruleViatraImport;
1067 { 1067 match(input,EOF,FOLLOW_2);
1068 otherlv_0=(Token)match(input,13,FOLLOW_11); 1068
1069 1069 }
1070 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 1070
1071 1071 }
1072 otherlv_1=(Token)match(input,15,FOLLOW_10); 1072
1073 1073 catch (RecognitionException re) {
1074 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 1074 recover(input,re);
1075 1075 appendSkippedTokens();
1076 // InternalApplicationConfiguration.g:375:3: ( (otherlv_2= RULE_STRING ) ) 1076 }
1077 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1077 finally {
1078 { 1078 }
1079 // InternalApplicationConfiguration.g:376:4: (otherlv_2= RULE_STRING ) 1079 return current;
1080 // InternalApplicationConfiguration.g:377:5: otherlv_2= RULE_STRING 1080 }
1081 { 1081 // $ANTLR end "entryRuleViatraImport"
1082 1082
1083 if (current==null) { 1083
1084 current = createModelElement(grammarAccess.getViatraImportRule()); 1084 // $ANTLR start "ruleViatraImport"
1085 } 1085 // InternalApplicationConfiguration.g:368:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ;
1086 1086 public final EObject ruleViatraImport() throws RecognitionException {
1087 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 1087 EObject current = null;
1088 1088
1089 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 1089 Token otherlv_0=null;
1090 1090 Token otherlv_1=null;
1091 1091 Token otherlv_2=null;
1092 } 1092
1093 1093
1094 1094 enterRule();
1095 } 1095
1096 1096 try {
1097 1097 // InternalApplicationConfiguration.g:374:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) )
1098 } 1098 // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1099 1099 {
1100 1100 // InternalApplicationConfiguration.g:375:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
1101 } 1101 // InternalApplicationConfiguration.g:376:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) )
1102 1102 {
1103 1103 otherlv_0=(Token)match(input,13,FOLLOW_11);
1104 leaveRule(); 1104
1105 1105 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
1106 } 1106
1107 1107 otherlv_1=(Token)match(input,15,FOLLOW_10);
1108 catch (RecognitionException re) { 1108
1109 recover(input,re); 1109 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
1110 appendSkippedTokens(); 1110
1111 } 1111 // InternalApplicationConfiguration.g:384:3: ( (otherlv_2= RULE_STRING ) )
1112 finally { 1112 // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING )
1113 } 1113 {
1114 return current; 1114 // InternalApplicationConfiguration.g:385:4: (otherlv_2= RULE_STRING )
1115 } 1115 // InternalApplicationConfiguration.g:386:5: otherlv_2= RULE_STRING
1116 // $ANTLR end "ruleViatraImport" 1116 {
1117 1117
1118 1118 if (current==null) {
1119 // $ANTLR start "entryRuleDeclaration" 1119 current = createModelElement(grammarAccess.getViatraImportRule());
1120 // InternalApplicationConfiguration.g:392:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; 1120 }
1121 public final EObject entryRuleDeclaration() throws RecognitionException { 1121
1122 EObject current = null; 1122 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1123 1123
1124 EObject iv_ruleDeclaration = null; 1124 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
1125 1125
1126 1126
1127 try { 1127 }
1128 // InternalApplicationConfiguration.g:392:52: (iv_ruleDeclaration= ruleDeclaration EOF ) 1128
1129 // InternalApplicationConfiguration.g:393:2: iv_ruleDeclaration= ruleDeclaration EOF 1129
1130 { 1130 }
1131 newCompositeNode(grammarAccess.getDeclarationRule()); 1131
1132 pushFollow(FOLLOW_1); 1132
1133 iv_ruleDeclaration=ruleDeclaration(); 1133 }
1134 1134
1135 state._fsp--; 1135
1136 1136 }
1137 current =iv_ruleDeclaration; 1137
1138 match(input,EOF,FOLLOW_2); 1138
1139 1139 leaveRule();
1140 } 1140
1141 1141 }
1142 } 1142
1143 1143 catch (RecognitionException re) {
1144 catch (RecognitionException re) { 1144 recover(input,re);
1145 recover(input,re); 1145 appendSkippedTokens();
1146 appendSkippedTokens(); 1146 }
1147 } 1147 finally {
1148 finally { 1148 }
1149 } 1149 return current;
1150 return current; 1150 }
1151 } 1151 // $ANTLR end "ruleViatraImport"
1152 // $ANTLR end "entryRuleDeclaration" 1152
1153 1153
1154 1154 // $ANTLR start "entryRuleCftImport"
1155 // $ANTLR start "ruleDeclaration" 1155 // InternalApplicationConfiguration.g:401:1: entryRuleCftImport returns [EObject current=null] : iv_ruleCftImport= ruleCftImport EOF ;
1156 // InternalApplicationConfiguration.g:399:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; 1156 public final EObject entryRuleCftImport() throws RecognitionException {
1157 public final EObject ruleDeclaration() throws RecognitionException { 1157 EObject current = null;
1158 EObject current = null; 1158
1159 1159 EObject iv_ruleCftImport = null;
1160 EObject this_FileDeclaration_0 = null; 1160
1161 1161
1162 EObject this_MetamodelDeclaration_1 = null; 1162 try {
1163 1163 // InternalApplicationConfiguration.g:401:50: (iv_ruleCftImport= ruleCftImport EOF )
1164 EObject this_PartialModelDeclaration_2 = null; 1164 // InternalApplicationConfiguration.g:402:2: iv_ruleCftImport= ruleCftImport EOF
1165 1165 {
1166 EObject this_GraphPatternDeclaration_3 = null; 1166 newCompositeNode(grammarAccess.getCftImportRule());
1167 1167 pushFollow(FOLLOW_1);
1168 EObject this_ConfigDeclaration_4 = null; 1168 iv_ruleCftImport=ruleCftImport();
1169 1169
1170 EObject this_ScopeDeclaration_5 = null; 1170 state._fsp--;
1171 1171
1172 1172 current =iv_ruleCftImport;
1173 1173 match(input,EOF,FOLLOW_2);
1174 enterRule(); 1174
1175 1175 }
1176 try { 1176
1177 // InternalApplicationConfiguration.g:405:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) 1177 }
1178 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1178
1179 { 1179 catch (RecognitionException re) {
1180 // InternalApplicationConfiguration.g:406:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) 1180 recover(input,re);
1181 int alt8=6; 1181 appendSkippedTokens();
1182 switch ( input.LA(1) ) { 1182 }
1183 case 16: 1183 finally {
1184 { 1184 }
1185 alt8=1; 1185 return current;
1186 } 1186 }
1187 break; 1187 // $ANTLR end "entryRuleCftImport"
1188 case 24: 1188
1189 { 1189
1190 alt8=2; 1190 // $ANTLR start "ruleCftImport"
1191 } 1191 // InternalApplicationConfiguration.g:408:1: ruleCftImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) ;
1192 break; 1192 public final EObject ruleCftImport() throws RecognitionException {
1193 case 26: 1193 EObject current = null;
1194 { 1194
1195 alt8=3; 1195 Token otherlv_0=null;
1196 } 1196 Token otherlv_1=null;
1197 break; 1197 Token otherlv_2=null;
1198 case 27: 1198
1199 { 1199
1200 alt8=4; 1200 enterRule();
1201 } 1201
1202 break; 1202 try {
1203 case 28: 1203 // InternalApplicationConfiguration.g:414:2: ( (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) ) )
1204 { 1204 // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) )
1205 alt8=5; 1205 {
1206 } 1206 // InternalApplicationConfiguration.g:415:2: (otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) ) )
1207 break; 1207 // InternalApplicationConfiguration.g:416:3: otherlv_0= 'import' otherlv_1= 'reliability' ( (otherlv_2= RULE_STRING ) )
1208 case 42: 1208 {
1209 { 1209 otherlv_0=(Token)match(input,13,FOLLOW_12);
1210 alt8=6; 1210
1211 } 1211 newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0());
1212 break; 1212
1213 default: 1213 otherlv_1=(Token)match(input,16,FOLLOW_10);
1214 NoViableAltException nvae = 1214
1215 new NoViableAltException("", 8, 0, input); 1215 newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1());
1216 1216
1217 throw nvae; 1217 // InternalApplicationConfiguration.g:424:3: ( (otherlv_2= RULE_STRING ) )
1218 } 1218 // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING )
1219 1219 {
1220 switch (alt8) { 1220 // InternalApplicationConfiguration.g:425:4: (otherlv_2= RULE_STRING )
1221 case 1 : 1221 // InternalApplicationConfiguration.g:426:5: otherlv_2= RULE_STRING
1222 // InternalApplicationConfiguration.g:407:3: this_FileDeclaration_0= ruleFileDeclaration 1222 {
1223 { 1223
1224 1224 if (current==null) {
1225 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); 1225 current = createModelElement(grammarAccess.getCftImportRule());
1226 1226 }
1227 pushFollow(FOLLOW_2); 1227
1228 this_FileDeclaration_0=ruleFileDeclaration(); 1228 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2);
1229 1229
1230 state._fsp--; 1230 newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0());
1231 1231
1232 1232
1233 current = this_FileDeclaration_0; 1233 }
1234 afterParserOrEnumRuleCall(); 1234
1235 1235
1236 1236 }
1237 } 1237
1238 break; 1238
1239 case 2 : 1239 }
1240 // InternalApplicationConfiguration.g:416:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration 1240
1241 { 1241
1242 1242 }
1243 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); 1243
1244 1244
1245 pushFollow(FOLLOW_2); 1245 leaveRule();
1246 this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); 1246
1247 1247 }
1248 state._fsp--; 1248
1249 1249 catch (RecognitionException re) {
1250 1250 recover(input,re);
1251 current = this_MetamodelDeclaration_1; 1251 appendSkippedTokens();
1252 afterParserOrEnumRuleCall(); 1252 }
1253 1253 finally {
1254 1254 }
1255 } 1255 return current;
1256 break; 1256 }
1257 case 3 : 1257 // $ANTLR end "ruleCftImport"
1258 // InternalApplicationConfiguration.g:425:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration 1258
1259 { 1259
1260 1260 // $ANTLR start "entryRuleDeclaration"
1261 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); 1261 // InternalApplicationConfiguration.g:441:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ;
1262 1262 public final EObject entryRuleDeclaration() throws RecognitionException {
1263 pushFollow(FOLLOW_2); 1263 EObject current = null;
1264 this_PartialModelDeclaration_2=rulePartialModelDeclaration(); 1264
1265 1265 EObject iv_ruleDeclaration = null;
1266 state._fsp--; 1266
1267 1267
1268 1268 try {
1269 current = this_PartialModelDeclaration_2; 1269 // InternalApplicationConfiguration.g:441:52: (iv_ruleDeclaration= ruleDeclaration EOF )
1270 afterParserOrEnumRuleCall(); 1270 // InternalApplicationConfiguration.g:442:2: iv_ruleDeclaration= ruleDeclaration EOF
1271 1271 {
1272 1272 newCompositeNode(grammarAccess.getDeclarationRule());
1273 } 1273 pushFollow(FOLLOW_1);
1274 break; 1274 iv_ruleDeclaration=ruleDeclaration();
1275 case 4 : 1275
1276 // InternalApplicationConfiguration.g:434:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration 1276 state._fsp--;
1277 { 1277
1278 1278 current =iv_ruleDeclaration;
1279 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); 1279 match(input,EOF,FOLLOW_2);
1280 1280
1281 pushFollow(FOLLOW_2); 1281 }
1282 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); 1282
1283 1283 }
1284 state._fsp--; 1284
1285 1285 catch (RecognitionException re) {
1286 1286 recover(input,re);
1287 current = this_GraphPatternDeclaration_3; 1287 appendSkippedTokens();
1288 afterParserOrEnumRuleCall(); 1288 }
1289 1289 finally {
1290 1290 }
1291 } 1291 return current;
1292 break; 1292 }
1293 case 5 : 1293 // $ANTLR end "entryRuleDeclaration"
1294 // InternalApplicationConfiguration.g:443:3: this_ConfigDeclaration_4= ruleConfigDeclaration 1294
1295 { 1295
1296 1296 // $ANTLR start "ruleDeclaration"
1297 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); 1297 // InternalApplicationConfiguration.g:448:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) ;
1298 1298 public final EObject ruleDeclaration() throws RecognitionException {
1299 pushFollow(FOLLOW_2); 1299 EObject current = null;
1300 this_ConfigDeclaration_4=ruleConfigDeclaration(); 1300
1301 1301 EObject this_FileDeclaration_0 = null;
1302 state._fsp--; 1302
1303 1303 EObject this_MetamodelDeclaration_1 = null;
1304 1304
1305 current = this_ConfigDeclaration_4; 1305 EObject this_PartialModelDeclaration_2 = null;
1306 afterParserOrEnumRuleCall(); 1306
1307 1307 EObject this_GraphPatternDeclaration_3 = null;
1308 1308
1309 } 1309 EObject this_ConfigDeclaration_4 = null;
1310 break; 1310
1311 case 6 : 1311 EObject this_ScopeDeclaration_5 = null;
1312 // InternalApplicationConfiguration.g:452:3: this_ScopeDeclaration_5= ruleScopeDeclaration 1312
1313 { 1313 EObject this_ObjectiveDeclaration_6 = null;
1314 1314
1315 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); 1315
1316 1316
1317 pushFollow(FOLLOW_2); 1317 enterRule();
1318 this_ScopeDeclaration_5=ruleScopeDeclaration(); 1318
1319 1319 try {
1320 state._fsp--; 1320 // InternalApplicationConfiguration.g:454:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration ) )
1321 1321 // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1322 1322 {
1323 current = this_ScopeDeclaration_5; 1323 // InternalApplicationConfiguration.g:455:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration | this_ObjectiveDeclaration_6= ruleObjectiveDeclaration )
1324 afterParserOrEnumRuleCall(); 1324 int alt8=7;
1325 1325 switch ( input.LA(1) ) {
1326 1326 case 17:
1327 } 1327 {
1328 break; 1328 alt8=1;
1329 1329 }
1330 } 1330 break;
1331 1331 case 25:
1332 1332 {
1333 } 1333 alt8=2;
1334 1334 }
1335 1335 break;
1336 leaveRule(); 1336 case 27:
1337 1337 {
1338 } 1338 alt8=3;
1339 1339 }
1340 catch (RecognitionException re) { 1340 break;
1341 recover(input,re); 1341 case 28:
1342 appendSkippedTokens(); 1342 {
1343 } 1343 alt8=4;
1344 finally { 1344 }
1345 } 1345 break;
1346 return current; 1346 case 30:
1347 } 1347 {
1348 // $ANTLR end "ruleDeclaration" 1348 alt8=5;
1349 1349 }
1350 1350 break;
1351 // $ANTLR start "entryRuleFileSpecification" 1351 case 44:
1352 // InternalApplicationConfiguration.g:464:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; 1352 {
1353 public final EObject entryRuleFileSpecification() throws RecognitionException { 1353 alt8=6;
1354 EObject current = null; 1354 }
1355 1355 break;
1356 EObject iv_ruleFileSpecification = null; 1356 case 29:
1357 1357 {
1358 1358 alt8=7;
1359 try { 1359 }
1360 // InternalApplicationConfiguration.g:464:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) 1360 break;
1361 // InternalApplicationConfiguration.g:465:2: iv_ruleFileSpecification= ruleFileSpecification EOF 1361 default:
1362 { 1362 NoViableAltException nvae =
1363 newCompositeNode(grammarAccess.getFileSpecificationRule()); 1363 new NoViableAltException("", 8, 0, input);
1364 pushFollow(FOLLOW_1); 1364
1365 iv_ruleFileSpecification=ruleFileSpecification(); 1365 throw nvae;
1366 1366 }
1367 state._fsp--; 1367
1368 1368 switch (alt8) {
1369 current =iv_ruleFileSpecification; 1369 case 1 :
1370 match(input,EOF,FOLLOW_2); 1370 // InternalApplicationConfiguration.g:456:3: this_FileDeclaration_0= ruleFileDeclaration
1371 1371 {
1372 } 1372
1373 1373 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
1374 } 1374
1375 1375 pushFollow(FOLLOW_2);
1376 catch (RecognitionException re) { 1376 this_FileDeclaration_0=ruleFileDeclaration();
1377 recover(input,re); 1377
1378 appendSkippedTokens(); 1378 state._fsp--;
1379 } 1379
1380 finally { 1380
1381 } 1381 current = this_FileDeclaration_0;
1382 return current; 1382 afterParserOrEnumRuleCall();
1383 } 1383
1384 // $ANTLR end "entryRuleFileSpecification" 1384
1385 1385 }
1386 1386 break;
1387 // $ANTLR start "ruleFileSpecification" 1387 case 2 :
1388 // InternalApplicationConfiguration.g:471:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; 1388 // InternalApplicationConfiguration.g:465:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration
1389 public final EObject ruleFileSpecification() throws RecognitionException { 1389 {
1390 EObject current = null; 1390
1391 1391 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
1392 Token lv_path_0_0=null; 1392
1393 1393 pushFollow(FOLLOW_2);
1394 1394 this_MetamodelDeclaration_1=ruleMetamodelDeclaration();
1395 enterRule(); 1395
1396 1396 state._fsp--;
1397 try { 1397
1398 // InternalApplicationConfiguration.g:477:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) 1398
1399 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1399 current = this_MetamodelDeclaration_1;
1400 { 1400 afterParserOrEnumRuleCall();
1401 // InternalApplicationConfiguration.g:478:2: ( (lv_path_0_0= RULE_STRING ) ) 1401
1402 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1402
1403 { 1403 }
1404 // InternalApplicationConfiguration.g:479:3: (lv_path_0_0= RULE_STRING ) 1404 break;
1405 // InternalApplicationConfiguration.g:480:4: lv_path_0_0= RULE_STRING 1405 case 3 :
1406 { 1406 // InternalApplicationConfiguration.g:474:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration
1407 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); 1407 {
1408 1408
1409 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); 1409 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
1410 1410
1411 1411 pushFollow(FOLLOW_2);
1412 if (current==null) { 1412 this_PartialModelDeclaration_2=rulePartialModelDeclaration();
1413 current = createModelElement(grammarAccess.getFileSpecificationRule()); 1413
1414 } 1414 state._fsp--;
1415 setWithLastConsumed( 1415
1416 current, 1416
1417 "path", 1417 current = this_PartialModelDeclaration_2;
1418 lv_path_0_0, 1418 afterParserOrEnumRuleCall();
1419 "org.eclipse.xtext.common.Terminals.STRING"); 1419
1420 1420
1421 1421 }
1422 } 1422 break;
1423 1423 case 4 :
1424 1424 // InternalApplicationConfiguration.g:483:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration
1425 } 1425 {
1426 1426
1427 1427 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
1428 } 1428
1429 1429 pushFollow(FOLLOW_2);
1430 1430 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration();
1431 leaveRule(); 1431
1432 1432 state._fsp--;
1433 } 1433
1434 1434
1435 catch (RecognitionException re) { 1435 current = this_GraphPatternDeclaration_3;
1436 recover(input,re); 1436 afterParserOrEnumRuleCall();
1437 appendSkippedTokens(); 1437
1438 } 1438
1439 finally { 1439 }
1440 } 1440 break;
1441 return current; 1441 case 5 :
1442 } 1442 // InternalApplicationConfiguration.g:492:3: this_ConfigDeclaration_4= ruleConfigDeclaration
1443 // $ANTLR end "ruleFileSpecification" 1443 {
1444 1444
1445 1445 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
1446 // $ANTLR start "entryRuleFileDeclaration" 1446
1447 // InternalApplicationConfiguration.g:499:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; 1447 pushFollow(FOLLOW_2);
1448 public final EObject entryRuleFileDeclaration() throws RecognitionException { 1448 this_ConfigDeclaration_4=ruleConfigDeclaration();
1449 EObject current = null; 1449
1450 1450 state._fsp--;
1451 EObject iv_ruleFileDeclaration = null; 1451
1452 1452
1453 1453 current = this_ConfigDeclaration_4;
1454 try { 1454 afterParserOrEnumRuleCall();
1455 // InternalApplicationConfiguration.g:499:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) 1455
1456 // InternalApplicationConfiguration.g:500:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF 1456
1457 { 1457 }
1458 newCompositeNode(grammarAccess.getFileDeclarationRule()); 1458 break;
1459 pushFollow(FOLLOW_1); 1459 case 6 :
1460 iv_ruleFileDeclaration=ruleFileDeclaration(); 1460 // InternalApplicationConfiguration.g:501:3: this_ScopeDeclaration_5= ruleScopeDeclaration
1461 1461 {
1462 state._fsp--; 1462
1463 1463 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
1464 current =iv_ruleFileDeclaration; 1464
1465 match(input,EOF,FOLLOW_2); 1465 pushFollow(FOLLOW_2);
1466 1466 this_ScopeDeclaration_5=ruleScopeDeclaration();
1467 } 1467
1468 1468 state._fsp--;
1469 } 1469
1470 1470
1471 catch (RecognitionException re) { 1471 current = this_ScopeDeclaration_5;
1472 recover(input,re); 1472 afterParserOrEnumRuleCall();
1473 appendSkippedTokens(); 1473
1474 } 1474
1475 finally { 1475 }
1476 } 1476 break;
1477 return current; 1477 case 7 :
1478 } 1478 // InternalApplicationConfiguration.g:510:3: this_ObjectiveDeclaration_6= ruleObjectiveDeclaration
1479 // $ANTLR end "entryRuleFileDeclaration" 1479 {
1480 1480
1481 1481 newCompositeNode(grammarAccess.getDeclarationAccess().getObjectiveDeclarationParserRuleCall_6());
1482 // $ANTLR start "ruleFileDeclaration" 1482
1483 // InternalApplicationConfiguration.g:506:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; 1483 pushFollow(FOLLOW_2);
1484 public final EObject ruleFileDeclaration() throws RecognitionException { 1484 this_ObjectiveDeclaration_6=ruleObjectiveDeclaration();
1485 EObject current = null; 1485
1486 1486 state._fsp--;
1487 Token otherlv_0=null; 1487
1488 Token lv_name_1_0=null; 1488
1489 Token otherlv_2=null; 1489 current = this_ObjectiveDeclaration_6;
1490 EObject lv_specification_3_0 = null; 1490 afterParserOrEnumRuleCall();
1491 1491
1492 1492
1493 1493 }
1494 enterRule(); 1494 break;
1495 1495
1496 try { 1496 }
1497 // InternalApplicationConfiguration.g:512:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) 1497
1498 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1498
1499 { 1499 }
1500 // InternalApplicationConfiguration.g:513:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) 1500
1501 // InternalApplicationConfiguration.g:514:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) 1501
1502 { 1502 leaveRule();
1503 otherlv_0=(Token)match(input,16,FOLLOW_6); 1503
1504 1504 }
1505 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); 1505
1506 1506 catch (RecognitionException re) {
1507 // InternalApplicationConfiguration.g:518:3: ( (lv_name_1_0= RULE_ID ) ) 1507 recover(input,re);
1508 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1508 appendSkippedTokens();
1509 { 1509 }
1510 // InternalApplicationConfiguration.g:519:4: (lv_name_1_0= RULE_ID ) 1510 finally {
1511 // InternalApplicationConfiguration.g:520:5: lv_name_1_0= RULE_ID 1511 }
1512 { 1512 return current;
1513 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); 1513 }
1514 1514 // $ANTLR end "ruleDeclaration"
1515 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 1515
1516 1516
1517 1517 // $ANTLR start "entryRuleFileSpecification"
1518 if (current==null) { 1518 // InternalApplicationConfiguration.g:522:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ;
1519 current = createModelElement(grammarAccess.getFileDeclarationRule()); 1519 public final EObject entryRuleFileSpecification() throws RecognitionException {
1520 } 1520 EObject current = null;
1521 setWithLastConsumed( 1521
1522 current, 1522 EObject iv_ruleFileSpecification = null;
1523 "name", 1523
1524 lv_name_1_0, 1524
1525 "org.eclipse.xtext.common.Terminals.ID"); 1525 try {
1526 1526 // InternalApplicationConfiguration.g:522:58: (iv_ruleFileSpecification= ruleFileSpecification EOF )
1527 1527 // InternalApplicationConfiguration.g:523:2: iv_ruleFileSpecification= ruleFileSpecification EOF
1528 } 1528 {
1529 1529 newCompositeNode(grammarAccess.getFileSpecificationRule());
1530 1530 pushFollow(FOLLOW_1);
1531 } 1531 iv_ruleFileSpecification=ruleFileSpecification();
1532 1532
1533 otherlv_2=(Token)match(input,17,FOLLOW_10); 1533 state._fsp--;
1534 1534
1535 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); 1535 current =iv_ruleFileSpecification;
1536 1536 match(input,EOF,FOLLOW_2);
1537 // InternalApplicationConfiguration.g:540:3: ( (lv_specification_3_0= ruleFileSpecification ) ) 1537
1538 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1538 }
1539 { 1539
1540 // InternalApplicationConfiguration.g:541:4: (lv_specification_3_0= ruleFileSpecification ) 1540 }
1541 // InternalApplicationConfiguration.g:542:5: lv_specification_3_0= ruleFileSpecification 1541
1542 { 1542 catch (RecognitionException re) {
1543 1543 recover(input,re);
1544 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); 1544 appendSkippedTokens();
1545 1545 }
1546 pushFollow(FOLLOW_2); 1546 finally {
1547 lv_specification_3_0=ruleFileSpecification(); 1547 }
1548 1548 return current;
1549 state._fsp--; 1549 }
1550 1550 // $ANTLR end "entryRuleFileSpecification"
1551 1551
1552 if (current==null) { 1552
1553 current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); 1553 // $ANTLR start "ruleFileSpecification"
1554 } 1554 // InternalApplicationConfiguration.g:529:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ;
1555 set( 1555 public final EObject ruleFileSpecification() throws RecognitionException {
1556 current, 1556 EObject current = null;
1557 "specification", 1557
1558 lv_specification_3_0, 1558 Token lv_path_0_0=null;
1559 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 1559
1560 afterParserOrEnumRuleCall(); 1560
1561 1561 enterRule();
1562 1562
1563 } 1563 try {
1564 1564 // InternalApplicationConfiguration.g:535:2: ( ( (lv_path_0_0= RULE_STRING ) ) )
1565 1565 // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) )
1566 } 1566 {
1567 1567 // InternalApplicationConfiguration.g:536:2: ( (lv_path_0_0= RULE_STRING ) )
1568 1568 // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING )
1569 } 1569 {
1570 1570 // InternalApplicationConfiguration.g:537:3: (lv_path_0_0= RULE_STRING )
1571 1571 // InternalApplicationConfiguration.g:538:4: lv_path_0_0= RULE_STRING
1572 } 1572 {
1573 1573 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2);
1574 1574
1575 leaveRule(); 1575 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
1576 1576
1577 } 1577
1578 1578 if (current==null) {
1579 catch (RecognitionException re) { 1579 current = createModelElement(grammarAccess.getFileSpecificationRule());
1580 recover(input,re); 1580 }
1581 appendSkippedTokens(); 1581 setWithLastConsumed(
1582 } 1582 current,
1583 finally { 1583 "path",
1584 } 1584 lv_path_0_0,
1585 return current; 1585 "org.eclipse.xtext.common.Terminals.STRING");
1586 } 1586
1587 // $ANTLR end "ruleFileDeclaration" 1587
1588 1588 }
1589 1589
1590 // $ANTLR start "entryRuleFileReference" 1590
1591 // InternalApplicationConfiguration.g:563:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; 1591 }
1592 public final EObject entryRuleFileReference() throws RecognitionException { 1592
1593 EObject current = null; 1593
1594 1594 }
1595 EObject iv_ruleFileReference = null; 1595
1596 1596
1597 1597 leaveRule();
1598 try { 1598
1599 // InternalApplicationConfiguration.g:563:54: (iv_ruleFileReference= ruleFileReference EOF ) 1599 }
1600 // InternalApplicationConfiguration.g:564:2: iv_ruleFileReference= ruleFileReference EOF 1600
1601 { 1601 catch (RecognitionException re) {
1602 newCompositeNode(grammarAccess.getFileReferenceRule()); 1602 recover(input,re);
1603 pushFollow(FOLLOW_1); 1603 appendSkippedTokens();
1604 iv_ruleFileReference=ruleFileReference(); 1604 }
1605 1605 finally {
1606 state._fsp--; 1606 }
1607 1607 return current;
1608 current =iv_ruleFileReference; 1608 }
1609 match(input,EOF,FOLLOW_2); 1609 // $ANTLR end "ruleFileSpecification"
1610 1610
1611 } 1611
1612 1612 // $ANTLR start "entryRuleFileDeclaration"
1613 } 1613 // InternalApplicationConfiguration.g:557:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ;
1614 1614 public final EObject entryRuleFileDeclaration() throws RecognitionException {
1615 catch (RecognitionException re) { 1615 EObject current = null;
1616 recover(input,re); 1616
1617 appendSkippedTokens(); 1617 EObject iv_ruleFileDeclaration = null;
1618 } 1618
1619 finally { 1619
1620 } 1620 try {
1621 return current; 1621 // InternalApplicationConfiguration.g:557:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF )
1622 } 1622 // InternalApplicationConfiguration.g:558:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF
1623 // $ANTLR end "entryRuleFileReference" 1623 {
1624 1624 newCompositeNode(grammarAccess.getFileDeclarationRule());
1625 1625 pushFollow(FOLLOW_1);
1626 // $ANTLR start "ruleFileReference" 1626 iv_ruleFileDeclaration=ruleFileDeclaration();
1627 // InternalApplicationConfiguration.g:570:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 1627
1628 public final EObject ruleFileReference() throws RecognitionException { 1628 state._fsp--;
1629 EObject current = null; 1629
1630 1630 current =iv_ruleFileDeclaration;
1631 Token otherlv_0=null; 1631 match(input,EOF,FOLLOW_2);
1632 1632
1633 1633 }
1634 enterRule(); 1634
1635 1635 }
1636 try { 1636
1637 // InternalApplicationConfiguration.g:576:2: ( ( (otherlv_0= RULE_ID ) ) ) 1637 catch (RecognitionException re) {
1638 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1638 recover(input,re);
1639 { 1639 appendSkippedTokens();
1640 // InternalApplicationConfiguration.g:577:2: ( (otherlv_0= RULE_ID ) ) 1640 }
1641 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1641 finally {
1642 { 1642 }
1643 // InternalApplicationConfiguration.g:578:3: (otherlv_0= RULE_ID ) 1643 return current;
1644 // InternalApplicationConfiguration.g:579:4: otherlv_0= RULE_ID 1644 }
1645 { 1645 // $ANTLR end "entryRuleFileDeclaration"
1646 1646
1647 if (current==null) { 1647
1648 current = createModelElement(grammarAccess.getFileReferenceRule()); 1648 // $ANTLR start "ruleFileDeclaration"
1649 } 1649 // InternalApplicationConfiguration.g:564:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ;
1650 1650 public final EObject ruleFileDeclaration() throws RecognitionException {
1651 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 1651 EObject current = null;
1652 1652
1653 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); 1653 Token otherlv_0=null;
1654 1654 Token lv_name_1_0=null;
1655 1655 Token otherlv_2=null;
1656 } 1656 EObject lv_specification_3_0 = null;
1657 1657
1658 1658
1659 } 1659
1660 1660 enterRule();
1661 1661
1662 } 1662 try {
1663 1663 // InternalApplicationConfiguration.g:570:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) )
1664 1664 // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1665 leaveRule(); 1665 {
1666 1666 // InternalApplicationConfiguration.g:571:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1667 } 1667 // InternalApplicationConfiguration.g:572:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) )
1668 1668 {
1669 catch (RecognitionException re) { 1669 otherlv_0=(Token)match(input,17,FOLLOW_6);
1670 recover(input,re); 1670
1671 appendSkippedTokens(); 1671 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
1672 } 1672
1673 finally { 1673 // InternalApplicationConfiguration.g:576:3: ( (lv_name_1_0= RULE_ID ) )
1674 } 1674 // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID )
1675 return current; 1675 {
1676 } 1676 // InternalApplicationConfiguration.g:577:4: (lv_name_1_0= RULE_ID )
1677 // $ANTLR end "ruleFileReference" 1677 // InternalApplicationConfiguration.g:578:5: lv_name_1_0= RULE_ID
1678 1678 {
1679 1679 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_13);
1680 // $ANTLR start "entryRuleFile" 1680
1681 // InternalApplicationConfiguration.g:593:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; 1681 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1682 public final EObject entryRuleFile() throws RecognitionException { 1682
1683 EObject current = null; 1683
1684 1684 if (current==null) {
1685 EObject iv_ruleFile = null; 1685 current = createModelElement(grammarAccess.getFileDeclarationRule());
1686 1686 }
1687 1687 setWithLastConsumed(
1688 try { 1688 current,
1689 // InternalApplicationConfiguration.g:593:45: (iv_ruleFile= ruleFile EOF ) 1689 "name",
1690 // InternalApplicationConfiguration.g:594:2: iv_ruleFile= ruleFile EOF 1690 lv_name_1_0,
1691 { 1691 "org.eclipse.xtext.common.Terminals.ID");
1692 newCompositeNode(grammarAccess.getFileRule()); 1692
1693 pushFollow(FOLLOW_1); 1693
1694 iv_ruleFile=ruleFile(); 1694 }
1695 1695
1696 state._fsp--; 1696
1697 1697 }
1698 current =iv_ruleFile; 1698
1699 match(input,EOF,FOLLOW_2); 1699 otherlv_2=(Token)match(input,18,FOLLOW_10);
1700 1700
1701 } 1701 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
1702 1702
1703 } 1703 // InternalApplicationConfiguration.g:598:3: ( (lv_specification_3_0= ruleFileSpecification ) )
1704 1704 // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification )
1705 catch (RecognitionException re) { 1705 {
1706 recover(input,re); 1706 // InternalApplicationConfiguration.g:599:4: (lv_specification_3_0= ruleFileSpecification )
1707 appendSkippedTokens(); 1707 // InternalApplicationConfiguration.g:600:5: lv_specification_3_0= ruleFileSpecification
1708 } 1708 {
1709 finally { 1709
1710 } 1710 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
1711 return current; 1711
1712 } 1712 pushFollow(FOLLOW_2);
1713 // $ANTLR end "entryRuleFile" 1713 lv_specification_3_0=ruleFileSpecification();
1714 1714
1715 1715 state._fsp--;
1716 // $ANTLR start "ruleFile" 1716
1717 // InternalApplicationConfiguration.g:600:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; 1717
1718 public final EObject ruleFile() throws RecognitionException { 1718 if (current==null) {
1719 EObject current = null; 1719 current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
1720 1720 }
1721 EObject this_FileSpecification_0 = null; 1721 set(
1722 1722 current,
1723 EObject this_FileReference_1 = null; 1723 "specification",
1724 1724 lv_specification_3_0,
1725 1725 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
1726 1726 afterParserOrEnumRuleCall();
1727 enterRule(); 1727
1728 1728
1729 try { 1729 }
1730 // InternalApplicationConfiguration.g:606:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) 1730
1731 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1731
1732 { 1732 }
1733 // InternalApplicationConfiguration.g:607:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) 1733
1734 int alt9=2; 1734
1735 int LA9_0 = input.LA(1); 1735 }
1736 1736
1737 if ( (LA9_0==RULE_STRING) ) { 1737
1738 alt9=1; 1738 }
1739 } 1739
1740 else if ( (LA9_0==RULE_ID) ) { 1740
1741 alt9=2; 1741 leaveRule();
1742 } 1742
1743 else { 1743 }
1744 NoViableAltException nvae = 1744
1745 new NoViableAltException("", 9, 0, input); 1745 catch (RecognitionException re) {
1746 1746 recover(input,re);
1747 throw nvae; 1747 appendSkippedTokens();
1748 } 1748 }
1749 switch (alt9) { 1749 finally {
1750 case 1 : 1750 }
1751 // InternalApplicationConfiguration.g:608:3: this_FileSpecification_0= ruleFileSpecification 1751 return current;
1752 { 1752 }
1753 1753 // $ANTLR end "ruleFileDeclaration"
1754 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); 1754
1755 1755
1756 pushFollow(FOLLOW_2); 1756 // $ANTLR start "entryRuleFileReference"
1757 this_FileSpecification_0=ruleFileSpecification(); 1757 // InternalApplicationConfiguration.g:621:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ;
1758 1758 public final EObject entryRuleFileReference() throws RecognitionException {
1759 state._fsp--; 1759 EObject current = null;
1760 1760
1761 1761 EObject iv_ruleFileReference = null;
1762 current = this_FileSpecification_0; 1762
1763 afterParserOrEnumRuleCall(); 1763
1764 1764 try {
1765 1765 // InternalApplicationConfiguration.g:621:54: (iv_ruleFileReference= ruleFileReference EOF )
1766 } 1766 // InternalApplicationConfiguration.g:622:2: iv_ruleFileReference= ruleFileReference EOF
1767 break; 1767 {
1768 case 2 : 1768 newCompositeNode(grammarAccess.getFileReferenceRule());
1769 // InternalApplicationConfiguration.g:617:3: this_FileReference_1= ruleFileReference 1769 pushFollow(FOLLOW_1);
1770 { 1770 iv_ruleFileReference=ruleFileReference();
1771 1771
1772 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); 1772 state._fsp--;
1773 1773
1774 pushFollow(FOLLOW_2); 1774 current =iv_ruleFileReference;
1775 this_FileReference_1=ruleFileReference(); 1775 match(input,EOF,FOLLOW_2);
1776 1776
1777 state._fsp--; 1777 }
1778 1778
1779 1779 }
1780 current = this_FileReference_1; 1780
1781 afterParserOrEnumRuleCall(); 1781 catch (RecognitionException re) {
1782 1782 recover(input,re);
1783 1783 appendSkippedTokens();
1784 } 1784 }
1785 break; 1785 finally {
1786 1786 }
1787 } 1787 return current;
1788 1788 }
1789 1789 // $ANTLR end "entryRuleFileReference"
1790 } 1790
1791 1791
1792 1792 // $ANTLR start "ruleFileReference"
1793 leaveRule(); 1793 // InternalApplicationConfiguration.g:628:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1794 1794 public final EObject ruleFileReference() throws RecognitionException {
1795 } 1795 EObject current = null;
1796 1796
1797 catch (RecognitionException re) { 1797 Token otherlv_0=null;
1798 recover(input,re); 1798
1799 appendSkippedTokens(); 1799
1800 } 1800 enterRule();
1801 finally { 1801
1802 } 1802 try {
1803 return current; 1803 // InternalApplicationConfiguration.g:634:2: ( ( (otherlv_0= RULE_ID ) ) )
1804 } 1804 // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) )
1805 // $ANTLR end "ruleFile" 1805 {
1806 1806 // InternalApplicationConfiguration.g:635:2: ( (otherlv_0= RULE_ID ) )
1807 1807 // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID )
1808 // $ANTLR start "entryRuleMetamodelSpecification" 1808 {
1809 // InternalApplicationConfiguration.g:629:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; 1809 // InternalApplicationConfiguration.g:636:3: (otherlv_0= RULE_ID )
1810 public final EObject entryRuleMetamodelSpecification() throws RecognitionException { 1810 // InternalApplicationConfiguration.g:637:4: otherlv_0= RULE_ID
1811 EObject current = null; 1811 {
1812 1812
1813 EObject iv_ruleMetamodelSpecification = null; 1813 if (current==null) {
1814 1814 current = createModelElement(grammarAccess.getFileReferenceRule());
1815 1815 }
1816 try { 1816
1817 // InternalApplicationConfiguration.g:629:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) 1817 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
1818 // InternalApplicationConfiguration.g:630:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF 1818
1819 { 1819 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
1820 newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); 1820
1821 pushFollow(FOLLOW_1); 1821
1822 iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); 1822 }
1823 1823
1824 state._fsp--; 1824
1825 1825 }
1826 current =iv_ruleMetamodelSpecification; 1826
1827 match(input,EOF,FOLLOW_2); 1827
1828 1828 }
1829 } 1829
1830 1830
1831 } 1831 leaveRule();
1832 1832
1833 catch (RecognitionException re) { 1833 }
1834 recover(input,re); 1834
1835 appendSkippedTokens(); 1835 catch (RecognitionException re) {
1836 } 1836 recover(input,re);
1837 finally { 1837 appendSkippedTokens();
1838 } 1838 }
1839 return current; 1839 finally {
1840 } 1840 }
1841 // $ANTLR end "entryRuleMetamodelSpecification" 1841 return current;
1842 1842 }
1843 1843 // $ANTLR end "ruleFileReference"
1844 // $ANTLR start "ruleMetamodelSpecification" 1844
1845 // InternalApplicationConfiguration.g:636:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; 1845
1846 public final EObject ruleMetamodelSpecification() throws RecognitionException { 1846 // $ANTLR start "entryRuleFile"
1847 EObject current = null; 1847 // InternalApplicationConfiguration.g:651:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
1848 1848 public final EObject entryRuleFile() throws RecognitionException {
1849 Token otherlv_0=null; 1849 EObject current = null;
1850 Token otherlv_2=null; 1850
1851 Token otherlv_4=null; 1851 EObject iv_ruleFile = null;
1852 EObject lv_entries_1_0 = null; 1852
1853 1853
1854 EObject lv_entries_3_0 = null; 1854 try {
1855 1855 // InternalApplicationConfiguration.g:651:45: (iv_ruleFile= ruleFile EOF )
1856 1856 // InternalApplicationConfiguration.g:652:2: iv_ruleFile= ruleFile EOF
1857 1857 {
1858 enterRule(); 1858 newCompositeNode(grammarAccess.getFileRule());
1859 1859 pushFollow(FOLLOW_1);
1860 try { 1860 iv_ruleFile=ruleFile();
1861 // InternalApplicationConfiguration.g:642:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) 1861
1862 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1862 state._fsp--;
1863 { 1863
1864 // InternalApplicationConfiguration.g:643:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1864 current =iv_ruleFile;
1865 // InternalApplicationConfiguration.g:644:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' 1865 match(input,EOF,FOLLOW_2);
1866 { 1866
1867 otherlv_0=(Token)match(input,18,FOLLOW_13); 1867 }
1868 1868
1869 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1869 }
1870 1870
1871 // InternalApplicationConfiguration.g:648:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) 1871 catch (RecognitionException re) {
1872 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1872 recover(input,re);
1873 { 1873 appendSkippedTokens();
1874 // InternalApplicationConfiguration.g:649:4: (lv_entries_1_0= ruleMetamodelEntry ) 1874 }
1875 // InternalApplicationConfiguration.g:650:5: lv_entries_1_0= ruleMetamodelEntry 1875 finally {
1876 { 1876 }
1877 1877 return current;
1878 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 1878 }
1879 1879 // $ANTLR end "entryRuleFile"
1880 pushFollow(FOLLOW_14); 1880
1881 lv_entries_1_0=ruleMetamodelEntry(); 1881
1882 1882 // $ANTLR start "ruleFile"
1883 state._fsp--; 1883 // InternalApplicationConfiguration.g:658:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ;
1884 1884 public final EObject ruleFile() throws RecognitionException {
1885 1885 EObject current = null;
1886 if (current==null) { 1886
1887 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1887 EObject this_FileSpecification_0 = null;
1888 } 1888
1889 add( 1889 EObject this_FileReference_1 = null;
1890 current, 1890
1891 "entries", 1891
1892 lv_entries_1_0, 1892
1893 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1893 enterRule();
1894 afterParserOrEnumRuleCall(); 1894
1895 1895 try {
1896 1896 // InternalApplicationConfiguration.g:664:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) )
1897 } 1897 // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1898 1898 {
1899 1899 // InternalApplicationConfiguration.g:665:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1900 } 1900 int alt9=2;
1901 1901 int LA9_0 = input.LA(1);
1902 // InternalApplicationConfiguration.g:667:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* 1902
1903 loop10: 1903 if ( (LA9_0==RULE_STRING) ) {
1904 do { 1904 alt9=1;
1905 int alt10=2; 1905 }
1906 int LA10_0 = input.LA(1); 1906 else if ( (LA9_0==RULE_ID) ) {
1907 1907 alt9=2;
1908 if ( (LA10_0==19) ) { 1908 }
1909 alt10=1; 1909 else {
1910 } 1910 NoViableAltException nvae =
1911 1911 new NoViableAltException("", 9, 0, input);
1912 1912
1913 switch (alt10) { 1913 throw nvae;
1914 case 1 : 1914 }
1915 // InternalApplicationConfiguration.g:668:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1915 switch (alt9) {
1916 { 1916 case 1 :
1917 otherlv_2=(Token)match(input,19,FOLLOW_13); 1917 // InternalApplicationConfiguration.g:666:3: this_FileSpecification_0= ruleFileSpecification
1918 1918 {
1919 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 1919
1920 1920 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
1921 // InternalApplicationConfiguration.g:672:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1921
1922 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1922 pushFollow(FOLLOW_2);
1923 { 1923 this_FileSpecification_0=ruleFileSpecification();
1924 // InternalApplicationConfiguration.g:673:5: (lv_entries_3_0= ruleMetamodelEntry ) 1924
1925 // InternalApplicationConfiguration.g:674:6: lv_entries_3_0= ruleMetamodelEntry 1925 state._fsp--;
1926 { 1926
1927 1927
1928 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 1928 current = this_FileSpecification_0;
1929 1929 afterParserOrEnumRuleCall();
1930 pushFollow(FOLLOW_14); 1930
1931 lv_entries_3_0=ruleMetamodelEntry(); 1931
1932 1932 }
1933 state._fsp--; 1933 break;
1934 1934 case 2 :
1935 1935 // InternalApplicationConfiguration.g:675:3: this_FileReference_1= ruleFileReference
1936 if (current==null) { 1936 {
1937 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1937
1938 } 1938 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
1939 add( 1939
1940 current, 1940 pushFollow(FOLLOW_2);
1941 "entries", 1941 this_FileReference_1=ruleFileReference();
1942 lv_entries_3_0, 1942
1943 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1943 state._fsp--;
1944 afterParserOrEnumRuleCall(); 1944
1945 1945
1946 1946 current = this_FileReference_1;
1947 } 1947 afterParserOrEnumRuleCall();
1948 1948
1949 1949
1950 } 1950 }
1951 1951 break;
1952 1952
1953 } 1953 }
1954 break; 1954
1955 1955
1956 default : 1956 }
1957 break loop10; 1957
1958 } 1958
1959 } while (true); 1959 leaveRule();
1960 1960
1961 otherlv_4=(Token)match(input,20,FOLLOW_2); 1961 }
1962 1962
1963 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1963 catch (RecognitionException re) {
1964 1964 recover(input,re);
1965 1965 appendSkippedTokens();
1966 } 1966 }
1967 1967 finally {
1968 1968 }
1969 } 1969 return current;
1970 1970 }
1971 1971 // $ANTLR end "ruleFile"
1972 leaveRule(); 1972
1973 1973
1974 } 1974 // $ANTLR start "entryRuleMetamodelSpecification"
1975 1975 // InternalApplicationConfiguration.g:687:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ;
1976 catch (RecognitionException re) { 1976 public final EObject entryRuleMetamodelSpecification() throws RecognitionException {
1977 recover(input,re); 1977 EObject current = null;
1978 appendSkippedTokens(); 1978
1979 } 1979 EObject iv_ruleMetamodelSpecification = null;
1980 finally { 1980
1981 } 1981
1982 return current; 1982 try {
1983 } 1983 // InternalApplicationConfiguration.g:687:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF )
1984 // $ANTLR end "ruleMetamodelSpecification" 1984 // InternalApplicationConfiguration.g:688:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF
1985 1985 {
1986 1986 newCompositeNode(grammarAccess.getMetamodelSpecificationRule());
1987 // $ANTLR start "entryRuleMetamodelEntry" 1987 pushFollow(FOLLOW_1);
1988 // InternalApplicationConfiguration.g:700:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; 1988 iv_ruleMetamodelSpecification=ruleMetamodelSpecification();
1989 public final EObject entryRuleMetamodelEntry() throws RecognitionException { 1989
1990 EObject current = null; 1990 state._fsp--;
1991 1991
1992 EObject iv_ruleMetamodelEntry = null; 1992 current =iv_ruleMetamodelSpecification;
1993 1993 match(input,EOF,FOLLOW_2);
1994 1994
1995 try { 1995 }
1996 // InternalApplicationConfiguration.g:700:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) 1996
1997 // InternalApplicationConfiguration.g:701:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF 1997 }
1998 { 1998
1999 newCompositeNode(grammarAccess.getMetamodelEntryRule()); 1999 catch (RecognitionException re) {
2000 pushFollow(FOLLOW_1); 2000 recover(input,re);
2001 iv_ruleMetamodelEntry=ruleMetamodelEntry(); 2001 appendSkippedTokens();
2002 2002 }
2003 state._fsp--; 2003 finally {
2004 2004 }
2005 current =iv_ruleMetamodelEntry; 2005 return current;
2006 match(input,EOF,FOLLOW_2); 2006 }
2007 2007 // $ANTLR end "entryRuleMetamodelSpecification"
2008 } 2008
2009 2009
2010 } 2010 // $ANTLR start "ruleMetamodelSpecification"
2011 2011 // InternalApplicationConfiguration.g:694:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ;
2012 catch (RecognitionException re) { 2012 public final EObject ruleMetamodelSpecification() throws RecognitionException {
2013 recover(input,re); 2013 EObject current = null;
2014 appendSkippedTokens(); 2014
2015 } 2015 Token otherlv_0=null;
2016 finally { 2016 Token otherlv_2=null;
2017 } 2017 Token otherlv_4=null;
2018 return current; 2018 EObject lv_entries_1_0 = null;
2019 } 2019
2020 // $ANTLR end "entryRuleMetamodelEntry" 2020 EObject lv_entries_3_0 = null;
2021 2021
2022 2022
2023 // $ANTLR start "ruleMetamodelEntry" 2023
2024 // InternalApplicationConfiguration.g:707:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; 2024 enterRule();
2025 public final EObject ruleMetamodelEntry() throws RecognitionException { 2025
2026 EObject current = null; 2026 try {
2027 2027 // InternalApplicationConfiguration.g:700:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) )
2028 EObject this_MetamodelElement_0 = null; 2028 // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
2029 2029 {
2030 EObject this_AllPackageEntry_1 = null; 2030 // InternalApplicationConfiguration.g:701:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
2031 2031 // InternalApplicationConfiguration.g:702:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}'
2032 2032 {
2033 2033 otherlv_0=(Token)match(input,19,FOLLOW_14);
2034 enterRule(); 2034
2035 2035 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
2036 try { 2036
2037 // InternalApplicationConfiguration.g:713:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) 2037 // InternalApplicationConfiguration.g:706:3: ( (lv_entries_1_0= ruleMetamodelEntry ) )
2038 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2038 // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry )
2039 { 2039 {
2040 // InternalApplicationConfiguration.g:714:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2040 // InternalApplicationConfiguration.g:707:4: (lv_entries_1_0= ruleMetamodelEntry )
2041 int alt11=2; 2041 // InternalApplicationConfiguration.g:708:5: lv_entries_1_0= ruleMetamodelEntry
2042 int LA11_0 = input.LA(1); 2042 {
2043 2043
2044 if ( (LA11_0==RULE_ID) ) { 2044 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
2045 alt11=1; 2045
2046 } 2046 pushFollow(FOLLOW_15);
2047 else if ( (LA11_0==21) ) { 2047 lv_entries_1_0=ruleMetamodelEntry();
2048 alt11=2; 2048
2049 } 2049 state._fsp--;
2050 else { 2050
2051 NoViableAltException nvae = 2051
2052 new NoViableAltException("", 11, 0, input); 2052 if (current==null) {
2053 2053 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
2054 throw nvae; 2054 }
2055 } 2055 add(
2056 switch (alt11) { 2056 current,
2057 case 1 : 2057 "entries",
2058 // InternalApplicationConfiguration.g:715:3: this_MetamodelElement_0= ruleMetamodelElement 2058 lv_entries_1_0,
2059 { 2059 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
2060 2060 afterParserOrEnumRuleCall();
2061 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 2061
2062 2062
2063 pushFollow(FOLLOW_2); 2063 }
2064 this_MetamodelElement_0=ruleMetamodelElement(); 2064
2065 2065
2066 state._fsp--; 2066 }
2067 2067
2068 2068 // InternalApplicationConfiguration.g:725:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )*
2069 current = this_MetamodelElement_0; 2069 loop10:
2070 afterParserOrEnumRuleCall(); 2070 do {
2071 2071 int alt10=2;
2072 2072 int LA10_0 = input.LA(1);
2073 } 2073
2074 break; 2074 if ( (LA10_0==20) ) {
2075 case 2 : 2075 alt10=1;
2076 // InternalApplicationConfiguration.g:724:3: this_AllPackageEntry_1= ruleAllPackageEntry 2076 }
2077 { 2077
2078 2078
2079 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 2079 switch (alt10) {
2080 2080 case 1 :
2081 pushFollow(FOLLOW_2); 2081 // InternalApplicationConfiguration.g:726:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) )
2082 this_AllPackageEntry_1=ruleAllPackageEntry(); 2082 {
2083 2083 otherlv_2=(Token)match(input,20,FOLLOW_14);
2084 state._fsp--; 2084
2085 2085 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
2086 2086
2087 current = this_AllPackageEntry_1; 2087 // InternalApplicationConfiguration.g:730:4: ( (lv_entries_3_0= ruleMetamodelEntry ) )
2088 afterParserOrEnumRuleCall(); 2088 // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry )
2089 2089 {
2090 2090 // InternalApplicationConfiguration.g:731:5: (lv_entries_3_0= ruleMetamodelEntry )
2091 } 2091 // InternalApplicationConfiguration.g:732:6: lv_entries_3_0= ruleMetamodelEntry
2092 break; 2092 {
2093 2093
2094 } 2094 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
2095 2095
2096 2096 pushFollow(FOLLOW_15);
2097 } 2097 lv_entries_3_0=ruleMetamodelEntry();
2098 2098
2099 2099 state._fsp--;
2100 leaveRule(); 2100
2101 2101
2102 } 2102 if (current==null) {
2103 2103 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
2104 catch (RecognitionException re) { 2104 }
2105 recover(input,re); 2105 add(
2106 appendSkippedTokens(); 2106 current,
2107 } 2107 "entries",
2108 finally { 2108 lv_entries_3_0,
2109 } 2109 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
2110 return current; 2110 afterParserOrEnumRuleCall();
2111 } 2111
2112 // $ANTLR end "ruleMetamodelEntry" 2112
2113 2113 }
2114 2114
2115 // $ANTLR start "entryRuleAllPackageEntry" 2115
2116 // InternalApplicationConfiguration.g:736:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; 2116 }
2117 public final EObject entryRuleAllPackageEntry() throws RecognitionException { 2117
2118 EObject current = null; 2118
2119 2119 }
2120 EObject iv_ruleAllPackageEntry = null; 2120 break;
2121 2121
2122 2122 default :
2123 try { 2123 break loop10;
2124 // InternalApplicationConfiguration.g:736:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) 2124 }
2125 // InternalApplicationConfiguration.g:737:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF 2125 } while (true);
2126 { 2126
2127 newCompositeNode(grammarAccess.getAllPackageEntryRule()); 2127 otherlv_4=(Token)match(input,21,FOLLOW_2);
2128 pushFollow(FOLLOW_1); 2128
2129 iv_ruleAllPackageEntry=ruleAllPackageEntry(); 2129 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
2130 2130
2131 state._fsp--; 2131
2132 2132 }
2133 current =iv_ruleAllPackageEntry; 2133
2134 match(input,EOF,FOLLOW_2); 2134
2135 2135 }
2136 } 2136
2137 2137
2138 } 2138 leaveRule();
2139 2139
2140 catch (RecognitionException re) { 2140 }
2141 recover(input,re); 2141
2142 appendSkippedTokens(); 2142 catch (RecognitionException re) {
2143 } 2143 recover(input,re);
2144 finally { 2144 appendSkippedTokens();
2145 } 2145 }
2146 return current; 2146 finally {
2147 } 2147 }
2148 // $ANTLR end "entryRuleAllPackageEntry" 2148 return current;
2149 2149 }
2150 2150 // $ANTLR end "ruleMetamodelSpecification"
2151 // $ANTLR start "ruleAllPackageEntry" 2151
2152 // InternalApplicationConfiguration.g:743:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; 2152
2153 public final EObject ruleAllPackageEntry() throws RecognitionException { 2153 // $ANTLR start "entryRuleMetamodelEntry"
2154 EObject current = null; 2154 // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ;
2155 2155 public final EObject entryRuleMetamodelEntry() throws RecognitionException {
2156 Token otherlv_0=null; 2156 EObject current = null;
2157 Token otherlv_2=null; 2157
2158 Token otherlv_3=null; 2158 EObject iv_ruleMetamodelEntry = null;
2159 Token otherlv_5=null; 2159
2160 Token otherlv_7=null; 2160
2161 EObject lv_exclusion_4_0 = null; 2161 try {
2162 2162 // InternalApplicationConfiguration.g:758:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF )
2163 EObject lv_exclusion_6_0 = null; 2163 // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF
2164 2164 {
2165 2165 newCompositeNode(grammarAccess.getMetamodelEntryRule());
2166 2166 pushFollow(FOLLOW_1);
2167 enterRule(); 2167 iv_ruleMetamodelEntry=ruleMetamodelEntry();
2168 2168
2169 try { 2169 state._fsp--;
2170 // InternalApplicationConfiguration.g:749:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) 2170
2171 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2171 current =iv_ruleMetamodelEntry;
2172 { 2172 match(input,EOF,FOLLOW_2);
2173 // InternalApplicationConfiguration.g:750:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2173
2174 // InternalApplicationConfiguration.g:751:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2174 }
2175 { 2175
2176 otherlv_0=(Token)match(input,21,FOLLOW_6); 2176 }
2177 2177
2178 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 2178 catch (RecognitionException re) {
2179 2179 recover(input,re);
2180 // InternalApplicationConfiguration.g:755:3: ( ( ruleQualifiedName ) ) 2180 appendSkippedTokens();
2181 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2181 }
2182 { 2182 finally {
2183 // InternalApplicationConfiguration.g:756:4: ( ruleQualifiedName ) 2183 }
2184 // InternalApplicationConfiguration.g:757:5: ruleQualifiedName 2184 return current;
2185 { 2185 }
2186 2186 // $ANTLR end "entryRuleMetamodelEntry"
2187 if (current==null) { 2187
2188 current = createModelElement(grammarAccess.getAllPackageEntryRule()); 2188
2189 } 2189 // $ANTLR start "ruleMetamodelEntry"
2190 2190 // InternalApplicationConfiguration.g:765:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ;
2191 2191 public final EObject ruleMetamodelEntry() throws RecognitionException {
2192 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 2192 EObject current = null;
2193 2193
2194 pushFollow(FOLLOW_15); 2194 EObject this_MetamodelElement_0 = null;
2195 ruleQualifiedName(); 2195
2196 2196 EObject this_AllPackageEntry_1 = null;
2197 state._fsp--; 2197
2198 2198
2199 2199
2200 afterParserOrEnumRuleCall(); 2200 enterRule();
2201 2201
2202 2202 try {
2203 } 2203 // InternalApplicationConfiguration.g:771:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) )
2204 2204 // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2205 2205 {
2206 } 2206 // InternalApplicationConfiguration.g:772:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
2207 2207 int alt11=2;
2208 // InternalApplicationConfiguration.g:771:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2208 int LA11_0 = input.LA(1);
2209 int alt13=2; 2209
2210 int LA13_0 = input.LA(1); 2210 if ( (LA11_0==RULE_ID) ) {
2211 2211 alt11=1;
2212 if ( (LA13_0==22) ) { 2212 }
2213 alt13=1; 2213 else if ( (LA11_0==22) ) {
2214 } 2214 alt11=2;
2215 switch (alt13) { 2215 }
2216 case 1 : 2216 else {
2217 // InternalApplicationConfiguration.g:772:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' 2217 NoViableAltException nvae =
2218 { 2218 new NoViableAltException("", 11, 0, input);
2219 otherlv_2=(Token)match(input,22,FOLLOW_16); 2219
2220 2220 throw nvae;
2221 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 2221 }
2222 2222 switch (alt11) {
2223 otherlv_3=(Token)match(input,18,FOLLOW_6); 2223 case 1 :
2224 2224 // InternalApplicationConfiguration.g:773:3: this_MetamodelElement_0= ruleMetamodelElement
2225 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 2225 {
2226 2226
2227 // InternalApplicationConfiguration.g:780:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) 2227 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
2228 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2228
2229 { 2229 pushFollow(FOLLOW_2);
2230 // InternalApplicationConfiguration.g:781:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2230 this_MetamodelElement_0=ruleMetamodelElement();
2231 // InternalApplicationConfiguration.g:782:6: lv_exclusion_4_0= ruleMetamodelElement 2231
2232 { 2232 state._fsp--;
2233 2233
2234 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 2234
2235 2235 current = this_MetamodelElement_0;
2236 pushFollow(FOLLOW_14); 2236 afterParserOrEnumRuleCall();
2237 lv_exclusion_4_0=ruleMetamodelElement(); 2237
2238 2238
2239 state._fsp--; 2239 }
2240 2240 break;
2241 2241 case 2 :
2242 if (current==null) { 2242 // InternalApplicationConfiguration.g:782:3: this_AllPackageEntry_1= ruleAllPackageEntry
2243 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2243 {
2244 } 2244
2245 add( 2245 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
2246 current, 2246
2247 "exclusion", 2247 pushFollow(FOLLOW_2);
2248 lv_exclusion_4_0, 2248 this_AllPackageEntry_1=ruleAllPackageEntry();
2249 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2249
2250 afterParserOrEnumRuleCall(); 2250 state._fsp--;
2251 2251
2252 2252
2253 } 2253 current = this_AllPackageEntry_1;
2254 2254 afterParserOrEnumRuleCall();
2255 2255
2256 } 2256
2257 2257 }
2258 // InternalApplicationConfiguration.g:799:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* 2258 break;
2259 loop12: 2259
2260 do { 2260 }
2261 int alt12=2; 2261
2262 int LA12_0 = input.LA(1); 2262
2263 2263 }
2264 if ( (LA12_0==19) ) { 2264
2265 alt12=1; 2265
2266 } 2266 leaveRule();
2267 2267
2268 2268 }
2269 switch (alt12) { 2269
2270 case 1 : 2270 catch (RecognitionException re) {
2271 // InternalApplicationConfiguration.g:800:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2271 recover(input,re);
2272 { 2272 appendSkippedTokens();
2273 otherlv_5=(Token)match(input,19,FOLLOW_6); 2273 }
2274 2274 finally {
2275 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 2275 }
2276 2276 return current;
2277 // InternalApplicationConfiguration.g:804:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2277 }
2278 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2278 // $ANTLR end "ruleMetamodelEntry"
2279 { 2279
2280 // InternalApplicationConfiguration.g:805:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2280
2281 // InternalApplicationConfiguration.g:806:7: lv_exclusion_6_0= ruleMetamodelElement 2281 // $ANTLR start "entryRuleAllPackageEntry"
2282 { 2282 // InternalApplicationConfiguration.g:794:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ;
2283 2283 public final EObject entryRuleAllPackageEntry() throws RecognitionException {
2284 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 2284 EObject current = null;
2285 2285
2286 pushFollow(FOLLOW_14); 2286 EObject iv_ruleAllPackageEntry = null;
2287 lv_exclusion_6_0=ruleMetamodelElement(); 2287
2288 2288
2289 state._fsp--; 2289 try {
2290 2290 // InternalApplicationConfiguration.g:794:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF )
2291 2291 // InternalApplicationConfiguration.g:795:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF
2292 if (current==null) { 2292 {
2293 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2293 newCompositeNode(grammarAccess.getAllPackageEntryRule());
2294 } 2294 pushFollow(FOLLOW_1);
2295 add( 2295 iv_ruleAllPackageEntry=ruleAllPackageEntry();
2296 current, 2296
2297 "exclusion", 2297 state._fsp--;
2298 lv_exclusion_6_0, 2298
2299 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2299 current =iv_ruleAllPackageEntry;
2300 afterParserOrEnumRuleCall(); 2300 match(input,EOF,FOLLOW_2);
2301 2301
2302 2302 }
2303 } 2303
2304 2304 }
2305 2305
2306 } 2306 catch (RecognitionException re) {
2307 2307 recover(input,re);
2308 2308 appendSkippedTokens();
2309 } 2309 }
2310 break; 2310 finally {
2311 2311 }
2312 default : 2312 return current;
2313 break loop12; 2313 }
2314 } 2314 // $ANTLR end "entryRuleAllPackageEntry"
2315 } while (true); 2315
2316 2316
2317 otherlv_7=(Token)match(input,20,FOLLOW_2); 2317 // $ANTLR start "ruleAllPackageEntry"
2318 2318 // InternalApplicationConfiguration.g:801:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ;
2319 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 2319 public final EObject ruleAllPackageEntry() throws RecognitionException {
2320 2320 EObject current = null;
2321 2321
2322 } 2322 Token otherlv_0=null;
2323 break; 2323 Token otherlv_2=null;
2324 2324 Token otherlv_3=null;
2325 } 2325 Token otherlv_5=null;
2326 2326 Token otherlv_7=null;
2327 2327 EObject lv_exclusion_4_0 = null;
2328 } 2328
2329 2329 EObject lv_exclusion_6_0 = null;
2330 2330
2331 } 2331
2332 2332
2333 2333 enterRule();
2334 leaveRule(); 2334
2335 2335 try {
2336 } 2336 // InternalApplicationConfiguration.g:807:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) )
2337 2337 // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2338 catch (RecognitionException re) { 2338 {
2339 recover(input,re); 2339 // InternalApplicationConfiguration.g:808:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? )
2340 appendSkippedTokens(); 2340 // InternalApplicationConfiguration.g:809:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2341 } 2341 {
2342 finally { 2342 otherlv_0=(Token)match(input,22,FOLLOW_6);
2343 } 2343
2344 return current; 2344 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
2345 } 2345
2346 // $ANTLR end "ruleAllPackageEntry" 2346 // InternalApplicationConfiguration.g:813:3: ( ( ruleQualifiedName ) )
2347 2347 // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName )
2348 2348 {
2349 // $ANTLR start "entryRuleMetamodelElement" 2349 // InternalApplicationConfiguration.g:814:4: ( ruleQualifiedName )
2350 // InternalApplicationConfiguration.g:833:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; 2350 // InternalApplicationConfiguration.g:815:5: ruleQualifiedName
2351 public final EObject entryRuleMetamodelElement() throws RecognitionException { 2351 {
2352 EObject current = null; 2352
2353 2353 if (current==null) {
2354 EObject iv_ruleMetamodelElement = null; 2354 current = createModelElement(grammarAccess.getAllPackageEntryRule());
2355 2355 }
2356 2356
2357 try { 2357
2358 // InternalApplicationConfiguration.g:833:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) 2358 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
2359 // InternalApplicationConfiguration.g:834:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF 2359
2360 { 2360 pushFollow(FOLLOW_16);
2361 newCompositeNode(grammarAccess.getMetamodelElementRule()); 2361 ruleQualifiedName();
2362 pushFollow(FOLLOW_1); 2362
2363 iv_ruleMetamodelElement=ruleMetamodelElement(); 2363 state._fsp--;
2364 2364
2365 state._fsp--; 2365
2366 2366 afterParserOrEnumRuleCall();
2367 current =iv_ruleMetamodelElement; 2367
2368 match(input,EOF,FOLLOW_2); 2368
2369 2369 }
2370 } 2370
2371 2371
2372 } 2372 }
2373 2373
2374 catch (RecognitionException re) { 2374 // InternalApplicationConfiguration.g:829:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
2375 recover(input,re); 2375 int alt13=2;
2376 appendSkippedTokens(); 2376 int LA13_0 = input.LA(1);
2377 } 2377
2378 finally { 2378 if ( (LA13_0==23) ) {
2379 } 2379 alt13=1;
2380 return current; 2380 }
2381 } 2381 switch (alt13) {
2382 // $ANTLR end "entryRuleMetamodelElement" 2382 case 1 :
2383 2383 // InternalApplicationConfiguration.g:830:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}'
2384 2384 {
2385 // $ANTLR start "ruleMetamodelElement" 2385 otherlv_2=(Token)match(input,23,FOLLOW_17);
2386 // InternalApplicationConfiguration.g:840:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; 2386
2387 public final EObject ruleMetamodelElement() throws RecognitionException { 2387 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
2388 EObject current = null; 2388
2389 2389 otherlv_3=(Token)match(input,19,FOLLOW_6);
2390 Token otherlv_1=null; 2390
2391 Token otherlv_2=null; 2391 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
2392 Token otherlv_3=null; 2392
2393 Token otherlv_4=null; 2393 // InternalApplicationConfiguration.g:838:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) )
2394 2394 // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement )
2395 2395 {
2396 enterRule(); 2396 // InternalApplicationConfiguration.g:839:5: (lv_exclusion_4_0= ruleMetamodelElement )
2397 2397 // InternalApplicationConfiguration.g:840:6: lv_exclusion_4_0= ruleMetamodelElement
2398 try { 2398 {
2399 // InternalApplicationConfiguration.g:846:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) 2399
2400 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2400 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
2401 { 2401
2402 // InternalApplicationConfiguration.g:847:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2402 pushFollow(FOLLOW_15);
2403 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2403 lv_exclusion_4_0=ruleMetamodelElement();
2404 { 2404
2405 // InternalApplicationConfiguration.g:848:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 2405 state._fsp--;
2406 int alt14=2; 2406
2407 int LA14_0 = input.LA(1); 2407
2408 2408 if (current==null) {
2409 if ( (LA14_0==RULE_ID) ) { 2409 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2410 int LA14_1 = input.LA(2); 2410 }
2411 2411 add(
2412 if ( (LA14_1==11) ) { 2412 current,
2413 int LA14_2 = input.LA(3); 2413 "exclusion",
2414 2414 lv_exclusion_4_0,
2415 if ( (LA14_2==RULE_ID) ) { 2415 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2416 int LA14_5 = input.LA(4); 2416 afterParserOrEnumRuleCall();
2417 2417
2418 if ( (LA14_5==11||LA14_5==23) ) { 2418
2419 alt14=1; 2419 }
2420 } 2420
2421 } 2421
2422 } 2422 }
2423 else if ( (LA14_1==23) ) { 2423
2424 alt14=1; 2424 // InternalApplicationConfiguration.g:857:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )*
2425 } 2425 loop12:
2426 } 2426 do {
2427 switch (alt14) { 2427 int alt12=2;
2428 case 1 : 2428 int LA12_0 = input.LA(1);
2429 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 2429
2430 { 2430 if ( (LA12_0==20) ) {
2431 // InternalApplicationConfiguration.g:849:4: ( ( ruleQualifiedName ) ) 2431 alt12=1;
2432 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2432 }
2433 { 2433
2434 // InternalApplicationConfiguration.g:850:5: ( ruleQualifiedName ) 2434
2435 // InternalApplicationConfiguration.g:851:6: ruleQualifiedName 2435 switch (alt12) {
2436 { 2436 case 1 :
2437 2437 // InternalApplicationConfiguration.g:858:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2438 if (current==null) { 2438 {
2439 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2439 otherlv_5=(Token)match(input,20,FOLLOW_6);
2440 } 2440
2441 2441 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
2442 2442
2443 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 2443 // InternalApplicationConfiguration.g:862:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2444 2444 // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement )
2445 pushFollow(FOLLOW_17); 2445 {
2446 ruleQualifiedName(); 2446 // InternalApplicationConfiguration.g:863:6: (lv_exclusion_6_0= ruleMetamodelElement )
2447 2447 // InternalApplicationConfiguration.g:864:7: lv_exclusion_6_0= ruleMetamodelElement
2448 state._fsp--; 2448 {
2449 2449
2450 2450 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
2451 afterParserOrEnumRuleCall(); 2451
2452 2452 pushFollow(FOLLOW_15);
2453 2453 lv_exclusion_6_0=ruleMetamodelElement();
2454 } 2454
2455 2455 state._fsp--;
2456 2456
2457 } 2457
2458 2458 if (current==null) {
2459 otherlv_1=(Token)match(input,23,FOLLOW_6); 2459 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
2460 2460 }
2461 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 2461 add(
2462 2462 current,
2463 2463 "exclusion",
2464 } 2464 lv_exclusion_6_0,
2465 break; 2465 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
2466 2466 afterParserOrEnumRuleCall();
2467 } 2467
2468 2468
2469 // InternalApplicationConfiguration.g:870:3: ( (otherlv_2= RULE_ID ) ) 2469 }
2470 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2470
2471 { 2471
2472 // InternalApplicationConfiguration.g:871:4: (otherlv_2= RULE_ID ) 2472 }
2473 // InternalApplicationConfiguration.g:872:5: otherlv_2= RULE_ID 2473
2474 { 2474
2475 2475 }
2476 if (current==null) { 2476 break;
2477 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2477
2478 } 2478 default :
2479 2479 break loop12;
2480 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); 2480 }
2481 2481 } while (true);
2482 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 2482
2483 2483 otherlv_7=(Token)match(input,21,FOLLOW_2);
2484 2484
2485 } 2485 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
2486 2486
2487 2487
2488 } 2488 }
2489 2489 break;
2490 // InternalApplicationConfiguration.g:883:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2490
2491 int alt15=2; 2491 }
2492 int LA15_0 = input.LA(1); 2492
2493 2493
2494 if ( (LA15_0==11) ) { 2494 }
2495 alt15=1; 2495
2496 } 2496
2497 switch (alt15) { 2497 }
2498 case 1 : 2498
2499 // InternalApplicationConfiguration.g:884:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) 2499
2500 { 2500 leaveRule();
2501 otherlv_3=(Token)match(input,11,FOLLOW_6); 2501
2502 2502 }
2503 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 2503
2504 2504 catch (RecognitionException re) {
2505 // InternalApplicationConfiguration.g:888:4: ( (otherlv_4= RULE_ID ) ) 2505 recover(input,re);
2506 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2506 appendSkippedTokens();
2507 { 2507 }
2508 // InternalApplicationConfiguration.g:889:5: (otherlv_4= RULE_ID ) 2508 finally {
2509 // InternalApplicationConfiguration.g:890:6: otherlv_4= RULE_ID 2509 }
2510 { 2510 return current;
2511 2511 }
2512 if (current==null) { 2512 // $ANTLR end "ruleAllPackageEntry"
2513 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2513
2514 } 2514
2515 2515 // $ANTLR start "entryRuleMetamodelElement"
2516 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); 2516 // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ;
2517 2517 public final EObject entryRuleMetamodelElement() throws RecognitionException {
2518 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 2518 EObject current = null;
2519 2519
2520 2520 EObject iv_ruleMetamodelElement = null;
2521 } 2521
2522 2522
2523 2523 try {
2524 } 2524 // InternalApplicationConfiguration.g:891:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF )
2525 2525 // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF
2526 2526 {
2527 } 2527 newCompositeNode(grammarAccess.getMetamodelElementRule());
2528 break; 2528 pushFollow(FOLLOW_1);
2529 2529 iv_ruleMetamodelElement=ruleMetamodelElement();
2530 } 2530
2531 2531 state._fsp--;
2532 2532
2533 } 2533 current =iv_ruleMetamodelElement;
2534 2534 match(input,EOF,FOLLOW_2);
2535 2535
2536 } 2536 }
2537 2537
2538 2538 }
2539 leaveRule(); 2539
2540 2540 catch (RecognitionException re) {
2541 } 2541 recover(input,re);
2542 2542 appendSkippedTokens();
2543 catch (RecognitionException re) { 2543 }
2544 recover(input,re); 2544 finally {
2545 appendSkippedTokens(); 2545 }
2546 } 2546 return current;
2547 finally { 2547 }
2548 } 2548 // $ANTLR end "entryRuleMetamodelElement"
2549 return current; 2549
2550 } 2550
2551 // $ANTLR end "ruleMetamodelElement" 2551 // $ANTLR start "ruleMetamodelElement"
2552 2552 // InternalApplicationConfiguration.g:898:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ;
2553 2553 public final EObject ruleMetamodelElement() throws RecognitionException {
2554 // $ANTLR start "entryRuleMetamodelDeclaration" 2554 EObject current = null;
2555 // InternalApplicationConfiguration.g:906:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; 2555
2556 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { 2556 Token otherlv_1=null;
2557 EObject current = null; 2557 Token otherlv_2=null;
2558 2558 Token otherlv_3=null;
2559 EObject iv_ruleMetamodelDeclaration = null; 2559 Token otherlv_4=null;
2560 2560
2561 2561
2562 try { 2562 enterRule();
2563 // InternalApplicationConfiguration.g:906:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) 2563
2564 // InternalApplicationConfiguration.g:907:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF 2564 try {
2565 { 2565 // InternalApplicationConfiguration.g:904:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) )
2566 newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); 2566 // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2567 pushFollow(FOLLOW_1); 2567 {
2568 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); 2568 // InternalApplicationConfiguration.g:905:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
2569 2569 // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2570 state._fsp--; 2570 {
2571 2571 // InternalApplicationConfiguration.g:906:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
2572 current =iv_ruleMetamodelDeclaration; 2572 int alt14=2;
2573 match(input,EOF,FOLLOW_2); 2573 int LA14_0 = input.LA(1);
2574 2574
2575 } 2575 if ( (LA14_0==RULE_ID) ) {
2576 2576 int LA14_1 = input.LA(2);
2577 } 2577
2578 2578 if ( (LA14_1==11) ) {
2579 catch (RecognitionException re) { 2579 int LA14_2 = input.LA(3);
2580 recover(input,re); 2580
2581 appendSkippedTokens(); 2581 if ( (LA14_2==RULE_ID) ) {
2582 } 2582 int LA14_5 = input.LA(4);
2583 finally { 2583
2584 } 2584 if ( (LA14_5==11||LA14_5==24) ) {
2585 return current; 2585 alt14=1;
2586 } 2586 }
2587 // $ANTLR end "entryRuleMetamodelDeclaration" 2587 }
2588 2588 }
2589 2589 else if ( (LA14_1==24) ) {
2590 // $ANTLR start "ruleMetamodelDeclaration" 2590 alt14=1;
2591 // InternalApplicationConfiguration.g:913:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; 2591 }
2592 public final EObject ruleMetamodelDeclaration() throws RecognitionException { 2592 }
2593 EObject current = null; 2593 switch (alt14) {
2594 2594 case 1 :
2595 Token otherlv_0=null; 2595 // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
2596 Token lv_name_1_0=null; 2596 {
2597 EObject lv_specification_2_0 = null; 2597 // InternalApplicationConfiguration.g:907:4: ( ( ruleQualifiedName ) )
2598 2598 // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName )
2599 2599 {
2600 2600 // InternalApplicationConfiguration.g:908:5: ( ruleQualifiedName )
2601 enterRule(); 2601 // InternalApplicationConfiguration.g:909:6: ruleQualifiedName
2602 2602 {
2603 try { 2603
2604 // InternalApplicationConfiguration.g:919:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) 2604 if (current==null) {
2605 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2605 current = createModelElement(grammarAccess.getMetamodelElementRule());
2606 { 2606 }
2607 // InternalApplicationConfiguration.g:920:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2607
2608 // InternalApplicationConfiguration.g:921:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2608
2609 { 2609 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
2610 otherlv_0=(Token)match(input,24,FOLLOW_6); 2610
2611 2611 pushFollow(FOLLOW_18);
2612 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 2612 ruleQualifiedName();
2613 2613
2614 // InternalApplicationConfiguration.g:925:3: ( (lv_name_1_0= RULE_ID ) ) 2614 state._fsp--;
2615 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2615
2616 { 2616
2617 // InternalApplicationConfiguration.g:926:4: (lv_name_1_0= RULE_ID ) 2617 afterParserOrEnumRuleCall();
2618 // InternalApplicationConfiguration.g:927:5: lv_name_1_0= RULE_ID 2618
2619 { 2619
2620 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 2620 }
2621 2621
2622 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 2622
2623 2623 }
2624 2624
2625 if (current==null) { 2625 otherlv_1=(Token)match(input,24,FOLLOW_6);
2626 current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 2626
2627 } 2627 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
2628 setWithLastConsumed( 2628
2629 current, 2629
2630 "name", 2630 }
2631 lv_name_1_0, 2631 break;
2632 "org.eclipse.xtext.common.Terminals.ID"); 2632
2633 2633 }
2634 2634
2635 } 2635 // InternalApplicationConfiguration.g:928:3: ( (otherlv_2= RULE_ID ) )
2636 2636 // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID )
2637 2637 {
2638 } 2638 // InternalApplicationConfiguration.g:929:4: (otherlv_2= RULE_ID )
2639 2639 // InternalApplicationConfiguration.g:930:5: otherlv_2= RULE_ID
2640 // InternalApplicationConfiguration.g:943:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2640 {
2641 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2641
2642 { 2642 if (current==null) {
2643 // InternalApplicationConfiguration.g:944:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2643 current = createModelElement(grammarAccess.getMetamodelElementRule());
2644 // InternalApplicationConfiguration.g:945:5: lv_specification_2_0= ruleMetamodelSpecification 2644 }
2645 { 2645
2646 2646 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5);
2647 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 2647
2648 2648 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
2649 pushFollow(FOLLOW_2); 2649
2650 lv_specification_2_0=ruleMetamodelSpecification(); 2650
2651 2651 }
2652 state._fsp--; 2652
2653 2653
2654 2654 }
2655 if (current==null) { 2655
2656 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 2656 // InternalApplicationConfiguration.g:941:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
2657 } 2657 int alt15=2;
2658 set( 2658 int LA15_0 = input.LA(1);
2659 current, 2659
2660 "specification", 2660 if ( (LA15_0==11) ) {
2661 lv_specification_2_0, 2661 alt15=1;
2662 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 2662 }
2663 afterParserOrEnumRuleCall(); 2663 switch (alt15) {
2664 2664 case 1 :
2665 2665 // InternalApplicationConfiguration.g:942:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) )
2666 } 2666 {
2667 2667 otherlv_3=(Token)match(input,11,FOLLOW_6);
2668 2668
2669 } 2669 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
2670 2670
2671 2671 // InternalApplicationConfiguration.g:946:4: ( (otherlv_4= RULE_ID ) )
2672 } 2672 // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID )
2673 2673 {
2674 2674 // InternalApplicationConfiguration.g:947:5: (otherlv_4= RULE_ID )
2675 } 2675 // InternalApplicationConfiguration.g:948:6: otherlv_4= RULE_ID
2676 2676 {
2677 2677
2678 leaveRule(); 2678 if (current==null) {
2679 2679 current = createModelElement(grammarAccess.getMetamodelElementRule());
2680 } 2680 }
2681 2681
2682 catch (RecognitionException re) { 2682 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2);
2683 recover(input,re); 2683
2684 appendSkippedTokens(); 2684 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
2685 } 2685
2686 finally { 2686
2687 } 2687 }
2688 return current; 2688
2689 } 2689
2690 // $ANTLR end "ruleMetamodelDeclaration" 2690 }
2691 2691
2692 2692
2693 // $ANTLR start "entryRuleMetamodelReference" 2693 }
2694 // InternalApplicationConfiguration.g:966:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; 2694 break;
2695 public final EObject entryRuleMetamodelReference() throws RecognitionException { 2695
2696 EObject current = null; 2696 }
2697 2697
2698 EObject iv_ruleMetamodelReference = null; 2698
2699 2699 }
2700 2700
2701 try { 2701
2702 // InternalApplicationConfiguration.g:966:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) 2702 }
2703 // InternalApplicationConfiguration.g:967:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF 2703
2704 { 2704
2705 newCompositeNode(grammarAccess.getMetamodelReferenceRule()); 2705 leaveRule();
2706 pushFollow(FOLLOW_1); 2706
2707 iv_ruleMetamodelReference=ruleMetamodelReference(); 2707 }
2708 2708
2709 state._fsp--; 2709 catch (RecognitionException re) {
2710 2710 recover(input,re);
2711 current =iv_ruleMetamodelReference; 2711 appendSkippedTokens();
2712 match(input,EOF,FOLLOW_2); 2712 }
2713 2713 finally {
2714 } 2714 }
2715 2715 return current;
2716 } 2716 }
2717 2717 // $ANTLR end "ruleMetamodelElement"
2718 catch (RecognitionException re) { 2718
2719 recover(input,re); 2719
2720 appendSkippedTokens(); 2720 // $ANTLR start "entryRuleMetamodelDeclaration"
2721 } 2721 // InternalApplicationConfiguration.g:964:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ;
2722 finally { 2722 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException {
2723 } 2723 EObject current = null;
2724 return current; 2724
2725 } 2725 EObject iv_ruleMetamodelDeclaration = null;
2726 // $ANTLR end "entryRuleMetamodelReference" 2726
2727 2727
2728 2728 try {
2729 // $ANTLR start "ruleMetamodelReference" 2729 // InternalApplicationConfiguration.g:964:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF )
2730 // InternalApplicationConfiguration.g:973:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 2730 // InternalApplicationConfiguration.g:965:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF
2731 public final EObject ruleMetamodelReference() throws RecognitionException { 2731 {
2732 EObject current = null; 2732 newCompositeNode(grammarAccess.getMetamodelDeclarationRule());
2733 2733 pushFollow(FOLLOW_1);
2734 Token otherlv_0=null; 2734 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration();
2735 2735
2736 2736 state._fsp--;
2737 enterRule(); 2737
2738 2738 current =iv_ruleMetamodelDeclaration;
2739 try { 2739 match(input,EOF,FOLLOW_2);
2740 // InternalApplicationConfiguration.g:979:2: ( ( (otherlv_0= RULE_ID ) ) ) 2740
2741 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2741 }
2742 { 2742
2743 // InternalApplicationConfiguration.g:980:2: ( (otherlv_0= RULE_ID ) ) 2743 }
2744 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2744
2745 { 2745 catch (RecognitionException re) {
2746 // InternalApplicationConfiguration.g:981:3: (otherlv_0= RULE_ID ) 2746 recover(input,re);
2747 // InternalApplicationConfiguration.g:982:4: otherlv_0= RULE_ID 2747 appendSkippedTokens();
2748 { 2748 }
2749 2749 finally {
2750 if (current==null) { 2750 }
2751 current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 2751 return current;
2752 } 2752 }
2753 2753 // $ANTLR end "entryRuleMetamodelDeclaration"
2754 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 2754
2755 2755
2756 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 2756 // $ANTLR start "ruleMetamodelDeclaration"
2757 2757 // InternalApplicationConfiguration.g:971:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ;
2758 2758 public final EObject ruleMetamodelDeclaration() throws RecognitionException {
2759 } 2759 EObject current = null;
2760 2760
2761 2761 Token otherlv_0=null;
2762 } 2762 Token lv_name_1_0=null;
2763 2763 EObject lv_specification_2_0 = null;
2764 2764
2765 } 2765
2766 2766
2767 2767 enterRule();
2768 leaveRule(); 2768
2769 2769 try {
2770 } 2770 // InternalApplicationConfiguration.g:977:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) )
2771 2771 // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2772 catch (RecognitionException re) { 2772 {
2773 recover(input,re); 2773 // InternalApplicationConfiguration.g:978:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
2774 appendSkippedTokens(); 2774 // InternalApplicationConfiguration.g:979:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2775 } 2775 {
2776 finally { 2776 otherlv_0=(Token)match(input,25,FOLLOW_6);
2777 } 2777
2778 return current; 2778 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
2779 } 2779
2780 // $ANTLR end "ruleMetamodelReference" 2780 // InternalApplicationConfiguration.g:983:3: ( (lv_name_1_0= RULE_ID ) )
2781 2781 // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID )
2782 2782 {
2783 // $ANTLR start "entryRuleMetamodel" 2783 // InternalApplicationConfiguration.g:984:4: (lv_name_1_0= RULE_ID )
2784 // InternalApplicationConfiguration.g:996:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; 2784 // InternalApplicationConfiguration.g:985:5: lv_name_1_0= RULE_ID
2785 public final EObject entryRuleMetamodel() throws RecognitionException { 2785 {
2786 EObject current = null; 2786 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
2787 2787
2788 EObject iv_ruleMetamodel = null; 2788 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
2789 2789
2790 2790
2791 try { 2791 if (current==null) {
2792 // InternalApplicationConfiguration.g:996:50: (iv_ruleMetamodel= ruleMetamodel EOF ) 2792 current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
2793 // InternalApplicationConfiguration.g:997:2: iv_ruleMetamodel= ruleMetamodel EOF 2793 }
2794 { 2794 setWithLastConsumed(
2795 newCompositeNode(grammarAccess.getMetamodelRule()); 2795 current,
2796 pushFollow(FOLLOW_1); 2796 "name",
2797 iv_ruleMetamodel=ruleMetamodel(); 2797 lv_name_1_0,
2798 2798 "org.eclipse.xtext.common.Terminals.ID");
2799 state._fsp--; 2799
2800 2800
2801 current =iv_ruleMetamodel; 2801 }
2802 match(input,EOF,FOLLOW_2); 2802
2803 2803
2804 } 2804 }
2805 2805
2806 } 2806 // InternalApplicationConfiguration.g:1001:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) )
2807 2807 // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification )
2808 catch (RecognitionException re) { 2808 {
2809 recover(input,re); 2809 // InternalApplicationConfiguration.g:1002:4: (lv_specification_2_0= ruleMetamodelSpecification )
2810 appendSkippedTokens(); 2810 // InternalApplicationConfiguration.g:1003:5: lv_specification_2_0= ruleMetamodelSpecification
2811 } 2811 {
2812 finally { 2812
2813 } 2813 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
2814 return current; 2814
2815 } 2815 pushFollow(FOLLOW_2);
2816 // $ANTLR end "entryRuleMetamodel" 2816 lv_specification_2_0=ruleMetamodelSpecification();
2817 2817
2818 2818 state._fsp--;
2819 // $ANTLR start "ruleMetamodel" 2819
2820 // InternalApplicationConfiguration.g:1003:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; 2820
2821 public final EObject ruleMetamodel() throws RecognitionException { 2821 if (current==null) {
2822 EObject current = null; 2822 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
2823 2823 }
2824 EObject this_MetamodelReference_0 = null; 2824 set(
2825 2825 current,
2826 EObject this_MetamodelSpecification_1 = null; 2826 "specification",
2827 2827 lv_specification_2_0,
2828 2828 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
2829 2829 afterParserOrEnumRuleCall();
2830 enterRule(); 2830
2831 2831
2832 try { 2832 }
2833 // InternalApplicationConfiguration.g:1009:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) 2833
2834 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2834
2835 { 2835 }
2836 // InternalApplicationConfiguration.g:1010:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) 2836
2837 int alt16=2; 2837
2838 int LA16_0 = input.LA(1); 2838 }
2839 2839
2840 if ( (LA16_0==RULE_ID) ) { 2840
2841 alt16=1; 2841 }
2842 } 2842
2843 else if ( (LA16_0==18) ) { 2843
2844 alt16=2; 2844 leaveRule();
2845 } 2845
2846 else { 2846 }
2847 NoViableAltException nvae = 2847
2848 new NoViableAltException("", 16, 0, input); 2848 catch (RecognitionException re) {
2849 2849 recover(input,re);
2850 throw nvae; 2850 appendSkippedTokens();
2851 } 2851 }
2852 switch (alt16) { 2852 finally {
2853 case 1 : 2853 }
2854 // InternalApplicationConfiguration.g:1011:3: this_MetamodelReference_0= ruleMetamodelReference 2854 return current;
2855 { 2855 }
2856 2856 // $ANTLR end "ruleMetamodelDeclaration"
2857 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); 2857
2858 2858
2859 pushFollow(FOLLOW_2); 2859 // $ANTLR start "entryRuleMetamodelReference"
2860 this_MetamodelReference_0=ruleMetamodelReference(); 2860 // InternalApplicationConfiguration.g:1024:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ;
2861 2861 public final EObject entryRuleMetamodelReference() throws RecognitionException {
2862 state._fsp--; 2862 EObject current = null;
2863 2863
2864 2864 EObject iv_ruleMetamodelReference = null;
2865 current = this_MetamodelReference_0; 2865
2866 afterParserOrEnumRuleCall(); 2866
2867 2867 try {
2868 2868 // InternalApplicationConfiguration.g:1024:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF )
2869 } 2869 // InternalApplicationConfiguration.g:1025:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF
2870 break; 2870 {
2871 case 2 : 2871 newCompositeNode(grammarAccess.getMetamodelReferenceRule());
2872 // InternalApplicationConfiguration.g:1020:3: this_MetamodelSpecification_1= ruleMetamodelSpecification 2872 pushFollow(FOLLOW_1);
2873 { 2873 iv_ruleMetamodelReference=ruleMetamodelReference();
2874 2874
2875 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); 2875 state._fsp--;
2876 2876
2877 pushFollow(FOLLOW_2); 2877 current =iv_ruleMetamodelReference;
2878 this_MetamodelSpecification_1=ruleMetamodelSpecification(); 2878 match(input,EOF,FOLLOW_2);
2879 2879
2880 state._fsp--; 2880 }
2881 2881
2882 2882 }
2883 current = this_MetamodelSpecification_1; 2883
2884 afterParserOrEnumRuleCall(); 2884 catch (RecognitionException re) {
2885 2885 recover(input,re);
2886 2886 appendSkippedTokens();
2887 } 2887 }
2888 break; 2888 finally {
2889 2889 }
2890 } 2890 return current;
2891 2891 }
2892 2892 // $ANTLR end "entryRuleMetamodelReference"
2893 } 2893
2894 2894
2895 2895 // $ANTLR start "ruleMetamodelReference"
2896 leaveRule(); 2896 // InternalApplicationConfiguration.g:1031:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
2897 2897 public final EObject ruleMetamodelReference() throws RecognitionException {
2898 } 2898 EObject current = null;
2899 2899
2900 catch (RecognitionException re) { 2900 Token otherlv_0=null;
2901 recover(input,re); 2901
2902 appendSkippedTokens(); 2902
2903 } 2903 enterRule();
2904 finally { 2904
2905 } 2905 try {
2906 return current; 2906 // InternalApplicationConfiguration.g:1037:2: ( ( (otherlv_0= RULE_ID ) ) )
2907 } 2907 // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) )
2908 // $ANTLR end "ruleMetamodel" 2908 {
2909 2909 // InternalApplicationConfiguration.g:1038:2: ( (otherlv_0= RULE_ID ) )
2910 2910 // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID )
2911 // $ANTLR start "entryRulePartialModelSpecification" 2911 {
2912 // InternalApplicationConfiguration.g:1032:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; 2912 // InternalApplicationConfiguration.g:1039:3: (otherlv_0= RULE_ID )
2913 public final EObject entryRulePartialModelSpecification() throws RecognitionException { 2913 // InternalApplicationConfiguration.g:1040:4: otherlv_0= RULE_ID
2914 EObject current = null; 2914 {
2915 2915
2916 EObject iv_rulePartialModelSpecification = null; 2916 if (current==null) {
2917 2917 current = createModelElement(grammarAccess.getMetamodelReferenceRule());
2918 2918 }
2919 try { 2919
2920 // InternalApplicationConfiguration.g:1032:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) 2920 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
2921 // InternalApplicationConfiguration.g:1033:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF 2921
2922 { 2922 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
2923 newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); 2923
2924 pushFollow(FOLLOW_1); 2924
2925 iv_rulePartialModelSpecification=rulePartialModelSpecification(); 2925 }
2926 2926
2927 state._fsp--; 2927
2928 2928 }
2929 current =iv_rulePartialModelSpecification; 2929
2930 match(input,EOF,FOLLOW_2); 2930
2931 2931 }
2932 } 2932
2933 2933
2934 } 2934 leaveRule();
2935 2935
2936 catch (RecognitionException re) { 2936 }
2937 recover(input,re); 2937
2938 appendSkippedTokens(); 2938 catch (RecognitionException re) {
2939 } 2939 recover(input,re);
2940 finally { 2940 appendSkippedTokens();
2941 } 2941 }
2942 return current; 2942 finally {
2943 } 2943 }
2944 // $ANTLR end "entryRulePartialModelSpecification" 2944 return current;
2945 2945 }
2946 2946 // $ANTLR end "ruleMetamodelReference"
2947 // $ANTLR start "rulePartialModelSpecification" 2947
2948 // InternalApplicationConfiguration.g:1039:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; 2948
2949 public final EObject rulePartialModelSpecification() throws RecognitionException { 2949 // $ANTLR start "entryRuleMetamodel"
2950 EObject current = null; 2950 // InternalApplicationConfiguration.g:1054:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ;
2951 2951 public final EObject entryRuleMetamodel() throws RecognitionException {
2952 Token otherlv_0=null; 2952 EObject current = null;
2953 Token otherlv_2=null; 2953
2954 Token otherlv_4=null; 2954 EObject iv_ruleMetamodel = null;
2955 EObject lv_entry_1_0 = null; 2955
2956 2956
2957 EObject lv_entry_3_0 = null; 2957 try {
2958 2958 // InternalApplicationConfiguration.g:1054:50: (iv_ruleMetamodel= ruleMetamodel EOF )
2959 2959 // InternalApplicationConfiguration.g:1055:2: iv_ruleMetamodel= ruleMetamodel EOF
2960 2960 {
2961 enterRule(); 2961 newCompositeNode(grammarAccess.getMetamodelRule());
2962 2962 pushFollow(FOLLOW_1);
2963 try { 2963 iv_ruleMetamodel=ruleMetamodel();
2964 // InternalApplicationConfiguration.g:1045:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) 2964
2965 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2965 state._fsp--;
2966 { 2966
2967 // InternalApplicationConfiguration.g:1046:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) 2967 current =iv_ruleMetamodel;
2968 // InternalApplicationConfiguration.g:1047:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' 2968 match(input,EOF,FOLLOW_2);
2969 { 2969
2970 otherlv_0=(Token)match(input,18,FOLLOW_18); 2970 }
2971 2971
2972 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 2972 }
2973 2973
2974 // InternalApplicationConfiguration.g:1051:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) 2974 catch (RecognitionException re) {
2975 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2975 recover(input,re);
2976 { 2976 appendSkippedTokens();
2977 // InternalApplicationConfiguration.g:1052:4: (lv_entry_1_0= rulePartialModelEntry ) 2977 }
2978 // InternalApplicationConfiguration.g:1053:5: lv_entry_1_0= rulePartialModelEntry 2978 finally {
2979 { 2979 }
2980 2980 return current;
2981 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); 2981 }
2982 2982 // $ANTLR end "entryRuleMetamodel"
2983 pushFollow(FOLLOW_14); 2983
2984 lv_entry_1_0=rulePartialModelEntry(); 2984
2985 2985 // $ANTLR start "ruleMetamodel"
2986 state._fsp--; 2986 // InternalApplicationConfiguration.g:1061:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ;
2987 2987 public final EObject ruleMetamodel() throws RecognitionException {
2988 2988 EObject current = null;
2989 if (current==null) { 2989
2990 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 2990 EObject this_MetamodelReference_0 = null;
2991 } 2991
2992 add( 2992 EObject this_MetamodelSpecification_1 = null;
2993 current, 2993
2994 "entry", 2994
2995 lv_entry_1_0, 2995
2996 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 2996 enterRule();
2997 afterParserOrEnumRuleCall(); 2997
2998 2998 try {
2999 2999 // InternalApplicationConfiguration.g:1067:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) )
3000 } 3000 // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
3001 3001 {
3002 3002 // InternalApplicationConfiguration.g:1068:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
3003 } 3003 int alt16=2;
3004 3004 int LA16_0 = input.LA(1);
3005 // InternalApplicationConfiguration.g:1070:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? 3005
3006 int alt17=2; 3006 if ( (LA16_0==RULE_ID) ) {
3007 int LA17_0 = input.LA(1); 3007 alt16=1;
3008 3008 }
3009 if ( (LA17_0==19) ) { 3009 else if ( (LA16_0==19) ) {
3010 alt17=1; 3010 alt16=2;
3011 } 3011 }
3012 switch (alt17) { 3012 else {
3013 case 1 : 3013 NoViableAltException nvae =
3014 // InternalApplicationConfiguration.g:1071:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) 3014 new NoViableAltException("", 16, 0, input);
3015 { 3015
3016 otherlv_2=(Token)match(input,19,FOLLOW_18); 3016 throw nvae;
3017 3017 }
3018 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); 3018 switch (alt16) {
3019 3019 case 1 :
3020 // InternalApplicationConfiguration.g:1075:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) 3020 // InternalApplicationConfiguration.g:1069:3: this_MetamodelReference_0= ruleMetamodelReference
3021 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3021 {
3022 { 3022
3023 // InternalApplicationConfiguration.g:1076:5: (lv_entry_3_0= rulePartialModelEntry ) 3023 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
3024 // InternalApplicationConfiguration.g:1077:6: lv_entry_3_0= rulePartialModelEntry 3024
3025 { 3025 pushFollow(FOLLOW_2);
3026 3026 this_MetamodelReference_0=ruleMetamodelReference();
3027 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); 3027
3028 3028 state._fsp--;
3029 pushFollow(FOLLOW_19); 3029
3030 lv_entry_3_0=rulePartialModelEntry(); 3030
3031 3031 current = this_MetamodelReference_0;
3032 state._fsp--; 3032 afterParserOrEnumRuleCall();
3033 3033
3034 3034
3035 if (current==null) { 3035 }
3036 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); 3036 break;
3037 } 3037 case 2 :
3038 add( 3038 // InternalApplicationConfiguration.g:1078:3: this_MetamodelSpecification_1= ruleMetamodelSpecification
3039 current, 3039 {
3040 "entry", 3040
3041 lv_entry_3_0, 3041 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
3042 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 3042
3043 afterParserOrEnumRuleCall(); 3043 pushFollow(FOLLOW_2);
3044 3044 this_MetamodelSpecification_1=ruleMetamodelSpecification();
3045 3045
3046 } 3046 state._fsp--;
3047 3047
3048 3048
3049 } 3049 current = this_MetamodelSpecification_1;
3050 3050 afterParserOrEnumRuleCall();
3051 3051
3052 } 3052
3053 break; 3053 }
3054 3054 break;
3055 } 3055
3056 3056 }
3057 otherlv_4=(Token)match(input,20,FOLLOW_2); 3057
3058 3058
3059 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); 3059 }
3060 3060
3061 3061
3062 } 3062 leaveRule();
3063 3063
3064 3064 }
3065 } 3065
3066 3066 catch (RecognitionException re) {
3067 3067 recover(input,re);
3068 leaveRule(); 3068 appendSkippedTokens();
3069 3069 }
3070 } 3070 finally {
3071 3071 }
3072 catch (RecognitionException re) { 3072 return current;
3073 recover(input,re); 3073 }
3074 appendSkippedTokens(); 3074 // $ANTLR end "ruleMetamodel"
3075 } 3075
3076 finally { 3076
3077 } 3077 // $ANTLR start "entryRulePartialModelSpecification"
3078 return current; 3078 // InternalApplicationConfiguration.g:1090:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ;
3079 } 3079 public final EObject entryRulePartialModelSpecification() throws RecognitionException {
3080 // $ANTLR end "rulePartialModelSpecification" 3080 EObject current = null;
3081 3081
3082 3082 EObject iv_rulePartialModelSpecification = null;
3083 // $ANTLR start "entryRulePartialModelEntry" 3083
3084 // InternalApplicationConfiguration.g:1103:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; 3084
3085 public final EObject entryRulePartialModelEntry() throws RecognitionException { 3085 try {
3086 EObject current = null; 3086 // InternalApplicationConfiguration.g:1090:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF )
3087 3087 // InternalApplicationConfiguration.g:1091:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF
3088 EObject iv_rulePartialModelEntry = null; 3088 {
3089 3089 newCompositeNode(grammarAccess.getPartialModelSpecificationRule());
3090 3090 pushFollow(FOLLOW_1);
3091 try { 3091 iv_rulePartialModelSpecification=rulePartialModelSpecification();
3092 // InternalApplicationConfiguration.g:1103:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) 3092
3093 // InternalApplicationConfiguration.g:1104:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF 3093 state._fsp--;
3094 { 3094
3095 newCompositeNode(grammarAccess.getPartialModelEntryRule()); 3095 current =iv_rulePartialModelSpecification;
3096 pushFollow(FOLLOW_1); 3096 match(input,EOF,FOLLOW_2);
3097 iv_rulePartialModelEntry=rulePartialModelEntry(); 3097
3098 3098 }
3099 state._fsp--; 3099
3100 3100 }
3101 current =iv_rulePartialModelEntry; 3101
3102 match(input,EOF,FOLLOW_2); 3102 catch (RecognitionException re) {
3103 3103 recover(input,re);
3104 } 3104 appendSkippedTokens();
3105 3105 }
3106 } 3106 finally {
3107 3107 }
3108 catch (RecognitionException re) { 3108 return current;
3109 recover(input,re); 3109 }
3110 appendSkippedTokens(); 3110 // $ANTLR end "entryRulePartialModelSpecification"
3111 } 3111
3112 finally { 3112
3113 } 3113 // $ANTLR start "rulePartialModelSpecification"
3114 return current; 3114 // InternalApplicationConfiguration.g:1097:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ;
3115 } 3115 public final EObject rulePartialModelSpecification() throws RecognitionException {
3116 // $ANTLR end "entryRulePartialModelEntry" 3116 EObject current = null;
3117 3117
3118 3118 Token otherlv_0=null;
3119 // $ANTLR start "rulePartialModelEntry" 3119 Token otherlv_2=null;
3120 // InternalApplicationConfiguration.g:1110:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; 3120 Token otherlv_4=null;
3121 public final EObject rulePartialModelEntry() throws RecognitionException { 3121 EObject lv_entry_1_0 = null;
3122 EObject current = null; 3122
3123 3123 EObject lv_entry_3_0 = null;
3124 EObject this_ModelEntry_0 = null; 3124
3125 3125
3126 EObject this_FolderEntry_1 = null; 3126
3127 3127 enterRule();
3128 3128
3129 3129 try {
3130 enterRule(); 3130 // InternalApplicationConfiguration.g:1103:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) )
3131 3131 // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3132 try { 3132 {
3133 // InternalApplicationConfiguration.g:1116:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) 3133 // InternalApplicationConfiguration.g:1104:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3134 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3134 // InternalApplicationConfiguration.g:1105:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}'
3135 { 3135 {
3136 // InternalApplicationConfiguration.g:1117:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) 3136 otherlv_0=(Token)match(input,19,FOLLOW_19);
3137 int alt18=2; 3137
3138 int LA18_0 = input.LA(1); 3138 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
3139 3139
3140 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) { 3140 // InternalApplicationConfiguration.g:1109:3: ( (lv_entry_1_0= rulePartialModelEntry ) )
3141 alt18=1; 3141 // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry )
3142 } 3142 {
3143 else if ( (LA18_0==25) ) { 3143 // InternalApplicationConfiguration.g:1110:4: (lv_entry_1_0= rulePartialModelEntry )
3144 alt18=2; 3144 // InternalApplicationConfiguration.g:1111:5: lv_entry_1_0= rulePartialModelEntry
3145 } 3145 {
3146 else { 3146
3147 NoViableAltException nvae = 3147 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
3148 new NoViableAltException("", 18, 0, input); 3148
3149 3149 pushFollow(FOLLOW_15);
3150 throw nvae; 3150 lv_entry_1_0=rulePartialModelEntry();
3151 } 3151
3152 switch (alt18) { 3152 state._fsp--;
3153 case 1 : 3153
3154 // InternalApplicationConfiguration.g:1118:3: this_ModelEntry_0= ruleModelEntry 3154
3155 { 3155 if (current==null) {
3156 3156 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3157 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); 3157 }
3158 3158 add(
3159 pushFollow(FOLLOW_2); 3159 current,
3160 this_ModelEntry_0=ruleModelEntry(); 3160 "entry",
3161 3161 lv_entry_1_0,
3162 state._fsp--; 3162 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3163 3163 afterParserOrEnumRuleCall();
3164 3164
3165 current = this_ModelEntry_0; 3165
3166 afterParserOrEnumRuleCall(); 3166 }
3167 3167
3168 3168
3169 } 3169 }
3170 break; 3170
3171 case 2 : 3171 // InternalApplicationConfiguration.g:1128:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )?
3172 // InternalApplicationConfiguration.g:1127:3: this_FolderEntry_1= ruleFolderEntry 3172 int alt17=2;
3173 { 3173 int LA17_0 = input.LA(1);
3174 3174
3175 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); 3175 if ( (LA17_0==20) ) {
3176 3176 alt17=1;
3177 pushFollow(FOLLOW_2); 3177 }
3178 this_FolderEntry_1=ruleFolderEntry(); 3178 switch (alt17) {
3179 3179 case 1 :
3180 state._fsp--; 3180 // InternalApplicationConfiguration.g:1129:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) )
3181 3181 {
3182 3182 otherlv_2=(Token)match(input,20,FOLLOW_19);
3183 current = this_FolderEntry_1; 3183
3184 afterParserOrEnumRuleCall(); 3184 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
3185 3185
3186 3186 // InternalApplicationConfiguration.g:1133:4: ( (lv_entry_3_0= rulePartialModelEntry ) )
3187 } 3187 // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry )
3188 break; 3188 {
3189 3189 // InternalApplicationConfiguration.g:1134:5: (lv_entry_3_0= rulePartialModelEntry )
3190 } 3190 // InternalApplicationConfiguration.g:1135:6: lv_entry_3_0= rulePartialModelEntry
3191 3191 {
3192 3192
3193 } 3193 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
3194 3194
3195 3195 pushFollow(FOLLOW_20);
3196 leaveRule(); 3196 lv_entry_3_0=rulePartialModelEntry();
3197 3197
3198 } 3198 state._fsp--;
3199 3199
3200 catch (RecognitionException re) { 3200
3201 recover(input,re); 3201 if (current==null) {
3202 appendSkippedTokens(); 3202 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3203 } 3203 }
3204 finally { 3204 add(
3205 } 3205 current,
3206 return current; 3206 "entry",
3207 } 3207 lv_entry_3_0,
3208 // $ANTLR end "rulePartialModelEntry" 3208 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3209 3209 afterParserOrEnumRuleCall();
3210 3210
3211 // $ANTLR start "entryRuleModelEntry" 3211
3212 // InternalApplicationConfiguration.g:1139:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; 3212 }
3213 public final EObject entryRuleModelEntry() throws RecognitionException { 3213
3214 EObject current = null; 3214
3215 3215 }
3216 EObject iv_ruleModelEntry = null; 3216
3217 3217
3218 3218 }
3219 try { 3219 break;
3220 // InternalApplicationConfiguration.g:1139:51: (iv_ruleModelEntry= ruleModelEntry EOF ) 3220
3221 // InternalApplicationConfiguration.g:1140:2: iv_ruleModelEntry= ruleModelEntry EOF 3221 }
3222 { 3222
3223 newCompositeNode(grammarAccess.getModelEntryRule()); 3223 otherlv_4=(Token)match(input,21,FOLLOW_2);
3224 pushFollow(FOLLOW_1); 3224
3225 iv_ruleModelEntry=ruleModelEntry(); 3225 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
3226 3226
3227 state._fsp--; 3227
3228 3228 }
3229 current =iv_ruleModelEntry; 3229
3230 match(input,EOF,FOLLOW_2); 3230
3231 3231 }
3232 } 3232
3233 3233
3234 } 3234 leaveRule();
3235 3235
3236 catch (RecognitionException re) { 3236 }
3237 recover(input,re); 3237
3238 appendSkippedTokens(); 3238 catch (RecognitionException re) {
3239 } 3239 recover(input,re);
3240 finally { 3240 appendSkippedTokens();
3241 } 3241 }
3242 return current; 3242 finally {
3243 } 3243 }
3244 // $ANTLR end "entryRuleModelEntry" 3244 return current;
3245 3245 }
3246 3246 // $ANTLR end "rulePartialModelSpecification"
3247 // $ANTLR start "ruleModelEntry" 3247
3248 // InternalApplicationConfiguration.g:1146:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; 3248
3249 public final EObject ruleModelEntry() throws RecognitionException { 3249 // $ANTLR start "entryRulePartialModelEntry"
3250 EObject current = null; 3250 // InternalApplicationConfiguration.g:1161:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ;
3251 3251 public final EObject entryRulePartialModelEntry() throws RecognitionException {
3252 EObject lv_path_0_0 = null; 3252 EObject current = null;
3253 3253
3254 3254 EObject iv_rulePartialModelEntry = null;
3255 3255
3256 enterRule(); 3256
3257 3257 try {
3258 try { 3258 // InternalApplicationConfiguration.g:1161:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF )
3259 // InternalApplicationConfiguration.g:1152:2: ( ( (lv_path_0_0= ruleFile ) ) ) 3259 // InternalApplicationConfiguration.g:1162:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF
3260 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3260 {
3261 { 3261 newCompositeNode(grammarAccess.getPartialModelEntryRule());
3262 // InternalApplicationConfiguration.g:1153:2: ( (lv_path_0_0= ruleFile ) ) 3262 pushFollow(FOLLOW_1);
3263 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3263 iv_rulePartialModelEntry=rulePartialModelEntry();
3264 { 3264
3265 // InternalApplicationConfiguration.g:1154:3: (lv_path_0_0= ruleFile ) 3265 state._fsp--;
3266 // InternalApplicationConfiguration.g:1155:4: lv_path_0_0= ruleFile 3266
3267 { 3267 current =iv_rulePartialModelEntry;
3268 3268 match(input,EOF,FOLLOW_2);
3269 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); 3269
3270 3270 }
3271 pushFollow(FOLLOW_2); 3271
3272 lv_path_0_0=ruleFile(); 3272 }
3273 3273
3274 state._fsp--; 3274 catch (RecognitionException re) {
3275 3275 recover(input,re);
3276 3276 appendSkippedTokens();
3277 if (current==null) { 3277 }
3278 current = createModelElementForParent(grammarAccess.getModelEntryRule()); 3278 finally {
3279 } 3279 }
3280 set( 3280 return current;
3281 current, 3281 }
3282 "path", 3282 // $ANTLR end "entryRulePartialModelEntry"
3283 lv_path_0_0, 3283
3284 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3284
3285 afterParserOrEnumRuleCall(); 3285 // $ANTLR start "rulePartialModelEntry"
3286 3286 // InternalApplicationConfiguration.g:1168:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ;
3287 3287 public final EObject rulePartialModelEntry() throws RecognitionException {
3288 } 3288 EObject current = null;
3289 3289
3290 3290 EObject this_ModelEntry_0 = null;
3291 } 3291
3292 3292 EObject this_FolderEntry_1 = null;
3293 3293
3294 } 3294
3295 3295
3296 3296 enterRule();
3297 leaveRule(); 3297
3298 3298 try {
3299 } 3299 // InternalApplicationConfiguration.g:1174:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) )
3300 3300 // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3301 catch (RecognitionException re) { 3301 {
3302 recover(input,re); 3302 // InternalApplicationConfiguration.g:1175:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3303 appendSkippedTokens(); 3303 int alt18=2;
3304 } 3304 int LA18_0 = input.LA(1);
3305 finally { 3305
3306 } 3306 if ( (LA18_0==RULE_ID||LA18_0==RULE_STRING) ) {
3307 return current; 3307 alt18=1;
3308 } 3308 }
3309 // $ANTLR end "ruleModelEntry" 3309 else if ( (LA18_0==26) ) {
3310 3310 alt18=2;
3311 3311 }
3312 // $ANTLR start "entryRuleFolderEntry" 3312 else {
3313 // InternalApplicationConfiguration.g:1175:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; 3313 NoViableAltException nvae =
3314 public final EObject entryRuleFolderEntry() throws RecognitionException { 3314 new NoViableAltException("", 18, 0, input);
3315 EObject current = null; 3315
3316 3316 throw nvae;
3317 EObject iv_ruleFolderEntry = null; 3317 }
3318 3318 switch (alt18) {
3319 3319 case 1 :
3320 try { 3320 // InternalApplicationConfiguration.g:1176:3: this_ModelEntry_0= ruleModelEntry
3321 // InternalApplicationConfiguration.g:1175:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) 3321 {
3322 // InternalApplicationConfiguration.g:1176:2: iv_ruleFolderEntry= ruleFolderEntry EOF 3322
3323 { 3323 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
3324 newCompositeNode(grammarAccess.getFolderEntryRule()); 3324
3325 pushFollow(FOLLOW_1); 3325 pushFollow(FOLLOW_2);
3326 iv_ruleFolderEntry=ruleFolderEntry(); 3326 this_ModelEntry_0=ruleModelEntry();
3327 3327
3328 state._fsp--; 3328 state._fsp--;
3329 3329
3330 current =iv_ruleFolderEntry; 3330
3331 match(input,EOF,FOLLOW_2); 3331 current = this_ModelEntry_0;
3332 3332 afterParserOrEnumRuleCall();
3333 } 3333
3334 3334
3335 } 3335 }
3336 3336 break;
3337 catch (RecognitionException re) { 3337 case 2 :
3338 recover(input,re); 3338 // InternalApplicationConfiguration.g:1185:3: this_FolderEntry_1= ruleFolderEntry
3339 appendSkippedTokens(); 3339 {
3340 } 3340
3341 finally { 3341 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
3342 } 3342
3343 return current; 3343 pushFollow(FOLLOW_2);
3344 } 3344 this_FolderEntry_1=ruleFolderEntry();
3345 // $ANTLR end "entryRuleFolderEntry" 3345
3346 3346 state._fsp--;
3347 3347
3348 // $ANTLR start "ruleFolderEntry" 3348
3349 // InternalApplicationConfiguration.g:1182:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; 3349 current = this_FolderEntry_1;
3350 public final EObject ruleFolderEntry() throws RecognitionException { 3350 afterParserOrEnumRuleCall();
3351 EObject current = null; 3351
3352 3352
3353 Token otherlv_0=null; 3353 }
3354 Token otherlv_2=null; 3354 break;
3355 Token otherlv_3=null; 3355
3356 Token otherlv_5=null; 3356 }
3357 Token otherlv_7=null; 3357
3358 EObject lv_path_1_0 = null; 3358
3359 3359 }
3360 EObject lv_exclusion_4_0 = null; 3360
3361 3361
3362 EObject lv_exclusion_6_0 = null; 3362 leaveRule();
3363 3363
3364 3364 }
3365 3365
3366 enterRule(); 3366 catch (RecognitionException re) {
3367 3367 recover(input,re);
3368 try { 3368 appendSkippedTokens();
3369 // InternalApplicationConfiguration.g:1188:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) 3369 }
3370 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3370 finally {
3371 { 3371 }
3372 // InternalApplicationConfiguration.g:1189:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) 3372 return current;
3373 // InternalApplicationConfiguration.g:1190:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3373 }
3374 { 3374 // $ANTLR end "rulePartialModelEntry"
3375 otherlv_0=(Token)match(input,25,FOLLOW_20); 3375
3376 3376
3377 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); 3377 // $ANTLR start "entryRuleModelEntry"
3378 3378 // InternalApplicationConfiguration.g:1197:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ;
3379 // InternalApplicationConfiguration.g:1194:3: ( (lv_path_1_0= ruleFile ) ) 3379 public final EObject entryRuleModelEntry() throws RecognitionException {
3380 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3380 EObject current = null;
3381 { 3381
3382 // InternalApplicationConfiguration.g:1195:4: (lv_path_1_0= ruleFile ) 3382 EObject iv_ruleModelEntry = null;
3383 // InternalApplicationConfiguration.g:1196:5: lv_path_1_0= ruleFile 3383
3384 { 3384
3385 3385 try {
3386 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); 3386 // InternalApplicationConfiguration.g:1197:51: (iv_ruleModelEntry= ruleModelEntry EOF )
3387 3387 // InternalApplicationConfiguration.g:1198:2: iv_ruleModelEntry= ruleModelEntry EOF
3388 pushFollow(FOLLOW_15); 3388 {
3389 lv_path_1_0=ruleFile(); 3389 newCompositeNode(grammarAccess.getModelEntryRule());
3390 3390 pushFollow(FOLLOW_1);
3391 state._fsp--; 3391 iv_ruleModelEntry=ruleModelEntry();
3392 3392
3393 3393 state._fsp--;
3394 if (current==null) { 3394
3395 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3395 current =iv_ruleModelEntry;
3396 } 3396 match(input,EOF,FOLLOW_2);
3397 set( 3397
3398 current, 3398 }
3399 "path", 3399
3400 lv_path_1_0, 3400 }
3401 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 3401
3402 afterParserOrEnumRuleCall(); 3402 catch (RecognitionException re) {
3403 3403 recover(input,re);
3404 3404 appendSkippedTokens();
3405 } 3405 }
3406 3406 finally {
3407 3407 }
3408 } 3408 return current;
3409 3409 }
3410 // InternalApplicationConfiguration.g:1213:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? 3410 // $ANTLR end "entryRuleModelEntry"
3411 int alt20=2; 3411
3412 int LA20_0 = input.LA(1); 3412
3413 3413 // $ANTLR start "ruleModelEntry"
3414 if ( (LA20_0==22) ) { 3414 // InternalApplicationConfiguration.g:1204:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ;
3415 alt20=1; 3415 public final EObject ruleModelEntry() throws RecognitionException {
3416 } 3416 EObject current = null;
3417 switch (alt20) { 3417
3418 case 1 : 3418 EObject lv_path_0_0 = null;
3419 // InternalApplicationConfiguration.g:1214:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' 3419
3420 { 3420
3421 otherlv_2=(Token)match(input,22,FOLLOW_16); 3421
3422 3422 enterRule();
3423 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); 3423
3424 3424 try {
3425 otherlv_3=(Token)match(input,18,FOLLOW_20); 3425 // InternalApplicationConfiguration.g:1210:2: ( ( (lv_path_0_0= ruleFile ) ) )
3426 3426 // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) )
3427 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); 3427 {
3428 3428 // InternalApplicationConfiguration.g:1211:2: ( (lv_path_0_0= ruleFile ) )
3429 // InternalApplicationConfiguration.g:1222:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) 3429 // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile )
3430 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3430 {
3431 { 3431 // InternalApplicationConfiguration.g:1212:3: (lv_path_0_0= ruleFile )
3432 // InternalApplicationConfiguration.g:1223:5: (lv_exclusion_4_0= ruleModelEntry ) 3432 // InternalApplicationConfiguration.g:1213:4: lv_path_0_0= ruleFile
3433 // InternalApplicationConfiguration.g:1224:6: lv_exclusion_4_0= ruleModelEntry 3433 {
3434 { 3434
3435 3435 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
3436 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); 3436
3437 3437 pushFollow(FOLLOW_2);
3438 pushFollow(FOLLOW_14); 3438 lv_path_0_0=ruleFile();
3439 lv_exclusion_4_0=ruleModelEntry(); 3439
3440 3440 state._fsp--;
3441 state._fsp--; 3441
3442 3442
3443 3443 if (current==null) {
3444 if (current==null) { 3444 current = createModelElementForParent(grammarAccess.getModelEntryRule());
3445 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3445 }
3446 } 3446 set(
3447 add( 3447 current,
3448 current, 3448 "path",
3449 "exclusion", 3449 lv_path_0_0,
3450 lv_exclusion_4_0, 3450 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3451 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3451 afterParserOrEnumRuleCall();
3452 afterParserOrEnumRuleCall(); 3452
3453 3453
3454 3454 }
3455 } 3455
3456 3456
3457 3457 }
3458 } 3458
3459 3459
3460 // InternalApplicationConfiguration.g:1241:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* 3460 }
3461 loop19: 3461
3462 do { 3462
3463 int alt19=2; 3463 leaveRule();
3464 int LA19_0 = input.LA(1); 3464
3465 3465 }
3466 if ( (LA19_0==19) ) { 3466
3467 alt19=1; 3467 catch (RecognitionException re) {
3468 } 3468 recover(input,re);
3469 3469 appendSkippedTokens();
3470 3470 }
3471 switch (alt19) { 3471 finally {
3472 case 1 : 3472 }
3473 // InternalApplicationConfiguration.g:1242:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) 3473 return current;
3474 { 3474 }
3475 otherlv_5=(Token)match(input,19,FOLLOW_20); 3475 // $ANTLR end "ruleModelEntry"
3476 3476
3477 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); 3477
3478 3478 // $ANTLR start "entryRuleFolderEntry"
3479 // InternalApplicationConfiguration.g:1246:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) 3479 // InternalApplicationConfiguration.g:1233:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ;
3480 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3480 public final EObject entryRuleFolderEntry() throws RecognitionException {
3481 { 3481 EObject current = null;
3482 // InternalApplicationConfiguration.g:1247:6: (lv_exclusion_6_0= ruleModelEntry ) 3482
3483 // InternalApplicationConfiguration.g:1248:7: lv_exclusion_6_0= ruleModelEntry 3483 EObject iv_ruleFolderEntry = null;
3484 { 3484
3485 3485
3486 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); 3486 try {
3487 3487 // InternalApplicationConfiguration.g:1233:52: (iv_ruleFolderEntry= ruleFolderEntry EOF )
3488 pushFollow(FOLLOW_14); 3488 // InternalApplicationConfiguration.g:1234:2: iv_ruleFolderEntry= ruleFolderEntry EOF
3489 lv_exclusion_6_0=ruleModelEntry(); 3489 {
3490 3490 newCompositeNode(grammarAccess.getFolderEntryRule());
3491 state._fsp--; 3491 pushFollow(FOLLOW_1);
3492 3492 iv_ruleFolderEntry=ruleFolderEntry();
3493 3493
3494 if (current==null) { 3494 state._fsp--;
3495 current = createModelElementForParent(grammarAccess.getFolderEntryRule()); 3495
3496 } 3496 current =iv_ruleFolderEntry;
3497 add( 3497 match(input,EOF,FOLLOW_2);
3498 current, 3498
3499 "exclusion", 3499 }
3500 lv_exclusion_6_0, 3500
3501 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 3501 }
3502 afterParserOrEnumRuleCall(); 3502
3503 3503 catch (RecognitionException re) {
3504 3504 recover(input,re);
3505 } 3505 appendSkippedTokens();
3506 3506 }
3507 3507 finally {
3508 } 3508 }
3509 3509 return current;
3510 3510 }
3511 } 3511 // $ANTLR end "entryRuleFolderEntry"
3512 break; 3512
3513 3513
3514 default : 3514 // $ANTLR start "ruleFolderEntry"
3515 break loop19; 3515 // InternalApplicationConfiguration.g:1240:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ;
3516 } 3516 public final EObject ruleFolderEntry() throws RecognitionException {
3517 } while (true); 3517 EObject current = null;
3518 3518
3519 otherlv_7=(Token)match(input,20,FOLLOW_2); 3519 Token otherlv_0=null;
3520 3520 Token otherlv_2=null;
3521 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); 3521 Token otherlv_3=null;
3522 3522 Token otherlv_5=null;
3523 3523 Token otherlv_7=null;
3524 } 3524 EObject lv_path_1_0 = null;
3525 break; 3525
3526 3526 EObject lv_exclusion_4_0 = null;
3527 } 3527
3528 3528 EObject lv_exclusion_6_0 = null;
3529 3529
3530 } 3530
3531 3531
3532 3532 enterRule();
3533 } 3533
3534 3534 try {
3535 3535 // InternalApplicationConfiguration.g:1246:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) )
3536 leaveRule(); 3536 // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3537 3537 {
3538 } 3538 // InternalApplicationConfiguration.g:1247:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? )
3539 3539 // InternalApplicationConfiguration.g:1248:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3540 catch (RecognitionException re) { 3540 {
3541 recover(input,re); 3541 otherlv_0=(Token)match(input,26,FOLLOW_21);
3542 appendSkippedTokens(); 3542
3543 } 3543 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
3544 finally { 3544
3545 } 3545 // InternalApplicationConfiguration.g:1252:3: ( (lv_path_1_0= ruleFile ) )
3546 return current; 3546 // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile )
3547 } 3547 {
3548 // $ANTLR end "ruleFolderEntry" 3548 // InternalApplicationConfiguration.g:1253:4: (lv_path_1_0= ruleFile )
3549 3549 // InternalApplicationConfiguration.g:1254:5: lv_path_1_0= ruleFile
3550 3550 {
3551 // $ANTLR start "entryRulePartialModelDeclaration" 3551
3552 // InternalApplicationConfiguration.g:1275:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; 3552 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
3553 public final EObject entryRulePartialModelDeclaration() throws RecognitionException { 3553
3554 EObject current = null; 3554 pushFollow(FOLLOW_16);
3555 3555 lv_path_1_0=ruleFile();
3556 EObject iv_rulePartialModelDeclaration = null; 3556
3557 3557 state._fsp--;
3558 3558
3559 try { 3559
3560 // InternalApplicationConfiguration.g:1275:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) 3560 if (current==null) {
3561 // InternalApplicationConfiguration.g:1276:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF 3561 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3562 { 3562 }
3563 newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); 3563 set(
3564 pushFollow(FOLLOW_1); 3564 current,
3565 iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); 3565 "path",
3566 3566 lv_path_1_0,
3567 state._fsp--; 3567 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3568 3568 afterParserOrEnumRuleCall();
3569 current =iv_rulePartialModelDeclaration; 3569
3570 match(input,EOF,FOLLOW_2); 3570
3571 3571 }
3572 } 3572
3573 3573
3574 } 3574 }
3575 3575
3576 catch (RecognitionException re) { 3576 // InternalApplicationConfiguration.g:1271:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3577 recover(input,re); 3577 int alt20=2;
3578 appendSkippedTokens(); 3578 int LA20_0 = input.LA(1);
3579 } 3579
3580 finally { 3580 if ( (LA20_0==23) ) {
3581 } 3581 alt20=1;
3582 return current; 3582 }
3583 } 3583 switch (alt20) {
3584 // $ANTLR end "entryRulePartialModelDeclaration" 3584 case 1 :
3585 3585 // InternalApplicationConfiguration.g:1272:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}'
3586 3586 {
3587 // $ANTLR start "rulePartialModelDeclaration" 3587 otherlv_2=(Token)match(input,23,FOLLOW_17);
3588 // InternalApplicationConfiguration.g:1282:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; 3588
3589 public final EObject rulePartialModelDeclaration() throws RecognitionException { 3589 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
3590 EObject current = null; 3590
3591 3591 otherlv_3=(Token)match(input,19,FOLLOW_21);
3592 Token otherlv_0=null; 3592
3593 Token lv_name_1_0=null; 3593 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
3594 EObject lv_specification_2_0 = null; 3594
3595 3595 // InternalApplicationConfiguration.g:1280:4: ( (lv_exclusion_4_0= ruleModelEntry ) )
3596 3596 // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry )
3597 3597 {
3598 enterRule(); 3598 // InternalApplicationConfiguration.g:1281:5: (lv_exclusion_4_0= ruleModelEntry )
3599 3599 // InternalApplicationConfiguration.g:1282:6: lv_exclusion_4_0= ruleModelEntry
3600 try { 3600 {
3601 // InternalApplicationConfiguration.g:1288:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) 3601
3602 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3602 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
3603 { 3603
3604 // InternalApplicationConfiguration.g:1289:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) 3604 pushFollow(FOLLOW_15);
3605 // InternalApplicationConfiguration.g:1290:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3605 lv_exclusion_4_0=ruleModelEntry();
3606 { 3606
3607 otherlv_0=(Token)match(input,26,FOLLOW_6); 3607 state._fsp--;
3608 3608
3609 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); 3609
3610 3610 if (current==null) {
3611 // InternalApplicationConfiguration.g:1294:3: ( (lv_name_1_0= RULE_ID ) ) 3611 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3612 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3612 }
3613 { 3613 add(
3614 // InternalApplicationConfiguration.g:1295:4: (lv_name_1_0= RULE_ID ) 3614 current,
3615 // InternalApplicationConfiguration.g:1296:5: lv_name_1_0= RULE_ID 3615 "exclusion",
3616 { 3616 lv_exclusion_4_0,
3617 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 3617 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3618 3618 afterParserOrEnumRuleCall();
3619 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 3619
3620 3620
3621 3621 }
3622 if (current==null) { 3622
3623 current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); 3623
3624 } 3624 }
3625 setWithLastConsumed( 3625
3626 current, 3626 // InternalApplicationConfiguration.g:1299:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )*
3627 "name", 3627 loop19:
3628 lv_name_1_0, 3628 do {
3629 "org.eclipse.xtext.common.Terminals.ID"); 3629 int alt19=2;
3630 3630 int LA19_0 = input.LA(1);
3631 3631
3632 } 3632 if ( (LA19_0==20) ) {
3633 3633 alt19=1;
3634 3634 }
3635 } 3635
3636 3636
3637 // InternalApplicationConfiguration.g:1312:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) 3637 switch (alt19) {
3638 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3638 case 1 :
3639 { 3639 // InternalApplicationConfiguration.g:1300:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) )
3640 // InternalApplicationConfiguration.g:1313:4: (lv_specification_2_0= rulePartialModelSpecification ) 3640 {
3641 // InternalApplicationConfiguration.g:1314:5: lv_specification_2_0= rulePartialModelSpecification 3641 otherlv_5=(Token)match(input,20,FOLLOW_21);
3642 { 3642
3643 3643 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
3644 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); 3644
3645 3645 // InternalApplicationConfiguration.g:1304:5: ( (lv_exclusion_6_0= ruleModelEntry ) )
3646 pushFollow(FOLLOW_2); 3646 // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry )
3647 lv_specification_2_0=rulePartialModelSpecification(); 3647 {
3648 3648 // InternalApplicationConfiguration.g:1305:6: (lv_exclusion_6_0= ruleModelEntry )
3649 state._fsp--; 3649 // InternalApplicationConfiguration.g:1306:7: lv_exclusion_6_0= ruleModelEntry
3650 3650 {
3651 3651
3652 if (current==null) { 3652 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
3653 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); 3653
3654 } 3654 pushFollow(FOLLOW_15);
3655 set( 3655 lv_exclusion_6_0=ruleModelEntry();
3656 current, 3656
3657 "specification", 3657 state._fsp--;
3658 lv_specification_2_0, 3658
3659 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 3659
3660 afterParserOrEnumRuleCall(); 3660 if (current==null) {
3661 3661 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3662 3662 }
3663 } 3663 add(
3664 3664 current,
3665 3665 "exclusion",
3666 } 3666 lv_exclusion_6_0,
3667 3667 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3668 3668 afterParserOrEnumRuleCall();
3669 } 3669
3670 3670
3671 3671 }
3672 } 3672
3673 3673
3674 3674 }
3675 leaveRule(); 3675
3676 3676
3677 } 3677 }
3678 3678 break;
3679 catch (RecognitionException re) { 3679
3680 recover(input,re); 3680 default :
3681 appendSkippedTokens(); 3681 break loop19;
3682 } 3682 }
3683 finally { 3683 } while (true);
3684 } 3684
3685 return current; 3685 otherlv_7=(Token)match(input,21,FOLLOW_2);
3686 } 3686
3687 // $ANTLR end "rulePartialModelDeclaration" 3687 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
3688 3688
3689 3689
3690 // $ANTLR start "entryRulePartialModelReference" 3690 }
3691 // InternalApplicationConfiguration.g:1335:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; 3691 break;
3692 public final EObject entryRulePartialModelReference() throws RecognitionException { 3692
3693 EObject current = null; 3693 }
3694 3694
3695 EObject iv_rulePartialModelReference = null; 3695
3696 3696 }
3697 3697
3698 try { 3698
3699 // InternalApplicationConfiguration.g:1335:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) 3699 }
3700 // InternalApplicationConfiguration.g:1336:2: iv_rulePartialModelReference= rulePartialModelReference EOF 3700
3701 { 3701
3702 newCompositeNode(grammarAccess.getPartialModelReferenceRule()); 3702 leaveRule();
3703 pushFollow(FOLLOW_1); 3703
3704 iv_rulePartialModelReference=rulePartialModelReference(); 3704 }
3705 3705
3706 state._fsp--; 3706 catch (RecognitionException re) {
3707 3707 recover(input,re);
3708 current =iv_rulePartialModelReference; 3708 appendSkippedTokens();
3709 match(input,EOF,FOLLOW_2); 3709 }
3710 3710 finally {
3711 } 3711 }
3712 3712 return current;
3713 } 3713 }
3714 3714 // $ANTLR end "ruleFolderEntry"
3715 catch (RecognitionException re) { 3715
3716 recover(input,re); 3716
3717 appendSkippedTokens(); 3717 // $ANTLR start "entryRulePartialModelDeclaration"
3718 } 3718 // InternalApplicationConfiguration.g:1333:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ;
3719 finally { 3719 public final EObject entryRulePartialModelDeclaration() throws RecognitionException {
3720 } 3720 EObject current = null;
3721 return current; 3721
3722 } 3722 EObject iv_rulePartialModelDeclaration = null;
3723 // $ANTLR end "entryRulePartialModelReference" 3723
3724 3724
3725 3725 try {
3726 // $ANTLR start "rulePartialModelReference" 3726 // InternalApplicationConfiguration.g:1333:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF )
3727 // InternalApplicationConfiguration.g:1342:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 3727 // InternalApplicationConfiguration.g:1334:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF
3728 public final EObject rulePartialModelReference() throws RecognitionException { 3728 {
3729 EObject current = null; 3729 newCompositeNode(grammarAccess.getPartialModelDeclarationRule());
3730 3730 pushFollow(FOLLOW_1);
3731 Token otherlv_0=null; 3731 iv_rulePartialModelDeclaration=rulePartialModelDeclaration();
3732 3732
3733 3733 state._fsp--;
3734 enterRule(); 3734
3735 3735 current =iv_rulePartialModelDeclaration;
3736 try { 3736 match(input,EOF,FOLLOW_2);
3737 // InternalApplicationConfiguration.g:1348:2: ( ( (otherlv_0= RULE_ID ) ) ) 3737
3738 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3738 }
3739 { 3739
3740 // InternalApplicationConfiguration.g:1349:2: ( (otherlv_0= RULE_ID ) ) 3740 }
3741 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3741
3742 { 3742 catch (RecognitionException re) {
3743 // InternalApplicationConfiguration.g:1350:3: (otherlv_0= RULE_ID ) 3743 recover(input,re);
3744 // InternalApplicationConfiguration.g:1351:4: otherlv_0= RULE_ID 3744 appendSkippedTokens();
3745 { 3745 }
3746 3746 finally {
3747 if (current==null) { 3747 }
3748 current = createModelElement(grammarAccess.getPartialModelReferenceRule()); 3748 return current;
3749 } 3749 }
3750 3750 // $ANTLR end "entryRulePartialModelDeclaration"
3751 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 3751
3752 3752
3753 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); 3753 // $ANTLR start "rulePartialModelDeclaration"
3754 3754 // InternalApplicationConfiguration.g:1340:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ;
3755 3755 public final EObject rulePartialModelDeclaration() throws RecognitionException {
3756 } 3756 EObject current = null;
3757 3757
3758 3758 Token otherlv_0=null;
3759 } 3759 Token lv_name_1_0=null;
3760 3760 EObject lv_specification_2_0 = null;
3761 3761
3762 } 3762
3763 3763
3764 3764 enterRule();
3765 leaveRule(); 3765
3766 3766 try {
3767 } 3767 // InternalApplicationConfiguration.g:1346:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) )
3768 3768 // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3769 catch (RecognitionException re) { 3769 {
3770 recover(input,re); 3770 // InternalApplicationConfiguration.g:1347:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3771 appendSkippedTokens(); 3771 // InternalApplicationConfiguration.g:1348:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) )
3772 } 3772 {
3773 finally { 3773 otherlv_0=(Token)match(input,27,FOLLOW_6);
3774 } 3774
3775 return current; 3775 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0());
3776 } 3776
3777 // $ANTLR end "rulePartialModelReference" 3777 // InternalApplicationConfiguration.g:1352:3: ( (lv_name_1_0= RULE_ID ) )
3778 3778 // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID )
3779 3779 {
3780 // $ANTLR start "entryRulePartialModel" 3780 // InternalApplicationConfiguration.g:1353:4: (lv_name_1_0= RULE_ID )
3781 // InternalApplicationConfiguration.g:1365:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; 3781 // InternalApplicationConfiguration.g:1354:5: lv_name_1_0= RULE_ID
3782 public final EObject entryRulePartialModel() throws RecognitionException { 3782 {
3783 EObject current = null; 3783 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
3784 3784
3785 EObject iv_rulePartialModel = null; 3785 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
3786 3786
3787 3787
3788 try { 3788 if (current==null) {
3789 // InternalApplicationConfiguration.g:1365:53: (iv_rulePartialModel= rulePartialModel EOF ) 3789 current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
3790 // InternalApplicationConfiguration.g:1366:2: iv_rulePartialModel= rulePartialModel EOF 3790 }
3791 { 3791 setWithLastConsumed(
3792 newCompositeNode(grammarAccess.getPartialModelRule()); 3792 current,
3793 pushFollow(FOLLOW_1); 3793 "name",
3794 iv_rulePartialModel=rulePartialModel(); 3794 lv_name_1_0,
3795 3795 "org.eclipse.xtext.common.Terminals.ID");
3796 state._fsp--; 3796
3797 3797
3798 current =iv_rulePartialModel; 3798 }
3799 match(input,EOF,FOLLOW_2); 3799
3800 3800
3801 } 3801 }
3802 3802
3803 } 3803 // InternalApplicationConfiguration.g:1370:3: ( (lv_specification_2_0= rulePartialModelSpecification ) )
3804 3804 // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification )
3805 catch (RecognitionException re) { 3805 {
3806 recover(input,re); 3806 // InternalApplicationConfiguration.g:1371:4: (lv_specification_2_0= rulePartialModelSpecification )
3807 appendSkippedTokens(); 3807 // InternalApplicationConfiguration.g:1372:5: lv_specification_2_0= rulePartialModelSpecification
3808 } 3808 {
3809 finally { 3809
3810 } 3810 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
3811 return current; 3811
3812 } 3812 pushFollow(FOLLOW_2);
3813 // $ANTLR end "entryRulePartialModel" 3813 lv_specification_2_0=rulePartialModelSpecification();
3814 3814
3815 3815 state._fsp--;
3816 // $ANTLR start "rulePartialModel" 3816
3817 // InternalApplicationConfiguration.g:1372:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; 3817
3818 public final EObject rulePartialModel() throws RecognitionException { 3818 if (current==null) {
3819 EObject current = null; 3819 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
3820 3820 }
3821 EObject this_PartialModelSpecification_0 = null; 3821 set(
3822 3822 current,
3823 EObject this_PartialModelReference_1 = null; 3823 "specification",
3824 3824 lv_specification_2_0,
3825 3825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
3826 3826 afterParserOrEnumRuleCall();
3827 enterRule(); 3827
3828 3828
3829 try { 3829 }
3830 // InternalApplicationConfiguration.g:1378:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) 3830
3831 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3831
3832 { 3832 }
3833 // InternalApplicationConfiguration.g:1379:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) 3833
3834 int alt21=2; 3834
3835 int LA21_0 = input.LA(1); 3835 }
3836 3836
3837 if ( (LA21_0==18) ) { 3837
3838 alt21=1; 3838 }
3839 } 3839
3840 else if ( (LA21_0==RULE_ID) ) { 3840
3841 alt21=2; 3841 leaveRule();
3842 } 3842
3843 else { 3843 }
3844 NoViableAltException nvae = 3844
3845 new NoViableAltException("", 21, 0, input); 3845 catch (RecognitionException re) {
3846 3846 recover(input,re);
3847 throw nvae; 3847 appendSkippedTokens();
3848 } 3848 }
3849 switch (alt21) { 3849 finally {
3850 case 1 : 3850 }
3851 // InternalApplicationConfiguration.g:1380:3: this_PartialModelSpecification_0= rulePartialModelSpecification 3851 return current;
3852 { 3852 }
3853 3853 // $ANTLR end "rulePartialModelDeclaration"
3854 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); 3854
3855 3855
3856 pushFollow(FOLLOW_2); 3856 // $ANTLR start "entryRulePartialModelReference"
3857 this_PartialModelSpecification_0=rulePartialModelSpecification(); 3857 // InternalApplicationConfiguration.g:1393:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ;
3858 3858 public final EObject entryRulePartialModelReference() throws RecognitionException {
3859 state._fsp--; 3859 EObject current = null;
3860 3860
3861 3861 EObject iv_rulePartialModelReference = null;
3862 current = this_PartialModelSpecification_0; 3862
3863 afterParserOrEnumRuleCall(); 3863
3864 3864 try {
3865 3865 // InternalApplicationConfiguration.g:1393:62: (iv_rulePartialModelReference= rulePartialModelReference EOF )
3866 } 3866 // InternalApplicationConfiguration.g:1394:2: iv_rulePartialModelReference= rulePartialModelReference EOF
3867 break; 3867 {
3868 case 2 : 3868 newCompositeNode(grammarAccess.getPartialModelReferenceRule());
3869 // InternalApplicationConfiguration.g:1389:3: this_PartialModelReference_1= rulePartialModelReference 3869 pushFollow(FOLLOW_1);
3870 { 3870 iv_rulePartialModelReference=rulePartialModelReference();
3871 3871
3872 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); 3872 state._fsp--;
3873 3873
3874 pushFollow(FOLLOW_2); 3874 current =iv_rulePartialModelReference;
3875 this_PartialModelReference_1=rulePartialModelReference(); 3875 match(input,EOF,FOLLOW_2);
3876 3876
3877 state._fsp--; 3877 }
3878 3878
3879 3879 }
3880 current = this_PartialModelReference_1; 3880
3881 afterParserOrEnumRuleCall(); 3881 catch (RecognitionException re) {
3882 3882 recover(input,re);
3883 3883 appendSkippedTokens();
3884 } 3884 }
3885 break; 3885 finally {
3886 3886 }
3887 } 3887 return current;
3888 3888 }
3889 3889 // $ANTLR end "entryRulePartialModelReference"
3890 } 3890
3891 3891
3892 3892 // $ANTLR start "rulePartialModelReference"
3893 leaveRule(); 3893 // InternalApplicationConfiguration.g:1400:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
3894 3894 public final EObject rulePartialModelReference() throws RecognitionException {
3895 } 3895 EObject current = null;
3896 3896
3897 catch (RecognitionException re) { 3897 Token otherlv_0=null;
3898 recover(input,re); 3898
3899 appendSkippedTokens(); 3899
3900 } 3900 enterRule();
3901 finally { 3901
3902 } 3902 try {
3903 return current; 3903 // InternalApplicationConfiguration.g:1406:2: ( ( (otherlv_0= RULE_ID ) ) )
3904 } 3904 // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) )
3905 // $ANTLR end "rulePartialModel" 3905 {
3906 3906 // InternalApplicationConfiguration.g:1407:2: ( (otherlv_0= RULE_ID ) )
3907 3907 // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID )
3908 // $ANTLR start "entryRulePatternSpecification" 3908 {
3909 // InternalApplicationConfiguration.g:1401:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; 3909 // InternalApplicationConfiguration.g:1408:3: (otherlv_0= RULE_ID )
3910 public final EObject entryRulePatternSpecification() throws RecognitionException { 3910 // InternalApplicationConfiguration.g:1409:4: otherlv_0= RULE_ID
3911 EObject current = null; 3911 {
3912 3912
3913 EObject iv_rulePatternSpecification = null; 3913 if (current==null) {
3914 3914 current = createModelElement(grammarAccess.getPartialModelReferenceRule());
3915 3915 }
3916 try { 3916
3917 // InternalApplicationConfiguration.g:1401:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) 3917 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
3918 // InternalApplicationConfiguration.g:1402:2: iv_rulePatternSpecification= rulePatternSpecification EOF 3918
3919 { 3919 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
3920 newCompositeNode(grammarAccess.getPatternSpecificationRule()); 3920
3921 pushFollow(FOLLOW_1); 3921
3922 iv_rulePatternSpecification=rulePatternSpecification(); 3922 }
3923 3923
3924 state._fsp--; 3924
3925 3925 }
3926 current =iv_rulePatternSpecification; 3926
3927 match(input,EOF,FOLLOW_2); 3927
3928 3928 }
3929 } 3929
3930 3930
3931 } 3931 leaveRule();
3932 3932
3933 catch (RecognitionException re) { 3933 }
3934 recover(input,re); 3934
3935 appendSkippedTokens(); 3935 catch (RecognitionException re) {
3936 } 3936 recover(input,re);
3937 finally { 3937 appendSkippedTokens();
3938 } 3938 }
3939 return current; 3939 finally {
3940 } 3940 }
3941 // $ANTLR end "entryRulePatternSpecification" 3941 return current;
3942 3942 }
3943 3943 // $ANTLR end "rulePartialModelReference"
3944 // $ANTLR start "rulePatternSpecification" 3944
3945 // InternalApplicationConfiguration.g:1408:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; 3945
3946 public final EObject rulePatternSpecification() throws RecognitionException { 3946 // $ANTLR start "entryRulePartialModel"
3947 EObject current = null; 3947 // InternalApplicationConfiguration.g:1423:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ;
3948 3948 public final EObject entryRulePartialModel() throws RecognitionException {
3949 Token otherlv_0=null; 3949 EObject current = null;
3950 Token otherlv_2=null; 3950
3951 Token otherlv_4=null; 3951 EObject iv_rulePartialModel = null;
3952 EObject lv_entries_1_0 = null; 3952
3953 3953
3954 EObject lv_entries_3_0 = null; 3954 try {
3955 3955 // InternalApplicationConfiguration.g:1423:53: (iv_rulePartialModel= rulePartialModel EOF )
3956 3956 // InternalApplicationConfiguration.g:1424:2: iv_rulePartialModel= rulePartialModel EOF
3957 3957 {
3958 enterRule(); 3958 newCompositeNode(grammarAccess.getPartialModelRule());
3959 3959 pushFollow(FOLLOW_1);
3960 try { 3960 iv_rulePartialModel=rulePartialModel();
3961 // InternalApplicationConfiguration.g:1414:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) 3961
3962 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3962 state._fsp--;
3963 { 3963
3964 // InternalApplicationConfiguration.g:1415:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) 3964 current =iv_rulePartialModel;
3965 // InternalApplicationConfiguration.g:1416:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' 3965 match(input,EOF,FOLLOW_2);
3966 { 3966
3967 otherlv_0=(Token)match(input,18,FOLLOW_13); 3967 }
3968 3968
3969 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); 3969 }
3970 3970
3971 // InternalApplicationConfiguration.g:1420:3: ( (lv_entries_1_0= rulePatternEntry ) ) 3971 catch (RecognitionException re) {
3972 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3972 recover(input,re);
3973 { 3973 appendSkippedTokens();
3974 // InternalApplicationConfiguration.g:1421:4: (lv_entries_1_0= rulePatternEntry ) 3974 }
3975 // InternalApplicationConfiguration.g:1422:5: lv_entries_1_0= rulePatternEntry 3975 finally {
3976 { 3976 }
3977 3977 return current;
3978 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); 3978 }
3979 3979 // $ANTLR end "entryRulePartialModel"
3980 pushFollow(FOLLOW_14); 3980
3981 lv_entries_1_0=rulePatternEntry(); 3981
3982 3982 // $ANTLR start "rulePartialModel"
3983 state._fsp--; 3983 // InternalApplicationConfiguration.g:1430:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ;
3984 3984 public final EObject rulePartialModel() throws RecognitionException {
3985 3985 EObject current = null;
3986 if (current==null) { 3986
3987 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 3987 EObject this_PartialModelSpecification_0 = null;
3988 } 3988
3989 add( 3989 EObject this_PartialModelReference_1 = null;
3990 current, 3990
3991 "entries", 3991
3992 lv_entries_1_0, 3992
3993 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 3993 enterRule();
3994 afterParserOrEnumRuleCall(); 3994
3995 3995 try {
3996 3996 // InternalApplicationConfiguration.g:1436:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) )
3997 } 3997 // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
3998 3998 {
3999 3999 // InternalApplicationConfiguration.g:1437:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
4000 } 4000 int alt21=2;
4001 4001 int LA21_0 = input.LA(1);
4002 // InternalApplicationConfiguration.g:1439:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* 4002
4003 loop22: 4003 if ( (LA21_0==19) ) {
4004 do { 4004 alt21=1;
4005 int alt22=2; 4005 }
4006 int LA22_0 = input.LA(1); 4006 else if ( (LA21_0==RULE_ID) ) {
4007 4007 alt21=2;
4008 if ( (LA22_0==19) ) { 4008 }
4009 alt22=1; 4009 else {
4010 } 4010 NoViableAltException nvae =
4011 4011 new NoViableAltException("", 21, 0, input);
4012 4012
4013 switch (alt22) { 4013 throw nvae;
4014 case 1 : 4014 }
4015 // InternalApplicationConfiguration.g:1440:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) 4015 switch (alt21) {
4016 { 4016 case 1 :
4017 otherlv_2=(Token)match(input,19,FOLLOW_13); 4017 // InternalApplicationConfiguration.g:1438:3: this_PartialModelSpecification_0= rulePartialModelSpecification
4018 4018 {
4019 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); 4019
4020 4020 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
4021 // InternalApplicationConfiguration.g:1444:4: ( (lv_entries_3_0= rulePatternEntry ) ) 4021
4022 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4022 pushFollow(FOLLOW_2);
4023 { 4023 this_PartialModelSpecification_0=rulePartialModelSpecification();
4024 // InternalApplicationConfiguration.g:1445:5: (lv_entries_3_0= rulePatternEntry ) 4024
4025 // InternalApplicationConfiguration.g:1446:6: lv_entries_3_0= rulePatternEntry 4025 state._fsp--;
4026 { 4026
4027 4027
4028 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); 4028 current = this_PartialModelSpecification_0;
4029 4029 afterParserOrEnumRuleCall();
4030 pushFollow(FOLLOW_14); 4030
4031 lv_entries_3_0=rulePatternEntry(); 4031
4032 4032 }
4033 state._fsp--; 4033 break;
4034 4034 case 2 :
4035 4035 // InternalApplicationConfiguration.g:1447:3: this_PartialModelReference_1= rulePartialModelReference
4036 if (current==null) { 4036 {
4037 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); 4037
4038 } 4038 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
4039 add( 4039
4040 current, 4040 pushFollow(FOLLOW_2);
4041 "entries", 4041 this_PartialModelReference_1=rulePartialModelReference();
4042 lv_entries_3_0, 4042
4043 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 4043 state._fsp--;
4044 afterParserOrEnumRuleCall(); 4044
4045 4045
4046 4046 current = this_PartialModelReference_1;
4047 } 4047 afterParserOrEnumRuleCall();
4048 4048
4049 4049
4050 } 4050 }
4051 4051 break;
4052 4052
4053 } 4053 }
4054 break; 4054
4055 4055
4056 default : 4056 }
4057 break loop22; 4057
4058 } 4058
4059 } while (true); 4059 leaveRule();
4060 4060
4061 otherlv_4=(Token)match(input,20,FOLLOW_2); 4061 }
4062 4062
4063 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); 4063 catch (RecognitionException re) {
4064 4064 recover(input,re);
4065 4065 appendSkippedTokens();
4066 } 4066 }
4067 4067 finally {
4068 4068 }
4069 } 4069 return current;
4070 4070 }
4071 4071 // $ANTLR end "rulePartialModel"
4072 leaveRule(); 4072
4073 4073
4074 } 4074 // $ANTLR start "entryRulePatternSpecification"
4075 4075 // InternalApplicationConfiguration.g:1459:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ;
4076 catch (RecognitionException re) { 4076 public final EObject entryRulePatternSpecification() throws RecognitionException {
4077 recover(input,re); 4077 EObject current = null;
4078 appendSkippedTokens(); 4078
4079 } 4079 EObject iv_rulePatternSpecification = null;
4080 finally { 4080
4081 } 4081
4082 return current; 4082 try {
4083 } 4083 // InternalApplicationConfiguration.g:1459:61: (iv_rulePatternSpecification= rulePatternSpecification EOF )
4084 // $ANTLR end "rulePatternSpecification" 4084 // InternalApplicationConfiguration.g:1460:2: iv_rulePatternSpecification= rulePatternSpecification EOF
4085 4085 {
4086 4086 newCompositeNode(grammarAccess.getPatternSpecificationRule());
4087 // $ANTLR start "entryRulePatternEntry" 4087 pushFollow(FOLLOW_1);
4088 // InternalApplicationConfiguration.g:1472:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; 4088 iv_rulePatternSpecification=rulePatternSpecification();
4089 public final EObject entryRulePatternEntry() throws RecognitionException { 4089
4090 EObject current = null; 4090 state._fsp--;
4091 4091
4092 EObject iv_rulePatternEntry = null; 4092 current =iv_rulePatternSpecification;
4093 4093 match(input,EOF,FOLLOW_2);
4094 4094
4095 try { 4095 }
4096 // InternalApplicationConfiguration.g:1472:53: (iv_rulePatternEntry= rulePatternEntry EOF ) 4096
4097 // InternalApplicationConfiguration.g:1473:2: iv_rulePatternEntry= rulePatternEntry EOF 4097 }
4098 { 4098
4099 newCompositeNode(grammarAccess.getPatternEntryRule()); 4099 catch (RecognitionException re) {
4100 pushFollow(FOLLOW_1); 4100 recover(input,re);
4101 iv_rulePatternEntry=rulePatternEntry(); 4101 appendSkippedTokens();
4102 4102 }
4103 state._fsp--; 4103 finally {
4104 4104 }
4105 current =iv_rulePatternEntry; 4105 return current;
4106 match(input,EOF,FOLLOW_2); 4106 }
4107 4107 // $ANTLR end "entryRulePatternSpecification"
4108 } 4108
4109 4109
4110 } 4110 // $ANTLR start "rulePatternSpecification"
4111 4111 // InternalApplicationConfiguration.g:1466:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ;
4112 catch (RecognitionException re) { 4112 public final EObject rulePatternSpecification() throws RecognitionException {
4113 recover(input,re); 4113 EObject current = null;
4114 appendSkippedTokens(); 4114
4115 } 4115 Token otherlv_0=null;
4116 finally { 4116 Token otherlv_2=null;
4117 } 4117 Token otherlv_4=null;
4118 return current; 4118 EObject lv_entries_1_0 = null;
4119 } 4119
4120 // $ANTLR end "entryRulePatternEntry" 4120 EObject lv_entries_3_0 = null;
4121 4121
4122 4122
4123 // $ANTLR start "rulePatternEntry" 4123
4124 // InternalApplicationConfiguration.g:1479:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; 4124 enterRule();
4125 public final EObject rulePatternEntry() throws RecognitionException { 4125
4126 EObject current = null; 4126 try {
4127 4127 // InternalApplicationConfiguration.g:1472:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) )
4128 EObject this_PatternElement_0 = null; 4128 // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4129 4129 {
4130 EObject this_AllPatternEntry_1 = null; 4130 // InternalApplicationConfiguration.g:1473:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4131 4131 // InternalApplicationConfiguration.g:1474:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}'
4132 4132 {
4133 4133 otherlv_0=(Token)match(input,19,FOLLOW_14);
4134 enterRule(); 4134
4135 4135 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
4136 try { 4136
4137 // InternalApplicationConfiguration.g:1485:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) 4137 // InternalApplicationConfiguration.g:1478:3: ( (lv_entries_1_0= rulePatternEntry ) )
4138 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4138 // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry )
4139 { 4139 {
4140 // InternalApplicationConfiguration.g:1486:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) 4140 // InternalApplicationConfiguration.g:1479:4: (lv_entries_1_0= rulePatternEntry )
4141 int alt23=2; 4141 // InternalApplicationConfiguration.g:1480:5: lv_entries_1_0= rulePatternEntry
4142 int LA23_0 = input.LA(1); 4142 {
4143 4143
4144 if ( (LA23_0==RULE_ID) ) { 4144 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
4145 alt23=1; 4145
4146 } 4146 pushFollow(FOLLOW_15);
4147 else if ( (LA23_0==21) ) { 4147 lv_entries_1_0=rulePatternEntry();
4148 alt23=2; 4148
4149 } 4149 state._fsp--;
4150 else { 4150
4151 NoViableAltException nvae = 4151
4152 new NoViableAltException("", 23, 0, input); 4152 if (current==null) {
4153 4153 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4154 throw nvae; 4154 }
4155 } 4155 add(
4156 switch (alt23) { 4156 current,
4157 case 1 : 4157 "entries",
4158 // InternalApplicationConfiguration.g:1487:3: this_PatternElement_0= rulePatternElement 4158 lv_entries_1_0,
4159 { 4159 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4160 4160 afterParserOrEnumRuleCall();
4161 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); 4161
4162 4162
4163 pushFollow(FOLLOW_2); 4163 }
4164 this_PatternElement_0=rulePatternElement(); 4164
4165 4165
4166 state._fsp--; 4166 }
4167 4167
4168 4168 // InternalApplicationConfiguration.g:1497:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )*
4169 current = this_PatternElement_0; 4169 loop22:
4170 afterParserOrEnumRuleCall(); 4170 do {
4171 4171 int alt22=2;
4172 4172 int LA22_0 = input.LA(1);
4173 } 4173
4174 break; 4174 if ( (LA22_0==20) ) {
4175 case 2 : 4175 alt22=1;
4176 // InternalApplicationConfiguration.g:1496:3: this_AllPatternEntry_1= ruleAllPatternEntry 4176 }
4177 { 4177
4178 4178
4179 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); 4179 switch (alt22) {
4180 4180 case 1 :
4181 pushFollow(FOLLOW_2); 4181 // InternalApplicationConfiguration.g:1498:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) )
4182 this_AllPatternEntry_1=ruleAllPatternEntry(); 4182 {
4183 4183 otherlv_2=(Token)match(input,20,FOLLOW_14);
4184 state._fsp--; 4184
4185 4185 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
4186 4186
4187 current = this_AllPatternEntry_1; 4187 // InternalApplicationConfiguration.g:1502:4: ( (lv_entries_3_0= rulePatternEntry ) )
4188 afterParserOrEnumRuleCall(); 4188 // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry )
4189 4189 {
4190 4190 // InternalApplicationConfiguration.g:1503:5: (lv_entries_3_0= rulePatternEntry )
4191 } 4191 // InternalApplicationConfiguration.g:1504:6: lv_entries_3_0= rulePatternEntry
4192 break; 4192 {
4193 4193
4194 } 4194 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
4195 4195
4196 4196 pushFollow(FOLLOW_15);
4197 } 4197 lv_entries_3_0=rulePatternEntry();
4198 4198
4199 4199 state._fsp--;
4200 leaveRule(); 4200
4201 4201
4202 } 4202 if (current==null) {
4203 4203 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4204 catch (RecognitionException re) { 4204 }
4205 recover(input,re); 4205 add(
4206 appendSkippedTokens(); 4206 current,
4207 } 4207 "entries",
4208 finally { 4208 lv_entries_3_0,
4209 } 4209 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4210 return current; 4210 afterParserOrEnumRuleCall();
4211 } 4211
4212 // $ANTLR end "rulePatternEntry" 4212
4213 4213 }
4214 4214
4215 // $ANTLR start "entryRuleAllPatternEntry" 4215
4216 // InternalApplicationConfiguration.g:1508:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; 4216 }
4217 public final EObject entryRuleAllPatternEntry() throws RecognitionException { 4217
4218 EObject current = null; 4218
4219 4219 }
4220 EObject iv_ruleAllPatternEntry = null; 4220 break;
4221 4221
4222 4222 default :
4223 try { 4223 break loop22;
4224 // InternalApplicationConfiguration.g:1508:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) 4224 }
4225 // InternalApplicationConfiguration.g:1509:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF 4225 } while (true);
4226 { 4226
4227 newCompositeNode(grammarAccess.getAllPatternEntryRule()); 4227 otherlv_4=(Token)match(input,21,FOLLOW_2);
4228 pushFollow(FOLLOW_1); 4228
4229 iv_ruleAllPatternEntry=ruleAllPatternEntry(); 4229 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
4230 4230
4231 state._fsp--; 4231
4232 4232 }
4233 current =iv_ruleAllPatternEntry; 4233
4234 match(input,EOF,FOLLOW_2); 4234
4235 4235 }
4236 } 4236
4237 4237
4238 } 4238 leaveRule();
4239 4239
4240 catch (RecognitionException re) { 4240 }
4241 recover(input,re); 4241
4242 appendSkippedTokens(); 4242 catch (RecognitionException re) {
4243 } 4243 recover(input,re);
4244 finally { 4244 appendSkippedTokens();
4245 } 4245 }
4246 return current; 4246 finally {
4247 } 4247 }
4248 // $ANTLR end "entryRuleAllPatternEntry" 4248 return current;
4249 4249 }
4250 4250 // $ANTLR end "rulePatternSpecification"
4251 // $ANTLR start "ruleAllPatternEntry" 4251
4252 // InternalApplicationConfiguration.g:1515:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; 4252
4253 public final EObject ruleAllPatternEntry() throws RecognitionException { 4253 // $ANTLR start "entryRulePatternEntry"
4254 EObject current = null; 4254 // InternalApplicationConfiguration.g:1530:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ;
4255 4255 public final EObject entryRulePatternEntry() throws RecognitionException {
4256 Token otherlv_0=null; 4256 EObject current = null;
4257 Token otherlv_2=null; 4257
4258 Token otherlv_3=null; 4258 EObject iv_rulePatternEntry = null;
4259 Token otherlv_5=null; 4259
4260 Token otherlv_7=null; 4260
4261 EObject lv_exclusuion_4_0 = null; 4261 try {
4262 4262 // InternalApplicationConfiguration.g:1530:53: (iv_rulePatternEntry= rulePatternEntry EOF )
4263 EObject lv_exclusuion_6_0 = null; 4263 // InternalApplicationConfiguration.g:1531:2: iv_rulePatternEntry= rulePatternEntry EOF
4264 4264 {
4265 4265 newCompositeNode(grammarAccess.getPatternEntryRule());
4266 4266 pushFollow(FOLLOW_1);
4267 enterRule(); 4267 iv_rulePatternEntry=rulePatternEntry();
4268 4268
4269 try { 4269 state._fsp--;
4270 // InternalApplicationConfiguration.g:1521:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) 4270
4271 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4271 current =iv_rulePatternEntry;
4272 { 4272 match(input,EOF,FOLLOW_2);
4273 // InternalApplicationConfiguration.g:1522:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) 4273
4274 // InternalApplicationConfiguration.g:1523:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4274 }
4275 { 4275
4276 otherlv_0=(Token)match(input,21,FOLLOW_6); 4276 }
4277 4277
4278 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); 4278 catch (RecognitionException re) {
4279 4279 recover(input,re);
4280 // InternalApplicationConfiguration.g:1527:3: ( ( ruleQualifiedName ) ) 4280 appendSkippedTokens();
4281 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4281 }
4282 { 4282 finally {
4283 // InternalApplicationConfiguration.g:1528:4: ( ruleQualifiedName ) 4283 }
4284 // InternalApplicationConfiguration.g:1529:5: ruleQualifiedName 4284 return current;
4285 { 4285 }
4286 4286 // $ANTLR end "entryRulePatternEntry"
4287 if (current==null) { 4287
4288 current = createModelElement(grammarAccess.getAllPatternEntryRule()); 4288
4289 } 4289 // $ANTLR start "rulePatternEntry"
4290 4290 // InternalApplicationConfiguration.g:1537:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ;
4291 4291 public final EObject rulePatternEntry() throws RecognitionException {
4292 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); 4292 EObject current = null;
4293 4293
4294 pushFollow(FOLLOW_15); 4294 EObject this_PatternElement_0 = null;
4295 ruleQualifiedName(); 4295
4296 4296 EObject this_AllPatternEntry_1 = null;
4297 state._fsp--; 4297
4298 4298
4299 4299
4300 afterParserOrEnumRuleCall(); 4300 enterRule();
4301 4301
4302 4302 try {
4303 } 4303 // InternalApplicationConfiguration.g:1543:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) )
4304 4304 // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4305 4305 {
4306 } 4306 // InternalApplicationConfiguration.g:1544:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4307 4307 int alt23=2;
4308 // InternalApplicationConfiguration.g:1543:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? 4308 int LA23_0 = input.LA(1);
4309 int alt25=2; 4309
4310 int LA25_0 = input.LA(1); 4310 if ( (LA23_0==RULE_ID) ) {
4311 4311 alt23=1;
4312 if ( (LA25_0==22) ) { 4312 }
4313 alt25=1; 4313 else if ( (LA23_0==22) ) {
4314 } 4314 alt23=2;
4315 switch (alt25) { 4315 }
4316 case 1 : 4316 else {
4317 // InternalApplicationConfiguration.g:1544:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' 4317 NoViableAltException nvae =
4318 { 4318 new NoViableAltException("", 23, 0, input);
4319 otherlv_2=(Token)match(input,22,FOLLOW_16); 4319
4320 4320 throw nvae;
4321 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); 4321 }
4322 4322 switch (alt23) {
4323 otherlv_3=(Token)match(input,18,FOLLOW_6); 4323 case 1 :
4324 4324 // InternalApplicationConfiguration.g:1545:3: this_PatternElement_0= rulePatternElement
4325 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); 4325 {
4326 4326
4327 // InternalApplicationConfiguration.g:1552:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) 4327 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
4328 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4328
4329 { 4329 pushFollow(FOLLOW_2);
4330 // InternalApplicationConfiguration.g:1553:5: (lv_exclusuion_4_0= rulePatternElement ) 4330 this_PatternElement_0=rulePatternElement();
4331 // InternalApplicationConfiguration.g:1554:6: lv_exclusuion_4_0= rulePatternElement 4331
4332 { 4332 state._fsp--;
4333 4333
4334 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); 4334
4335 4335 current = this_PatternElement_0;
4336 pushFollow(FOLLOW_14); 4336 afterParserOrEnumRuleCall();
4337 lv_exclusuion_4_0=rulePatternElement(); 4337
4338 4338
4339 state._fsp--; 4339 }
4340 4340 break;
4341 4341 case 2 :
4342 if (current==null) { 4342 // InternalApplicationConfiguration.g:1554:3: this_AllPatternEntry_1= ruleAllPatternEntry
4343 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4343 {
4344 } 4344
4345 add( 4345 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
4346 current, 4346
4347 "exclusuion", 4347 pushFollow(FOLLOW_2);
4348 lv_exclusuion_4_0, 4348 this_AllPatternEntry_1=ruleAllPatternEntry();
4349 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4349
4350 afterParserOrEnumRuleCall(); 4350 state._fsp--;
4351 4351
4352 4352
4353 } 4353 current = this_AllPatternEntry_1;
4354 4354 afterParserOrEnumRuleCall();
4355 4355
4356 } 4356
4357 4357 }
4358 // InternalApplicationConfiguration.g:1571:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* 4358 break;
4359 loop24: 4359
4360 do { 4360 }
4361 int alt24=2; 4361
4362 int LA24_0 = input.LA(1); 4362
4363 4363 }
4364 if ( (LA24_0==19) ) { 4364
4365 alt24=1; 4365
4366 } 4366 leaveRule();
4367 4367
4368 4368 }
4369 switch (alt24) { 4369
4370 case 1 : 4370 catch (RecognitionException re) {
4371 // InternalApplicationConfiguration.g:1572:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) 4371 recover(input,re);
4372 { 4372 appendSkippedTokens();
4373 otherlv_5=(Token)match(input,19,FOLLOW_6); 4373 }
4374 4374 finally {
4375 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); 4375 }
4376 4376 return current;
4377 // InternalApplicationConfiguration.g:1576:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) 4377 }
4378 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4378 // $ANTLR end "rulePatternEntry"
4379 { 4379
4380 // InternalApplicationConfiguration.g:1577:6: (lv_exclusuion_6_0= rulePatternElement ) 4380
4381 // InternalApplicationConfiguration.g:1578:7: lv_exclusuion_6_0= rulePatternElement 4381 // $ANTLR start "entryRuleAllPatternEntry"
4382 { 4382 // InternalApplicationConfiguration.g:1566:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ;
4383 4383 public final EObject entryRuleAllPatternEntry() throws RecognitionException {
4384 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); 4384 EObject current = null;
4385 4385
4386 pushFollow(FOLLOW_14); 4386 EObject iv_ruleAllPatternEntry = null;
4387 lv_exclusuion_6_0=rulePatternElement(); 4387
4388 4388
4389 state._fsp--; 4389 try {
4390 4390 // InternalApplicationConfiguration.g:1566:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF )
4391 4391 // InternalApplicationConfiguration.g:1567:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF
4392 if (current==null) { 4392 {
4393 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); 4393 newCompositeNode(grammarAccess.getAllPatternEntryRule());
4394 } 4394 pushFollow(FOLLOW_1);
4395 add( 4395 iv_ruleAllPatternEntry=ruleAllPatternEntry();
4396 current, 4396
4397 "exclusuion", 4397 state._fsp--;
4398 lv_exclusuion_6_0, 4398
4399 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 4399 current =iv_ruleAllPatternEntry;
4400 afterParserOrEnumRuleCall(); 4400 match(input,EOF,FOLLOW_2);
4401 4401
4402 4402 }
4403 } 4403
4404 4404 }
4405 4405
4406 } 4406 catch (RecognitionException re) {
4407 4407 recover(input,re);
4408 4408 appendSkippedTokens();
4409 } 4409 }
4410 break; 4410 finally {
4411 4411 }
4412 default : 4412 return current;
4413 break loop24; 4413 }
4414 } 4414 // $ANTLR end "entryRuleAllPatternEntry"
4415 } while (true); 4415
4416 4416
4417 otherlv_7=(Token)match(input,20,FOLLOW_2); 4417 // $ANTLR start "ruleAllPatternEntry"
4418 4418 // InternalApplicationConfiguration.g:1573:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ;
4419 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); 4419 public final EObject ruleAllPatternEntry() throws RecognitionException {
4420 4420 EObject current = null;
4421 4421
4422 } 4422 Token otherlv_0=null;
4423 break; 4423 Token otherlv_2=null;
4424 4424 Token otherlv_3=null;
4425 } 4425 Token otherlv_5=null;
4426 4426 Token otherlv_7=null;
4427 4427 EObject lv_exclusuion_4_0 = null;
4428 } 4428
4429 4429 EObject lv_exclusuion_6_0 = null;
4430 4430
4431 } 4431
4432 4432
4433 4433 enterRule();
4434 leaveRule(); 4434
4435 4435 try {
4436 } 4436 // InternalApplicationConfiguration.g:1579:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) )
4437 4437 // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4438 catch (RecognitionException re) { 4438 {
4439 recover(input,re); 4439 // InternalApplicationConfiguration.g:1580:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? )
4440 appendSkippedTokens(); 4440 // InternalApplicationConfiguration.g:1581:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4441 } 4441 {
4442 finally { 4442 otherlv_0=(Token)match(input,22,FOLLOW_6);
4443 } 4443
4444 return current; 4444 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
4445 } 4445
4446 // $ANTLR end "ruleAllPatternEntry" 4446 // InternalApplicationConfiguration.g:1585:3: ( ( ruleQualifiedName ) )
4447 4447 // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName )
4448 4448 {
4449 // $ANTLR start "entryRulePatternElement" 4449 // InternalApplicationConfiguration.g:1586:4: ( ruleQualifiedName )
4450 // InternalApplicationConfiguration.g:1605:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; 4450 // InternalApplicationConfiguration.g:1587:5: ruleQualifiedName
4451 public final EObject entryRulePatternElement() throws RecognitionException { 4451 {
4452 EObject current = null; 4452
4453 4453 if (current==null) {
4454 EObject iv_rulePatternElement = null; 4454 current = createModelElement(grammarAccess.getAllPatternEntryRule());
4455 4455 }
4456 4456
4457 try { 4457
4458 // InternalApplicationConfiguration.g:1605:55: (iv_rulePatternElement= rulePatternElement EOF ) 4458 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
4459 // InternalApplicationConfiguration.g:1606:2: iv_rulePatternElement= rulePatternElement EOF 4459
4460 { 4460 pushFollow(FOLLOW_16);
4461 newCompositeNode(grammarAccess.getPatternElementRule()); 4461 ruleQualifiedName();
4462 pushFollow(FOLLOW_1); 4462
4463 iv_rulePatternElement=rulePatternElement(); 4463 state._fsp--;
4464 4464
4465 state._fsp--; 4465
4466 4466 afterParserOrEnumRuleCall();
4467 current =iv_rulePatternElement; 4467
4468 match(input,EOF,FOLLOW_2); 4468
4469 4469 }
4470 } 4470
4471 4471
4472 } 4472 }
4473 4473
4474 catch (RecognitionException re) { 4474 // InternalApplicationConfiguration.g:1601:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4475 recover(input,re); 4475 int alt25=2;
4476 appendSkippedTokens(); 4476 int LA25_0 = input.LA(1);
4477 } 4477
4478 finally { 4478 if ( (LA25_0==23) ) {
4479 } 4479 alt25=1;
4480 return current; 4480 }
4481 } 4481 switch (alt25) {
4482 // $ANTLR end "entryRulePatternElement" 4482 case 1 :
4483 4483 // InternalApplicationConfiguration.g:1602:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}'
4484 4484 {
4485 // $ANTLR start "rulePatternElement" 4485 otherlv_2=(Token)match(input,23,FOLLOW_17);
4486 // InternalApplicationConfiguration.g:1612:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; 4486
4487 public final EObject rulePatternElement() throws RecognitionException { 4487 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
4488 EObject current = null; 4488
4489 4489 otherlv_3=(Token)match(input,19,FOLLOW_6);
4490 Token otherlv_1=null; 4490
4491 Token otherlv_2=null; 4491 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
4492 4492
4493 4493 // InternalApplicationConfiguration.g:1610:4: ( (lv_exclusuion_4_0= rulePatternElement ) )
4494 enterRule(); 4494 // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement )
4495 4495 {
4496 try { 4496 // InternalApplicationConfiguration.g:1611:5: (lv_exclusuion_4_0= rulePatternElement )
4497 // InternalApplicationConfiguration.g:1618:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) 4497 // InternalApplicationConfiguration.g:1612:6: lv_exclusuion_4_0= rulePatternElement
4498 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4498 {
4499 { 4499
4500 // InternalApplicationConfiguration.g:1619:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) 4500 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
4501 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) 4501
4502 { 4502 pushFollow(FOLLOW_15);
4503 // InternalApplicationConfiguration.g:1620:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? 4503 lv_exclusuion_4_0=rulePatternElement();
4504 int alt26=2; 4504
4505 int LA26_0 = input.LA(1); 4505 state._fsp--;
4506 4506
4507 if ( (LA26_0==RULE_ID) ) { 4507
4508 int LA26_1 = input.LA(2); 4508 if (current==null) {
4509 4509 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4510 if ( (LA26_1==11||LA26_1==23) ) { 4510 }
4511 alt26=1; 4511 add(
4512 } 4512 current,
4513 } 4513 "exclusuion",
4514 switch (alt26) { 4514 lv_exclusuion_4_0,
4515 case 1 : 4515 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4516 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' 4516 afterParserOrEnumRuleCall();
4517 { 4517
4518 // InternalApplicationConfiguration.g:1621:4: ( ( ruleQualifiedName ) ) 4518
4519 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4519 }
4520 { 4520
4521 // InternalApplicationConfiguration.g:1622:5: ( ruleQualifiedName ) 4521
4522 // InternalApplicationConfiguration.g:1623:6: ruleQualifiedName 4522 }
4523 { 4523
4524 4524 // InternalApplicationConfiguration.g:1629:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )*
4525 if (current==null) { 4525 loop24:
4526 current = createModelElement(grammarAccess.getPatternElementRule()); 4526 do {
4527 } 4527 int alt24=2;
4528 4528 int LA24_0 = input.LA(1);
4529 4529
4530 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); 4530 if ( (LA24_0==20) ) {
4531 4531 alt24=1;
4532 pushFollow(FOLLOW_17); 4532 }
4533 ruleQualifiedName(); 4533
4534 4534
4535 state._fsp--; 4535 switch (alt24) {
4536 4536 case 1 :
4537 4537 // InternalApplicationConfiguration.g:1630:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) )
4538 afterParserOrEnumRuleCall(); 4538 {
4539 4539 otherlv_5=(Token)match(input,20,FOLLOW_6);
4540 4540
4541 } 4541 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
4542 4542
4543 4543 // InternalApplicationConfiguration.g:1634:5: ( (lv_exclusuion_6_0= rulePatternElement ) )
4544 } 4544 // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement )
4545 4545 {
4546 otherlv_1=(Token)match(input,23,FOLLOW_6); 4546 // InternalApplicationConfiguration.g:1635:6: (lv_exclusuion_6_0= rulePatternElement )
4547 4547 // InternalApplicationConfiguration.g:1636:7: lv_exclusuion_6_0= rulePatternElement
4548 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); 4548 {
4549 4549
4550 4550 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
4551 } 4551
4552 break; 4552 pushFollow(FOLLOW_15);
4553 4553 lv_exclusuion_6_0=rulePatternElement();
4554 } 4554
4555 4555 state._fsp--;
4556 // InternalApplicationConfiguration.g:1642:3: ( (otherlv_2= RULE_ID ) ) 4556
4557 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4557
4558 { 4558 if (current==null) {
4559 // InternalApplicationConfiguration.g:1643:4: (otherlv_2= RULE_ID ) 4559 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4560 // InternalApplicationConfiguration.g:1644:5: otherlv_2= RULE_ID 4560 }
4561 { 4561 add(
4562 4562 current,
4563 if (current==null) { 4563 "exclusuion",
4564 current = createModelElement(grammarAccess.getPatternElementRule()); 4564 lv_exclusuion_6_0,
4565 } 4565 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4566 4566 afterParserOrEnumRuleCall();
4567 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); 4567
4568 4568
4569 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); 4569 }
4570 4570
4571 4571
4572 } 4572 }
4573 4573
4574 4574
4575 } 4575 }
4576 4576 break;
4577 4577
4578 } 4578 default :
4579 4579 break loop24;
4580 4580 }
4581 } 4581 } while (true);
4582 4582
4583 4583 otherlv_7=(Token)match(input,21,FOLLOW_2);
4584 leaveRule(); 4584
4585 4585 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
4586 } 4586
4587 4587
4588 catch (RecognitionException re) { 4588 }
4589 recover(input,re); 4589 break;
4590 appendSkippedTokens(); 4590
4591 } 4591 }
4592 finally { 4592
4593 } 4593
4594 return current; 4594 }
4595 } 4595
4596 // $ANTLR end "rulePatternElement" 4596
4597 4597 }
4598 4598
4599 // $ANTLR start "entryRuleGraphPatternDeclaration" 4599
4600 // InternalApplicationConfiguration.g:1659:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; 4600 leaveRule();
4601 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { 4601
4602 EObject current = null; 4602 }
4603 4603
4604 EObject iv_ruleGraphPatternDeclaration = null; 4604 catch (RecognitionException re) {
4605 4605 recover(input,re);
4606 4606 appendSkippedTokens();
4607 try { 4607 }
4608 // InternalApplicationConfiguration.g:1659:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) 4608 finally {
4609 // InternalApplicationConfiguration.g:1660:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF 4609 }
4610 { 4610 return current;
4611 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); 4611 }
4612 pushFollow(FOLLOW_1); 4612 // $ANTLR end "ruleAllPatternEntry"
4613 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); 4613
4614 4614
4615 state._fsp--; 4615 // $ANTLR start "entryRulePatternElement"
4616 4616 // InternalApplicationConfiguration.g:1663:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ;
4617 current =iv_ruleGraphPatternDeclaration; 4617 public final EObject entryRulePatternElement() throws RecognitionException {
4618 match(input,EOF,FOLLOW_2); 4618 EObject current = null;
4619 4619
4620 } 4620 EObject iv_rulePatternElement = null;
4621 4621
4622 } 4622
4623 4623 try {
4624 catch (RecognitionException re) { 4624 // InternalApplicationConfiguration.g:1663:55: (iv_rulePatternElement= rulePatternElement EOF )
4625 recover(input,re); 4625 // InternalApplicationConfiguration.g:1664:2: iv_rulePatternElement= rulePatternElement EOF
4626 appendSkippedTokens(); 4626 {
4627 } 4627 newCompositeNode(grammarAccess.getPatternElementRule());
4628 finally { 4628 pushFollow(FOLLOW_1);
4629 } 4629 iv_rulePatternElement=rulePatternElement();
4630 return current; 4630
4631 } 4631 state._fsp--;
4632 // $ANTLR end "entryRuleGraphPatternDeclaration" 4632
4633 4633 current =iv_rulePatternElement;
4634 4634 match(input,EOF,FOLLOW_2);
4635 // $ANTLR start "ruleGraphPatternDeclaration" 4635
4636 // InternalApplicationConfiguration.g:1666:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; 4636 }
4637 public final EObject ruleGraphPatternDeclaration() throws RecognitionException { 4637
4638 EObject current = null; 4638 }
4639 4639
4640 Token otherlv_0=null; 4640 catch (RecognitionException re) {
4641 Token lv_name_1_0=null; 4641 recover(input,re);
4642 EObject lv_specification_2_0 = null; 4642 appendSkippedTokens();
4643 4643 }
4644 4644 finally {
4645 4645 }
4646 enterRule(); 4646 return current;
4647 4647 }
4648 try { 4648 // $ANTLR end "entryRulePatternElement"
4649 // InternalApplicationConfiguration.g:1672:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) 4649
4650 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4650
4651 { 4651 // $ANTLR start "rulePatternElement"
4652 // InternalApplicationConfiguration.g:1673:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) 4652 // InternalApplicationConfiguration.g:1670:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ;
4653 // InternalApplicationConfiguration.g:1674:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) 4653 public final EObject rulePatternElement() throws RecognitionException {
4654 { 4654 EObject current = null;
4655 otherlv_0=(Token)match(input,27,FOLLOW_6); 4655
4656 4656 Token otherlv_1=null;
4657 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0()); 4657 Token otherlv_2=null;
4658 4658
4659 // InternalApplicationConfiguration.g:1678:3: ( (lv_name_1_0= RULE_ID ) ) 4659
4660 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4660 enterRule();
4661 { 4661
4662 // InternalApplicationConfiguration.g:1679:4: (lv_name_1_0= RULE_ID ) 4662 try {
4663 // InternalApplicationConfiguration.g:1680:5: lv_name_1_0= RULE_ID 4663 // InternalApplicationConfiguration.g:1676:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) )
4664 { 4664 // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4665 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 4665 {
4666 4666 // InternalApplicationConfiguration.g:1677:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4667 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 4667 // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) )
4668 4668 {
4669 4669 // InternalApplicationConfiguration.g:1678:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
4670 if (current==null) { 4670 int alt26=2;
4671 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); 4671 int LA26_0 = input.LA(1);
4672 } 4672
4673 setWithLastConsumed( 4673 if ( (LA26_0==RULE_ID) ) {
4674 current, 4674 int LA26_1 = input.LA(2);
4675 "name", 4675
4676 lv_name_1_0, 4676 if ( (LA26_1==11||LA26_1==24) ) {
4677 "org.eclipse.xtext.common.Terminals.ID"); 4677 alt26=1;
4678 4678 }
4679 4679 }
4680 } 4680 switch (alt26) {
4681 4681 case 1 :
4682 4682 // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
4683 } 4683 {
4684 4684 // InternalApplicationConfiguration.g:1679:4: ( ( ruleQualifiedName ) )
4685 // InternalApplicationConfiguration.g:1696:3: ( (lv_specification_2_0= rulePatternSpecification ) ) 4685 // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName )
4686 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4686 {
4687 { 4687 // InternalApplicationConfiguration.g:1680:5: ( ruleQualifiedName )
4688 // InternalApplicationConfiguration.g:1697:4: (lv_specification_2_0= rulePatternSpecification ) 4688 // InternalApplicationConfiguration.g:1681:6: ruleQualifiedName
4689 // InternalApplicationConfiguration.g:1698:5: lv_specification_2_0= rulePatternSpecification 4689 {
4690 { 4690
4691 4691 if (current==null) {
4692 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); 4692 current = createModelElement(grammarAccess.getPatternElementRule());
4693 4693 }
4694 pushFollow(FOLLOW_2); 4694
4695 lv_specification_2_0=rulePatternSpecification(); 4695
4696 4696 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
4697 state._fsp--; 4697
4698 4698 pushFollow(FOLLOW_18);
4699 4699 ruleQualifiedName();
4700 if (current==null) { 4700
4701 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); 4701 state._fsp--;
4702 } 4702
4703 set( 4703
4704 current, 4704 afterParserOrEnumRuleCall();
4705 "specification", 4705
4706 lv_specification_2_0, 4706
4707 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 4707 }
4708 afterParserOrEnumRuleCall(); 4708
4709 4709
4710 4710 }
4711 } 4711
4712 4712 otherlv_1=(Token)match(input,24,FOLLOW_6);
4713 4713
4714 } 4714 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
4715 4715
4716 4716
4717 } 4717 }
4718 4718 break;
4719 4719
4720 } 4720 }
4721 4721
4722 4722 // InternalApplicationConfiguration.g:1700:3: ( (otherlv_2= RULE_ID ) )
4723 leaveRule(); 4723 // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID )
4724 4724 {
4725 } 4725 // InternalApplicationConfiguration.g:1701:4: (otherlv_2= RULE_ID )
4726 4726 // InternalApplicationConfiguration.g:1702:5: otherlv_2= RULE_ID
4727 catch (RecognitionException re) { 4727 {
4728 recover(input,re); 4728
4729 appendSkippedTokens(); 4729 if (current==null) {
4730 } 4730 current = createModelElement(grammarAccess.getPatternElementRule());
4731 finally { 4731 }
4732 } 4732
4733 return current; 4733 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2);
4734 } 4734
4735 // $ANTLR end "ruleGraphPatternDeclaration" 4735 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
4736 4736
4737 4737
4738 // $ANTLR start "entryRuleGraphPatternReference" 4738 }
4739 // InternalApplicationConfiguration.g:1719:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; 4739
4740 public final EObject entryRuleGraphPatternReference() throws RecognitionException { 4740
4741 EObject current = null; 4741 }
4742 4742
4743 EObject iv_ruleGraphPatternReference = null; 4743
4744 4744 }
4745 4745
4746 try { 4746
4747 // InternalApplicationConfiguration.g:1719:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) 4747 }
4748 // InternalApplicationConfiguration.g:1720:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF 4748
4749 { 4749
4750 newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); 4750 leaveRule();
4751 pushFollow(FOLLOW_1); 4751
4752 iv_ruleGraphPatternReference=ruleGraphPatternReference(); 4752 }
4753 4753
4754 state._fsp--; 4754 catch (RecognitionException re) {
4755 4755 recover(input,re);
4756 current =iv_ruleGraphPatternReference; 4756 appendSkippedTokens();
4757 match(input,EOF,FOLLOW_2); 4757 }
4758 4758 finally {
4759 } 4759 }
4760 4760 return current;
4761 } 4761 }
4762 4762 // $ANTLR end "rulePatternElement"
4763 catch (RecognitionException re) { 4763
4764 recover(input,re); 4764
4765 appendSkippedTokens(); 4765 // $ANTLR start "entryRuleGraphPatternDeclaration"
4766 } 4766 // InternalApplicationConfiguration.g:1717:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ;
4767 finally { 4767 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException {
4768 } 4768 EObject current = null;
4769 return current; 4769
4770 } 4770 EObject iv_ruleGraphPatternDeclaration = null;
4771 // $ANTLR end "entryRuleGraphPatternReference" 4771
4772 4772
4773 4773 try {
4774 // $ANTLR start "ruleGraphPatternReference" 4774 // InternalApplicationConfiguration.g:1717:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF )
4775 // InternalApplicationConfiguration.g:1726:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 4775 // InternalApplicationConfiguration.g:1718:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF
4776 public final EObject ruleGraphPatternReference() throws RecognitionException { 4776 {
4777 EObject current = null; 4777 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule());
4778 4778 pushFollow(FOLLOW_1);
4779 Token otherlv_0=null; 4779 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration();
4780 4780
4781 4781 state._fsp--;
4782 enterRule(); 4782
4783 4783 current =iv_ruleGraphPatternDeclaration;
4784 try { 4784 match(input,EOF,FOLLOW_2);
4785 // InternalApplicationConfiguration.g:1732:2: ( ( (otherlv_0= RULE_ID ) ) ) 4785
4786 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4786 }
4787 { 4787
4788 // InternalApplicationConfiguration.g:1733:2: ( (otherlv_0= RULE_ID ) ) 4788 }
4789 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4789
4790 { 4790 catch (RecognitionException re) {
4791 // InternalApplicationConfiguration.g:1734:3: (otherlv_0= RULE_ID ) 4791 recover(input,re);
4792 // InternalApplicationConfiguration.g:1735:4: otherlv_0= RULE_ID 4792 appendSkippedTokens();
4793 { 4793 }
4794 4794 finally {
4795 if (current==null) { 4795 }
4796 current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); 4796 return current;
4797 } 4797 }
4798 4798 // $ANTLR end "entryRuleGraphPatternDeclaration"
4799 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 4799
4800 4800
4801 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); 4801 // $ANTLR start "ruleGraphPatternDeclaration"
4802 4802 // InternalApplicationConfiguration.g:1724:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ;
4803 4803 public final EObject ruleGraphPatternDeclaration() throws RecognitionException {
4804 } 4804 EObject current = null;
4805 4805
4806 4806 Token otherlv_0=null;
4807 } 4807 Token lv_name_1_0=null;
4808 4808 EObject lv_specification_2_0 = null;
4809 4809
4810 } 4810
4811 4811
4812 4812 enterRule();
4813 leaveRule(); 4813
4814 4814 try {
4815 } 4815 // InternalApplicationConfiguration.g:1730:2: ( (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) )
4816 4816 // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4817 catch (RecognitionException re) { 4817 {
4818 recover(input,re); 4818 // InternalApplicationConfiguration.g:1731:2: (otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4819 appendSkippedTokens(); 4819 // InternalApplicationConfiguration.g:1732:3: otherlv_0= 'constraints' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) )
4820 } 4820 {
4821 finally { 4821 otherlv_0=(Token)match(input,28,FOLLOW_6);
4822 } 4822
4823 return current; 4823 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getConstraintsKeyword_0());
4824 } 4824
4825 // $ANTLR end "ruleGraphPatternReference" 4825 // InternalApplicationConfiguration.g:1736:3: ( (lv_name_1_0= RULE_ID ) )
4826 4826 // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID )
4827 4827 {
4828 // $ANTLR start "entryRuleGraphPattern" 4828 // InternalApplicationConfiguration.g:1737:4: (lv_name_1_0= RULE_ID )
4829 // InternalApplicationConfiguration.g:1749:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; 4829 // InternalApplicationConfiguration.g:1738:5: lv_name_1_0= RULE_ID
4830 public final EObject entryRuleGraphPattern() throws RecognitionException { 4830 {
4831 EObject current = null; 4831 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
4832 4832
4833 EObject iv_ruleGraphPattern = null; 4833 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4834 4834
4835 4835
4836 try { 4836 if (current==null) {
4837 // InternalApplicationConfiguration.g:1749:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) 4837 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
4838 // InternalApplicationConfiguration.g:1750:2: iv_ruleGraphPattern= ruleGraphPattern EOF 4838 }
4839 { 4839 setWithLastConsumed(
4840 newCompositeNode(grammarAccess.getGraphPatternRule()); 4840 current,
4841 pushFollow(FOLLOW_1); 4841 "name",
4842 iv_ruleGraphPattern=ruleGraphPattern(); 4842 lv_name_1_0,
4843 4843 "org.eclipse.xtext.common.Terminals.ID");
4844 state._fsp--; 4844
4845 4845
4846 current =iv_ruleGraphPattern; 4846 }
4847 match(input,EOF,FOLLOW_2); 4847
4848 4848
4849 } 4849 }
4850 4850
4851 } 4851 // InternalApplicationConfiguration.g:1754:3: ( (lv_specification_2_0= rulePatternSpecification ) )
4852 4852 // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification )
4853 catch (RecognitionException re) { 4853 {
4854 recover(input,re); 4854 // InternalApplicationConfiguration.g:1755:4: (lv_specification_2_0= rulePatternSpecification )
4855 appendSkippedTokens(); 4855 // InternalApplicationConfiguration.g:1756:5: lv_specification_2_0= rulePatternSpecification
4856 } 4856 {
4857 finally { 4857
4858 } 4858 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
4859 return current; 4859
4860 } 4860 pushFollow(FOLLOW_2);
4861 // $ANTLR end "entryRuleGraphPattern" 4861 lv_specification_2_0=rulePatternSpecification();
4862 4862
4863 4863 state._fsp--;
4864 // $ANTLR start "ruleGraphPattern" 4864
4865 // InternalApplicationConfiguration.g:1756:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; 4865
4866 public final EObject ruleGraphPattern() throws RecognitionException { 4866 if (current==null) {
4867 EObject current = null; 4867 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
4868 4868 }
4869 EObject this_GraphPatternReference_0 = null; 4869 set(
4870 4870 current,
4871 EObject this_PatternSpecification_1 = null; 4871 "specification",
4872 4872 lv_specification_2_0,
4873 4873 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
4874 4874 afterParserOrEnumRuleCall();
4875 enterRule(); 4875
4876 4876
4877 try { 4877 }
4878 // InternalApplicationConfiguration.g:1762:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) 4878
4879 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4879
4880 { 4880 }
4881 // InternalApplicationConfiguration.g:1763:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) 4881
4882 int alt27=2; 4882
4883 int LA27_0 = input.LA(1); 4883 }
4884 4884
4885 if ( (LA27_0==RULE_ID) ) { 4885
4886 alt27=1; 4886 }
4887 } 4887
4888 else if ( (LA27_0==18) ) { 4888
4889 alt27=2; 4889 leaveRule();
4890 } 4890
4891 else { 4891 }
4892 NoViableAltException nvae = 4892
4893 new NoViableAltException("", 27, 0, input); 4893 catch (RecognitionException re) {
4894 4894 recover(input,re);
4895 throw nvae; 4895 appendSkippedTokens();
4896 } 4896 }
4897 switch (alt27) { 4897 finally {
4898 case 1 : 4898 }
4899 // InternalApplicationConfiguration.g:1764:3: this_GraphPatternReference_0= ruleGraphPatternReference 4899 return current;
4900 { 4900 }
4901 4901 // $ANTLR end "ruleGraphPatternDeclaration"
4902 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); 4902
4903 4903
4904 pushFollow(FOLLOW_2); 4904 // $ANTLR start "entryRuleGraphPatternReference"
4905 this_GraphPatternReference_0=ruleGraphPatternReference(); 4905 // InternalApplicationConfiguration.g:1777:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ;
4906 4906 public final EObject entryRuleGraphPatternReference() throws RecognitionException {
4907 state._fsp--; 4907 EObject current = null;
4908 4908
4909 4909 EObject iv_ruleGraphPatternReference = null;
4910 current = this_GraphPatternReference_0; 4910
4911 afterParserOrEnumRuleCall(); 4911
4912 4912 try {
4913 4913 // InternalApplicationConfiguration.g:1777:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF )
4914 } 4914 // InternalApplicationConfiguration.g:1778:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF
4915 break; 4915 {
4916 case 2 : 4916 newCompositeNode(grammarAccess.getGraphPatternReferenceRule());
4917 // InternalApplicationConfiguration.g:1773:3: this_PatternSpecification_1= rulePatternSpecification 4917 pushFollow(FOLLOW_1);
4918 { 4918 iv_ruleGraphPatternReference=ruleGraphPatternReference();
4919 4919
4920 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); 4920 state._fsp--;
4921 4921
4922 pushFollow(FOLLOW_2); 4922 current =iv_ruleGraphPatternReference;
4923 this_PatternSpecification_1=rulePatternSpecification(); 4923 match(input,EOF,FOLLOW_2);
4924 4924
4925 state._fsp--; 4925 }
4926 4926
4927 4927 }
4928 current = this_PatternSpecification_1; 4928
4929 afterParserOrEnumRuleCall(); 4929 catch (RecognitionException re) {
4930 4930 recover(input,re);
4931 4931 appendSkippedTokens();
4932 } 4932 }
4933 break; 4933 finally {
4934 4934 }
4935 } 4935 return current;
4936 4936 }
4937 4937 // $ANTLR end "entryRuleGraphPatternReference"
4938 } 4938
4939 4939
4940 4940 // $ANTLR start "ruleGraphPatternReference"
4941 leaveRule(); 4941 // InternalApplicationConfiguration.g:1784:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
4942 4942 public final EObject ruleGraphPatternReference() throws RecognitionException {
4943 } 4943 EObject current = null;
4944 4944
4945 catch (RecognitionException re) { 4945 Token otherlv_0=null;
4946 recover(input,re); 4946
4947 appendSkippedTokens(); 4947
4948 } 4948 enterRule();
4949 finally { 4949
4950 } 4950 try {
4951 return current; 4951 // InternalApplicationConfiguration.g:1790:2: ( ( (otherlv_0= RULE_ID ) ) )
4952 } 4952 // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) )
4953 // $ANTLR end "ruleGraphPattern" 4953 {
4954 4954 // InternalApplicationConfiguration.g:1791:2: ( (otherlv_0= RULE_ID ) )
4955 4955 // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID )
4956 // $ANTLR start "entryRuleConfigSpecification" 4956 {
4957 // InternalApplicationConfiguration.g:1785:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; 4957 // InternalApplicationConfiguration.g:1792:3: (otherlv_0= RULE_ID )
4958 public final EObject entryRuleConfigSpecification() throws RecognitionException { 4958 // InternalApplicationConfiguration.g:1793:4: otherlv_0= RULE_ID
4959 EObject current = null; 4959 {
4960 4960
4961 EObject iv_ruleConfigSpecification = null; 4961 if (current==null) {
4962 4962 current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
4963 4963 }
4964 try { 4964
4965 // InternalApplicationConfiguration.g:1785:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) 4965 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
4966 // InternalApplicationConfiguration.g:1786:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF 4966
4967 { 4967 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
4968 newCompositeNode(grammarAccess.getConfigSpecificationRule()); 4968
4969 pushFollow(FOLLOW_1); 4969
4970 iv_ruleConfigSpecification=ruleConfigSpecification(); 4970 }
4971 4971
4972 state._fsp--; 4972
4973 4973 }
4974 current =iv_ruleConfigSpecification; 4974
4975 match(input,EOF,FOLLOW_2); 4975
4976 4976 }
4977 } 4977
4978 4978
4979 } 4979 leaveRule();
4980 4980
4981 catch (RecognitionException re) { 4981 }
4982 recover(input,re); 4982
4983 appendSkippedTokens(); 4983 catch (RecognitionException re) {
4984 } 4984 recover(input,re);
4985 finally { 4985 appendSkippedTokens();
4986 } 4986 }
4987 return current; 4987 finally {
4988 } 4988 }
4989 // $ANTLR end "entryRuleConfigSpecification" 4989 return current;
4990 4990 }
4991 4991 // $ANTLR end "ruleGraphPatternReference"
4992 // $ANTLR start "ruleConfigSpecification" 4992
4993 // InternalApplicationConfiguration.g:1792:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; 4993
4994 public final EObject ruleConfigSpecification() throws RecognitionException { 4994 // $ANTLR start "entryRuleGraphPattern"
4995 EObject current = null; 4995 // InternalApplicationConfiguration.g:1807:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ;
4996 4996 public final EObject entryRuleGraphPattern() throws RecognitionException {
4997 Token otherlv_1=null; 4997 EObject current = null;
4998 Token otherlv_3=null; 4998
4999 Token otherlv_5=null; 4999 EObject iv_ruleGraphPattern = null;
5000 EObject lv_entries_2_0 = null; 5000
5001 5001
5002 EObject lv_entries_4_0 = null; 5002 try {
5003 5003 // InternalApplicationConfiguration.g:1807:53: (iv_ruleGraphPattern= ruleGraphPattern EOF )
5004 5004 // InternalApplicationConfiguration.g:1808:2: iv_ruleGraphPattern= ruleGraphPattern EOF
5005 5005 {
5006 enterRule(); 5006 newCompositeNode(grammarAccess.getGraphPatternRule());
5007 5007 pushFollow(FOLLOW_1);
5008 try { 5008 iv_ruleGraphPattern=ruleGraphPattern();
5009 // InternalApplicationConfiguration.g:1798:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) 5009
5010 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5010 state._fsp--;
5011 { 5011
5012 // InternalApplicationConfiguration.g:1799:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) 5012 current =iv_ruleGraphPattern;
5013 // InternalApplicationConfiguration.g:1800:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' 5013 match(input,EOF,FOLLOW_2);
5014 { 5014
5015 // InternalApplicationConfiguration.g:1800:3: () 5015 }
5016 // InternalApplicationConfiguration.g:1801:4: 5016
5017 { 5017 }
5018 5018
5019 current = forceCreateModelElement( 5019 catch (RecognitionException re) {
5020 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), 5020 recover(input,re);
5021 current); 5021 appendSkippedTokens();
5022 5022 }
5023 5023 finally {
5024 } 5024 }
5025 5025 return current;
5026 otherlv_1=(Token)match(input,18,FOLLOW_21); 5026 }
5027 5027 // $ANTLR end "entryRuleGraphPattern"
5028 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); 5028
5029 5029
5030 // InternalApplicationConfiguration.g:1811:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? 5030 // $ANTLR start "ruleGraphPattern"
5031 int alt29=2; 5031 // InternalApplicationConfiguration.g:1814:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ;
5032 int LA29_0 = input.LA(1); 5032 public final EObject ruleGraphPattern() throws RecognitionException {
5033 5033 EObject current = null;
5034 if ( (LA29_0==RULE_STRING||(LA29_0>=29 && LA29_0<=31)) ) { 5034
5035 alt29=1; 5035 EObject this_GraphPatternReference_0 = null;
5036 } 5036
5037 switch (alt29) { 5037 EObject this_PatternSpecification_1 = null;
5038 case 1 : 5038
5039 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5039
5040 { 5040
5041 // InternalApplicationConfiguration.g:1812:4: ( (lv_entries_2_0= ruleConfigEntry ) ) 5041 enterRule();
5042 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5042
5043 { 5043 try {
5044 // InternalApplicationConfiguration.g:1813:5: (lv_entries_2_0= ruleConfigEntry ) 5044 // InternalApplicationConfiguration.g:1820:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) )
5045 // InternalApplicationConfiguration.g:1814:6: lv_entries_2_0= ruleConfigEntry 5045 // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5046 { 5046 {
5047 5047 // InternalApplicationConfiguration.g:1821:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5048 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); 5048 int alt27=2;
5049 5049 int LA27_0 = input.LA(1);
5050 pushFollow(FOLLOW_14); 5050
5051 lv_entries_2_0=ruleConfigEntry(); 5051 if ( (LA27_0==RULE_ID) ) {
5052 5052 alt27=1;
5053 state._fsp--; 5053 }
5054 5054 else if ( (LA27_0==19) ) {
5055 5055 alt27=2;
5056 if (current==null) { 5056 }
5057 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5057 else {
5058 } 5058 NoViableAltException nvae =
5059 add( 5059 new NoViableAltException("", 27, 0, input);
5060 current, 5060
5061 "entries", 5061 throw nvae;
5062 lv_entries_2_0, 5062 }
5063 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5063 switch (alt27) {
5064 afterParserOrEnumRuleCall(); 5064 case 1 :
5065 5065 // InternalApplicationConfiguration.g:1822:3: this_GraphPatternReference_0= ruleGraphPatternReference
5066 5066 {
5067 } 5067
5068 5068 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
5069 5069
5070 } 5070 pushFollow(FOLLOW_2);
5071 5071 this_GraphPatternReference_0=ruleGraphPatternReference();
5072 // InternalApplicationConfiguration.g:1831:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* 5072
5073 loop28: 5073 state._fsp--;
5074 do { 5074
5075 int alt28=2; 5075
5076 int LA28_0 = input.LA(1); 5076 current = this_GraphPatternReference_0;
5077 5077 afterParserOrEnumRuleCall();
5078 if ( (LA28_0==19) ) { 5078
5079 alt28=1; 5079
5080 } 5080 }
5081 5081 break;
5082 5082 case 2 :
5083 switch (alt28) { 5083 // InternalApplicationConfiguration.g:1831:3: this_PatternSpecification_1= rulePatternSpecification
5084 case 1 : 5084 {
5085 // InternalApplicationConfiguration.g:1832:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) 5085
5086 { 5086 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
5087 otherlv_3=(Token)match(input,19,FOLLOW_22); 5087
5088 5088 pushFollow(FOLLOW_2);
5089 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); 5089 this_PatternSpecification_1=rulePatternSpecification();
5090 5090
5091 // InternalApplicationConfiguration.g:1836:5: ( (lv_entries_4_0= ruleConfigEntry ) ) 5091 state._fsp--;
5092 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5092
5093 { 5093
5094 // InternalApplicationConfiguration.g:1837:6: (lv_entries_4_0= ruleConfigEntry ) 5094 current = this_PatternSpecification_1;
5095 // InternalApplicationConfiguration.g:1838:7: lv_entries_4_0= ruleConfigEntry 5095 afterParserOrEnumRuleCall();
5096 { 5096
5097 5097
5098 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); 5098 }
5099 5099 break;
5100 pushFollow(FOLLOW_14); 5100
5101 lv_entries_4_0=ruleConfigEntry(); 5101 }
5102 5102
5103 state._fsp--; 5103
5104 5104 }
5105 5105
5106 if (current==null) { 5106
5107 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); 5107 leaveRule();
5108 } 5108
5109 add( 5109 }
5110 current, 5110
5111 "entries", 5111 catch (RecognitionException re) {
5112 lv_entries_4_0, 5112 recover(input,re);
5113 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 5113 appendSkippedTokens();
5114 afterParserOrEnumRuleCall(); 5114 }
5115 5115 finally {
5116 5116 }
5117 } 5117 return current;
5118 5118 }
5119 5119 // $ANTLR end "ruleGraphPattern"
5120 } 5120
5121 5121
5122 5122 // $ANTLR start "entryRuleObjectiveSpecification"
5123 } 5123 // InternalApplicationConfiguration.g:1843:1: entryRuleObjectiveSpecification returns [EObject current=null] : iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF ;
5124 break; 5124 public final EObject entryRuleObjectiveSpecification() throws RecognitionException {
5125 5125 EObject current = null;
5126 default : 5126
5127 break loop28; 5127 EObject iv_ruleObjectiveSpecification = null;
5128 } 5128
5129 } while (true); 5129
5130 5130 try {
5131 5131 // InternalApplicationConfiguration.g:1843:63: (iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF )
5132 } 5132 // InternalApplicationConfiguration.g:1844:2: iv_ruleObjectiveSpecification= ruleObjectiveSpecification EOF
5133 break; 5133 {
5134 5134 newCompositeNode(grammarAccess.getObjectiveSpecificationRule());
5135 } 5135 pushFollow(FOLLOW_1);
5136 5136 iv_ruleObjectiveSpecification=ruleObjectiveSpecification();
5137 otherlv_5=(Token)match(input,20,FOLLOW_2); 5137
5138 5138 state._fsp--;
5139 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); 5139
5140 5140 current =iv_ruleObjectiveSpecification;
5141 5141 match(input,EOF,FOLLOW_2);
5142 } 5142
5143 5143 }
5144 5144
5145 } 5145 }
5146 5146
5147 5147 catch (RecognitionException re) {
5148 leaveRule(); 5148 recover(input,re);
5149 5149 appendSkippedTokens();
5150 } 5150 }
5151 5151 finally {
5152 catch (RecognitionException re) { 5152 }
5153 recover(input,re); 5153 return current;
5154 appendSkippedTokens(); 5154 }
5155 } 5155 // $ANTLR end "entryRuleObjectiveSpecification"
5156 finally { 5156
5157 } 5157
5158 return current; 5158 // $ANTLR start "ruleObjectiveSpecification"
5159 } 5159 // InternalApplicationConfiguration.g:1850:1: ruleObjectiveSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) ;
5160 // $ANTLR end "ruleConfigSpecification" 5160 public final EObject ruleObjectiveSpecification() throws RecognitionException {
5161 5161 EObject current = null;
5162 5162
5163 // $ANTLR start "entryRuleConfigDeclaration" 5163 Token otherlv_0=null;
5164 // InternalApplicationConfiguration.g:1865:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; 5164 Token otherlv_2=null;
5165 public final EObject entryRuleConfigDeclaration() throws RecognitionException { 5165 Token otherlv_4=null;
5166 EObject current = null; 5166 EObject lv_entries_1_0 = null;
5167 5167
5168 EObject iv_ruleConfigDeclaration = null; 5168 EObject lv_entries_3_0 = null;
5169 5169
5170 5170
5171 try { 5171
5172 // InternalApplicationConfiguration.g:1865:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) 5172 enterRule();
5173 // InternalApplicationConfiguration.g:1866:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF 5173
5174 { 5174 try {
5175 newCompositeNode(grammarAccess.getConfigDeclarationRule()); 5175 // InternalApplicationConfiguration.g:1856:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' ) )
5176 pushFollow(FOLLOW_1); 5176 // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5177 iv_ruleConfigDeclaration=ruleConfigDeclaration(); 5177 {
5178 5178 // InternalApplicationConfiguration.g:1857:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}' )
5179 state._fsp--; 5179 // InternalApplicationConfiguration.g:1858:3: otherlv_0= '{' ( (lv_entries_1_0= ruleObjectiveEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )* otherlv_4= '}'
5180 5180 {
5181 current =iv_ruleConfigDeclaration; 5181 otherlv_0=(Token)match(input,19,FOLLOW_22);
5182 match(input,EOF,FOLLOW_2); 5182
5183 5183 newLeafNode(otherlv_0, grammarAccess.getObjectiveSpecificationAccess().getLeftCurlyBracketKeyword_0());
5184 } 5184
5185 5185 // InternalApplicationConfiguration.g:1862:3: ( (lv_entries_1_0= ruleObjectiveEntry ) )
5186 } 5186 // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry )
5187 5187 {
5188 catch (RecognitionException re) { 5188 // InternalApplicationConfiguration.g:1863:4: (lv_entries_1_0= ruleObjectiveEntry )
5189 recover(input,re); 5189 // InternalApplicationConfiguration.g:1864:5: lv_entries_1_0= ruleObjectiveEntry
5190 appendSkippedTokens(); 5190 {
5191 } 5191
5192 finally { 5192 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_1_0());
5193 } 5193
5194 return current; 5194 pushFollow(FOLLOW_15);
5195 } 5195 lv_entries_1_0=ruleObjectiveEntry();
5196 // $ANTLR end "entryRuleConfigDeclaration" 5196
5197 5197 state._fsp--;
5198 5198
5199 // $ANTLR start "ruleConfigDeclaration" 5199
5200 // InternalApplicationConfiguration.g:1872:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; 5200 if (current==null) {
5201 public final EObject ruleConfigDeclaration() throws RecognitionException { 5201 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5202 EObject current = null; 5202 }
5203 5203 add(
5204 Token otherlv_0=null; 5204 current,
5205 Token lv_name_1_0=null; 5205 "entries",
5206 EObject lv_specification_2_0 = null; 5206 lv_entries_1_0,
5207 5207 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5208 5208 afterParserOrEnumRuleCall();
5209 5209
5210 enterRule(); 5210
5211 5211 }
5212 try { 5212
5213 // InternalApplicationConfiguration.g:1878:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) 5213
5214 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5214 }
5215 { 5215
5216 // InternalApplicationConfiguration.g:1879:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) 5216 // InternalApplicationConfiguration.g:1881:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) ) )*
5217 // InternalApplicationConfiguration.g:1880:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) 5217 loop28:
5218 { 5218 do {
5219 otherlv_0=(Token)match(input,28,FOLLOW_6); 5219 int alt28=2;
5220 5220 int LA28_0 = input.LA(1);
5221 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); 5221
5222 5222 if ( (LA28_0==20) ) {
5223 // InternalApplicationConfiguration.g:1884:3: ( (lv_name_1_0= RULE_ID ) ) 5223 alt28=1;
5224 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5224 }
5225 { 5225
5226 // InternalApplicationConfiguration.g:1885:4: (lv_name_1_0= RULE_ID ) 5226
5227 // InternalApplicationConfiguration.g:1886:5: lv_name_1_0= RULE_ID 5227 switch (alt28) {
5228 { 5228 case 1 :
5229 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 5229 // InternalApplicationConfiguration.g:1882:4: otherlv_2= ',' ( (lv_entries_3_0= ruleObjectiveEntry ) )
5230 5230 {
5231 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 5231 otherlv_2=(Token)match(input,20,FOLLOW_22);
5232 5232
5233 5233 newLeafNode(otherlv_2, grammarAccess.getObjectiveSpecificationAccess().getCommaKeyword_2_0());
5234 if (current==null) { 5234
5235 current = createModelElement(grammarAccess.getConfigDeclarationRule()); 5235 // InternalApplicationConfiguration.g:1886:4: ( (lv_entries_3_0= ruleObjectiveEntry ) )
5236 } 5236 // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry )
5237 setWithLastConsumed( 5237 {
5238 current, 5238 // InternalApplicationConfiguration.g:1887:5: (lv_entries_3_0= ruleObjectiveEntry )
5239 "name", 5239 // InternalApplicationConfiguration.g:1888:6: lv_entries_3_0= ruleObjectiveEntry
5240 lv_name_1_0, 5240 {
5241 "org.eclipse.xtext.common.Terminals.ID"); 5241
5242 5242 newCompositeNode(grammarAccess.getObjectiveSpecificationAccess().getEntriesObjectiveEntryParserRuleCall_2_1_0());
5243 5243
5244 } 5244 pushFollow(FOLLOW_15);
5245 5245 lv_entries_3_0=ruleObjectiveEntry();
5246 5246
5247 } 5247 state._fsp--;
5248 5248
5249 // InternalApplicationConfiguration.g:1902:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) 5249
5250 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5250 if (current==null) {
5251 { 5251 current = createModelElementForParent(grammarAccess.getObjectiveSpecificationRule());
5252 // InternalApplicationConfiguration.g:1903:4: (lv_specification_2_0= ruleConfigSpecification ) 5252 }
5253 // InternalApplicationConfiguration.g:1904:5: lv_specification_2_0= ruleConfigSpecification 5253 add(
5254 { 5254 current,
5255 5255 "entries",
5256 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); 5256 lv_entries_3_0,
5257 5257 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
5258 pushFollow(FOLLOW_2); 5258 afterParserOrEnumRuleCall();
5259 lv_specification_2_0=ruleConfigSpecification(); 5259
5260 5260
5261 state._fsp--; 5261 }
5262 5262
5263 5263
5264 if (current==null) { 5264 }
5265 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); 5265
5266 } 5266
5267 set( 5267 }
5268 current, 5268 break;
5269 "specification", 5269
5270 lv_specification_2_0, 5270 default :
5271 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 5271 break loop28;
5272 afterParserOrEnumRuleCall(); 5272 }
5273 5273 } while (true);
5274 5274
5275 } 5275 otherlv_4=(Token)match(input,21,FOLLOW_2);
5276 5276
5277 5277 newLeafNode(otherlv_4, grammarAccess.getObjectiveSpecificationAccess().getRightCurlyBracketKeyword_3());
5278 } 5278
5279 5279
5280 5280 }
5281 } 5281
5282 5282
5283 5283 }
5284 } 5284
5285 5285
5286 5286 leaveRule();
5287 leaveRule(); 5287
5288 5288 }
5289 } 5289
5290 5290 catch (RecognitionException re) {
5291 catch (RecognitionException re) { 5291 recover(input,re);
5292 recover(input,re); 5292 appendSkippedTokens();
5293 appendSkippedTokens(); 5293 }
5294 } 5294 finally {
5295 finally { 5295 }
5296 } 5296 return current;
5297 return current; 5297 }
5298 } 5298 // $ANTLR end "ruleObjectiveSpecification"
5299 // $ANTLR end "ruleConfigDeclaration" 5299
5300 5300
5301 5301 // $ANTLR start "entryRuleObjectiveEntry"
5302 // $ANTLR start "entryRuleConfigEntry" 5302 // InternalApplicationConfiguration.g:1914:1: entryRuleObjectiveEntry returns [EObject current=null] : iv_ruleObjectiveEntry= ruleObjectiveEntry EOF ;
5303 // InternalApplicationConfiguration.g:1925:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; 5303 public final EObject entryRuleObjectiveEntry() throws RecognitionException {
5304 public final EObject entryRuleConfigEntry() throws RecognitionException { 5304 EObject current = null;
5305 EObject current = null; 5305
5306 5306 EObject iv_ruleObjectiveEntry = null;
5307 EObject iv_ruleConfigEntry = null; 5307
5308 5308
5309 5309 try {
5310 try { 5310 // InternalApplicationConfiguration.g:1914:55: (iv_ruleObjectiveEntry= ruleObjectiveEntry EOF )
5311 // InternalApplicationConfiguration.g:1925:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) 5311 // InternalApplicationConfiguration.g:1915:2: iv_ruleObjectiveEntry= ruleObjectiveEntry EOF
5312 // InternalApplicationConfiguration.g:1926:2: iv_ruleConfigEntry= ruleConfigEntry EOF 5312 {
5313 { 5313 newCompositeNode(grammarAccess.getObjectiveEntryRule());
5314 newCompositeNode(grammarAccess.getConfigEntryRule()); 5314 pushFollow(FOLLOW_1);
5315 pushFollow(FOLLOW_1); 5315 iv_ruleObjectiveEntry=ruleObjectiveEntry();
5316 iv_ruleConfigEntry=ruleConfigEntry(); 5316
5317 5317 state._fsp--;
5318 state._fsp--; 5318
5319 5319 current =iv_ruleObjectiveEntry;
5320 current =iv_ruleConfigEntry; 5320 match(input,EOF,FOLLOW_2);
5321 match(input,EOF,FOLLOW_2); 5321
5322 5322 }
5323 } 5323
5324 5324 }
5325 } 5325
5326 5326 catch (RecognitionException re) {
5327 catch (RecognitionException re) { 5327 recover(input,re);
5328 recover(input,re); 5328 appendSkippedTokens();
5329 appendSkippedTokens(); 5329 }
5330 } 5330 finally {
5331 finally { 5331 }
5332 } 5332 return current;
5333 return current; 5333 }
5334 } 5334 // $ANTLR end "entryRuleObjectiveEntry"
5335 // $ANTLR end "entryRuleConfigEntry" 5335
5336 5336
5337 5337 // $ANTLR start "ruleObjectiveEntry"
5338 // $ANTLR start "ruleConfigEntry" 5338 // InternalApplicationConfiguration.g:1921:1: ruleObjectiveEntry returns [EObject current=null] : (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) ;
5339 // InternalApplicationConfiguration.g:1932:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ; 5339 public final EObject ruleObjectiveEntry() throws RecognitionException {
5340 public final EObject ruleConfigEntry() throws RecognitionException { 5340 EObject current = null;
5341 EObject current = null; 5341
5342 5342 EObject this_OptimizationEntry_0 = null;
5343 EObject this_DocumentationEntry_0 = null; 5343
5344 5344 EObject this_ThresholdEntry_1 = null;
5345 EObject this_RuntimeEntry_1 = null; 5345
5346 5346
5347 EObject this_MemoryEntry_2 = null; 5347
5348 5348 enterRule();
5349 EObject this_CustomEntry_3 = null; 5349
5350 5350 try {
5351 5351 // InternalApplicationConfiguration.g:1927:2: ( (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry ) )
5352 5352 // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5353 enterRule(); 5353 {
5354 5354 // InternalApplicationConfiguration.g:1928:2: (this_OptimizationEntry_0= ruleOptimizationEntry | this_ThresholdEntry_1= ruleThresholdEntry )
5355 try { 5355 int alt29=2;
5356 // InternalApplicationConfiguration.g:1938:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ) 5356 int LA29_0 = input.LA(1);
5357 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5357
5358 { 5358 if ( ((LA29_0>=54 && LA29_0<=55)) ) {
5359 // InternalApplicationConfiguration.g:1939:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) 5359 alt29=1;
5360 int alt30=4; 5360 }
5361 switch ( input.LA(1) ) { 5361 else if ( (LA29_0==16) ) {
5362 case 29: 5362 alt29=2;
5363 { 5363 }
5364 alt30=1; 5364 else {
5365 } 5365 NoViableAltException nvae =
5366 break; 5366 new NoViableAltException("", 29, 0, input);
5367 case 30: 5367
5368 { 5368 throw nvae;
5369 alt30=2; 5369 }
5370 } 5370 switch (alt29) {
5371 break; 5371 case 1 :
5372 case 31: 5372 // InternalApplicationConfiguration.g:1929:3: this_OptimizationEntry_0= ruleOptimizationEntry
5373 { 5373 {
5374 alt30=3; 5374
5375 } 5375 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getOptimizationEntryParserRuleCall_0());
5376 break; 5376
5377 case RULE_STRING: 5377 pushFollow(FOLLOW_2);
5378 { 5378 this_OptimizationEntry_0=ruleOptimizationEntry();
5379 alt30=4; 5379
5380 } 5380 state._fsp--;
5381 break; 5381
5382 default: 5382
5383 NoViableAltException nvae = 5383 current = this_OptimizationEntry_0;
5384 new NoViableAltException("", 30, 0, input); 5384 afterParserOrEnumRuleCall();
5385 5385
5386 throw nvae; 5386
5387 } 5387 }
5388 5388 break;
5389 switch (alt30) { 5389 case 2 :
5390 case 1 : 5390 // InternalApplicationConfiguration.g:1938:3: this_ThresholdEntry_1= ruleThresholdEntry
5391 // InternalApplicationConfiguration.g:1940:3: this_DocumentationEntry_0= ruleDocumentationEntry 5391 {
5392 { 5392
5393 5393 newCompositeNode(grammarAccess.getObjectiveEntryAccess().getThresholdEntryParserRuleCall_1());
5394 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0()); 5394
5395 5395 pushFollow(FOLLOW_2);
5396 pushFollow(FOLLOW_2); 5396 this_ThresholdEntry_1=ruleThresholdEntry();
5397 this_DocumentationEntry_0=ruleDocumentationEntry(); 5397
5398 5398 state._fsp--;
5399 state._fsp--; 5399
5400 5400
5401 5401 current = this_ThresholdEntry_1;
5402 current = this_DocumentationEntry_0; 5402 afterParserOrEnumRuleCall();
5403 afterParserOrEnumRuleCall(); 5403
5404 5404
5405 5405 }
5406 } 5406 break;
5407 break; 5407
5408 case 2 : 5408 }
5409 // InternalApplicationConfiguration.g:1949:3: this_RuntimeEntry_1= ruleRuntimeEntry 5409
5410 { 5410
5411 5411 }
5412 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1()); 5412
5413 5413
5414 pushFollow(FOLLOW_2); 5414 leaveRule();
5415 this_RuntimeEntry_1=ruleRuntimeEntry(); 5415
5416 5416 }
5417 state._fsp--; 5417
5418 5418 catch (RecognitionException re) {
5419 5419 recover(input,re);
5420 current = this_RuntimeEntry_1; 5420 appendSkippedTokens();
5421 afterParserOrEnumRuleCall(); 5421 }
5422 5422 finally {
5423 5423 }
5424 } 5424 return current;
5425 break; 5425 }
5426 case 3 : 5426 // $ANTLR end "ruleObjectiveEntry"
5427 // InternalApplicationConfiguration.g:1958:3: this_MemoryEntry_2= ruleMemoryEntry 5427
5428 { 5428
5429 5429 // $ANTLR start "entryRuleOptimizationEntry"
5430 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2()); 5430 // InternalApplicationConfiguration.g:1950:1: entryRuleOptimizationEntry returns [EObject current=null] : iv_ruleOptimizationEntry= ruleOptimizationEntry EOF ;
5431 5431 public final EObject entryRuleOptimizationEntry() throws RecognitionException {
5432 pushFollow(FOLLOW_2); 5432 EObject current = null;
5433 this_MemoryEntry_2=ruleMemoryEntry(); 5433
5434 5434 EObject iv_ruleOptimizationEntry = null;
5435 state._fsp--; 5435
5436 5436
5437 5437 try {
5438 current = this_MemoryEntry_2; 5438 // InternalApplicationConfiguration.g:1950:58: (iv_ruleOptimizationEntry= ruleOptimizationEntry EOF )
5439 afterParserOrEnumRuleCall(); 5439 // InternalApplicationConfiguration.g:1951:2: iv_ruleOptimizationEntry= ruleOptimizationEntry EOF
5440 5440 {
5441 5441 newCompositeNode(grammarAccess.getOptimizationEntryRule());
5442 } 5442 pushFollow(FOLLOW_1);
5443 break; 5443 iv_ruleOptimizationEntry=ruleOptimizationEntry();
5444 case 4 : 5444
5445 // InternalApplicationConfiguration.g:1967:3: this_CustomEntry_3= ruleCustomEntry 5445 state._fsp--;
5446 { 5446
5447 5447 current =iv_ruleOptimizationEntry;
5448 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3()); 5448 match(input,EOF,FOLLOW_2);
5449 5449
5450 pushFollow(FOLLOW_2); 5450 }
5451 this_CustomEntry_3=ruleCustomEntry(); 5451
5452 5452 }
5453 state._fsp--; 5453
5454 5454 catch (RecognitionException re) {
5455 5455 recover(input,re);
5456 current = this_CustomEntry_3; 5456 appendSkippedTokens();
5457 afterParserOrEnumRuleCall(); 5457 }
5458 5458 finally {
5459 5459 }
5460 } 5460 return current;
5461 break; 5461 }
5462 5462 // $ANTLR end "entryRuleOptimizationEntry"
5463 } 5463
5464 5464
5465 5465 // $ANTLR start "ruleOptimizationEntry"
5466 } 5466 // InternalApplicationConfiguration.g:1957:1: ruleOptimizationEntry returns [EObject current=null] : ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) ;
5467 5467 public final EObject ruleOptimizationEntry() throws RecognitionException {
5468 5468 EObject current = null;
5469 leaveRule(); 5469
5470 5470 Enumerator lv_direction_0_0 = null;
5471 } 5471
5472 5472 EObject lv_function_1_0 = null;
5473 catch (RecognitionException re) { 5473
5474 recover(input,re); 5474
5475 appendSkippedTokens(); 5475
5476 } 5476 enterRule();
5477 finally { 5477
5478 } 5478 try {
5479 return current; 5479 // InternalApplicationConfiguration.g:1963:2: ( ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) ) )
5480 } 5480 // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5481 // $ANTLR end "ruleConfigEntry" 5481 {
5482 5482 // InternalApplicationConfiguration.g:1964:2: ( ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) ) )
5483 5483 // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) ) ( (lv_function_1_0= ruleObjectiveFunction ) )
5484 // $ANTLR start "entryRuleDocumentationEntry" 5484 {
5485 // InternalApplicationConfiguration.g:1979:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ; 5485 // InternalApplicationConfiguration.g:1965:3: ( (lv_direction_0_0= ruleOptimizationDirection ) )
5486 public final EObject entryRuleDocumentationEntry() throws RecognitionException { 5486 // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection )
5487 EObject current = null; 5487 {
5488 5488 // InternalApplicationConfiguration.g:1966:4: (lv_direction_0_0= ruleOptimizationDirection )
5489 EObject iv_ruleDocumentationEntry = null; 5489 // InternalApplicationConfiguration.g:1967:5: lv_direction_0_0= ruleOptimizationDirection
5490 5490 {
5491 5491
5492 try { 5492 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getDirectionOptimizationDirectionEnumRuleCall_0_0());
5493 // InternalApplicationConfiguration.g:1979:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ) 5493
5494 // InternalApplicationConfiguration.g:1980:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF 5494 pushFollow(FOLLOW_22);
5495 { 5495 lv_direction_0_0=ruleOptimizationDirection();
5496 newCompositeNode(grammarAccess.getDocumentationEntryRule()); 5496
5497 pushFollow(FOLLOW_1); 5497 state._fsp--;
5498 iv_ruleDocumentationEntry=ruleDocumentationEntry(); 5498
5499 5499
5500 state._fsp--; 5500 if (current==null) {
5501 5501 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5502 current =iv_ruleDocumentationEntry; 5502 }
5503 match(input,EOF,FOLLOW_2); 5503 set(
5504 5504 current,
5505 } 5505 "direction",
5506 5506 lv_direction_0_0,
5507 } 5507 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
5508 5508 afterParserOrEnumRuleCall();
5509 catch (RecognitionException re) { 5509
5510 recover(input,re); 5510
5511 appendSkippedTokens(); 5511 }
5512 } 5512
5513 finally { 5513
5514 } 5514 }
5515 return current; 5515
5516 } 5516 // InternalApplicationConfiguration.g:1984:3: ( (lv_function_1_0= ruleObjectiveFunction ) )
5517 // $ANTLR end "entryRuleDocumentationEntry" 5517 // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction )
5518 5518 {
5519 5519 // InternalApplicationConfiguration.g:1985:4: (lv_function_1_0= ruleObjectiveFunction )
5520 // $ANTLR start "ruleDocumentationEntry" 5520 // InternalApplicationConfiguration.g:1986:5: lv_function_1_0= ruleObjectiveFunction
5521 // InternalApplicationConfiguration.g:1986:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ; 5521 {
5522 public final EObject ruleDocumentationEntry() throws RecognitionException { 5522
5523 EObject current = null; 5523 newCompositeNode(grammarAccess.getOptimizationEntryAccess().getFunctionObjectiveFunctionParserRuleCall_1_0());
5524 5524
5525 Token otherlv_0=null; 5525 pushFollow(FOLLOW_2);
5526 Token otherlv_1=null; 5526 lv_function_1_0=ruleObjectiveFunction();
5527 Enumerator lv_level_2_0 = null; 5527
5528 5528 state._fsp--;
5529 5529
5530 5530
5531 enterRule(); 5531 if (current==null) {
5532 5532 current = createModelElementForParent(grammarAccess.getOptimizationEntryRule());
5533 try { 5533 }
5534 // InternalApplicationConfiguration.g:1992:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ) 5534 set(
5535 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5535 current,
5536 { 5536 "function",
5537 // InternalApplicationConfiguration.g:1993:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) 5537 lv_function_1_0,
5538 // InternalApplicationConfiguration.g:1994:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5538 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5539 { 5539 afterParserOrEnumRuleCall();
5540 otherlv_0=(Token)match(input,29,FOLLOW_12); 5540
5541 5541
5542 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0()); 5542 }
5543 5543
5544 otherlv_1=(Token)match(input,17,FOLLOW_23); 5544
5545 5545 }
5546 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1()); 5546
5547 5547
5548 // InternalApplicationConfiguration.g:2002:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) 5548 }
5549 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5549
5550 { 5550
5551 // InternalApplicationConfiguration.g:2003:4: (lv_level_2_0= ruleDocumentLevelSpecification ) 5551 }
5552 // InternalApplicationConfiguration.g:2004:5: lv_level_2_0= ruleDocumentLevelSpecification 5552
5553 { 5553
5554 5554 leaveRule();
5555 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0()); 5555
5556 5556 }
5557 pushFollow(FOLLOW_2); 5557
5558 lv_level_2_0=ruleDocumentLevelSpecification(); 5558 catch (RecognitionException re) {
5559 5559 recover(input,re);
5560 state._fsp--; 5560 appendSkippedTokens();
5561 5561 }
5562 5562 finally {
5563 if (current==null) { 5563 }
5564 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule()); 5564 return current;
5565 } 5565 }
5566 set( 5566 // $ANTLR end "ruleOptimizationEntry"
5567 current, 5567
5568 "level", 5568
5569 lv_level_2_0, 5569 // $ANTLR start "entryRuleThresholdEntry"
5570 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 5570 // InternalApplicationConfiguration.g:2007:1: entryRuleThresholdEntry returns [EObject current=null] : iv_ruleThresholdEntry= ruleThresholdEntry EOF ;
5571 afterParserOrEnumRuleCall(); 5571 public final EObject entryRuleThresholdEntry() throws RecognitionException {
5572 5572 EObject current = null;
5573 5573
5574 } 5574 EObject iv_ruleThresholdEntry = null;
5575 5575
5576 5576
5577 } 5577 try {
5578 5578 // InternalApplicationConfiguration.g:2007:55: (iv_ruleThresholdEntry= ruleThresholdEntry EOF )
5579 5579 // InternalApplicationConfiguration.g:2008:2: iv_ruleThresholdEntry= ruleThresholdEntry EOF
5580 } 5580 {
5581 5581 newCompositeNode(grammarAccess.getThresholdEntryRule());
5582 5582 pushFollow(FOLLOW_1);
5583 } 5583 iv_ruleThresholdEntry=ruleThresholdEntry();
5584 5584
5585 5585 state._fsp--;
5586 leaveRule(); 5586
5587 5587 current =iv_ruleThresholdEntry;
5588 } 5588 match(input,EOF,FOLLOW_2);
5589 5589
5590 catch (RecognitionException re) { 5590 }
5591 recover(input,re); 5591
5592 appendSkippedTokens(); 5592 }
5593 } 5593
5594 finally { 5594 catch (RecognitionException re) {
5595 } 5595 recover(input,re);
5596 return current; 5596 appendSkippedTokens();
5597 } 5597 }
5598 // $ANTLR end "ruleDocumentationEntry" 5598 finally {
5599 5599 }
5600 5600 return current;
5601 // $ANTLR start "entryRuleRuntimeEntry" 5601 }
5602 // InternalApplicationConfiguration.g:2025:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ; 5602 // $ANTLR end "entryRuleThresholdEntry"
5603 public final EObject entryRuleRuntimeEntry() throws RecognitionException { 5603
5604 EObject current = null; 5604
5605 5605 // $ANTLR start "ruleThresholdEntry"
5606 EObject iv_ruleRuntimeEntry = null; 5606 // InternalApplicationConfiguration.g:2014:1: ruleThresholdEntry returns [EObject current=null] : ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) ;
5607 5607 public final EObject ruleThresholdEntry() throws RecognitionException {
5608 5608 EObject current = null;
5609 try { 5609
5610 // InternalApplicationConfiguration.g:2025:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ) 5610 EObject lv_function_0_0 = null;
5611 // InternalApplicationConfiguration.g:2026:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF 5611
5612 { 5612 Enumerator lv_operator_1_0 = null;
5613 newCompositeNode(grammarAccess.getRuntimeEntryRule()); 5613
5614 pushFollow(FOLLOW_1); 5614 AntlrDatatypeRuleToken lv_threshold_2_0 = null;
5615 iv_ruleRuntimeEntry=ruleRuntimeEntry(); 5615
5616 5616
5617 state._fsp--; 5617
5618 5618 enterRule();
5619 current =iv_ruleRuntimeEntry; 5619
5620 match(input,EOF,FOLLOW_2); 5620 try {
5621 5621 // InternalApplicationConfiguration.g:2020:2: ( ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) ) )
5622 } 5622 // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5623 5623 {
5624 } 5624 // InternalApplicationConfiguration.g:2021:2: ( ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) ) )
5625 5625 // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) ) ( (lv_operator_1_0= ruleComparisonOperator ) ) ( (lv_threshold_2_0= ruleREALLiteral ) )
5626 catch (RecognitionException re) { 5626 {
5627 recover(input,re); 5627 // InternalApplicationConfiguration.g:2022:3: ( (lv_function_0_0= ruleObjectiveFunction ) )
5628 appendSkippedTokens(); 5628 // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction )
5629 } 5629 {
5630 finally { 5630 // InternalApplicationConfiguration.g:2023:4: (lv_function_0_0= ruleObjectiveFunction )
5631 } 5631 // InternalApplicationConfiguration.g:2024:5: lv_function_0_0= ruleObjectiveFunction
5632 return current; 5632 {
5633 } 5633
5634 // $ANTLR end "entryRuleRuntimeEntry" 5634 newCompositeNode(grammarAccess.getThresholdEntryAccess().getFunctionObjectiveFunctionParserRuleCall_0_0());
5635 5635
5636 5636 pushFollow(FOLLOW_23);
5637 // $ANTLR start "ruleRuntimeEntry" 5637 lv_function_0_0=ruleObjectiveFunction();
5638 // InternalApplicationConfiguration.g:2032:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ; 5638
5639 public final EObject ruleRuntimeEntry() throws RecognitionException { 5639 state._fsp--;
5640 EObject current = null; 5640
5641 5641
5642 Token otherlv_0=null; 5642 if (current==null) {
5643 Token otherlv_1=null; 5643 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5644 Token lv_millisecLimit_2_0=null; 5644 }
5645 5645 set(
5646 5646 current,
5647 enterRule(); 5647 "function",
5648 5648 lv_function_0_0,
5649 try { 5649 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
5650 // InternalApplicationConfiguration.g:2038:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ) 5650 afterParserOrEnumRuleCall();
5651 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5651
5652 { 5652
5653 // InternalApplicationConfiguration.g:2039:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) 5653 }
5654 // InternalApplicationConfiguration.g:2040:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) 5654
5655 { 5655
5656 otherlv_0=(Token)match(input,30,FOLLOW_12); 5656 }
5657 5657
5658 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0()); 5658 // InternalApplicationConfiguration.g:2041:3: ( (lv_operator_1_0= ruleComparisonOperator ) )
5659 5659 // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator )
5660 otherlv_1=(Token)match(input,17,FOLLOW_7); 5660 {
5661 5661 // InternalApplicationConfiguration.g:2042:4: (lv_operator_1_0= ruleComparisonOperator )
5662 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1()); 5662 // InternalApplicationConfiguration.g:2043:5: lv_operator_1_0= ruleComparisonOperator
5663 5663 {
5664 // InternalApplicationConfiguration.g:2048:3: ( (lv_millisecLimit_2_0= RULE_INT ) ) 5664
5665 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5665 newCompositeNode(grammarAccess.getThresholdEntryAccess().getOperatorComparisonOperatorEnumRuleCall_1_0());
5666 { 5666
5667 // InternalApplicationConfiguration.g:2049:4: (lv_millisecLimit_2_0= RULE_INT ) 5667 pushFollow(FOLLOW_24);
5668 // InternalApplicationConfiguration.g:2050:5: lv_millisecLimit_2_0= RULE_INT 5668 lv_operator_1_0=ruleComparisonOperator();
5669 { 5669
5670 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5670 state._fsp--;
5671 5671
5672 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0()); 5672
5673 5673 if (current==null) {
5674 5674 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5675 if (current==null) { 5675 }
5676 current = createModelElement(grammarAccess.getRuntimeEntryRule()); 5676 set(
5677 } 5677 current,
5678 setWithLastConsumed( 5678 "operator",
5679 current, 5679 lv_operator_1_0,
5680 "millisecLimit", 5680 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
5681 lv_millisecLimit_2_0, 5681 afterParserOrEnumRuleCall();
5682 "org.eclipse.xtext.common.Terminals.INT"); 5682
5683 5683
5684 5684 }
5685 } 5685
5686 5686
5687 5687 }
5688 } 5688
5689 5689 // InternalApplicationConfiguration.g:2060:3: ( (lv_threshold_2_0= ruleREALLiteral ) )
5690 5690 // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral )
5691 } 5691 {
5692 5692 // InternalApplicationConfiguration.g:2061:4: (lv_threshold_2_0= ruleREALLiteral )
5693 5693 // InternalApplicationConfiguration.g:2062:5: lv_threshold_2_0= ruleREALLiteral
5694 } 5694 {
5695 5695
5696 5696 newCompositeNode(grammarAccess.getThresholdEntryAccess().getThresholdREALLiteralParserRuleCall_2_0());
5697 leaveRule(); 5697
5698 5698 pushFollow(FOLLOW_2);
5699 } 5699 lv_threshold_2_0=ruleREALLiteral();
5700 5700
5701 catch (RecognitionException re) { 5701 state._fsp--;
5702 recover(input,re); 5702
5703 appendSkippedTokens(); 5703
5704 } 5704 if (current==null) {
5705 finally { 5705 current = createModelElementForParent(grammarAccess.getThresholdEntryRule());
5706 } 5706 }
5707 return current; 5707 set(
5708 } 5708 current,
5709 // $ANTLR end "ruleRuntimeEntry" 5709 "threshold",
5710 5710 lv_threshold_2_0,
5711 5711 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
5712 // $ANTLR start "entryRuleMemoryEntry" 5712 afterParserOrEnumRuleCall();
5713 // InternalApplicationConfiguration.g:2070:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ; 5713
5714 public final EObject entryRuleMemoryEntry() throws RecognitionException { 5714
5715 EObject current = null; 5715 }
5716 5716
5717 EObject iv_ruleMemoryEntry = null; 5717
5718 5718 }
5719 5719
5720 try { 5720
5721 // InternalApplicationConfiguration.g:2070:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF ) 5721 }
5722 // InternalApplicationConfiguration.g:2071:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF 5722
5723 { 5723
5724 newCompositeNode(grammarAccess.getMemoryEntryRule()); 5724 }
5725 pushFollow(FOLLOW_1); 5725
5726 iv_ruleMemoryEntry=ruleMemoryEntry(); 5726
5727 5727 leaveRule();
5728 state._fsp--; 5728
5729 5729 }
5730 current =iv_ruleMemoryEntry; 5730
5731 match(input,EOF,FOLLOW_2); 5731 catch (RecognitionException re) {
5732 5732 recover(input,re);
5733 } 5733 appendSkippedTokens();
5734 5734 }
5735 } 5735 finally {
5736 5736 }
5737 catch (RecognitionException re) { 5737 return current;
5738 recover(input,re); 5738 }
5739 appendSkippedTokens(); 5739 // $ANTLR end "ruleThresholdEntry"
5740 } 5740
5741 finally { 5741
5742 } 5742 // $ANTLR start "entryRuleObjectiveFunction"
5743 return current; 5743 // InternalApplicationConfiguration.g:2083:1: entryRuleObjectiveFunction returns [EObject current=null] : iv_ruleObjectiveFunction= ruleObjectiveFunction EOF ;
5744 } 5744 public final EObject entryRuleObjectiveFunction() throws RecognitionException {
5745 // $ANTLR end "entryRuleMemoryEntry" 5745 EObject current = null;
5746 5746
5747 5747 EObject iv_ruleObjectiveFunction = null;
5748 // $ANTLR start "ruleMemoryEntry" 5748
5749 // InternalApplicationConfiguration.g:2077:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ; 5749
5750 public final EObject ruleMemoryEntry() throws RecognitionException { 5750 try {
5751 EObject current = null; 5751 // InternalApplicationConfiguration.g:2083:58: (iv_ruleObjectiveFunction= ruleObjectiveFunction EOF )
5752 5752 // InternalApplicationConfiguration.g:2084:2: iv_ruleObjectiveFunction= ruleObjectiveFunction EOF
5753 Token otherlv_0=null; 5753 {
5754 Token otherlv_1=null; 5754 newCompositeNode(grammarAccess.getObjectiveFunctionRule());
5755 Token lv_megabyteLimit_2_0=null; 5755 pushFollow(FOLLOW_1);
5756 5756 iv_ruleObjectiveFunction=ruleObjectiveFunction();
5757 5757
5758 enterRule(); 5758 state._fsp--;
5759 5759
5760 try { 5760 current =iv_ruleObjectiveFunction;
5761 // InternalApplicationConfiguration.g:2083:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ) 5761 match(input,EOF,FOLLOW_2);
5762 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5762
5763 { 5763 }
5764 // InternalApplicationConfiguration.g:2084:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) 5764
5765 // InternalApplicationConfiguration.g:2085:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5765 }
5766 { 5766
5767 otherlv_0=(Token)match(input,31,FOLLOW_12); 5767 catch (RecognitionException re) {
5768 5768 recover(input,re);
5769 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0()); 5769 appendSkippedTokens();
5770 5770 }
5771 otherlv_1=(Token)match(input,17,FOLLOW_7); 5771 finally {
5772 5772 }
5773 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1()); 5773 return current;
5774 5774 }
5775 // InternalApplicationConfiguration.g:2093:3: ( (lv_megabyteLimit_2_0= RULE_INT ) ) 5775 // $ANTLR end "entryRuleObjectiveFunction"
5776 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5776
5777 { 5777
5778 // InternalApplicationConfiguration.g:2094:4: (lv_megabyteLimit_2_0= RULE_INT ) 5778 // $ANTLR start "ruleObjectiveFunction"
5779 // InternalApplicationConfiguration.g:2095:5: lv_megabyteLimit_2_0= RULE_INT 5779 // InternalApplicationConfiguration.g:2090:1: ruleObjectiveFunction returns [EObject current=null] : this_ReliabiltiyFunction_0= ruleReliabiltiyFunction ;
5780 { 5780 public final EObject ruleObjectiveFunction() throws RecognitionException {
5781 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 5781 EObject current = null;
5782 5782
5783 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0()); 5783 EObject this_ReliabiltiyFunction_0 = null;
5784 5784
5785 5785
5786 if (current==null) { 5786
5787 current = createModelElement(grammarAccess.getMemoryEntryRule()); 5787 enterRule();
5788 } 5788
5789 setWithLastConsumed( 5789 try {
5790 current, 5790 // InternalApplicationConfiguration.g:2096:2: (this_ReliabiltiyFunction_0= ruleReliabiltiyFunction )
5791 "megabyteLimit", 5791 // InternalApplicationConfiguration.g:2097:2: this_ReliabiltiyFunction_0= ruleReliabiltiyFunction
5792 lv_megabyteLimit_2_0, 5792 {
5793 "org.eclipse.xtext.common.Terminals.INT"); 5793
5794 5794 newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabiltiyFunctionParserRuleCall());
5795 5795
5796 } 5796 pushFollow(FOLLOW_2);
5797 5797 this_ReliabiltiyFunction_0=ruleReliabiltiyFunction();
5798 5798
5799 } 5799 state._fsp--;
5800 5800
5801 5801
5802 } 5802 current = this_ReliabiltiyFunction_0;
5803 5803 afterParserOrEnumRuleCall();
5804 5804
5805 } 5805
5806 5806 }
5807 5807
5808 leaveRule(); 5808
5809 5809 leaveRule();
5810 } 5810
5811 5811 }
5812 catch (RecognitionException re) { 5812
5813 recover(input,re); 5813 catch (RecognitionException re) {
5814 appendSkippedTokens(); 5814 recover(input,re);
5815 } 5815 appendSkippedTokens();
5816 finally { 5816 }
5817 } 5817 finally {
5818 return current; 5818 }
5819 } 5819 return current;
5820 // $ANTLR end "ruleMemoryEntry" 5820 }
5821 5821 // $ANTLR end "ruleObjectiveFunction"
5822 5822
5823 // $ANTLR start "entryRuleCustomEntry" 5823
5824 // InternalApplicationConfiguration.g:2115:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ; 5824 // $ANTLR start "entryRuleReliabiltiyFunction"
5825 public final EObject entryRuleCustomEntry() throws RecognitionException { 5825 // InternalApplicationConfiguration.g:2108:1: entryRuleReliabiltiyFunction returns [EObject current=null] : iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF ;
5826 EObject current = null; 5826 public final EObject entryRuleReliabiltiyFunction() throws RecognitionException {
5827 5827 EObject current = null;
5828 EObject iv_ruleCustomEntry = null; 5828
5829 5829 EObject iv_ruleReliabiltiyFunction = null;
5830 5830
5831 try { 5831
5832 // InternalApplicationConfiguration.g:2115:52: (iv_ruleCustomEntry= ruleCustomEntry EOF ) 5832 try {
5833 // InternalApplicationConfiguration.g:2116:2: iv_ruleCustomEntry= ruleCustomEntry EOF 5833 // InternalApplicationConfiguration.g:2108:60: (iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF )
5834 { 5834 // InternalApplicationConfiguration.g:2109:2: iv_ruleReliabiltiyFunction= ruleReliabiltiyFunction EOF
5835 newCompositeNode(grammarAccess.getCustomEntryRule()); 5835 {
5836 pushFollow(FOLLOW_1); 5836 newCompositeNode(grammarAccess.getReliabiltiyFunctionRule());
5837 iv_ruleCustomEntry=ruleCustomEntry(); 5837 pushFollow(FOLLOW_1);
5838 5838 iv_ruleReliabiltiyFunction=ruleReliabiltiyFunction();
5839 state._fsp--; 5839
5840 5840 state._fsp--;
5841 current =iv_ruleCustomEntry; 5841
5842 match(input,EOF,FOLLOW_2); 5842 current =iv_ruleReliabiltiyFunction;
5843 5843 match(input,EOF,FOLLOW_2);
5844 } 5844
5845 5845 }
5846 } 5846
5847 5847 }
5848 catch (RecognitionException re) { 5848
5849 recover(input,re); 5849 catch (RecognitionException re) {
5850 appendSkippedTokens(); 5850 recover(input,re);
5851 } 5851 appendSkippedTokens();
5852 finally { 5852 }
5853 } 5853 finally {
5854 return current; 5854 }
5855 } 5855 return current;
5856 // $ANTLR end "entryRuleCustomEntry" 5856 }
5857 5857 // $ANTLR end "entryRuleReliabiltiyFunction"
5858 5858
5859 // $ANTLR start "ruleCustomEntry" 5859
5860 // InternalApplicationConfiguration.g:2122:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; 5860 // $ANTLR start "ruleReliabiltiyFunction"
5861 public final EObject ruleCustomEntry() throws RecognitionException { 5861 // InternalApplicationConfiguration.g:2115:1: ruleReliabiltiyFunction returns [EObject current=null] : (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) ;
5862 EObject current = null; 5862 public final EObject ruleReliabiltiyFunction() throws RecognitionException {
5863 5863 EObject current = null;
5864 Token lv_key_0_0=null; 5864
5865 Token otherlv_1=null; 5865 Token otherlv_0=null;
5866 Token lv_value_2_0=null; 5866 Token otherlv_2=null;
5867 5867 Token otherlv_3=null;
5868 5868
5869 enterRule(); 5869
5870 5870 enterRule();
5871 try { 5871
5872 // InternalApplicationConfiguration.g:2128:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) 5872 try {
5873 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5873 // InternalApplicationConfiguration.g:2121:2: ( (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) ) )
5874 { 5874 // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) )
5875 // InternalApplicationConfiguration.g:2129:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) 5875 {
5876 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) 5876 // InternalApplicationConfiguration.g:2122:2: (otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) ) )
5877 { 5877 // InternalApplicationConfiguration.g:2123:3: otherlv_0= 'reliability' ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )? ( (otherlv_3= RULE_ID ) )
5878 // InternalApplicationConfiguration.g:2130:3: ( (lv_key_0_0= RULE_STRING ) ) 5878 {
5879 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5879 otherlv_0=(Token)match(input,16,FOLLOW_6);
5880 { 5880
5881 // InternalApplicationConfiguration.g:2131:4: (lv_key_0_0= RULE_STRING ) 5881 newLeafNode(otherlv_0, grammarAccess.getReliabiltiyFunctionAccess().getReliabilityKeyword_0());
5882 // InternalApplicationConfiguration.g:2132:5: lv_key_0_0= RULE_STRING 5882
5883 { 5883 // InternalApplicationConfiguration.g:2127:3: ( ( ( ruleQualifiedName ) ) otherlv_2= '::' )?
5884 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_12); 5884 int alt30=2;
5885 5885 int LA30_0 = input.LA(1);
5886 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); 5886
5887 5887 if ( (LA30_0==RULE_ID) ) {
5888 5888 int LA30_1 = input.LA(2);
5889 if (current==null) { 5889
5890 current = createModelElement(grammarAccess.getCustomEntryRule()); 5890 if ( (LA30_1==11||LA30_1==24) ) {
5891 } 5891 alt30=1;
5892 setWithLastConsumed( 5892 }
5893 current, 5893 }
5894 "key", 5894 switch (alt30) {
5895 lv_key_0_0, 5895 case 1 :
5896 "org.eclipse.xtext.common.Terminals.STRING"); 5896 // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) ) otherlv_2= '::'
5897 5897 {
5898 5898 // InternalApplicationConfiguration.g:2128:4: ( ( ruleQualifiedName ) )
5899 } 5899 // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName )
5900 5900 {
5901 5901 // InternalApplicationConfiguration.g:2129:5: ( ruleQualifiedName )
5902 } 5902 // InternalApplicationConfiguration.g:2130:6: ruleQualifiedName
5903 5903 {
5904 otherlv_1=(Token)match(input,17,FOLLOW_10); 5904
5905 5905 if (current==null) {
5906 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1()); 5906 current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
5907 5907 }
5908 // InternalApplicationConfiguration.g:2152:3: ( (lv_value_2_0= RULE_STRING ) ) 5908
5909 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5909
5910 { 5910 newCompositeNode(grammarAccess.getReliabiltiyFunctionAccess().getPackageCftModelCrossReference_1_0_0());
5911 // InternalApplicationConfiguration.g:2153:4: (lv_value_2_0= RULE_STRING ) 5911
5912 // InternalApplicationConfiguration.g:2154:5: lv_value_2_0= RULE_STRING 5912 pushFollow(FOLLOW_18);
5913 { 5913 ruleQualifiedName();
5914 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); 5914
5915 5915 state._fsp--;
5916 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); 5916
5917 5917
5918 5918 afterParserOrEnumRuleCall();
5919 if (current==null) { 5919
5920 current = createModelElement(grammarAccess.getCustomEntryRule()); 5920
5921 } 5921 }
5922 setWithLastConsumed( 5922
5923 current, 5923
5924 "value", 5924 }
5925 lv_value_2_0, 5925
5926 "org.eclipse.xtext.common.Terminals.STRING"); 5926 otherlv_2=(Token)match(input,24,FOLLOW_6);
5927 5927
5928 5928 newLeafNode(otherlv_2, grammarAccess.getReliabiltiyFunctionAccess().getColonColonKeyword_1_1());
5929 } 5929
5930 5930
5931 5931 }
5932 } 5932 break;
5933 5933
5934 5934 }
5935 } 5935
5936 5936 // InternalApplicationConfiguration.g:2149:3: ( (otherlv_3= RULE_ID ) )
5937 5937 // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID )
5938 } 5938 {
5939 5939 // InternalApplicationConfiguration.g:2150:4: (otherlv_3= RULE_ID )
5940 5940 // InternalApplicationConfiguration.g:2151:5: otherlv_3= RULE_ID
5941 leaveRule(); 5941 {
5942 5942
5943 } 5943 if (current==null) {
5944 5944 current = createModelElement(grammarAccess.getReliabiltiyFunctionRule());
5945 catch (RecognitionException re) { 5945 }
5946 recover(input,re); 5946
5947 appendSkippedTokens(); 5947 otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2);
5948 } 5948
5949 finally { 5949 newLeafNode(otherlv_3, grammarAccess.getReliabiltiyFunctionAccess().getTransformationTransformationDefinitionCrossReference_2_0());
5950 } 5950
5951 return current; 5951
5952 } 5952 }
5953 // $ANTLR end "ruleCustomEntry" 5953
5954 5954
5955 5955 }
5956 // $ANTLR start "entryRuleConfigReference" 5956
5957 // InternalApplicationConfiguration.g:2174:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; 5957
5958 public final EObject entryRuleConfigReference() throws RecognitionException { 5958 }
5959 EObject current = null; 5959
5960 5960
5961 EObject iv_ruleConfigReference = null; 5961 }
5962 5962
5963 5963
5964 try { 5964 leaveRule();
5965 // InternalApplicationConfiguration.g:2174:56: (iv_ruleConfigReference= ruleConfigReference EOF ) 5965
5966 // InternalApplicationConfiguration.g:2175:2: iv_ruleConfigReference= ruleConfigReference EOF 5966 }
5967 { 5967
5968 newCompositeNode(grammarAccess.getConfigReferenceRule()); 5968 catch (RecognitionException re) {
5969 pushFollow(FOLLOW_1); 5969 recover(input,re);
5970 iv_ruleConfigReference=ruleConfigReference(); 5970 appendSkippedTokens();
5971 5971 }
5972 state._fsp--; 5972 finally {
5973 5973 }
5974 current =iv_ruleConfigReference; 5974 return current;
5975 match(input,EOF,FOLLOW_2); 5975 }
5976 5976 // $ANTLR end "ruleReliabiltiyFunction"
5977 } 5977
5978 5978
5979 } 5979 // $ANTLR start "entryRuleObjectiveDeclaration"
5980 5980 // InternalApplicationConfiguration.g:2166:1: entryRuleObjectiveDeclaration returns [EObject current=null] : iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF ;
5981 catch (RecognitionException re) { 5981 public final EObject entryRuleObjectiveDeclaration() throws RecognitionException {
5982 recover(input,re); 5982 EObject current = null;
5983 appendSkippedTokens(); 5983
5984 } 5984 EObject iv_ruleObjectiveDeclaration = null;
5985 finally { 5985
5986 } 5986
5987 return current; 5987 try {
5988 } 5988 // InternalApplicationConfiguration.g:2166:61: (iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF )
5989 // $ANTLR end "entryRuleConfigReference" 5989 // InternalApplicationConfiguration.g:2167:2: iv_ruleObjectiveDeclaration= ruleObjectiveDeclaration EOF
5990 5990 {
5991 5991 newCompositeNode(grammarAccess.getObjectiveDeclarationRule());
5992 // $ANTLR start "ruleConfigReference" 5992 pushFollow(FOLLOW_1);
5993 // InternalApplicationConfiguration.g:2181:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 5993 iv_ruleObjectiveDeclaration=ruleObjectiveDeclaration();
5994 public final EObject ruleConfigReference() throws RecognitionException { 5994
5995 EObject current = null; 5995 state._fsp--;
5996 5996
5997 Token otherlv_0=null; 5997 current =iv_ruleObjectiveDeclaration;
5998 5998 match(input,EOF,FOLLOW_2);
5999 5999
6000 enterRule(); 6000 }
6001 6001
6002 try { 6002 }
6003 // InternalApplicationConfiguration.g:2187:2: ( ( (otherlv_0= RULE_ID ) ) ) 6003
6004 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6004 catch (RecognitionException re) {
6005 { 6005 recover(input,re);
6006 // InternalApplicationConfiguration.g:2188:2: ( (otherlv_0= RULE_ID ) ) 6006 appendSkippedTokens();
6007 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6007 }
6008 { 6008 finally {
6009 // InternalApplicationConfiguration.g:2189:3: (otherlv_0= RULE_ID ) 6009 }
6010 // InternalApplicationConfiguration.g:2190:4: otherlv_0= RULE_ID 6010 return current;
6011 { 6011 }
6012 6012 // $ANTLR end "entryRuleObjectiveDeclaration"
6013 if (current==null) { 6013
6014 current = createModelElement(grammarAccess.getConfigReferenceRule()); 6014
6015 } 6015 // $ANTLR start "ruleObjectiveDeclaration"
6016 6016 // InternalApplicationConfiguration.g:2173:1: ruleObjectiveDeclaration returns [EObject current=null] : (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) ;
6017 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 6017 public final EObject ruleObjectiveDeclaration() throws RecognitionException {
6018 6018 EObject current = null;
6019 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); 6019
6020 6020 Token otherlv_0=null;
6021 6021 Token lv_name_1_0=null;
6022 } 6022 EObject lv_specification_2_0 = null;
6023 6023
6024 6024
6025 } 6025
6026 6026 enterRule();
6027 6027
6028 } 6028 try {
6029 6029 // InternalApplicationConfiguration.g:2179:2: ( (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) ) )
6030 6030 // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6031 leaveRule(); 6031 {
6032 6032 // InternalApplicationConfiguration.g:2180:2: (otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) ) )
6033 } 6033 // InternalApplicationConfiguration.g:2181:3: otherlv_0= 'objectives' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6034 6034 {
6035 catch (RecognitionException re) { 6035 otherlv_0=(Token)match(input,29,FOLLOW_6);
6036 recover(input,re); 6036
6037 appendSkippedTokens(); 6037 newLeafNode(otherlv_0, grammarAccess.getObjectiveDeclarationAccess().getObjectivesKeyword_0());
6038 } 6038
6039 finally { 6039 // InternalApplicationConfiguration.g:2185:3: ( (lv_name_1_0= RULE_ID ) )
6040 } 6040 // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID )
6041 return current; 6041 {
6042 } 6042 // InternalApplicationConfiguration.g:2186:4: (lv_name_1_0= RULE_ID )
6043 // $ANTLR end "ruleConfigReference" 6043 // InternalApplicationConfiguration.g:2187:5: lv_name_1_0= RULE_ID
6044 6044 {
6045 6045 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
6046 // $ANTLR start "entryRuleConfig" 6046
6047 // InternalApplicationConfiguration.g:2204:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; 6047 newLeafNode(lv_name_1_0, grammarAccess.getObjectiveDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6048 public final EObject entryRuleConfig() throws RecognitionException { 6048
6049 EObject current = null; 6049
6050 6050 if (current==null) {
6051 EObject iv_ruleConfig = null; 6051 current = createModelElement(grammarAccess.getObjectiveDeclarationRule());
6052 6052 }
6053 6053 setWithLastConsumed(
6054 try { 6054 current,
6055 // InternalApplicationConfiguration.g:2204:47: (iv_ruleConfig= ruleConfig EOF ) 6055 "name",
6056 // InternalApplicationConfiguration.g:2205:2: iv_ruleConfig= ruleConfig EOF 6056 lv_name_1_0,
6057 { 6057 "org.eclipse.xtext.common.Terminals.ID");
6058 newCompositeNode(grammarAccess.getConfigRule()); 6058
6059 pushFollow(FOLLOW_1); 6059
6060 iv_ruleConfig=ruleConfig(); 6060 }
6061 6061
6062 state._fsp--; 6062
6063 6063 }
6064 current =iv_ruleConfig; 6064
6065 match(input,EOF,FOLLOW_2); 6065 // InternalApplicationConfiguration.g:2203:3: ( (lv_specification_2_0= ruleObjectiveSpecification ) )
6066 6066 // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification )
6067 } 6067 {
6068 6068 // InternalApplicationConfiguration.g:2204:4: (lv_specification_2_0= ruleObjectiveSpecification )
6069 } 6069 // InternalApplicationConfiguration.g:2205:5: lv_specification_2_0= ruleObjectiveSpecification
6070 6070 {
6071 catch (RecognitionException re) { 6071
6072 recover(input,re); 6072 newCompositeNode(grammarAccess.getObjectiveDeclarationAccess().getSpecificationObjectiveSpecificationParserRuleCall_2_0());
6073 appendSkippedTokens(); 6073
6074 } 6074 pushFollow(FOLLOW_2);
6075 finally { 6075 lv_specification_2_0=ruleObjectiveSpecification();
6076 } 6076
6077 return current; 6077 state._fsp--;
6078 } 6078
6079 // $ANTLR end "entryRuleConfig" 6079
6080 6080 if (current==null) {
6081 6081 current = createModelElementForParent(grammarAccess.getObjectiveDeclarationRule());
6082 // $ANTLR start "ruleConfig" 6082 }
6083 // InternalApplicationConfiguration.g:2211:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; 6083 set(
6084 public final EObject ruleConfig() throws RecognitionException { 6084 current,
6085 EObject current = null; 6085 "specification",
6086 6086 lv_specification_2_0,
6087 EObject this_ConfigSpecification_0 = null; 6087 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
6088 6088 afterParserOrEnumRuleCall();
6089 EObject this_ConfigReference_1 = null; 6089
6090 6090
6091 6091 }
6092 6092
6093 enterRule(); 6093
6094 6094 }
6095 try { 6095
6096 // InternalApplicationConfiguration.g:2217:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) 6096
6097 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6097 }
6098 { 6098
6099 // InternalApplicationConfiguration.g:2218:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) 6099
6100 int alt31=2; 6100 }
6101 int LA31_0 = input.LA(1); 6101
6102 6102
6103 if ( (LA31_0==18) ) { 6103 leaveRule();
6104 alt31=1; 6104
6105 } 6105 }
6106 else if ( (LA31_0==RULE_ID) ) { 6106
6107 alt31=2; 6107 catch (RecognitionException re) {
6108 } 6108 recover(input,re);
6109 else { 6109 appendSkippedTokens();
6110 NoViableAltException nvae = 6110 }
6111 new NoViableAltException("", 31, 0, input); 6111 finally {
6112 6112 }
6113 throw nvae; 6113 return current;
6114 } 6114 }
6115 switch (alt31) { 6115 // $ANTLR end "ruleObjectiveDeclaration"
6116 case 1 : 6116
6117 // InternalApplicationConfiguration.g:2219:3: this_ConfigSpecification_0= ruleConfigSpecification 6117
6118 { 6118 // $ANTLR start "entryRuleObjectiveReference"
6119 6119 // InternalApplicationConfiguration.g:2226:1: entryRuleObjectiveReference returns [EObject current=null] : iv_ruleObjectiveReference= ruleObjectiveReference EOF ;
6120 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); 6120 public final EObject entryRuleObjectiveReference() throws RecognitionException {
6121 6121 EObject current = null;
6122 pushFollow(FOLLOW_2); 6122
6123 this_ConfigSpecification_0=ruleConfigSpecification(); 6123 EObject iv_ruleObjectiveReference = null;
6124 6124
6125 state._fsp--; 6125
6126 6126 try {
6127 6127 // InternalApplicationConfiguration.g:2226:59: (iv_ruleObjectiveReference= ruleObjectiveReference EOF )
6128 current = this_ConfigSpecification_0; 6128 // InternalApplicationConfiguration.g:2227:2: iv_ruleObjectiveReference= ruleObjectiveReference EOF
6129 afterParserOrEnumRuleCall(); 6129 {
6130 6130 newCompositeNode(grammarAccess.getObjectiveReferenceRule());
6131 6131 pushFollow(FOLLOW_1);
6132 } 6132 iv_ruleObjectiveReference=ruleObjectiveReference();
6133 break; 6133
6134 case 2 : 6134 state._fsp--;
6135 // InternalApplicationConfiguration.g:2228:3: this_ConfigReference_1= ruleConfigReference 6135
6136 { 6136 current =iv_ruleObjectiveReference;
6137 6137 match(input,EOF,FOLLOW_2);
6138 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); 6138
6139 6139 }
6140 pushFollow(FOLLOW_2); 6140
6141 this_ConfigReference_1=ruleConfigReference(); 6141 }
6142 6142
6143 state._fsp--; 6143 catch (RecognitionException re) {
6144 6144 recover(input,re);
6145 6145 appendSkippedTokens();
6146 current = this_ConfigReference_1; 6146 }
6147 afterParserOrEnumRuleCall(); 6147 finally {
6148 6148 }
6149 6149 return current;
6150 } 6150 }
6151 break; 6151 // $ANTLR end "entryRuleObjectiveReference"
6152 6152
6153 } 6153
6154 6154 // $ANTLR start "ruleObjectiveReference"
6155 6155 // InternalApplicationConfiguration.g:2233:1: ruleObjectiveReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
6156 } 6156 public final EObject ruleObjectiveReference() throws RecognitionException {
6157 6157 EObject current = null;
6158 6158
6159 leaveRule(); 6159 Token otherlv_0=null;
6160 6160
6161 } 6161
6162 6162 enterRule();
6163 catch (RecognitionException re) { 6163
6164 recover(input,re); 6164 try {
6165 appendSkippedTokens(); 6165 // InternalApplicationConfiguration.g:2239:2: ( ( (otherlv_0= RULE_ID ) ) )
6166 } 6166 // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) )
6167 finally { 6167 {
6168 } 6168 // InternalApplicationConfiguration.g:2240:2: ( (otherlv_0= RULE_ID ) )
6169 return current; 6169 // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID )
6170 } 6170 {
6171 // $ANTLR end "ruleConfig" 6171 // InternalApplicationConfiguration.g:2241:3: (otherlv_0= RULE_ID )
6172 6172 // InternalApplicationConfiguration.g:2242:4: otherlv_0= RULE_ID
6173 6173 {
6174 // $ANTLR start "entryRuleScopeSpecification" 6174
6175 // InternalApplicationConfiguration.g:2240:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; 6175 if (current==null) {
6176 public final EObject entryRuleScopeSpecification() throws RecognitionException { 6176 current = createModelElement(grammarAccess.getObjectiveReferenceRule());
6177 EObject current = null; 6177 }
6178 6178
6179 EObject iv_ruleScopeSpecification = null; 6179 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
6180 6180
6181 6181 newLeafNode(otherlv_0, grammarAccess.getObjectiveReferenceAccess().getReferredObjectiveDeclarationCrossReference_0());
6182 try { 6182
6183 // InternalApplicationConfiguration.g:2240:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) 6183
6184 // InternalApplicationConfiguration.g:2241:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF 6184 }
6185 { 6185
6186 newCompositeNode(grammarAccess.getScopeSpecificationRule()); 6186
6187 pushFollow(FOLLOW_1); 6187 }
6188 iv_ruleScopeSpecification=ruleScopeSpecification(); 6188
6189 6189
6190 state._fsp--; 6190 }
6191 6191
6192 current =iv_ruleScopeSpecification; 6192
6193 match(input,EOF,FOLLOW_2); 6193 leaveRule();
6194 6194
6195 } 6195 }
6196 6196
6197 } 6197 catch (RecognitionException re) {
6198 6198 recover(input,re);
6199 catch (RecognitionException re) { 6199 appendSkippedTokens();
6200 recover(input,re); 6200 }
6201 appendSkippedTokens(); 6201 finally {
6202 } 6202 }
6203 finally { 6203 return current;
6204 } 6204 }
6205 return current; 6205 // $ANTLR end "ruleObjectiveReference"
6206 } 6206
6207 // $ANTLR end "entryRuleScopeSpecification" 6207
6208 6208 // $ANTLR start "entryRuleObjective"
6209 6209 // InternalApplicationConfiguration.g:2256:1: entryRuleObjective returns [EObject current=null] : iv_ruleObjective= ruleObjective EOF ;
6210 // $ANTLR start "ruleScopeSpecification" 6210 public final EObject entryRuleObjective() throws RecognitionException {
6211 // InternalApplicationConfiguration.g:2247:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; 6211 EObject current = null;
6212 public final EObject ruleScopeSpecification() throws RecognitionException { 6212
6213 EObject current = null; 6213 EObject iv_ruleObjective = null;
6214 6214
6215 Token otherlv_1=null; 6215
6216 Token otherlv_3=null; 6216 try {
6217 Token otherlv_5=null; 6217 // InternalApplicationConfiguration.g:2256:50: (iv_ruleObjective= ruleObjective EOF )
6218 EObject lv_scopes_2_0 = null; 6218 // InternalApplicationConfiguration.g:2257:2: iv_ruleObjective= ruleObjective EOF
6219 6219 {
6220 EObject lv_scopes_4_0 = null; 6220 newCompositeNode(grammarAccess.getObjectiveRule());
6221 6221 pushFollow(FOLLOW_1);
6222 6222 iv_ruleObjective=ruleObjective();
6223 6223
6224 enterRule(); 6224 state._fsp--;
6225 6225
6226 try { 6226 current =iv_ruleObjective;
6227 // InternalApplicationConfiguration.g:2253:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) 6227 match(input,EOF,FOLLOW_2);
6228 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6228
6229 { 6229 }
6230 // InternalApplicationConfiguration.g:2254:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) 6230
6231 // InternalApplicationConfiguration.g:2255:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' 6231 }
6232 { 6232
6233 // InternalApplicationConfiguration.g:2255:3: () 6233 catch (RecognitionException re) {
6234 // InternalApplicationConfiguration.g:2256:4: 6234 recover(input,re);
6235 { 6235 appendSkippedTokens();
6236 6236 }
6237 current = forceCreateModelElement( 6237 finally {
6238 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), 6238 }
6239 current); 6239 return current;
6240 6240 }
6241 6241 // $ANTLR end "entryRuleObjective"
6242 } 6242
6243 6243
6244 otherlv_1=(Token)match(input,18,FOLLOW_24); 6244 // $ANTLR start "ruleObjective"
6245 6245 // InternalApplicationConfiguration.g:2263:1: ruleObjective returns [EObject current=null] : (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) ;
6246 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); 6246 public final EObject ruleObjective() throws RecognitionException {
6247 6247 EObject current = null;
6248 // InternalApplicationConfiguration.g:2266:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? 6248
6249 int alt33=2; 6249 EObject this_ObjectiveReference_0 = null;
6250 int LA33_0 = input.LA(1); 6250
6251 6251 EObject this_ObjectiveSpecification_1 = null;
6252 if ( (LA33_0==32) ) { 6252
6253 alt33=1; 6253
6254 } 6254
6255 switch (alt33) { 6255 enterRule();
6256 case 1 : 6256
6257 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6257 try {
6258 { 6258 // InternalApplicationConfiguration.g:2269:2: ( (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification ) )
6259 // InternalApplicationConfiguration.g:2267:4: ( (lv_scopes_2_0= ruleTypeScope ) ) 6259 // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6260 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6260 {
6261 { 6261 // InternalApplicationConfiguration.g:2270:2: (this_ObjectiveReference_0= ruleObjectiveReference | this_ObjectiveSpecification_1= ruleObjectiveSpecification )
6262 // InternalApplicationConfiguration.g:2268:5: (lv_scopes_2_0= ruleTypeScope ) 6262 int alt31=2;
6263 // InternalApplicationConfiguration.g:2269:6: lv_scopes_2_0= ruleTypeScope 6263 int LA31_0 = input.LA(1);
6264 { 6264
6265 6265 if ( (LA31_0==RULE_ID) ) {
6266 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); 6266 alt31=1;
6267 6267 }
6268 pushFollow(FOLLOW_14); 6268 else if ( (LA31_0==19) ) {
6269 lv_scopes_2_0=ruleTypeScope(); 6269 alt31=2;
6270 6270 }
6271 state._fsp--; 6271 else {
6272 6272 NoViableAltException nvae =
6273 6273 new NoViableAltException("", 31, 0, input);
6274 if (current==null) { 6274
6275 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6275 throw nvae;
6276 } 6276 }
6277 add( 6277 switch (alt31) {
6278 current, 6278 case 1 :
6279 "scopes", 6279 // InternalApplicationConfiguration.g:2271:3: this_ObjectiveReference_0= ruleObjectiveReference
6280 lv_scopes_2_0, 6280 {
6281 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6281
6282 afterParserOrEnumRuleCall(); 6282 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveReferenceParserRuleCall_0());
6283 6283
6284 6284 pushFollow(FOLLOW_2);
6285 } 6285 this_ObjectiveReference_0=ruleObjectiveReference();
6286 6286
6287 6287 state._fsp--;
6288 } 6288
6289 6289
6290 // InternalApplicationConfiguration.g:2286:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* 6290 current = this_ObjectiveReference_0;
6291 loop32: 6291 afterParserOrEnumRuleCall();
6292 do { 6292
6293 int alt32=2; 6293
6294 int LA32_0 = input.LA(1); 6294 }
6295 6295 break;
6296 if ( (LA32_0==19) ) { 6296 case 2 :
6297 alt32=1; 6297 // InternalApplicationConfiguration.g:2280:3: this_ObjectiveSpecification_1= ruleObjectiveSpecification
6298 } 6298 {
6299 6299
6300 6300 newCompositeNode(grammarAccess.getObjectiveAccess().getObjectiveSpecificationParserRuleCall_1());
6301 switch (alt32) { 6301
6302 case 1 : 6302 pushFollow(FOLLOW_2);
6303 // InternalApplicationConfiguration.g:2287:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) 6303 this_ObjectiveSpecification_1=ruleObjectiveSpecification();
6304 { 6304
6305 otherlv_3=(Token)match(input,19,FOLLOW_25); 6305 state._fsp--;
6306 6306
6307 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); 6307
6308 6308 current = this_ObjectiveSpecification_1;
6309 // InternalApplicationConfiguration.g:2291:5: ( (lv_scopes_4_0= ruleTypeScope ) ) 6309 afterParserOrEnumRuleCall();
6310 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6310
6311 { 6311
6312 // InternalApplicationConfiguration.g:2292:6: (lv_scopes_4_0= ruleTypeScope ) 6312 }
6313 // InternalApplicationConfiguration.g:2293:7: lv_scopes_4_0= ruleTypeScope 6313 break;
6314 { 6314
6315 6315 }
6316 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); 6316
6317 6317
6318 pushFollow(FOLLOW_14); 6318 }
6319 lv_scopes_4_0=ruleTypeScope(); 6319
6320 6320
6321 state._fsp--; 6321 leaveRule();
6322 6322
6323 6323 }
6324 if (current==null) { 6324
6325 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); 6325 catch (RecognitionException re) {
6326 } 6326 recover(input,re);
6327 add( 6327 appendSkippedTokens();
6328 current, 6328 }
6329 "scopes", 6329 finally {
6330 lv_scopes_4_0, 6330 }
6331 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 6331 return current;
6332 afterParserOrEnumRuleCall(); 6332 }
6333 6333 // $ANTLR end "ruleObjective"
6334 6334
6335 } 6335
6336 6336 // $ANTLR start "entryRuleConfigSpecification"
6337 6337 // InternalApplicationConfiguration.g:2292:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ;
6338 } 6338 public final EObject entryRuleConfigSpecification() throws RecognitionException {
6339 6339 EObject current = null;
6340 6340
6341 } 6341 EObject iv_ruleConfigSpecification = null;
6342 break; 6342
6343 6343
6344 default : 6344 try {
6345 break loop32; 6345 // InternalApplicationConfiguration.g:2292:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF )
6346 } 6346 // InternalApplicationConfiguration.g:2293:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF
6347 } while (true); 6347 {
6348 6348 newCompositeNode(grammarAccess.getConfigSpecificationRule());
6349 6349 pushFollow(FOLLOW_1);
6350 } 6350 iv_ruleConfigSpecification=ruleConfigSpecification();
6351 break; 6351
6352 6352 state._fsp--;
6353 } 6353
6354 6354 current =iv_ruleConfigSpecification;
6355 otherlv_5=(Token)match(input,20,FOLLOW_2); 6355 match(input,EOF,FOLLOW_2);
6356 6356
6357 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); 6357 }
6358 6358
6359 6359 }
6360 } 6360
6361 6361 catch (RecognitionException re) {
6362 6362 recover(input,re);
6363 } 6363 appendSkippedTokens();
6364 6364 }
6365 6365 finally {
6366 leaveRule(); 6366 }
6367 6367 return current;
6368 } 6368 }
6369 6369 // $ANTLR end "entryRuleConfigSpecification"
6370 catch (RecognitionException re) { 6370
6371 recover(input,re); 6371
6372 appendSkippedTokens(); 6372 // $ANTLR start "ruleConfigSpecification"
6373 } 6373 // InternalApplicationConfiguration.g:2299:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ;
6374 finally { 6374 public final EObject ruleConfigSpecification() throws RecognitionException {
6375 } 6375 EObject current = null;
6376 return current; 6376
6377 } 6377 Token otherlv_1=null;
6378 // $ANTLR end "ruleScopeSpecification" 6378 Token otherlv_3=null;
6379 6379 Token otherlv_5=null;
6380 6380 EObject lv_entries_2_0 = null;
6381 // $ANTLR start "entryRuleTypeScope" 6381
6382 // InternalApplicationConfiguration.g:2320:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; 6382 EObject lv_entries_4_0 = null;
6383 public final EObject entryRuleTypeScope() throws RecognitionException { 6383
6384 EObject current = null; 6384
6385 6385
6386 EObject iv_ruleTypeScope = null; 6386 enterRule();
6387 6387
6388 6388 try {
6389 try { 6389 // InternalApplicationConfiguration.g:2305:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) )
6390 // InternalApplicationConfiguration.g:2320:50: (iv_ruleTypeScope= ruleTypeScope EOF ) 6390 // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6391 // InternalApplicationConfiguration.g:2321:2: iv_ruleTypeScope= ruleTypeScope EOF 6391 {
6392 { 6392 // InternalApplicationConfiguration.g:2306:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
6393 newCompositeNode(grammarAccess.getTypeScopeRule()); 6393 // InternalApplicationConfiguration.g:2307:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}'
6394 pushFollow(FOLLOW_1); 6394 {
6395 iv_ruleTypeScope=ruleTypeScope(); 6395 // InternalApplicationConfiguration.g:2307:3: ()
6396 6396 // InternalApplicationConfiguration.g:2308:4:
6397 state._fsp--; 6397 {
6398 6398
6399 current =iv_ruleTypeScope; 6399 current = forceCreateModelElement(
6400 match(input,EOF,FOLLOW_2); 6400 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
6401 6401 current);
6402 } 6402
6403 6403
6404 } 6404 }
6405 6405
6406 catch (RecognitionException re) { 6406 otherlv_1=(Token)match(input,19,FOLLOW_25);
6407 recover(input,re); 6407
6408 appendSkippedTokens(); 6408 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
6409 } 6409
6410 finally { 6410 // InternalApplicationConfiguration.g:2318:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )?
6411 } 6411 int alt33=2;
6412 return current; 6412 int LA33_0 = input.LA(1);
6413 } 6413
6414 // $ANTLR end "entryRuleTypeScope" 6414 if ( (LA33_0==RULE_STRING||(LA33_0>=31 && LA33_0<=33)) ) {
6415 6415 alt33=1;
6416 6416 }
6417 // $ANTLR start "ruleTypeScope" 6417 switch (alt33) {
6418 // InternalApplicationConfiguration.g:2327:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ; 6418 case 1 :
6419 public final EObject ruleTypeScope() throws RecognitionException { 6419 // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6420 EObject current = null; 6420 {
6421 6421 // InternalApplicationConfiguration.g:2319:4: ( (lv_entries_2_0= ruleConfigEntry ) )
6422 EObject this_ClassTypeScope_0 = null; 6422 // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry )
6423 6423 {
6424 EObject this_ObjectTypeScope_1 = null; 6424 // InternalApplicationConfiguration.g:2320:5: (lv_entries_2_0= ruleConfigEntry )
6425 6425 // InternalApplicationConfiguration.g:2321:6: lv_entries_2_0= ruleConfigEntry
6426 EObject this_IntegerTypeScope_2 = null; 6426 {
6427 6427
6428 EObject this_RealTypeScope_3 = null; 6428 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
6429 6429
6430 EObject this_StringTypeScope_4 = null; 6430 pushFollow(FOLLOW_15);
6431 6431 lv_entries_2_0=ruleConfigEntry();
6432 6432
6433 6433 state._fsp--;
6434 enterRule(); 6434
6435 6435
6436 try { 6436 if (current==null) {
6437 // InternalApplicationConfiguration.g:2333:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ) 6437 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6438 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6438 }
6439 { 6439 add(
6440 // InternalApplicationConfiguration.g:2334:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) 6440 current,
6441 int alt34=5; 6441 "entries",
6442 int LA34_0 = input.LA(1); 6442 lv_entries_2_0,
6443 6443 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6444 if ( (LA34_0==32) ) { 6444 afterParserOrEnumRuleCall();
6445 switch ( input.LA(2) ) { 6445
6446 case 37: 6446
6447 { 6447 }
6448 alt34=3; 6448
6449 } 6449
6450 break; 6450 }
6451 case 38: 6451
6452 { 6452 // InternalApplicationConfiguration.g:2338:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
6453 alt34=4; 6453 loop32:
6454 } 6454 do {
6455 break; 6455 int alt32=2;
6456 case 39: 6456 int LA32_0 = input.LA(1);
6457 { 6457
6458 alt34=5; 6458 if ( (LA32_0==20) ) {
6459 } 6459 alt32=1;
6460 break; 6460 }
6461 case 34: 6461
6462 { 6462
6463 alt34=1; 6463 switch (alt32) {
6464 } 6464 case 1 :
6465 break; 6465 // InternalApplicationConfiguration.g:2339:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) )
6466 case 36: 6466 {
6467 { 6467 otherlv_3=(Token)match(input,20,FOLLOW_26);
6468 alt34=2; 6468
6469 } 6469 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
6470 break; 6470
6471 default: 6471 // InternalApplicationConfiguration.g:2343:5: ( (lv_entries_4_0= ruleConfigEntry ) )
6472 NoViableAltException nvae = 6472 // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry )
6473 new NoViableAltException("", 34, 1, input); 6473 {
6474 6474 // InternalApplicationConfiguration.g:2344:6: (lv_entries_4_0= ruleConfigEntry )
6475 throw nvae; 6475 // InternalApplicationConfiguration.g:2345:7: lv_entries_4_0= ruleConfigEntry
6476 } 6476 {
6477 6477
6478 } 6478 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
6479 else { 6479
6480 NoViableAltException nvae = 6480 pushFollow(FOLLOW_15);
6481 new NoViableAltException("", 34, 0, input); 6481 lv_entries_4_0=ruleConfigEntry();
6482 6482
6483 throw nvae; 6483 state._fsp--;
6484 } 6484
6485 switch (alt34) { 6485
6486 case 1 : 6486 if (current==null) {
6487 // InternalApplicationConfiguration.g:2335:3: this_ClassTypeScope_0= ruleClassTypeScope 6487 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
6488 { 6488 }
6489 6489 add(
6490 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0()); 6490 current,
6491 6491 "entries",
6492 pushFollow(FOLLOW_2); 6492 lv_entries_4_0,
6493 this_ClassTypeScope_0=ruleClassTypeScope(); 6493 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
6494 6494 afterParserOrEnumRuleCall();
6495 state._fsp--; 6495
6496 6496
6497 6497 }
6498 current = this_ClassTypeScope_0; 6498
6499 afterParserOrEnumRuleCall(); 6499
6500 6500 }
6501 6501
6502 } 6502
6503 break; 6503 }
6504 case 2 : 6504 break;
6505 // InternalApplicationConfiguration.g:2344:3: this_ObjectTypeScope_1= ruleObjectTypeScope 6505
6506 { 6506 default :
6507 6507 break loop32;
6508 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1()); 6508 }
6509 6509 } while (true);
6510 pushFollow(FOLLOW_2); 6510
6511 this_ObjectTypeScope_1=ruleObjectTypeScope(); 6511
6512 6512 }
6513 state._fsp--; 6513 break;
6514 6514
6515 6515 }
6516 current = this_ObjectTypeScope_1; 6516
6517 afterParserOrEnumRuleCall(); 6517 otherlv_5=(Token)match(input,21,FOLLOW_2);
6518 6518
6519 6519 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
6520 } 6520
6521 break; 6521
6522 case 3 : 6522 }
6523 // InternalApplicationConfiguration.g:2353:3: this_IntegerTypeScope_2= ruleIntegerTypeScope 6523
6524 { 6524
6525 6525 }
6526 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2()); 6526
6527 6527
6528 pushFollow(FOLLOW_2); 6528 leaveRule();
6529 this_IntegerTypeScope_2=ruleIntegerTypeScope(); 6529
6530 6530 }
6531 state._fsp--; 6531
6532 6532 catch (RecognitionException re) {
6533 6533 recover(input,re);
6534 current = this_IntegerTypeScope_2; 6534 appendSkippedTokens();
6535 afterParserOrEnumRuleCall(); 6535 }
6536 6536 finally {
6537 6537 }
6538 } 6538 return current;
6539 break; 6539 }
6540 case 4 : 6540 // $ANTLR end "ruleConfigSpecification"
6541 // InternalApplicationConfiguration.g:2362:3: this_RealTypeScope_3= ruleRealTypeScope 6541
6542 { 6542
6543 6543 // $ANTLR start "entryRuleConfigDeclaration"
6544 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3()); 6544 // InternalApplicationConfiguration.g:2372:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ;
6545 6545 public final EObject entryRuleConfigDeclaration() throws RecognitionException {
6546 pushFollow(FOLLOW_2); 6546 EObject current = null;
6547 this_RealTypeScope_3=ruleRealTypeScope(); 6547
6548 6548 EObject iv_ruleConfigDeclaration = null;
6549 state._fsp--; 6549
6550 6550
6551 6551 try {
6552 current = this_RealTypeScope_3; 6552 // InternalApplicationConfiguration.g:2372:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF )
6553 afterParserOrEnumRuleCall(); 6553 // InternalApplicationConfiguration.g:2373:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF
6554 6554 {
6555 6555 newCompositeNode(grammarAccess.getConfigDeclarationRule());
6556 } 6556 pushFollow(FOLLOW_1);
6557 break; 6557 iv_ruleConfigDeclaration=ruleConfigDeclaration();
6558 case 5 : 6558
6559 // InternalApplicationConfiguration.g:2371:3: this_StringTypeScope_4= ruleStringTypeScope 6559 state._fsp--;
6560 { 6560
6561 6561 current =iv_ruleConfigDeclaration;
6562 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4()); 6562 match(input,EOF,FOLLOW_2);
6563 6563
6564 pushFollow(FOLLOW_2); 6564 }
6565 this_StringTypeScope_4=ruleStringTypeScope(); 6565
6566 6566 }
6567 state._fsp--; 6567
6568 6568 catch (RecognitionException re) {
6569 6569 recover(input,re);
6570 current = this_StringTypeScope_4; 6570 appendSkippedTokens();
6571 afterParserOrEnumRuleCall(); 6571 }
6572 6572 finally {
6573 6573 }
6574 } 6574 return current;
6575 break; 6575 }
6576 6576 // $ANTLR end "entryRuleConfigDeclaration"
6577 } 6577
6578 6578
6579 6579 // $ANTLR start "ruleConfigDeclaration"
6580 } 6580 // InternalApplicationConfiguration.g:2379:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ;
6581 6581 public final EObject ruleConfigDeclaration() throws RecognitionException {
6582 6582 EObject current = null;
6583 leaveRule(); 6583
6584 6584 Token otherlv_0=null;
6585 } 6585 Token lv_name_1_0=null;
6586 6586 EObject lv_specification_2_0 = null;
6587 catch (RecognitionException re) { 6587
6588 recover(input,re); 6588
6589 appendSkippedTokens(); 6589
6590 } 6590 enterRule();
6591 finally { 6591
6592 } 6592 try {
6593 return current; 6593 // InternalApplicationConfiguration.g:2385:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) )
6594 } 6594 // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6595 // $ANTLR end "ruleTypeScope" 6595 {
6596 6596 // InternalApplicationConfiguration.g:2386:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
6597 6597 // InternalApplicationConfiguration.g:2387:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) )
6598 // $ANTLR start "entryRuleClassTypeScope" 6598 {
6599 // InternalApplicationConfiguration.g:2383:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ; 6599 otherlv_0=(Token)match(input,30,FOLLOW_6);
6600 public final EObject entryRuleClassTypeScope() throws RecognitionException { 6600
6601 EObject current = null; 6601 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
6602 6602
6603 EObject iv_ruleClassTypeScope = null; 6603 // InternalApplicationConfiguration.g:2391:3: ( (lv_name_1_0= RULE_ID ) )
6604 6604 // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID )
6605 6605 {
6606 try { 6606 // InternalApplicationConfiguration.g:2392:4: (lv_name_1_0= RULE_ID )
6607 // InternalApplicationConfiguration.g:2383:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF ) 6607 // InternalApplicationConfiguration.g:2393:5: lv_name_1_0= RULE_ID
6608 // InternalApplicationConfiguration.g:2384:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF 6608 {
6609 { 6609 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
6610 newCompositeNode(grammarAccess.getClassTypeScopeRule()); 6610
6611 pushFollow(FOLLOW_1); 6611 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
6612 iv_ruleClassTypeScope=ruleClassTypeScope(); 6612
6613 6613
6614 state._fsp--; 6614 if (current==null) {
6615 6615 current = createModelElement(grammarAccess.getConfigDeclarationRule());
6616 current =iv_ruleClassTypeScope; 6616 }
6617 match(input,EOF,FOLLOW_2); 6617 setWithLastConsumed(
6618 6618 current,
6619 } 6619 "name",
6620 6620 lv_name_1_0,
6621 } 6621 "org.eclipse.xtext.common.Terminals.ID");
6622 6622
6623 catch (RecognitionException re) { 6623
6624 recover(input,re); 6624 }
6625 appendSkippedTokens(); 6625
6626 } 6626
6627 finally { 6627 }
6628 } 6628
6629 return current; 6629 // InternalApplicationConfiguration.g:2409:3: ( (lv_specification_2_0= ruleConfigSpecification ) )
6630 } 6630 // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification )
6631 // $ANTLR end "entryRuleClassTypeScope" 6631 {
6632 6632 // InternalApplicationConfiguration.g:2410:4: (lv_specification_2_0= ruleConfigSpecification )
6633 6633 // InternalApplicationConfiguration.g:2411:5: lv_specification_2_0= ruleConfigSpecification
6634 // $ANTLR start "ruleClassTypeScope" 6634 {
6635 // InternalApplicationConfiguration.g:2390:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6635
6636 public final EObject ruleClassTypeScope() throws RecognitionException { 6636 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
6637 EObject current = null; 6637
6638 6638 pushFollow(FOLLOW_2);
6639 Token otherlv_0=null; 6639 lv_specification_2_0=ruleConfigSpecification();
6640 Token lv_setsNew_2_0=null; 6640
6641 Token lv_setsSum_3_0=null; 6641 state._fsp--;
6642 EObject lv_type_1_0 = null; 6642
6643 6643
6644 EObject lv_number_4_0 = null; 6644 if (current==null) {
6645 6645 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
6646 EObject lv_number_5_0 = null; 6646 }
6647 6647 set(
6648 6648 current,
6649 6649 "specification",
6650 enterRule(); 6650 lv_specification_2_0,
6651 6651 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
6652 try { 6652 afterParserOrEnumRuleCall();
6653 // InternalApplicationConfiguration.g:2396:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6653
6654 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6654
6655 { 6655 }
6656 // InternalApplicationConfiguration.g:2397:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6656
6657 // InternalApplicationConfiguration.g:2398:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6657
6658 { 6658 }
6659 otherlv_0=(Token)match(input,32,FOLLOW_26); 6659
6660 6660
6661 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0()); 6661 }
6662 6662
6663 // InternalApplicationConfiguration.g:2402:3: ( (lv_type_1_0= ruleClassReference ) ) 6663
6664 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6664 }
6665 { 6665
6666 // InternalApplicationConfiguration.g:2403:4: (lv_type_1_0= ruleClassReference ) 6666
6667 // InternalApplicationConfiguration.g:2404:5: lv_type_1_0= ruleClassReference 6667 leaveRule();
6668 { 6668
6669 6669 }
6670 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0()); 6670
6671 6671 catch (RecognitionException re) {
6672 pushFollow(FOLLOW_27); 6672 recover(input,re);
6673 lv_type_1_0=ruleClassReference(); 6673 appendSkippedTokens();
6674 6674 }
6675 state._fsp--; 6675 finally {
6676 6676 }
6677 6677 return current;
6678 if (current==null) { 6678 }
6679 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6679 // $ANTLR end "ruleConfigDeclaration"
6680 } 6680
6681 set( 6681
6682 current, 6682 // $ANTLR start "entryRuleConfigEntry"
6683 "type", 6683 // InternalApplicationConfiguration.g:2432:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ;
6684 lv_type_1_0, 6684 public final EObject entryRuleConfigEntry() throws RecognitionException {
6685 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 6685 EObject current = null;
6686 afterParserOrEnumRuleCall(); 6686
6687 6687 EObject iv_ruleConfigEntry = null;
6688 6688
6689 } 6689
6690 6690 try {
6691 6691 // InternalApplicationConfiguration.g:2432:52: (iv_ruleConfigEntry= ruleConfigEntry EOF )
6692 } 6692 // InternalApplicationConfiguration.g:2433:2: iv_ruleConfigEntry= ruleConfigEntry EOF
6693 6693 {
6694 // InternalApplicationConfiguration.g:2421:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6694 newCompositeNode(grammarAccess.getConfigEntryRule());
6695 int alt35=2; 6695 pushFollow(FOLLOW_1);
6696 int LA35_0 = input.LA(1); 6696 iv_ruleConfigEntry=ruleConfigEntry();
6697 6697
6698 if ( (LA35_0==33) ) { 6698 state._fsp--;
6699 alt35=1; 6699
6700 } 6700 current =iv_ruleConfigEntry;
6701 else if ( (LA35_0==17) ) { 6701 match(input,EOF,FOLLOW_2);
6702 alt35=2; 6702
6703 } 6703 }
6704 else { 6704
6705 NoViableAltException nvae = 6705 }
6706 new NoViableAltException("", 35, 0, input); 6706
6707 6707 catch (RecognitionException re) {
6708 throw nvae; 6708 recover(input,re);
6709 } 6709 appendSkippedTokens();
6710 switch (alt35) { 6710 }
6711 case 1 : 6711 finally {
6712 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6712 }
6713 { 6713 return current;
6714 // InternalApplicationConfiguration.g:2422:4: ( (lv_setsNew_2_0= '+=' ) ) 6714 }
6715 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6715 // $ANTLR end "entryRuleConfigEntry"
6716 { 6716
6717 // InternalApplicationConfiguration.g:2423:5: (lv_setsNew_2_0= '+=' ) 6717
6718 // InternalApplicationConfiguration.g:2424:6: lv_setsNew_2_0= '+=' 6718 // $ANTLR start "ruleConfigEntry"
6719 { 6719 // InternalApplicationConfiguration.g:2439:1: ruleConfigEntry returns [EObject current=null] : (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) ;
6720 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 6720 public final EObject ruleConfigEntry() throws RecognitionException {
6721 6721 EObject current = null;
6722 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 6722
6723 6723 EObject this_DocumentationEntry_0 = null;
6724 6724
6725 if (current==null) { 6725 EObject this_RuntimeEntry_1 = null;
6726 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6726
6727 } 6727 EObject this_MemoryEntry_2 = null;
6728 setWithLastConsumed(current, "setsNew", true, "+="); 6728
6729 6729 EObject this_CustomEntry_3 = null;
6730 6730
6731 } 6731
6732 6732
6733 6733 enterRule();
6734 } 6734
6735 6735 try {
6736 6736 // InternalApplicationConfiguration.g:2445:2: ( (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry ) )
6737 } 6737 // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6738 break; 6738 {
6739 case 2 : 6739 // InternalApplicationConfiguration.g:2446:2: (this_DocumentationEntry_0= ruleDocumentationEntry | this_RuntimeEntry_1= ruleRuntimeEntry | this_MemoryEntry_2= ruleMemoryEntry | this_CustomEntry_3= ruleCustomEntry )
6740 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6740 int alt34=4;
6741 { 6741 switch ( input.LA(1) ) {
6742 // InternalApplicationConfiguration.g:2437:4: ( (lv_setsSum_3_0= '=' ) ) 6742 case 31:
6743 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6743 {
6744 { 6744 alt34=1;
6745 // InternalApplicationConfiguration.g:2438:5: (lv_setsSum_3_0= '=' ) 6745 }
6746 // InternalApplicationConfiguration.g:2439:6: lv_setsSum_3_0= '=' 6746 break;
6747 { 6747 case 32:
6748 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 6748 {
6749 6749 alt34=2;
6750 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 6750 }
6751 6751 break;
6752 6752 case 33:
6753 if (current==null) { 6753 {
6754 current = createModelElement(grammarAccess.getClassTypeScopeRule()); 6754 alt34=3;
6755 } 6755 }
6756 setWithLastConsumed(current, "setsSum", true, "="); 6756 break;
6757 6757 case RULE_STRING:
6758 6758 {
6759 } 6759 alt34=4;
6760 6760 }
6761 6761 break;
6762 } 6762 default:
6763 6763 NoViableAltException nvae =
6764 6764 new NoViableAltException("", 34, 0, input);
6765 } 6765
6766 break; 6766 throw nvae;
6767 6767 }
6768 } 6768
6769 6769 switch (alt34) {
6770 // InternalApplicationConfiguration.g:2452:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6770 case 1 :
6771 int alt36=2; 6771 // InternalApplicationConfiguration.g:2447:3: this_DocumentationEntry_0= ruleDocumentationEntry
6772 int LA36_0 = input.LA(1); 6772 {
6773 6773
6774 if ( (LA36_0==RULE_INT) ) { 6774 newCompositeNode(grammarAccess.getConfigEntryAccess().getDocumentationEntryParserRuleCall_0());
6775 int LA36_1 = input.LA(2); 6775
6776 6776 pushFollow(FOLLOW_2);
6777 if ( (LA36_1==41) ) { 6777 this_DocumentationEntry_0=ruleDocumentationEntry();
6778 alt36=2; 6778
6779 } 6779 state._fsp--;
6780 else if ( (LA36_1==EOF||(LA36_1>=19 && LA36_1<=20)) ) { 6780
6781 alt36=1; 6781
6782 } 6782 current = this_DocumentationEntry_0;
6783 else { 6783 afterParserOrEnumRuleCall();
6784 NoViableAltException nvae = 6784
6785 new NoViableAltException("", 36, 1, input); 6785
6786 6786 }
6787 throw nvae; 6787 break;
6788 } 6788 case 2 :
6789 } 6789 // InternalApplicationConfiguration.g:2456:3: this_RuntimeEntry_1= ruleRuntimeEntry
6790 else if ( (LA36_0==40) ) { 6790 {
6791 alt36=1; 6791
6792 } 6792 newCompositeNode(grammarAccess.getConfigEntryAccess().getRuntimeEntryParserRuleCall_1());
6793 else { 6793
6794 NoViableAltException nvae = 6794 pushFollow(FOLLOW_2);
6795 new NoViableAltException("", 36, 0, input); 6795 this_RuntimeEntry_1=ruleRuntimeEntry();
6796 6796
6797 throw nvae; 6797 state._fsp--;
6798 } 6798
6799 switch (alt36) { 6799
6800 case 1 : 6800 current = this_RuntimeEntry_1;
6801 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6801 afterParserOrEnumRuleCall();
6802 { 6802
6803 // InternalApplicationConfiguration.g:2453:4: ( (lv_number_4_0= ruleExactNumber ) ) 6803
6804 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6804 }
6805 { 6805 break;
6806 // InternalApplicationConfiguration.g:2454:5: (lv_number_4_0= ruleExactNumber ) 6806 case 3 :
6807 // InternalApplicationConfiguration.g:2455:6: lv_number_4_0= ruleExactNumber 6807 // InternalApplicationConfiguration.g:2465:3: this_MemoryEntry_2= ruleMemoryEntry
6808 { 6808 {
6809 6809
6810 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 6810 newCompositeNode(grammarAccess.getConfigEntryAccess().getMemoryEntryParserRuleCall_2());
6811 6811
6812 pushFollow(FOLLOW_2); 6812 pushFollow(FOLLOW_2);
6813 lv_number_4_0=ruleExactNumber(); 6813 this_MemoryEntry_2=ruleMemoryEntry();
6814 6814
6815 state._fsp--; 6815 state._fsp--;
6816 6816
6817 6817
6818 if (current==null) { 6818 current = this_MemoryEntry_2;
6819 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6819 afterParserOrEnumRuleCall();
6820 } 6820
6821 set( 6821
6822 current, 6822 }
6823 "number", 6823 break;
6824 lv_number_4_0, 6824 case 4 :
6825 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 6825 // InternalApplicationConfiguration.g:2474:3: this_CustomEntry_3= ruleCustomEntry
6826 afterParserOrEnumRuleCall(); 6826 {
6827 6827
6828 6828 newCompositeNode(grammarAccess.getConfigEntryAccess().getCustomEntryParserRuleCall_3());
6829 } 6829
6830 6830 pushFollow(FOLLOW_2);
6831 6831 this_CustomEntry_3=ruleCustomEntry();
6832 } 6832
6833 6833 state._fsp--;
6834 6834
6835 } 6835
6836 break; 6836 current = this_CustomEntry_3;
6837 case 2 : 6837 afterParserOrEnumRuleCall();
6838 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6838
6839 { 6839
6840 // InternalApplicationConfiguration.g:2473:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 6840 }
6841 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6841 break;
6842 { 6842
6843 // InternalApplicationConfiguration.g:2474:5: (lv_number_5_0= ruleIntervallNumber ) 6843 }
6844 // InternalApplicationConfiguration.g:2475:6: lv_number_5_0= ruleIntervallNumber 6844
6845 { 6845
6846 6846 }
6847 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 6847
6848 6848
6849 pushFollow(FOLLOW_2); 6849 leaveRule();
6850 lv_number_5_0=ruleIntervallNumber(); 6850
6851 6851 }
6852 state._fsp--; 6852
6853 6853 catch (RecognitionException re) {
6854 6854 recover(input,re);
6855 if (current==null) { 6855 appendSkippedTokens();
6856 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule()); 6856 }
6857 } 6857 finally {
6858 set( 6858 }
6859 current, 6859 return current;
6860 "number", 6860 }
6861 lv_number_5_0, 6861 // $ANTLR end "ruleConfigEntry"
6862 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 6862
6863 afterParserOrEnumRuleCall(); 6863
6864 6864 // $ANTLR start "entryRuleDocumentationEntry"
6865 6865 // InternalApplicationConfiguration.g:2486:1: entryRuleDocumentationEntry returns [EObject current=null] : iv_ruleDocumentationEntry= ruleDocumentationEntry EOF ;
6866 } 6866 public final EObject entryRuleDocumentationEntry() throws RecognitionException {
6867 6867 EObject current = null;
6868 6868
6869 } 6869 EObject iv_ruleDocumentationEntry = null;
6870 6870
6871 6871
6872 } 6872 try {
6873 break; 6873 // InternalApplicationConfiguration.g:2486:59: (iv_ruleDocumentationEntry= ruleDocumentationEntry EOF )
6874 6874 // InternalApplicationConfiguration.g:2487:2: iv_ruleDocumentationEntry= ruleDocumentationEntry EOF
6875 } 6875 {
6876 6876 newCompositeNode(grammarAccess.getDocumentationEntryRule());
6877 6877 pushFollow(FOLLOW_1);
6878 } 6878 iv_ruleDocumentationEntry=ruleDocumentationEntry();
6879 6879
6880 6880 state._fsp--;
6881 } 6881
6882 6882 current =iv_ruleDocumentationEntry;
6883 6883 match(input,EOF,FOLLOW_2);
6884 leaveRule(); 6884
6885 6885 }
6886 } 6886
6887 6887 }
6888 catch (RecognitionException re) { 6888
6889 recover(input,re); 6889 catch (RecognitionException re) {
6890 appendSkippedTokens(); 6890 recover(input,re);
6891 } 6891 appendSkippedTokens();
6892 finally { 6892 }
6893 } 6893 finally {
6894 return current; 6894 }
6895 } 6895 return current;
6896 // $ANTLR end "ruleClassTypeScope" 6896 }
6897 6897 // $ANTLR end "entryRuleDocumentationEntry"
6898 6898
6899 // $ANTLR start "entryRuleObjectTypeScope" 6899
6900 // InternalApplicationConfiguration.g:2497:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ; 6900 // $ANTLR start "ruleDocumentationEntry"
6901 public final EObject entryRuleObjectTypeScope() throws RecognitionException { 6901 // InternalApplicationConfiguration.g:2493:1: ruleDocumentationEntry returns [EObject current=null] : (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) ;
6902 EObject current = null; 6902 public final EObject ruleDocumentationEntry() throws RecognitionException {
6903 6903 EObject current = null;
6904 EObject iv_ruleObjectTypeScope = null; 6904
6905 6905 Token otherlv_0=null;
6906 6906 Token otherlv_1=null;
6907 try { 6907 Enumerator lv_level_2_0 = null;
6908 // InternalApplicationConfiguration.g:2497:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ) 6908
6909 // InternalApplicationConfiguration.g:2498:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF 6909
6910 { 6910
6911 newCompositeNode(grammarAccess.getObjectTypeScopeRule()); 6911 enterRule();
6912 pushFollow(FOLLOW_1); 6912
6913 iv_ruleObjectTypeScope=ruleObjectTypeScope(); 6913 try {
6914 6914 // InternalApplicationConfiguration.g:2499:2: ( (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) ) )
6915 state._fsp--; 6915 // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6916 6916 {
6917 current =iv_ruleObjectTypeScope; 6917 // InternalApplicationConfiguration.g:2500:2: (otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) ) )
6918 match(input,EOF,FOLLOW_2); 6918 // InternalApplicationConfiguration.g:2501:3: otherlv_0= 'log-level' otherlv_1= '=' ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6919 6919 {
6920 } 6920 otherlv_0=(Token)match(input,31,FOLLOW_13);
6921 6921
6922 } 6922 newLeafNode(otherlv_0, grammarAccess.getDocumentationEntryAccess().getLogLevelKeyword_0());
6923 6923
6924 catch (RecognitionException re) { 6924 otherlv_1=(Token)match(input,18,FOLLOW_27);
6925 recover(input,re); 6925
6926 appendSkippedTokens(); 6926 newLeafNode(otherlv_1, grammarAccess.getDocumentationEntryAccess().getEqualsSignKeyword_1());
6927 } 6927
6928 finally { 6928 // InternalApplicationConfiguration.g:2509:3: ( (lv_level_2_0= ruleDocumentLevelSpecification ) )
6929 } 6929 // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6930 return current; 6930 {
6931 } 6931 // InternalApplicationConfiguration.g:2510:4: (lv_level_2_0= ruleDocumentLevelSpecification )
6932 // $ANTLR end "entryRuleObjectTypeScope" 6932 // InternalApplicationConfiguration.g:2511:5: lv_level_2_0= ruleDocumentLevelSpecification
6933 6933 {
6934 6934
6935 // $ANTLR start "ruleObjectTypeScope" 6935 newCompositeNode(grammarAccess.getDocumentationEntryAccess().getLevelDocumentLevelSpecificationEnumRuleCall_2_0());
6936 // InternalApplicationConfiguration.g:2504:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ; 6936
6937 public final EObject ruleObjectTypeScope() throws RecognitionException { 6937 pushFollow(FOLLOW_2);
6938 EObject current = null; 6938 lv_level_2_0=ruleDocumentLevelSpecification();
6939 6939
6940 Token otherlv_0=null; 6940 state._fsp--;
6941 Token lv_setsNew_2_0=null; 6941
6942 Token lv_setsSum_3_0=null; 6942
6943 EObject lv_type_1_0 = null; 6943 if (current==null) {
6944 6944 current = createModelElementForParent(grammarAccess.getDocumentationEntryRule());
6945 EObject lv_number_4_0 = null; 6945 }
6946 6946 set(
6947 EObject lv_number_5_0 = null; 6947 current,
6948 6948 "level",
6949 6949 lv_level_2_0,
6950 6950 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
6951 enterRule(); 6951 afterParserOrEnumRuleCall();
6952 6952
6953 try { 6953
6954 // InternalApplicationConfiguration.g:2510:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ) 6954 }
6955 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6955
6956 { 6956
6957 // InternalApplicationConfiguration.g:2511:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) 6957 }
6958 // InternalApplicationConfiguration.g:2512:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 6958
6959 { 6959
6960 otherlv_0=(Token)match(input,32,FOLLOW_29); 6960 }
6961 6961
6962 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0()); 6962
6963 6963 }
6964 // InternalApplicationConfiguration.g:2516:3: ( (lv_type_1_0= ruleObjectReference ) ) 6964
6965 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6965
6966 { 6966 leaveRule();
6967 // InternalApplicationConfiguration.g:2517:4: (lv_type_1_0= ruleObjectReference ) 6967
6968 // InternalApplicationConfiguration.g:2518:5: lv_type_1_0= ruleObjectReference 6968 }
6969 { 6969
6970 6970 catch (RecognitionException re) {
6971 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0()); 6971 recover(input,re);
6972 6972 appendSkippedTokens();
6973 pushFollow(FOLLOW_27); 6973 }
6974 lv_type_1_0=ruleObjectReference(); 6974 finally {
6975 6975 }
6976 state._fsp--; 6976 return current;
6977 6977 }
6978 6978 // $ANTLR end "ruleDocumentationEntry"
6979 if (current==null) { 6979
6980 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 6980
6981 } 6981 // $ANTLR start "entryRuleRuntimeEntry"
6982 set( 6982 // InternalApplicationConfiguration.g:2532:1: entryRuleRuntimeEntry returns [EObject current=null] : iv_ruleRuntimeEntry= ruleRuntimeEntry EOF ;
6983 current, 6983 public final EObject entryRuleRuntimeEntry() throws RecognitionException {
6984 "type", 6984 EObject current = null;
6985 lv_type_1_0, 6985
6986 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 6986 EObject iv_ruleRuntimeEntry = null;
6987 afterParserOrEnumRuleCall(); 6987
6988 6988
6989 6989 try {
6990 } 6990 // InternalApplicationConfiguration.g:2532:53: (iv_ruleRuntimeEntry= ruleRuntimeEntry EOF )
6991 6991 // InternalApplicationConfiguration.g:2533:2: iv_ruleRuntimeEntry= ruleRuntimeEntry EOF
6992 6992 {
6993 } 6993 newCompositeNode(grammarAccess.getRuntimeEntryRule());
6994 6994 pushFollow(FOLLOW_1);
6995 // InternalApplicationConfiguration.g:2535:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 6995 iv_ruleRuntimeEntry=ruleRuntimeEntry();
6996 int alt37=2; 6996
6997 int LA37_0 = input.LA(1); 6997 state._fsp--;
6998 6998
6999 if ( (LA37_0==33) ) { 6999 current =iv_ruleRuntimeEntry;
7000 alt37=1; 7000 match(input,EOF,FOLLOW_2);
7001 } 7001
7002 else if ( (LA37_0==17) ) { 7002 }
7003 alt37=2; 7003
7004 } 7004 }
7005 else { 7005
7006 NoViableAltException nvae = 7006 catch (RecognitionException re) {
7007 new NoViableAltException("", 37, 0, input); 7007 recover(input,re);
7008 7008 appendSkippedTokens();
7009 throw nvae; 7009 }
7010 } 7010 finally {
7011 switch (alt37) { 7011 }
7012 case 1 : 7012 return current;
7013 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7013 }
7014 { 7014 // $ANTLR end "entryRuleRuntimeEntry"
7015 // InternalApplicationConfiguration.g:2536:4: ( (lv_setsNew_2_0= '+=' ) ) 7015
7016 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7016
7017 { 7017 // $ANTLR start "ruleRuntimeEntry"
7018 // InternalApplicationConfiguration.g:2537:5: (lv_setsNew_2_0= '+=' ) 7018 // InternalApplicationConfiguration.g:2539:1: ruleRuntimeEntry returns [EObject current=null] : (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) ;
7019 // InternalApplicationConfiguration.g:2538:6: lv_setsNew_2_0= '+=' 7019 public final EObject ruleRuntimeEntry() throws RecognitionException {
7020 { 7020 EObject current = null;
7021 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_28); 7021
7022 7022 Token otherlv_0=null;
7023 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7023 Token otherlv_1=null;
7024 7024 Token lv_millisecLimit_2_0=null;
7025 7025
7026 if (current==null) { 7026
7027 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7027 enterRule();
7028 } 7028
7029 setWithLastConsumed(current, "setsNew", true, "+="); 7029 try {
7030 7030 // InternalApplicationConfiguration.g:2545:2: ( (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) ) )
7031 7031 // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7032 } 7032 {
7033 7033 // InternalApplicationConfiguration.g:2546:2: (otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) ) )
7034 7034 // InternalApplicationConfiguration.g:2547:3: otherlv_0= 'runtime' otherlv_1= '=' ( (lv_millisecLimit_2_0= RULE_INT ) )
7035 } 7035 {
7036 7036 otherlv_0=(Token)match(input,32,FOLLOW_13);
7037 7037
7038 } 7038 newLeafNode(otherlv_0, grammarAccess.getRuntimeEntryAccess().getRuntimeKeyword_0());
7039 break; 7039
7040 case 2 : 7040 otherlv_1=(Token)match(input,18,FOLLOW_7);
7041 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7041
7042 { 7042 newLeafNode(otherlv_1, grammarAccess.getRuntimeEntryAccess().getEqualsSignKeyword_1());
7043 // InternalApplicationConfiguration.g:2551:4: ( (lv_setsSum_3_0= '=' ) ) 7043
7044 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7044 // InternalApplicationConfiguration.g:2555:3: ( (lv_millisecLimit_2_0= RULE_INT ) )
7045 { 7045 // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT )
7046 // InternalApplicationConfiguration.g:2552:5: (lv_setsSum_3_0= '=' ) 7046 {
7047 // InternalApplicationConfiguration.g:2553:6: lv_setsSum_3_0= '=' 7047 // InternalApplicationConfiguration.g:2556:4: (lv_millisecLimit_2_0= RULE_INT )
7048 { 7048 // InternalApplicationConfiguration.g:2557:5: lv_millisecLimit_2_0= RULE_INT
7049 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_28); 7049 {
7050 7050 lv_millisecLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7051 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7051
7052 7052 newLeafNode(lv_millisecLimit_2_0, grammarAccess.getRuntimeEntryAccess().getMillisecLimitINTTerminalRuleCall_2_0());
7053 7053
7054 if (current==null) { 7054
7055 current = createModelElement(grammarAccess.getObjectTypeScopeRule()); 7055 if (current==null) {
7056 } 7056 current = createModelElement(grammarAccess.getRuntimeEntryRule());
7057 setWithLastConsumed(current, "setsSum", true, "="); 7057 }
7058 7058 setWithLastConsumed(
7059 7059 current,
7060 } 7060 "millisecLimit",
7061 7061 lv_millisecLimit_2_0,
7062 7062 "org.eclipse.xtext.common.Terminals.INT");
7063 } 7063
7064 7064
7065 7065 }
7066 } 7066
7067 break; 7067
7068 7068 }
7069 } 7069
7070 7070
7071 // InternalApplicationConfiguration.g:2566:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) 7071 }
7072 int alt38=2; 7072
7073 int LA38_0 = input.LA(1); 7073
7074 7074 }
7075 if ( (LA38_0==RULE_INT) ) { 7075
7076 int LA38_1 = input.LA(2); 7076
7077 7077 leaveRule();
7078 if ( (LA38_1==41) ) { 7078
7079 alt38=2; 7079 }
7080 } 7080
7081 else if ( (LA38_1==EOF||(LA38_1>=19 && LA38_1<=20)) ) { 7081 catch (RecognitionException re) {
7082 alt38=1; 7082 recover(input,re);
7083 } 7083 appendSkippedTokens();
7084 else { 7084 }
7085 NoViableAltException nvae = 7085 finally {
7086 new NoViableAltException("", 38, 1, input); 7086 }
7087 7087 return current;
7088 throw nvae; 7088 }
7089 } 7089 // $ANTLR end "ruleRuntimeEntry"
7090 } 7090
7091 else if ( (LA38_0==40) ) { 7091
7092 alt38=1; 7092 // $ANTLR start "entryRuleMemoryEntry"
7093 } 7093 // InternalApplicationConfiguration.g:2577:1: entryRuleMemoryEntry returns [EObject current=null] : iv_ruleMemoryEntry= ruleMemoryEntry EOF ;
7094 else { 7094 public final EObject entryRuleMemoryEntry() throws RecognitionException {
7095 NoViableAltException nvae = 7095 EObject current = null;
7096 new NoViableAltException("", 38, 0, input); 7096
7097 7097 EObject iv_ruleMemoryEntry = null;
7098 throw nvae; 7098
7099 } 7099
7100 switch (alt38) { 7100 try {
7101 case 1 : 7101 // InternalApplicationConfiguration.g:2577:52: (iv_ruleMemoryEntry= ruleMemoryEntry EOF )
7102 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7102 // InternalApplicationConfiguration.g:2578:2: iv_ruleMemoryEntry= ruleMemoryEntry EOF
7103 { 7103 {
7104 // InternalApplicationConfiguration.g:2567:4: ( (lv_number_4_0= ruleExactNumber ) ) 7104 newCompositeNode(grammarAccess.getMemoryEntryRule());
7105 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7105 pushFollow(FOLLOW_1);
7106 { 7106 iv_ruleMemoryEntry=ruleMemoryEntry();
7107 // InternalApplicationConfiguration.g:2568:5: (lv_number_4_0= ruleExactNumber ) 7107
7108 // InternalApplicationConfiguration.g:2569:6: lv_number_4_0= ruleExactNumber 7108 state._fsp--;
7109 { 7109
7110 7110 current =iv_ruleMemoryEntry;
7111 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7111 match(input,EOF,FOLLOW_2);
7112 7112
7113 pushFollow(FOLLOW_2); 7113 }
7114 lv_number_4_0=ruleExactNumber(); 7114
7115 7115 }
7116 state._fsp--; 7116
7117 7117 catch (RecognitionException re) {
7118 7118 recover(input,re);
7119 if (current==null) { 7119 appendSkippedTokens();
7120 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7120 }
7121 } 7121 finally {
7122 set( 7122 }
7123 current, 7123 return current;
7124 "number", 7124 }
7125 lv_number_4_0, 7125 // $ANTLR end "entryRuleMemoryEntry"
7126 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7126
7127 afterParserOrEnumRuleCall(); 7127
7128 7128 // $ANTLR start "ruleMemoryEntry"
7129 7129 // InternalApplicationConfiguration.g:2584:1: ruleMemoryEntry returns [EObject current=null] : (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) ;
7130 } 7130 public final EObject ruleMemoryEntry() throws RecognitionException {
7131 7131 EObject current = null;
7132 7132
7133 } 7133 Token otherlv_0=null;
7134 7134 Token otherlv_1=null;
7135 7135 Token lv_megabyteLimit_2_0=null;
7136 } 7136
7137 break; 7137
7138 case 2 : 7138 enterRule();
7139 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7139
7140 { 7140 try {
7141 // InternalApplicationConfiguration.g:2587:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7141 // InternalApplicationConfiguration.g:2590:2: ( (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) ) )
7142 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7142 // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7143 { 7143 {
7144 // InternalApplicationConfiguration.g:2588:5: (lv_number_5_0= ruleIntervallNumber ) 7144 // InternalApplicationConfiguration.g:2591:2: (otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) ) )
7145 // InternalApplicationConfiguration.g:2589:6: lv_number_5_0= ruleIntervallNumber 7145 // InternalApplicationConfiguration.g:2592:3: otherlv_0= 'memory' otherlv_1= '=' ( (lv_megabyteLimit_2_0= RULE_INT ) )
7146 { 7146 {
7147 7147 otherlv_0=(Token)match(input,33,FOLLOW_13);
7148 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7148
7149 7149 newLeafNode(otherlv_0, grammarAccess.getMemoryEntryAccess().getMemoryKeyword_0());
7150 pushFollow(FOLLOW_2); 7150
7151 lv_number_5_0=ruleIntervallNumber(); 7151 otherlv_1=(Token)match(input,18,FOLLOW_7);
7152 7152
7153 state._fsp--; 7153 newLeafNode(otherlv_1, grammarAccess.getMemoryEntryAccess().getEqualsSignKeyword_1());
7154 7154
7155 7155 // InternalApplicationConfiguration.g:2600:3: ( (lv_megabyteLimit_2_0= RULE_INT ) )
7156 if (current==null) { 7156 // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT )
7157 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule()); 7157 {
7158 } 7158 // InternalApplicationConfiguration.g:2601:4: (lv_megabyteLimit_2_0= RULE_INT )
7159 set( 7159 // InternalApplicationConfiguration.g:2602:5: lv_megabyteLimit_2_0= RULE_INT
7160 current, 7160 {
7161 "number", 7161 lv_megabyteLimit_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
7162 lv_number_5_0, 7162
7163 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7163 newLeafNode(lv_megabyteLimit_2_0, grammarAccess.getMemoryEntryAccess().getMegabyteLimitINTTerminalRuleCall_2_0());
7164 afterParserOrEnumRuleCall(); 7164
7165 7165
7166 7166 if (current==null) {
7167 } 7167 current = createModelElement(grammarAccess.getMemoryEntryRule());
7168 7168 }
7169 7169 setWithLastConsumed(
7170 } 7170 current,
7171 7171 "megabyteLimit",
7172 7172 lv_megabyteLimit_2_0,
7173 } 7173 "org.eclipse.xtext.common.Terminals.INT");
7174 break; 7174
7175 7175
7176 } 7176 }
7177 7177
7178 7178
7179 } 7179 }
7180 7180
7181 7181
7182 } 7182 }
7183 7183
7184 7184
7185 leaveRule(); 7185 }
7186 7186
7187 } 7187
7188 7188 leaveRule();
7189 catch (RecognitionException re) { 7189
7190 recover(input,re); 7190 }
7191 appendSkippedTokens(); 7191
7192 } 7192 catch (RecognitionException re) {
7193 finally { 7193 recover(input,re);
7194 } 7194 appendSkippedTokens();
7195 return current; 7195 }
7196 } 7196 finally {
7197 // $ANTLR end "ruleObjectTypeScope" 7197 }
7198 7198 return current;
7199 7199 }
7200 // $ANTLR start "entryRuleIntegerTypeScope" 7200 // $ANTLR end "ruleMemoryEntry"
7201 // InternalApplicationConfiguration.g:2611:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ; 7201
7202 public final EObject entryRuleIntegerTypeScope() throws RecognitionException { 7202
7203 EObject current = null; 7203 // $ANTLR start "entryRuleCustomEntry"
7204 7204 // InternalApplicationConfiguration.g:2622:1: entryRuleCustomEntry returns [EObject current=null] : iv_ruleCustomEntry= ruleCustomEntry EOF ;
7205 EObject iv_ruleIntegerTypeScope = null; 7205 public final EObject entryRuleCustomEntry() throws RecognitionException {
7206 7206 EObject current = null;
7207 7207
7208 try { 7208 EObject iv_ruleCustomEntry = null;
7209 // InternalApplicationConfiguration.g:2611:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ) 7209
7210 // InternalApplicationConfiguration.g:2612:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF 7210
7211 { 7211 try {
7212 newCompositeNode(grammarAccess.getIntegerTypeScopeRule()); 7212 // InternalApplicationConfiguration.g:2622:52: (iv_ruleCustomEntry= ruleCustomEntry EOF )
7213 pushFollow(FOLLOW_1); 7213 // InternalApplicationConfiguration.g:2623:2: iv_ruleCustomEntry= ruleCustomEntry EOF
7214 iv_ruleIntegerTypeScope=ruleIntegerTypeScope(); 7214 {
7215 7215 newCompositeNode(grammarAccess.getCustomEntryRule());
7216 state._fsp--; 7216 pushFollow(FOLLOW_1);
7217 7217 iv_ruleCustomEntry=ruleCustomEntry();
7218 current =iv_ruleIntegerTypeScope; 7218
7219 match(input,EOF,FOLLOW_2); 7219 state._fsp--;
7220 7220
7221 } 7221 current =iv_ruleCustomEntry;
7222 7222 match(input,EOF,FOLLOW_2);
7223 } 7223
7224 7224 }
7225 catch (RecognitionException re) { 7225
7226 recover(input,re); 7226 }
7227 appendSkippedTokens(); 7227
7228 } 7228 catch (RecognitionException re) {
7229 finally { 7229 recover(input,re);
7230 } 7230 appendSkippedTokens();
7231 return current; 7231 }
7232 } 7232 finally {
7233 // $ANTLR end "entryRuleIntegerTypeScope" 7233 }
7234 7234 return current;
7235 7235 }
7236 // $ANTLR start "ruleIntegerTypeScope" 7236 // $ANTLR end "entryRuleCustomEntry"
7237 // InternalApplicationConfiguration.g:2618:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ; 7237
7238 public final EObject ruleIntegerTypeScope() throws RecognitionException { 7238
7239 EObject current = null; 7239 // $ANTLR start "ruleCustomEntry"
7240 7240 // InternalApplicationConfiguration.g:2629:1: ruleCustomEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
7241 Token otherlv_0=null; 7241 public final EObject ruleCustomEntry() throws RecognitionException {
7242 Token lv_setsNew_2_0=null; 7242 EObject current = null;
7243 Token lv_setsSum_3_0=null; 7243
7244 EObject lv_type_1_0 = null; 7244 Token lv_key_0_0=null;
7245 7245 Token otherlv_1=null;
7246 EObject lv_number_4_0 = null; 7246 Token lv_value_2_0=null;
7247 7247
7248 EObject lv_number_5_0 = null; 7248
7249 7249 enterRule();
7250 EObject lv_number_6_0 = null; 7250
7251 7251 try {
7252 7252 // InternalApplicationConfiguration.g:2635:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
7253 7253 // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7254 enterRule(); 7254 {
7255 7255 // InternalApplicationConfiguration.g:2636:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
7256 try { 7256 // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
7257 // InternalApplicationConfiguration.g:2624:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ) 7257 {
7258 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7258 // InternalApplicationConfiguration.g:2637:3: ( (lv_key_0_0= RULE_STRING ) )
7259 { 7259 // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING )
7260 // InternalApplicationConfiguration.g:2625:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) 7260 {
7261 // InternalApplicationConfiguration.g:2626:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7261 // InternalApplicationConfiguration.g:2638:4: (lv_key_0_0= RULE_STRING )
7262 { 7262 // InternalApplicationConfiguration.g:2639:5: lv_key_0_0= RULE_STRING
7263 otherlv_0=(Token)match(input,32,FOLLOW_30); 7263 {
7264 7264 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_13);
7265 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0()); 7265
7266 7266 newLeafNode(lv_key_0_0, grammarAccess.getCustomEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
7267 // InternalApplicationConfiguration.g:2630:3: ( (lv_type_1_0= ruleIntegerReference ) ) 7267
7268 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7268
7269 { 7269 if (current==null) {
7270 // InternalApplicationConfiguration.g:2631:4: (lv_type_1_0= ruleIntegerReference ) 7270 current = createModelElement(grammarAccess.getCustomEntryRule());
7271 // InternalApplicationConfiguration.g:2632:5: lv_type_1_0= ruleIntegerReference 7271 }
7272 { 7272 setWithLastConsumed(
7273 7273 current,
7274 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0()); 7274 "key",
7275 7275 lv_key_0_0,
7276 pushFollow(FOLLOW_27); 7276 "org.eclipse.xtext.common.Terminals.STRING");
7277 lv_type_1_0=ruleIntegerReference(); 7277
7278 7278
7279 state._fsp--; 7279 }
7280 7280
7281 7281
7282 if (current==null) { 7282 }
7283 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7283
7284 } 7284 otherlv_1=(Token)match(input,18,FOLLOW_10);
7285 set( 7285
7286 current, 7286 newLeafNode(otherlv_1, grammarAccess.getCustomEntryAccess().getEqualsSignKeyword_1());
7287 "type", 7287
7288 lv_type_1_0, 7288 // InternalApplicationConfiguration.g:2659:3: ( (lv_value_2_0= RULE_STRING ) )
7289 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 7289 // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING )
7290 afterParserOrEnumRuleCall(); 7290 {
7291 7291 // InternalApplicationConfiguration.g:2660:4: (lv_value_2_0= RULE_STRING )
7292 7292 // InternalApplicationConfiguration.g:2661:5: lv_value_2_0= RULE_STRING
7293 } 7293 {
7294 7294 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2);
7295 7295
7296 } 7296 newLeafNode(lv_value_2_0, grammarAccess.getCustomEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
7297 7297
7298 // InternalApplicationConfiguration.g:2649:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7298
7299 int alt39=2; 7299 if (current==null) {
7300 int LA39_0 = input.LA(1); 7300 current = createModelElement(grammarAccess.getCustomEntryRule());
7301 7301 }
7302 if ( (LA39_0==33) ) { 7302 setWithLastConsumed(
7303 alt39=1; 7303 current,
7304 } 7304 "value",
7305 else if ( (LA39_0==17) ) { 7305 lv_value_2_0,
7306 alt39=2; 7306 "org.eclipse.xtext.common.Terminals.STRING");
7307 } 7307
7308 else { 7308
7309 NoViableAltException nvae = 7309 }
7310 new NoViableAltException("", 39, 0, input); 7310
7311 7311
7312 throw nvae; 7312 }
7313 } 7313
7314 switch (alt39) { 7314
7315 case 1 : 7315 }
7316 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7316
7317 { 7317
7318 // InternalApplicationConfiguration.g:2650:4: ( (lv_setsNew_2_0= '+=' ) ) 7318 }
7319 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7319
7320 { 7320
7321 // InternalApplicationConfiguration.g:2651:5: (lv_setsNew_2_0= '+=' ) 7321 leaveRule();
7322 // InternalApplicationConfiguration.g:2652:6: lv_setsNew_2_0= '+=' 7322
7323 { 7323 }
7324 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7324
7325 7325 catch (RecognitionException re) {
7326 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7326 recover(input,re);
7327 7327 appendSkippedTokens();
7328 7328 }
7329 if (current==null) { 7329 finally {
7330 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7330 }
7331 } 7331 return current;
7332 setWithLastConsumed(current, "setsNew", true, "+="); 7332 }
7333 7333 // $ANTLR end "ruleCustomEntry"
7334 7334
7335 } 7335
7336 7336 // $ANTLR start "entryRuleConfigReference"
7337 7337 // InternalApplicationConfiguration.g:2681:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ;
7338 } 7338 public final EObject entryRuleConfigReference() throws RecognitionException {
7339 7339 EObject current = null;
7340 7340
7341 } 7341 EObject iv_ruleConfigReference = null;
7342 break; 7342
7343 case 2 : 7343
7344 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7344 try {
7345 { 7345 // InternalApplicationConfiguration.g:2681:56: (iv_ruleConfigReference= ruleConfigReference EOF )
7346 // InternalApplicationConfiguration.g:2665:4: ( (lv_setsSum_3_0= '=' ) ) 7346 // InternalApplicationConfiguration.g:2682:2: iv_ruleConfigReference= ruleConfigReference EOF
7347 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7347 {
7348 { 7348 newCompositeNode(grammarAccess.getConfigReferenceRule());
7349 // InternalApplicationConfiguration.g:2666:5: (lv_setsSum_3_0= '=' ) 7349 pushFollow(FOLLOW_1);
7350 // InternalApplicationConfiguration.g:2667:6: lv_setsSum_3_0= '=' 7350 iv_ruleConfigReference=ruleConfigReference();
7351 { 7351
7352 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7352 state._fsp--;
7353 7353
7354 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7354 current =iv_ruleConfigReference;
7355 7355 match(input,EOF,FOLLOW_2);
7356 7356
7357 if (current==null) { 7357 }
7358 current = createModelElement(grammarAccess.getIntegerTypeScopeRule()); 7358
7359 } 7359 }
7360 setWithLastConsumed(current, "setsSum", true, "="); 7360
7361 7361 catch (RecognitionException re) {
7362 7362 recover(input,re);
7363 } 7363 appendSkippedTokens();
7364 7364 }
7365 7365 finally {
7366 } 7366 }
7367 7367 return current;
7368 7368 }
7369 } 7369 // $ANTLR end "entryRuleConfigReference"
7370 break; 7370
7371 7371
7372 } 7372 // $ANTLR start "ruleConfigReference"
7373 7373 // InternalApplicationConfiguration.g:2688:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
7374 // InternalApplicationConfiguration.g:2680:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) 7374 public final EObject ruleConfigReference() throws RecognitionException {
7375 int alt40=3; 7375 EObject current = null;
7376 switch ( input.LA(1) ) { 7376
7377 case RULE_INT: 7377 Token otherlv_0=null;
7378 { 7378
7379 int LA40_1 = input.LA(2); 7379
7380 7380 enterRule();
7381 if ( (LA40_1==41) ) { 7381
7382 alt40=2; 7382 try {
7383 } 7383 // InternalApplicationConfiguration.g:2694:2: ( ( (otherlv_0= RULE_ID ) ) )
7384 else if ( (LA40_1==EOF||(LA40_1>=19 && LA40_1<=20)) ) { 7384 // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) )
7385 alt40=1; 7385 {
7386 } 7386 // InternalApplicationConfiguration.g:2695:2: ( (otherlv_0= RULE_ID ) )
7387 else { 7387 // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID )
7388 NoViableAltException nvae = 7388 {
7389 new NoViableAltException("", 40, 1, input); 7389 // InternalApplicationConfiguration.g:2696:3: (otherlv_0= RULE_ID )
7390 7390 // InternalApplicationConfiguration.g:2697:4: otherlv_0= RULE_ID
7391 throw nvae; 7391 {
7392 } 7392
7393 } 7393 if (current==null) {
7394 break; 7394 current = createModelElement(grammarAccess.getConfigReferenceRule());
7395 case 40: 7395 }
7396 { 7396
7397 alt40=1; 7397 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
7398 } 7398
7399 break; 7399 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
7400 case 18: 7400
7401 { 7401
7402 alt40=3; 7402 }
7403 } 7403
7404 break; 7404
7405 default: 7405 }
7406 NoViableAltException nvae = 7406
7407 new NoViableAltException("", 40, 0, input); 7407
7408 7408 }
7409 throw nvae; 7409
7410 } 7410
7411 7411 leaveRule();
7412 switch (alt40) { 7412
7413 case 1 : 7413 }
7414 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7414
7415 { 7415 catch (RecognitionException re) {
7416 // InternalApplicationConfiguration.g:2681:4: ( (lv_number_4_0= ruleExactNumber ) ) 7416 recover(input,re);
7417 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7417 appendSkippedTokens();
7418 { 7418 }
7419 // InternalApplicationConfiguration.g:2682:5: (lv_number_4_0= ruleExactNumber ) 7419 finally {
7420 // InternalApplicationConfiguration.g:2683:6: lv_number_4_0= ruleExactNumber 7420 }
7421 { 7421 return current;
7422 7422 }
7423 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7423 // $ANTLR end "ruleConfigReference"
7424 7424
7425 pushFollow(FOLLOW_2); 7425
7426 lv_number_4_0=ruleExactNumber(); 7426 // $ANTLR start "entryRuleConfig"
7427 7427 // InternalApplicationConfiguration.g:2711:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ;
7428 state._fsp--; 7428 public final EObject entryRuleConfig() throws RecognitionException {
7429 7429 EObject current = null;
7430 7430
7431 if (current==null) { 7431 EObject iv_ruleConfig = null;
7432 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7432
7433 } 7433
7434 set( 7434 try {
7435 current, 7435 // InternalApplicationConfiguration.g:2711:47: (iv_ruleConfig= ruleConfig EOF )
7436 "number", 7436 // InternalApplicationConfiguration.g:2712:2: iv_ruleConfig= ruleConfig EOF
7437 lv_number_4_0, 7437 {
7438 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7438 newCompositeNode(grammarAccess.getConfigRule());
7439 afterParserOrEnumRuleCall(); 7439 pushFollow(FOLLOW_1);
7440 7440 iv_ruleConfig=ruleConfig();
7441 7441
7442 } 7442 state._fsp--;
7443 7443
7444 7444 current =iv_ruleConfig;
7445 } 7445 match(input,EOF,FOLLOW_2);
7446 7446
7447 7447 }
7448 } 7448
7449 break; 7449 }
7450 case 2 : 7450
7451 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7451 catch (RecognitionException re) {
7452 { 7452 recover(input,re);
7453 // InternalApplicationConfiguration.g:2701:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7453 appendSkippedTokens();
7454 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7454 }
7455 { 7455 finally {
7456 // InternalApplicationConfiguration.g:2702:5: (lv_number_5_0= ruleIntervallNumber ) 7456 }
7457 // InternalApplicationConfiguration.g:2703:6: lv_number_5_0= ruleIntervallNumber 7457 return current;
7458 { 7458 }
7459 7459 // $ANTLR end "entryRuleConfig"
7460 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7460
7461 7461
7462 pushFollow(FOLLOW_2); 7462 // $ANTLR start "ruleConfig"
7463 lv_number_5_0=ruleIntervallNumber(); 7463 // InternalApplicationConfiguration.g:2718:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ;
7464 7464 public final EObject ruleConfig() throws RecognitionException {
7465 state._fsp--; 7465 EObject current = null;
7466 7466
7467 7467 EObject this_ConfigSpecification_0 = null;
7468 if (current==null) { 7468
7469 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7469 EObject this_ConfigReference_1 = null;
7470 } 7470
7471 set( 7471
7472 current, 7472
7473 "number", 7473 enterRule();
7474 lv_number_5_0, 7474
7475 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7475 try {
7476 afterParserOrEnumRuleCall(); 7476 // InternalApplicationConfiguration.g:2724:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) )
7477 7477 // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7478 7478 {
7479 } 7479 // InternalApplicationConfiguration.g:2725:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
7480 7480 int alt35=2;
7481 7481 int LA35_0 = input.LA(1);
7482 } 7482
7483 7483 if ( (LA35_0==19) ) {
7484 7484 alt35=1;
7485 } 7485 }
7486 break; 7486 else if ( (LA35_0==RULE_ID) ) {
7487 case 3 : 7487 alt35=2;
7488 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7488 }
7489 { 7489 else {
7490 // InternalApplicationConfiguration.g:2721:4: ( (lv_number_6_0= ruleIntEnumberation ) ) 7490 NoViableAltException nvae =
7491 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7491 new NoViableAltException("", 35, 0, input);
7492 { 7492
7493 // InternalApplicationConfiguration.g:2722:5: (lv_number_6_0= ruleIntEnumberation ) 7493 throw nvae;
7494 // InternalApplicationConfiguration.g:2723:6: lv_number_6_0= ruleIntEnumberation 7494 }
7495 { 7495 switch (alt35) {
7496 7496 case 1 :
7497 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0()); 7497 // InternalApplicationConfiguration.g:2726:3: this_ConfigSpecification_0= ruleConfigSpecification
7498 7498 {
7499 pushFollow(FOLLOW_2); 7499
7500 lv_number_6_0=ruleIntEnumberation(); 7500 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
7501 7501
7502 state._fsp--; 7502 pushFollow(FOLLOW_2);
7503 7503 this_ConfigSpecification_0=ruleConfigSpecification();
7504 7504
7505 if (current==null) { 7505 state._fsp--;
7506 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule()); 7506
7507 } 7507
7508 set( 7508 current = this_ConfigSpecification_0;
7509 current, 7509 afterParserOrEnumRuleCall();
7510 "number", 7510
7511 lv_number_6_0, 7511
7512 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 7512 }
7513 afterParserOrEnumRuleCall(); 7513 break;
7514 7514 case 2 :
7515 7515 // InternalApplicationConfiguration.g:2735:3: this_ConfigReference_1= ruleConfigReference
7516 } 7516 {
7517 7517
7518 7518 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
7519 } 7519
7520 7520 pushFollow(FOLLOW_2);
7521 7521 this_ConfigReference_1=ruleConfigReference();
7522 } 7522
7523 break; 7523 state._fsp--;
7524 7524
7525 } 7525
7526 7526 current = this_ConfigReference_1;
7527 7527 afterParserOrEnumRuleCall();
7528 } 7528
7529 7529
7530 7530 }
7531 } 7531 break;
7532 7532
7533 7533 }
7534 leaveRule(); 7534
7535 7535
7536 } 7536 }
7537 7537
7538 catch (RecognitionException re) { 7538
7539 recover(input,re); 7539 leaveRule();
7540 appendSkippedTokens(); 7540
7541 } 7541 }
7542 finally { 7542
7543 } 7543 catch (RecognitionException re) {
7544 return current; 7544 recover(input,re);
7545 } 7545 appendSkippedTokens();
7546 // $ANTLR end "ruleIntegerTypeScope" 7546 }
7547 7547 finally {
7548 7548 }
7549 // $ANTLR start "entryRuleRealTypeScope" 7549 return current;
7550 // InternalApplicationConfiguration.g:2745:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ; 7550 }
7551 public final EObject entryRuleRealTypeScope() throws RecognitionException { 7551 // $ANTLR end "ruleConfig"
7552 EObject current = null; 7552
7553 7553
7554 EObject iv_ruleRealTypeScope = null; 7554 // $ANTLR start "entryRuleScopeSpecification"
7555 7555 // InternalApplicationConfiguration.g:2747:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ;
7556 7556 public final EObject entryRuleScopeSpecification() throws RecognitionException {
7557 try { 7557 EObject current = null;
7558 // InternalApplicationConfiguration.g:2745:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF ) 7558
7559 // InternalApplicationConfiguration.g:2746:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF 7559 EObject iv_ruleScopeSpecification = null;
7560 { 7560
7561 newCompositeNode(grammarAccess.getRealTypeScopeRule()); 7561
7562 pushFollow(FOLLOW_1); 7562 try {
7563 iv_ruleRealTypeScope=ruleRealTypeScope(); 7563 // InternalApplicationConfiguration.g:2747:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF )
7564 7564 // InternalApplicationConfiguration.g:2748:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF
7565 state._fsp--; 7565 {
7566 7566 newCompositeNode(grammarAccess.getScopeSpecificationRule());
7567 current =iv_ruleRealTypeScope; 7567 pushFollow(FOLLOW_1);
7568 match(input,EOF,FOLLOW_2); 7568 iv_ruleScopeSpecification=ruleScopeSpecification();
7569 7569
7570 } 7570 state._fsp--;
7571 7571
7572 } 7572 current =iv_ruleScopeSpecification;
7573 7573 match(input,EOF,FOLLOW_2);
7574 catch (RecognitionException re) { 7574
7575 recover(input,re); 7575 }
7576 appendSkippedTokens(); 7576
7577 } 7577 }
7578 finally { 7578
7579 } 7579 catch (RecognitionException re) {
7580 return current; 7580 recover(input,re);
7581 } 7581 appendSkippedTokens();
7582 // $ANTLR end "entryRuleRealTypeScope" 7582 }
7583 7583 finally {
7584 7584 }
7585 // $ANTLR start "ruleRealTypeScope" 7585 return current;
7586 // InternalApplicationConfiguration.g:2752:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ; 7586 }
7587 public final EObject ruleRealTypeScope() throws RecognitionException { 7587 // $ANTLR end "entryRuleScopeSpecification"
7588 EObject current = null; 7588
7589 7589
7590 Token otherlv_0=null; 7590 // $ANTLR start "ruleScopeSpecification"
7591 Token lv_setsNew_2_0=null; 7591 // InternalApplicationConfiguration.g:2754:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ;
7592 Token lv_setsSum_3_0=null; 7592 public final EObject ruleScopeSpecification() throws RecognitionException {
7593 EObject lv_type_1_0 = null; 7593 EObject current = null;
7594 7594
7595 EObject lv_number_4_0 = null; 7595 Token otherlv_1=null;
7596 7596 Token otherlv_3=null;
7597 EObject lv_number_5_0 = null; 7597 Token otherlv_5=null;
7598 7598 EObject lv_scopes_2_0 = null;
7599 EObject lv_number_6_0 = null; 7599
7600 7600 EObject lv_scopes_4_0 = null;
7601 7601
7602 7602
7603 enterRule(); 7603
7604 7604 enterRule();
7605 try { 7605
7606 // InternalApplicationConfiguration.g:2758:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ) 7606 try {
7607 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7607 // InternalApplicationConfiguration.g:2760:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) )
7608 { 7608 // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7609 // InternalApplicationConfiguration.g:2759:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) 7609 {
7610 // InternalApplicationConfiguration.g:2760:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7610 // InternalApplicationConfiguration.g:2761:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
7611 { 7611 // InternalApplicationConfiguration.g:2762:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}'
7612 otherlv_0=(Token)match(input,32,FOLLOW_32); 7612 {
7613 7613 // InternalApplicationConfiguration.g:2762:3: ()
7614 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0()); 7614 // InternalApplicationConfiguration.g:2763:4:
7615 7615 {
7616 // InternalApplicationConfiguration.g:2764:3: ( (lv_type_1_0= ruleRealReference ) ) 7616
7617 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7617 current = forceCreateModelElement(
7618 { 7618 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
7619 // InternalApplicationConfiguration.g:2765:4: (lv_type_1_0= ruleRealReference ) 7619 current);
7620 // InternalApplicationConfiguration.g:2766:5: lv_type_1_0= ruleRealReference 7620
7621 { 7621
7622 7622 }
7623 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0()); 7623
7624 7624 otherlv_1=(Token)match(input,19,FOLLOW_28);
7625 pushFollow(FOLLOW_27); 7625
7626 lv_type_1_0=ruleRealReference(); 7626 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
7627 7627
7628 state._fsp--; 7628 // InternalApplicationConfiguration.g:2773:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )?
7629 7629 int alt37=2;
7630 7630 int LA37_0 = input.LA(1);
7631 if (current==null) { 7631
7632 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7632 if ( (LA37_0==34) ) {
7633 } 7633 alt37=1;
7634 set( 7634 }
7635 current, 7635 switch (alt37) {
7636 "type", 7636 case 1 :
7637 lv_type_1_0, 7637 // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7638 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 7638 {
7639 afterParserOrEnumRuleCall(); 7639 // InternalApplicationConfiguration.g:2774:4: ( (lv_scopes_2_0= ruleTypeScope ) )
7640 7640 // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope )
7641 7641 {
7642 } 7642 // InternalApplicationConfiguration.g:2775:5: (lv_scopes_2_0= ruleTypeScope )
7643 7643 // InternalApplicationConfiguration.g:2776:6: lv_scopes_2_0= ruleTypeScope
7644 7644 {
7645 } 7645
7646 7646 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
7647 // InternalApplicationConfiguration.g:2783:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7647
7648 int alt41=2; 7648 pushFollow(FOLLOW_15);
7649 int LA41_0 = input.LA(1); 7649 lv_scopes_2_0=ruleTypeScope();
7650 7650
7651 if ( (LA41_0==33) ) { 7651 state._fsp--;
7652 alt41=1; 7652
7653 } 7653
7654 else if ( (LA41_0==17) ) { 7654 if (current==null) {
7655 alt41=2; 7655 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7656 } 7656 }
7657 else { 7657 add(
7658 NoViableAltException nvae = 7658 current,
7659 new NoViableAltException("", 41, 0, input); 7659 "scopes",
7660 7660 lv_scopes_2_0,
7661 throw nvae; 7661 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7662 } 7662 afterParserOrEnumRuleCall();
7663 switch (alt41) { 7663
7664 case 1 : 7664
7665 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7665 }
7666 { 7666
7667 // InternalApplicationConfiguration.g:2784:4: ( (lv_setsNew_2_0= '+=' ) ) 7667
7668 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7668 }
7669 { 7669
7670 // InternalApplicationConfiguration.g:2785:5: (lv_setsNew_2_0= '+=' ) 7670 // InternalApplicationConfiguration.g:2793:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
7671 // InternalApplicationConfiguration.g:2786:6: lv_setsNew_2_0= '+=' 7671 loop36:
7672 { 7672 do {
7673 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 7673 int alt36=2;
7674 7674 int LA36_0 = input.LA(1);
7675 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 7675
7676 7676 if ( (LA36_0==20) ) {
7677 7677 alt36=1;
7678 if (current==null) { 7678 }
7679 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7679
7680 } 7680
7681 setWithLastConsumed(current, "setsNew", true, "+="); 7681 switch (alt36) {
7682 7682 case 1 :
7683 7683 // InternalApplicationConfiguration.g:2794:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) )
7684 } 7684 {
7685 7685 otherlv_3=(Token)match(input,20,FOLLOW_29);
7686 7686
7687 } 7687 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
7688 7688
7689 7689 // InternalApplicationConfiguration.g:2798:5: ( (lv_scopes_4_0= ruleTypeScope ) )
7690 } 7690 // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope )
7691 break; 7691 {
7692 case 2 : 7692 // InternalApplicationConfiguration.g:2799:6: (lv_scopes_4_0= ruleTypeScope )
7693 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7693 // InternalApplicationConfiguration.g:2800:7: lv_scopes_4_0= ruleTypeScope
7694 { 7694 {
7695 // InternalApplicationConfiguration.g:2799:4: ( (lv_setsSum_3_0= '=' ) ) 7695
7696 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7696 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
7697 { 7697
7698 // InternalApplicationConfiguration.g:2800:5: (lv_setsSum_3_0= '=' ) 7698 pushFollow(FOLLOW_15);
7699 // InternalApplicationConfiguration.g:2801:6: lv_setsSum_3_0= '=' 7699 lv_scopes_4_0=ruleTypeScope();
7700 { 7700
7701 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 7701 state._fsp--;
7702 7702
7703 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 7703
7704 7704 if (current==null) {
7705 7705 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
7706 if (current==null) { 7706 }
7707 current = createModelElement(grammarAccess.getRealTypeScopeRule()); 7707 add(
7708 } 7708 current,
7709 setWithLastConsumed(current, "setsSum", true, "="); 7709 "scopes",
7710 7710 lv_scopes_4_0,
7711 7711 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
7712 } 7712 afterParserOrEnumRuleCall();
7713 7713
7714 7714
7715 } 7715 }
7716 7716
7717 7717
7718 } 7718 }
7719 break; 7719
7720 7720
7721 } 7721 }
7722 7722 break;
7723 // InternalApplicationConfiguration.g:2814:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) 7723
7724 int alt42=3; 7724 default :
7725 switch ( input.LA(1) ) { 7725 break loop36;
7726 case RULE_INT: 7726 }
7727 { 7727 } while (true);
7728 int LA42_1 = input.LA(2); 7728
7729 7729
7730 if ( (LA42_1==EOF||(LA42_1>=19 && LA42_1<=20)) ) { 7730 }
7731 alt42=1; 7731 break;
7732 } 7732
7733 else if ( (LA42_1==41) ) { 7733 }
7734 alt42=2; 7734
7735 } 7735 otherlv_5=(Token)match(input,21,FOLLOW_2);
7736 else { 7736
7737 NoViableAltException nvae = 7737 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
7738 new NoViableAltException("", 42, 1, input); 7738
7739 7739
7740 throw nvae; 7740 }
7741 } 7741
7742 } 7742
7743 break; 7743 }
7744 case 40: 7744
7745 { 7745
7746 alt42=1; 7746 leaveRule();
7747 } 7747
7748 break; 7748 }
7749 case 18: 7749
7750 { 7750 catch (RecognitionException re) {
7751 alt42=3; 7751 recover(input,re);
7752 } 7752 appendSkippedTokens();
7753 break; 7753 }
7754 default: 7754 finally {
7755 NoViableAltException nvae = 7755 }
7756 new NoViableAltException("", 42, 0, input); 7756 return current;
7757 7757 }
7758 throw nvae; 7758 // $ANTLR end "ruleScopeSpecification"
7759 } 7759
7760 7760
7761 switch (alt42) { 7761 // $ANTLR start "entryRuleTypeScope"
7762 case 1 : 7762 // InternalApplicationConfiguration.g:2827:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ;
7763 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7763 public final EObject entryRuleTypeScope() throws RecognitionException {
7764 { 7764 EObject current = null;
7765 // InternalApplicationConfiguration.g:2815:4: ( (lv_number_4_0= ruleExactNumber ) ) 7765
7766 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7766 EObject iv_ruleTypeScope = null;
7767 { 7767
7768 // InternalApplicationConfiguration.g:2816:5: (lv_number_4_0= ruleExactNumber ) 7768
7769 // InternalApplicationConfiguration.g:2817:6: lv_number_4_0= ruleExactNumber 7769 try {
7770 { 7770 // InternalApplicationConfiguration.g:2827:50: (iv_ruleTypeScope= ruleTypeScope EOF )
7771 7771 // InternalApplicationConfiguration.g:2828:2: iv_ruleTypeScope= ruleTypeScope EOF
7772 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 7772 {
7773 7773 newCompositeNode(grammarAccess.getTypeScopeRule());
7774 pushFollow(FOLLOW_2); 7774 pushFollow(FOLLOW_1);
7775 lv_number_4_0=ruleExactNumber(); 7775 iv_ruleTypeScope=ruleTypeScope();
7776 7776
7777 state._fsp--; 7777 state._fsp--;
7778 7778
7779 7779 current =iv_ruleTypeScope;
7780 if (current==null) { 7780 match(input,EOF,FOLLOW_2);
7781 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7781
7782 } 7782 }
7783 set( 7783
7784 current, 7784 }
7785 "number", 7785
7786 lv_number_4_0, 7786 catch (RecognitionException re) {
7787 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 7787 recover(input,re);
7788 afterParserOrEnumRuleCall(); 7788 appendSkippedTokens();
7789 7789 }
7790 7790 finally {
7791 } 7791 }
7792 7792 return current;
7793 7793 }
7794 } 7794 // $ANTLR end "entryRuleTypeScope"
7795 7795
7796 7796
7797 } 7797 // $ANTLR start "ruleTypeScope"
7798 break; 7798 // InternalApplicationConfiguration.g:2834:1: ruleTypeScope returns [EObject current=null] : (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) ;
7799 case 2 : 7799 public final EObject ruleTypeScope() throws RecognitionException {
7800 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7800 EObject current = null;
7801 { 7801
7802 // InternalApplicationConfiguration.g:2835:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 7802 EObject this_ClassTypeScope_0 = null;
7803 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7803
7804 { 7804 EObject this_ObjectTypeScope_1 = null;
7805 // InternalApplicationConfiguration.g:2836:5: (lv_number_5_0= ruleIntervallNumber ) 7805
7806 // InternalApplicationConfiguration.g:2837:6: lv_number_5_0= ruleIntervallNumber 7806 EObject this_IntegerTypeScope_2 = null;
7807 { 7807
7808 7808 EObject this_RealTypeScope_3 = null;
7809 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 7809
7810 7810 EObject this_StringTypeScope_4 = null;
7811 pushFollow(FOLLOW_2); 7811
7812 lv_number_5_0=ruleIntervallNumber(); 7812
7813 7813
7814 state._fsp--; 7814 enterRule();
7815 7815
7816 7816 try {
7817 if (current==null) { 7817 // InternalApplicationConfiguration.g:2840:2: ( (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope ) )
7818 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7818 // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7819 } 7819 {
7820 set( 7820 // InternalApplicationConfiguration.g:2841:2: (this_ClassTypeScope_0= ruleClassTypeScope | this_ObjectTypeScope_1= ruleObjectTypeScope | this_IntegerTypeScope_2= ruleIntegerTypeScope | this_RealTypeScope_3= ruleRealTypeScope | this_StringTypeScope_4= ruleStringTypeScope )
7821 current, 7821 int alt38=5;
7822 "number", 7822 int LA38_0 = input.LA(1);
7823 lv_number_5_0, 7823
7824 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 7824 if ( (LA38_0==34) ) {
7825 afterParserOrEnumRuleCall(); 7825 switch ( input.LA(2) ) {
7826 7826 case 39:
7827 7827 {
7828 } 7828 alt38=3;
7829 7829 }
7830 7830 break;
7831 } 7831 case 40:
7832 7832 {
7833 7833 alt38=4;
7834 } 7834 }
7835 break; 7835 break;
7836 case 3 : 7836 case 41:
7837 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7837 {
7838 { 7838 alt38=5;
7839 // InternalApplicationConfiguration.g:2855:4: ( (lv_number_6_0= ruleRealEnumeration ) ) 7839 }
7840 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7840 break;
7841 { 7841 case 36:
7842 // InternalApplicationConfiguration.g:2856:5: (lv_number_6_0= ruleRealEnumeration ) 7842 {
7843 // InternalApplicationConfiguration.g:2857:6: lv_number_6_0= ruleRealEnumeration 7843 alt38=1;
7844 { 7844 }
7845 7845 break;
7846 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0()); 7846 case 38:
7847 7847 {
7848 pushFollow(FOLLOW_2); 7848 alt38=2;
7849 lv_number_6_0=ruleRealEnumeration(); 7849 }
7850 7850 break;
7851 state._fsp--; 7851 default:
7852 7852 NoViableAltException nvae =
7853 7853 new NoViableAltException("", 38, 1, input);
7854 if (current==null) { 7854
7855 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule()); 7855 throw nvae;
7856 } 7856 }
7857 set( 7857
7858 current, 7858 }
7859 "number", 7859 else {
7860 lv_number_6_0, 7860 NoViableAltException nvae =
7861 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 7861 new NoViableAltException("", 38, 0, input);
7862 afterParserOrEnumRuleCall(); 7862
7863 7863 throw nvae;
7864 7864 }
7865 } 7865 switch (alt38) {
7866 7866 case 1 :
7867 7867 // InternalApplicationConfiguration.g:2842:3: this_ClassTypeScope_0= ruleClassTypeScope
7868 } 7868 {
7869 7869
7870 7870 newCompositeNode(grammarAccess.getTypeScopeAccess().getClassTypeScopeParserRuleCall_0());
7871 } 7871
7872 break; 7872 pushFollow(FOLLOW_2);
7873 7873 this_ClassTypeScope_0=ruleClassTypeScope();
7874 } 7874
7875 7875 state._fsp--;
7876 7876
7877 } 7877
7878 7878 current = this_ClassTypeScope_0;
7879 7879 afterParserOrEnumRuleCall();
7880 } 7880
7881 7881
7882 7882 }
7883 leaveRule(); 7883 break;
7884 7884 case 2 :
7885 } 7885 // InternalApplicationConfiguration.g:2851:3: this_ObjectTypeScope_1= ruleObjectTypeScope
7886 7886 {
7887 catch (RecognitionException re) { 7887
7888 recover(input,re); 7888 newCompositeNode(grammarAccess.getTypeScopeAccess().getObjectTypeScopeParserRuleCall_1());
7889 appendSkippedTokens(); 7889
7890 } 7890 pushFollow(FOLLOW_2);
7891 finally { 7891 this_ObjectTypeScope_1=ruleObjectTypeScope();
7892 } 7892
7893 return current; 7893 state._fsp--;
7894 } 7894
7895 // $ANTLR end "ruleRealTypeScope" 7895
7896 7896 current = this_ObjectTypeScope_1;
7897 7897 afterParserOrEnumRuleCall();
7898 // $ANTLR start "entryRuleStringTypeScope" 7898
7899 // InternalApplicationConfiguration.g:2879:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ; 7899
7900 public final EObject entryRuleStringTypeScope() throws RecognitionException { 7900 }
7901 EObject current = null; 7901 break;
7902 7902 case 3 :
7903 EObject iv_ruleStringTypeScope = null; 7903 // InternalApplicationConfiguration.g:2860:3: this_IntegerTypeScope_2= ruleIntegerTypeScope
7904 7904 {
7905 7905
7906 try { 7906 newCompositeNode(grammarAccess.getTypeScopeAccess().getIntegerTypeScopeParserRuleCall_2());
7907 // InternalApplicationConfiguration.g:2879:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF ) 7907
7908 // InternalApplicationConfiguration.g:2880:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF 7908 pushFollow(FOLLOW_2);
7909 { 7909 this_IntegerTypeScope_2=ruleIntegerTypeScope();
7910 newCompositeNode(grammarAccess.getStringTypeScopeRule()); 7910
7911 pushFollow(FOLLOW_1); 7911 state._fsp--;
7912 iv_ruleStringTypeScope=ruleStringTypeScope(); 7912
7913 7913
7914 state._fsp--; 7914 current = this_IntegerTypeScope_2;
7915 7915 afterParserOrEnumRuleCall();
7916 current =iv_ruleStringTypeScope; 7916
7917 match(input,EOF,FOLLOW_2); 7917
7918 7918 }
7919 } 7919 break;
7920 7920 case 4 :
7921 } 7921 // InternalApplicationConfiguration.g:2869:3: this_RealTypeScope_3= ruleRealTypeScope
7922 7922 {
7923 catch (RecognitionException re) { 7923
7924 recover(input,re); 7924 newCompositeNode(grammarAccess.getTypeScopeAccess().getRealTypeScopeParserRuleCall_3());
7925 appendSkippedTokens(); 7925
7926 } 7926 pushFollow(FOLLOW_2);
7927 finally { 7927 this_RealTypeScope_3=ruleRealTypeScope();
7928 } 7928
7929 return current; 7929 state._fsp--;
7930 } 7930
7931 // $ANTLR end "entryRuleStringTypeScope" 7931
7932 7932 current = this_RealTypeScope_3;
7933 7933 afterParserOrEnumRuleCall();
7934 // $ANTLR start "ruleStringTypeScope" 7934
7935 // InternalApplicationConfiguration.g:2886:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ; 7935
7936 public final EObject ruleStringTypeScope() throws RecognitionException { 7936 }
7937 EObject current = null; 7937 break;
7938 7938 case 5 :
7939 Token otherlv_0=null; 7939 // InternalApplicationConfiguration.g:2878:3: this_StringTypeScope_4= ruleStringTypeScope
7940 Token lv_setsNew_2_0=null; 7940 {
7941 Token lv_setsSum_3_0=null; 7941
7942 EObject lv_type_1_0 = null; 7942 newCompositeNode(grammarAccess.getTypeScopeAccess().getStringTypeScopeParserRuleCall_4());
7943 7943
7944 EObject lv_number_4_0 = null; 7944 pushFollow(FOLLOW_2);
7945 7945 this_StringTypeScope_4=ruleStringTypeScope();
7946 EObject lv_number_5_0 = null; 7946
7947 7947 state._fsp--;
7948 EObject lv_number_6_0 = null; 7948
7949 7949
7950 7950 current = this_StringTypeScope_4;
7951 7951 afterParserOrEnumRuleCall();
7952 enterRule(); 7952
7953 7953
7954 try { 7954 }
7955 // InternalApplicationConfiguration.g:2892:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ) 7955 break;
7956 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7956
7957 { 7957 }
7958 // InternalApplicationConfiguration.g:2893:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) 7958
7959 // InternalApplicationConfiguration.g:2894:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 7959
7960 { 7960 }
7961 otherlv_0=(Token)match(input,32,FOLLOW_33); 7961
7962 7962
7963 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0()); 7963 leaveRule();
7964 7964
7965 // InternalApplicationConfiguration.g:2898:3: ( (lv_type_1_0= ruleStringReference ) ) 7965 }
7966 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7966
7967 { 7967 catch (RecognitionException re) {
7968 // InternalApplicationConfiguration.g:2899:4: (lv_type_1_0= ruleStringReference ) 7968 recover(input,re);
7969 // InternalApplicationConfiguration.g:2900:5: lv_type_1_0= ruleStringReference 7969 appendSkippedTokens();
7970 { 7970 }
7971 7971 finally {
7972 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0()); 7972 }
7973 7973 return current;
7974 pushFollow(FOLLOW_27); 7974 }
7975 lv_type_1_0=ruleStringReference(); 7975 // $ANTLR end "ruleTypeScope"
7976 7976
7977 state._fsp--; 7977
7978 7978 // $ANTLR start "entryRuleClassTypeScope"
7979 7979 // InternalApplicationConfiguration.g:2890:1: entryRuleClassTypeScope returns [EObject current=null] : iv_ruleClassTypeScope= ruleClassTypeScope EOF ;
7980 if (current==null) { 7980 public final EObject entryRuleClassTypeScope() throws RecognitionException {
7981 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 7981 EObject current = null;
7982 } 7982
7983 set( 7983 EObject iv_ruleClassTypeScope = null;
7984 current, 7984
7985 "type", 7985
7986 lv_type_1_0, 7986 try {
7987 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 7987 // InternalApplicationConfiguration.g:2890:55: (iv_ruleClassTypeScope= ruleClassTypeScope EOF )
7988 afterParserOrEnumRuleCall(); 7988 // InternalApplicationConfiguration.g:2891:2: iv_ruleClassTypeScope= ruleClassTypeScope EOF
7989 7989 {
7990 7990 newCompositeNode(grammarAccess.getClassTypeScopeRule());
7991 } 7991 pushFollow(FOLLOW_1);
7992 7992 iv_ruleClassTypeScope=ruleClassTypeScope();
7993 7993
7994 } 7994 state._fsp--;
7995 7995
7996 // InternalApplicationConfiguration.g:2917:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) 7996 current =iv_ruleClassTypeScope;
7997 int alt43=2; 7997 match(input,EOF,FOLLOW_2);
7998 int LA43_0 = input.LA(1); 7998
7999 7999 }
8000 if ( (LA43_0==33) ) { 8000
8001 alt43=1; 8001 }
8002 } 8002
8003 else if ( (LA43_0==17) ) { 8003 catch (RecognitionException re) {
8004 alt43=2; 8004 recover(input,re);
8005 } 8005 appendSkippedTokens();
8006 else { 8006 }
8007 NoViableAltException nvae = 8007 finally {
8008 new NoViableAltException("", 43, 0, input); 8008 }
8009 8009 return current;
8010 throw nvae; 8010 }
8011 } 8011 // $ANTLR end "entryRuleClassTypeScope"
8012 switch (alt43) { 8012
8013 case 1 : 8013
8014 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8014 // $ANTLR start "ruleClassTypeScope"
8015 { 8015 // InternalApplicationConfiguration.g:2897:1: ruleClassTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8016 // InternalApplicationConfiguration.g:2918:4: ( (lv_setsNew_2_0= '+=' ) ) 8016 public final EObject ruleClassTypeScope() throws RecognitionException {
8017 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8017 EObject current = null;
8018 { 8018
8019 // InternalApplicationConfiguration.g:2919:5: (lv_setsNew_2_0= '+=' ) 8019 Token otherlv_0=null;
8020 // InternalApplicationConfiguration.g:2920:6: lv_setsNew_2_0= '+=' 8020 Token lv_setsNew_2_0=null;
8021 { 8021 Token lv_setsSum_3_0=null;
8022 lv_setsNew_2_0=(Token)match(input,33,FOLLOW_31); 8022 EObject lv_type_1_0 = null;
8023 8023
8024 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); 8024 EObject lv_number_4_0 = null;
8025 8025
8026 8026 EObject lv_number_5_0 = null;
8027 if (current==null) { 8027
8028 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8028
8029 } 8029
8030 setWithLastConsumed(current, "setsNew", true, "+="); 8030 enterRule();
8031 8031
8032 8032 try {
8033 } 8033 // InternalApplicationConfiguration.g:2903:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8034 8034 // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8035 8035 {
8036 } 8036 // InternalApplicationConfiguration.g:2904:2: (otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8037 8037 // InternalApplicationConfiguration.g:2905:3: otherlv_0= '#' ( (lv_type_1_0= ruleClassReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8038 8038 {
8039 } 8039 otherlv_0=(Token)match(input,34,FOLLOW_30);
8040 break; 8040
8041 case 2 : 8041 newLeafNode(otherlv_0, grammarAccess.getClassTypeScopeAccess().getNumberSignKeyword_0());
8042 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8042
8043 { 8043 // InternalApplicationConfiguration.g:2909:3: ( (lv_type_1_0= ruleClassReference ) )
8044 // InternalApplicationConfiguration.g:2933:4: ( (lv_setsSum_3_0= '=' ) ) 8044 // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference )
8045 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8045 {
8046 { 8046 // InternalApplicationConfiguration.g:2910:4: (lv_type_1_0= ruleClassReference )
8047 // InternalApplicationConfiguration.g:2934:5: (lv_setsSum_3_0= '=' ) 8047 // InternalApplicationConfiguration.g:2911:5: lv_type_1_0= ruleClassReference
8048 // InternalApplicationConfiguration.g:2935:6: lv_setsSum_3_0= '=' 8048 {
8049 { 8049
8050 lv_setsSum_3_0=(Token)match(input,17,FOLLOW_31); 8050 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getTypeClassReferenceParserRuleCall_1_0());
8051 8051
8052 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); 8052 pushFollow(FOLLOW_31);
8053 8053 lv_type_1_0=ruleClassReference();
8054 8054
8055 if (current==null) { 8055 state._fsp--;
8056 current = createModelElement(grammarAccess.getStringTypeScopeRule()); 8056
8057 } 8057
8058 setWithLastConsumed(current, "setsSum", true, "="); 8058 if (current==null) {
8059 8059 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8060 8060 }
8061 } 8061 set(
8062 8062 current,
8063 8063 "type",
8064 } 8064 lv_type_1_0,
8065 8065 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
8066 8066 afterParserOrEnumRuleCall();
8067 } 8067
8068 break; 8068
8069 8069 }
8070 } 8070
8071 8071
8072 // InternalApplicationConfiguration.g:2948:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) 8072 }
8073 int alt44=3; 8073
8074 switch ( input.LA(1) ) { 8074 // InternalApplicationConfiguration.g:2928:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8075 case RULE_INT: 8075 int alt39=2;
8076 { 8076 int LA39_0 = input.LA(1);
8077 int LA44_1 = input.LA(2); 8077
8078 8078 if ( (LA39_0==35) ) {
8079 if ( (LA44_1==41) ) { 8079 alt39=1;
8080 alt44=2; 8080 }
8081 } 8081 else if ( (LA39_0==18) ) {
8082 else if ( (LA44_1==EOF||(LA44_1>=19 && LA44_1<=20)) ) { 8082 alt39=2;
8083 alt44=1; 8083 }
8084 } 8084 else {
8085 else { 8085 NoViableAltException nvae =
8086 NoViableAltException nvae = 8086 new NoViableAltException("", 39, 0, input);
8087 new NoViableAltException("", 44, 1, input); 8087
8088 8088 throw nvae;
8089 throw nvae; 8089 }
8090 } 8090 switch (alt39) {
8091 } 8091 case 1 :
8092 break; 8092 // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) )
8093 case 40: 8093 {
8094 { 8094 // InternalApplicationConfiguration.g:2929:4: ( (lv_setsNew_2_0= '+=' ) )
8095 alt44=1; 8095 // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' )
8096 } 8096 {
8097 break; 8097 // InternalApplicationConfiguration.g:2930:5: (lv_setsNew_2_0= '+=' )
8098 case 18: 8098 // InternalApplicationConfiguration.g:2931:6: lv_setsNew_2_0= '+='
8099 { 8099 {
8100 alt44=3; 8100 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32);
8101 } 8101
8102 break; 8102 newLeafNode(lv_setsNew_2_0, grammarAccess.getClassTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8103 default: 8103
8104 NoViableAltException nvae = 8104
8105 new NoViableAltException("", 44, 0, input); 8105 if (current==null) {
8106 8106 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8107 throw nvae; 8107 }
8108 } 8108 setWithLastConsumed(current, "setsNew", true, "+=");
8109 8109
8110 switch (alt44) { 8110
8111 case 1 : 8111 }
8112 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8112
8113 { 8113
8114 // InternalApplicationConfiguration.g:2949:4: ( (lv_number_4_0= ruleExactNumber ) ) 8114 }
8115 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8115
8116 { 8116
8117 // InternalApplicationConfiguration.g:2950:5: (lv_number_4_0= ruleExactNumber ) 8117 }
8118 // InternalApplicationConfiguration.g:2951:6: lv_number_4_0= ruleExactNumber 8118 break;
8119 { 8119 case 2 :
8120 8120 // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) )
8121 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0()); 8121 {
8122 8122 // InternalApplicationConfiguration.g:2944:4: ( (lv_setsSum_3_0= '=' ) )
8123 pushFollow(FOLLOW_2); 8123 // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' )
8124 lv_number_4_0=ruleExactNumber(); 8124 {
8125 8125 // InternalApplicationConfiguration.g:2945:5: (lv_setsSum_3_0= '=' )
8126 state._fsp--; 8126 // InternalApplicationConfiguration.g:2946:6: lv_setsSum_3_0= '='
8127 8127 {
8128 8128 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32);
8129 if (current==null) { 8129
8130 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8130 newLeafNode(lv_setsSum_3_0, grammarAccess.getClassTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8131 } 8131
8132 set( 8132
8133 current, 8133 if (current==null) {
8134 "number", 8134 current = createModelElement(grammarAccess.getClassTypeScopeRule());
8135 lv_number_4_0, 8135 }
8136 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 8136 setWithLastConsumed(current, "setsSum", true, "=");
8137 afterParserOrEnumRuleCall(); 8137
8138 8138
8139 8139 }
8140 } 8140
8141 8141
8142 8142 }
8143 } 8143
8144 8144
8145 8145 }
8146 } 8146 break;
8147 break; 8147
8148 case 2 : 8148 }
8149 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8149
8150 { 8150 // InternalApplicationConfiguration.g:2959:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8151 // InternalApplicationConfiguration.g:2969:4: ( (lv_number_5_0= ruleIntervallNumber ) ) 8151 int alt40=2;
8152 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8152 int LA40_0 = input.LA(1);
8153 { 8153
8154 // InternalApplicationConfiguration.g:2970:5: (lv_number_5_0= ruleIntervallNumber ) 8154 if ( (LA40_0==RULE_INT) ) {
8155 // InternalApplicationConfiguration.g:2971:6: lv_number_5_0= ruleIntervallNumber 8155 int LA40_1 = input.LA(2);
8156 { 8156
8157 8157 if ( (LA40_1==EOF||(LA40_1>=20 && LA40_1<=21)) ) {
8158 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0()); 8158 alt40=1;
8159 8159 }
8160 pushFollow(FOLLOW_2); 8160 else if ( (LA40_1==43) ) {
8161 lv_number_5_0=ruleIntervallNumber(); 8161 alt40=2;
8162 8162 }
8163 state._fsp--; 8163 else {
8164 8164 NoViableAltException nvae =
8165 8165 new NoViableAltException("", 40, 1, input);
8166 if (current==null) { 8166
8167 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8167 throw nvae;
8168 } 8168 }
8169 set( 8169 }
8170 current, 8170 else if ( (LA40_0==42) ) {
8171 "number", 8171 alt40=1;
8172 lv_number_5_0, 8172 }
8173 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 8173 else {
8174 afterParserOrEnumRuleCall(); 8174 NoViableAltException nvae =
8175 8175 new NoViableAltException("", 40, 0, input);
8176 8176
8177 } 8177 throw nvae;
8178 8178 }
8179 8179 switch (alt40) {
8180 } 8180 case 1 :
8181 8181 // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) )
8182 8182 {
8183 } 8183 // InternalApplicationConfiguration.g:2960:4: ( (lv_number_4_0= ruleExactNumber ) )
8184 break; 8184 // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber )
8185 case 3 : 8185 {
8186 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8186 // InternalApplicationConfiguration.g:2961:5: (lv_number_4_0= ruleExactNumber )
8187 { 8187 // InternalApplicationConfiguration.g:2962:6: lv_number_4_0= ruleExactNumber
8188 // InternalApplicationConfiguration.g:2989:4: ( (lv_number_6_0= ruleStringEnumeration ) ) 8188 {
8189 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8189
8190 { 8190 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8191 // InternalApplicationConfiguration.g:2990:5: (lv_number_6_0= ruleStringEnumeration ) 8191
8192 // InternalApplicationConfiguration.g:2991:6: lv_number_6_0= ruleStringEnumeration 8192 pushFollow(FOLLOW_2);
8193 { 8193 lv_number_4_0=ruleExactNumber();
8194 8194
8195 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0()); 8195 state._fsp--;
8196 8196
8197 pushFollow(FOLLOW_2); 8197
8198 lv_number_6_0=ruleStringEnumeration(); 8198 if (current==null) {
8199 8199 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8200 state._fsp--; 8200 }
8201 8201 set(
8202 8202 current,
8203 if (current==null) { 8203 "number",
8204 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule()); 8204 lv_number_4_0,
8205 } 8205 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8206 set( 8206 afterParserOrEnumRuleCall();
8207 current, 8207
8208 "number", 8208
8209 lv_number_6_0, 8209 }
8210 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 8210
8211 afterParserOrEnumRuleCall(); 8211
8212 8212 }
8213 8213
8214 } 8214
8215 8215 }
8216 8216 break;
8217 } 8217 case 2 :
8218 8218 // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8219 8219 {
8220 } 8220 // InternalApplicationConfiguration.g:2980:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8221 break; 8221 // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber )
8222 8222 {
8223 } 8223 // InternalApplicationConfiguration.g:2981:5: (lv_number_5_0= ruleIntervallNumber )
8224 8224 // InternalApplicationConfiguration.g:2982:6: lv_number_5_0= ruleIntervallNumber
8225 8225 {
8226 } 8226
8227 8227 newCompositeNode(grammarAccess.getClassTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8228 8228
8229 } 8229 pushFollow(FOLLOW_2);
8230 8230 lv_number_5_0=ruleIntervallNumber();
8231 8231
8232 leaveRule(); 8232 state._fsp--;
8233 8233
8234 } 8234
8235 8235 if (current==null) {
8236 catch (RecognitionException re) { 8236 current = createModelElementForParent(grammarAccess.getClassTypeScopeRule());
8237 recover(input,re); 8237 }
8238 appendSkippedTokens(); 8238 set(
8239 } 8239 current,
8240 finally { 8240 "number",
8241 } 8241 lv_number_5_0,
8242 return current; 8242 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8243 } 8243 afterParserOrEnumRuleCall();
8244 // $ANTLR end "ruleStringTypeScope" 8244
8245 8245
8246 8246 }
8247 // $ANTLR start "entryRuleClassReference" 8247
8248 // InternalApplicationConfiguration.g:3013:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; 8248
8249 public final EObject entryRuleClassReference() throws RecognitionException { 8249 }
8250 EObject current = null; 8250
8251 8251
8252 EObject iv_ruleClassReference = null; 8252 }
8253 8253 break;
8254 8254
8255 try { 8255 }
8256 // InternalApplicationConfiguration.g:3013:55: (iv_ruleClassReference= ruleClassReference EOF ) 8256
8257 // InternalApplicationConfiguration.g:3014:2: iv_ruleClassReference= ruleClassReference EOF 8257
8258 { 8258 }
8259 newCompositeNode(grammarAccess.getClassReferenceRule()); 8259
8260 pushFollow(FOLLOW_1); 8260
8261 iv_ruleClassReference=ruleClassReference(); 8261 }
8262 8262
8263 state._fsp--; 8263
8264 8264 leaveRule();
8265 current =iv_ruleClassReference; 8265
8266 match(input,EOF,FOLLOW_2); 8266 }
8267 8267
8268 } 8268 catch (RecognitionException re) {
8269 8269 recover(input,re);
8270 } 8270 appendSkippedTokens();
8271 8271 }
8272 catch (RecognitionException re) { 8272 finally {
8273 recover(input,re); 8273 }
8274 appendSkippedTokens(); 8274 return current;
8275 } 8275 }
8276 finally { 8276 // $ANTLR end "ruleClassTypeScope"
8277 } 8277
8278 return current; 8278
8279 } 8279 // $ANTLR start "entryRuleObjectTypeScope"
8280 // $ANTLR end "entryRuleClassReference" 8280 // InternalApplicationConfiguration.g:3004:1: entryRuleObjectTypeScope returns [EObject current=null] : iv_ruleObjectTypeScope= ruleObjectTypeScope EOF ;
8281 8281 public final EObject entryRuleObjectTypeScope() throws RecognitionException {
8282 8282 EObject current = null;
8283 // $ANTLR start "ruleClassReference" 8283
8284 // InternalApplicationConfiguration.g:3020:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ; 8284 EObject iv_ruleObjectTypeScope = null;
8285 public final EObject ruleClassReference() throws RecognitionException { 8285
8286 EObject current = null; 8286
8287 8287 try {
8288 Token otherlv_0=null; 8288 // InternalApplicationConfiguration.g:3004:56: (iv_ruleObjectTypeScope= ruleObjectTypeScope EOF )
8289 Token otherlv_2=null; 8289 // InternalApplicationConfiguration.g:3005:2: iv_ruleObjectTypeScope= ruleObjectTypeScope EOF
8290 EObject lv_element_1_0 = null; 8290 {
8291 8291 newCompositeNode(grammarAccess.getObjectTypeScopeRule());
8292 8292 pushFollow(FOLLOW_1);
8293 8293 iv_ruleObjectTypeScope=ruleObjectTypeScope();
8294 enterRule(); 8294
8295 8295 state._fsp--;
8296 try { 8296
8297 // InternalApplicationConfiguration.g:3026:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ) 8297 current =iv_ruleObjectTypeScope;
8298 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8298 match(input,EOF,FOLLOW_2);
8299 { 8299
8300 // InternalApplicationConfiguration.g:3027:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) 8300 }
8301 // InternalApplicationConfiguration.g:3028:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' 8301
8302 { 8302 }
8303 otherlv_0=(Token)match(input,34,FOLLOW_6); 8303
8304 8304 catch (RecognitionException re) {
8305 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0()); 8305 recover(input,re);
8306 8306 appendSkippedTokens();
8307 // InternalApplicationConfiguration.g:3032:3: ( (lv_element_1_0= ruleMetamodelElement ) ) 8307 }
8308 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8308 finally {
8309 { 8309 }
8310 // InternalApplicationConfiguration.g:3033:4: (lv_element_1_0= ruleMetamodelElement ) 8310 return current;
8311 // InternalApplicationConfiguration.g:3034:5: lv_element_1_0= ruleMetamodelElement 8311 }
8312 { 8312 // $ANTLR end "entryRuleObjectTypeScope"
8313 8313
8314 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); 8314
8315 8315 // $ANTLR start "ruleObjectTypeScope"
8316 pushFollow(FOLLOW_34); 8316 // InternalApplicationConfiguration.g:3011:1: ruleObjectTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) ;
8317 lv_element_1_0=ruleMetamodelElement(); 8317 public final EObject ruleObjectTypeScope() throws RecognitionException {
8318 8318 EObject current = null;
8319 state._fsp--; 8319
8320 8320 Token otherlv_0=null;
8321 8321 Token lv_setsNew_2_0=null;
8322 if (current==null) { 8322 Token lv_setsSum_3_0=null;
8323 current = createModelElementForParent(grammarAccess.getClassReferenceRule()); 8323 EObject lv_type_1_0 = null;
8324 } 8324
8325 set( 8325 EObject lv_number_4_0 = null;
8326 current, 8326
8327 "element", 8327 EObject lv_number_5_0 = null;
8328 lv_element_1_0, 8328
8329 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 8329
8330 afterParserOrEnumRuleCall(); 8330
8331 8331 enterRule();
8332 8332
8333 } 8333 try {
8334 8334 // InternalApplicationConfiguration.g:3017:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) ) )
8335 8335 // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8336 } 8336 {
8337 8337 // InternalApplicationConfiguration.g:3018:2: (otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) ) )
8338 otherlv_2=(Token)match(input,35,FOLLOW_2); 8338 // InternalApplicationConfiguration.g:3019:3: otherlv_0= '#' ( (lv_type_1_0= ruleObjectReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8339 8339 {
8340 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2()); 8340 otherlv_0=(Token)match(input,34,FOLLOW_33);
8341 8341
8342 8342 newLeafNode(otherlv_0, grammarAccess.getObjectTypeScopeAccess().getNumberSignKeyword_0());
8343 } 8343
8344 8344 // InternalApplicationConfiguration.g:3023:3: ( (lv_type_1_0= ruleObjectReference ) )
8345 8345 // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference )
8346 } 8346 {
8347 8347 // InternalApplicationConfiguration.g:3024:4: (lv_type_1_0= ruleObjectReference )
8348 8348 // InternalApplicationConfiguration.g:3025:5: lv_type_1_0= ruleObjectReference
8349 leaveRule(); 8349 {
8350 8350
8351 } 8351 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getTypeObjectReferenceParserRuleCall_1_0());
8352 8352
8353 catch (RecognitionException re) { 8353 pushFollow(FOLLOW_31);
8354 recover(input,re); 8354 lv_type_1_0=ruleObjectReference();
8355 appendSkippedTokens(); 8355
8356 } 8356 state._fsp--;
8357 finally { 8357
8358 } 8358
8359 return current; 8359 if (current==null) {
8360 } 8360 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8361 // $ANTLR end "ruleClassReference" 8361 }
8362 8362 set(
8363 8363 current,
8364 // $ANTLR start "entryRuleObjectReference" 8364 "type",
8365 // InternalApplicationConfiguration.g:3059:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; 8365 lv_type_1_0,
8366 public final EObject entryRuleObjectReference() throws RecognitionException { 8366 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
8367 EObject current = null; 8367 afterParserOrEnumRuleCall();
8368 8368
8369 EObject iv_ruleObjectReference = null; 8369
8370 8370 }
8371 8371
8372 try { 8372
8373 // InternalApplicationConfiguration.g:3059:56: (iv_ruleObjectReference= ruleObjectReference EOF ) 8373 }
8374 // InternalApplicationConfiguration.g:3060:2: iv_ruleObjectReference= ruleObjectReference EOF 8374
8375 { 8375 // InternalApplicationConfiguration.g:3042:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8376 newCompositeNode(grammarAccess.getObjectReferenceRule()); 8376 int alt41=2;
8377 pushFollow(FOLLOW_1); 8377 int LA41_0 = input.LA(1);
8378 iv_ruleObjectReference=ruleObjectReference(); 8378
8379 8379 if ( (LA41_0==35) ) {
8380 state._fsp--; 8380 alt41=1;
8381 8381 }
8382 current =iv_ruleObjectReference; 8382 else if ( (LA41_0==18) ) {
8383 match(input,EOF,FOLLOW_2); 8383 alt41=2;
8384 8384 }
8385 } 8385 else {
8386 8386 NoViableAltException nvae =
8387 } 8387 new NoViableAltException("", 41, 0, input);
8388 8388
8389 catch (RecognitionException re) { 8389 throw nvae;
8390 recover(input,re); 8390 }
8391 appendSkippedTokens(); 8391 switch (alt41) {
8392 } 8392 case 1 :
8393 finally { 8393 // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) )
8394 } 8394 {
8395 return current; 8395 // InternalApplicationConfiguration.g:3043:4: ( (lv_setsNew_2_0= '+=' ) )
8396 } 8396 // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' )
8397 // $ANTLR end "entryRuleObjectReference" 8397 {
8398 8398 // InternalApplicationConfiguration.g:3044:5: (lv_setsNew_2_0= '+=' )
8399 8399 // InternalApplicationConfiguration.g:3045:6: lv_setsNew_2_0= '+='
8400 // $ANTLR start "ruleObjectReference" 8400 {
8401 // InternalApplicationConfiguration.g:3066:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; 8401 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_32);
8402 public final EObject ruleObjectReference() throws RecognitionException { 8402
8403 EObject current = null; 8403 newLeafNode(lv_setsNew_2_0, grammarAccess.getObjectTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8404 8404
8405 Token otherlv_1=null; 8405
8406 8406 if (current==null) {
8407 8407 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8408 enterRule(); 8408 }
8409 8409 setWithLastConsumed(current, "setsNew", true, "+=");
8410 try { 8410
8411 // InternalApplicationConfiguration.g:3072:2: ( ( () otherlv_1= 'node' ) ) 8411
8412 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8412 }
8413 { 8413
8414 // InternalApplicationConfiguration.g:3073:2: ( () otherlv_1= 'node' ) 8414
8415 // InternalApplicationConfiguration.g:3074:3: () otherlv_1= 'node' 8415 }
8416 { 8416
8417 // InternalApplicationConfiguration.g:3074:3: () 8417
8418 // InternalApplicationConfiguration.g:3075:4: 8418 }
8419 { 8419 break;
8420 8420 case 2 :
8421 current = forceCreateModelElement( 8421 // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) )
8422 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), 8422 {
8423 current); 8423 // InternalApplicationConfiguration.g:3058:4: ( (lv_setsSum_3_0= '=' ) )
8424 8424 // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' )
8425 8425 {
8426 } 8426 // InternalApplicationConfiguration.g:3059:5: (lv_setsSum_3_0= '=' )
8427 8427 // InternalApplicationConfiguration.g:3060:6: lv_setsSum_3_0= '='
8428 otherlv_1=(Token)match(input,36,FOLLOW_2); 8428 {
8429 8429 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_32);
8430 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); 8430
8431 8431 newLeafNode(lv_setsSum_3_0, grammarAccess.getObjectTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8432 8432
8433 } 8433
8434 8434 if (current==null) {
8435 8435 current = createModelElement(grammarAccess.getObjectTypeScopeRule());
8436 } 8436 }
8437 8437 setWithLastConsumed(current, "setsSum", true, "=");
8438 8438
8439 leaveRule(); 8439
8440 8440 }
8441 } 8441
8442 8442
8443 catch (RecognitionException re) { 8443 }
8444 recover(input,re); 8444
8445 appendSkippedTokens(); 8445
8446 } 8446 }
8447 finally { 8447 break;
8448 } 8448
8449 return current; 8449 }
8450 } 8450
8451 // $ANTLR end "ruleObjectReference" 8451 // InternalApplicationConfiguration.g:3073:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) )
8452 8452 int alt42=2;
8453 8453 int LA42_0 = input.LA(1);
8454 // $ANTLR start "entryRuleIntegerReference" 8454
8455 // InternalApplicationConfiguration.g:3089:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; 8455 if ( (LA42_0==RULE_INT) ) {
8456 public final EObject entryRuleIntegerReference() throws RecognitionException { 8456 int LA42_1 = input.LA(2);
8457 EObject current = null; 8457
8458 8458 if ( (LA42_1==EOF||(LA42_1>=20 && LA42_1<=21)) ) {
8459 EObject iv_ruleIntegerReference = null; 8459 alt42=1;
8460 8460 }
8461 8461 else if ( (LA42_1==43) ) {
8462 try { 8462 alt42=2;
8463 // InternalApplicationConfiguration.g:3089:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) 8463 }
8464 // InternalApplicationConfiguration.g:3090:2: iv_ruleIntegerReference= ruleIntegerReference EOF 8464 else {
8465 { 8465 NoViableAltException nvae =
8466 newCompositeNode(grammarAccess.getIntegerReferenceRule()); 8466 new NoViableAltException("", 42, 1, input);
8467 pushFollow(FOLLOW_1); 8467
8468 iv_ruleIntegerReference=ruleIntegerReference(); 8468 throw nvae;
8469 8469 }
8470 state._fsp--; 8470 }
8471 8471 else if ( (LA42_0==42) ) {
8472 current =iv_ruleIntegerReference; 8472 alt42=1;
8473 match(input,EOF,FOLLOW_2); 8473 }
8474 8474 else {
8475 } 8475 NoViableAltException nvae =
8476 8476 new NoViableAltException("", 42, 0, input);
8477 } 8477
8478 8478 throw nvae;
8479 catch (RecognitionException re) { 8479 }
8480 recover(input,re); 8480 switch (alt42) {
8481 appendSkippedTokens(); 8481 case 1 :
8482 } 8482 // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) )
8483 finally { 8483 {
8484 } 8484 // InternalApplicationConfiguration.g:3074:4: ( (lv_number_4_0= ruleExactNumber ) )
8485 return current; 8485 // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber )
8486 } 8486 {
8487 // $ANTLR end "entryRuleIntegerReference" 8487 // InternalApplicationConfiguration.g:3075:5: (lv_number_4_0= ruleExactNumber )
8488 8488 // InternalApplicationConfiguration.g:3076:6: lv_number_4_0= ruleExactNumber
8489 8489 {
8490 // $ANTLR start "ruleIntegerReference" 8490
8491 // InternalApplicationConfiguration.g:3096:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; 8491 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8492 public final EObject ruleIntegerReference() throws RecognitionException { 8492
8493 EObject current = null; 8493 pushFollow(FOLLOW_2);
8494 8494 lv_number_4_0=ruleExactNumber();
8495 Token otherlv_1=null; 8495
8496 8496 state._fsp--;
8497 8497
8498 enterRule(); 8498
8499 8499 if (current==null) {
8500 try { 8500 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8501 // InternalApplicationConfiguration.g:3102:2: ( ( () otherlv_1= 'int' ) ) 8501 }
8502 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8502 set(
8503 { 8503 current,
8504 // InternalApplicationConfiguration.g:3103:2: ( () otherlv_1= 'int' ) 8504 "number",
8505 // InternalApplicationConfiguration.g:3104:3: () otherlv_1= 'int' 8505 lv_number_4_0,
8506 { 8506 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8507 // InternalApplicationConfiguration.g:3104:3: () 8507 afterParserOrEnumRuleCall();
8508 // InternalApplicationConfiguration.g:3105:4: 8508
8509 { 8509
8510 8510 }
8511 current = forceCreateModelElement( 8511
8512 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), 8512
8513 current); 8513 }
8514 8514
8515 8515
8516 } 8516 }
8517 8517 break;
8518 otherlv_1=(Token)match(input,37,FOLLOW_2); 8518 case 2 :
8519 8519 // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8520 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); 8520 {
8521 8521 // InternalApplicationConfiguration.g:3094:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8522 8522 // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber )
8523 } 8523 {
8524 8524 // InternalApplicationConfiguration.g:3095:5: (lv_number_5_0= ruleIntervallNumber )
8525 8525 // InternalApplicationConfiguration.g:3096:6: lv_number_5_0= ruleIntervallNumber
8526 } 8526 {
8527 8527
8528 8528 newCompositeNode(grammarAccess.getObjectTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8529 leaveRule(); 8529
8530 8530 pushFollow(FOLLOW_2);
8531 } 8531 lv_number_5_0=ruleIntervallNumber();
8532 8532
8533 catch (RecognitionException re) { 8533 state._fsp--;
8534 recover(input,re); 8534
8535 appendSkippedTokens(); 8535
8536 } 8536 if (current==null) {
8537 finally { 8537 current = createModelElementForParent(grammarAccess.getObjectTypeScopeRule());
8538 } 8538 }
8539 return current; 8539 set(
8540 } 8540 current,
8541 // $ANTLR end "ruleIntegerReference" 8541 "number",
8542 8542 lv_number_5_0,
8543 8543 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8544 // $ANTLR start "entryRuleRealReference" 8544 afterParserOrEnumRuleCall();
8545 // InternalApplicationConfiguration.g:3119:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; 8545
8546 public final EObject entryRuleRealReference() throws RecognitionException { 8546
8547 EObject current = null; 8547 }
8548 8548
8549 EObject iv_ruleRealReference = null; 8549
8550 8550 }
8551 8551
8552 try { 8552
8553 // InternalApplicationConfiguration.g:3119:54: (iv_ruleRealReference= ruleRealReference EOF ) 8553 }
8554 // InternalApplicationConfiguration.g:3120:2: iv_ruleRealReference= ruleRealReference EOF 8554 break;
8555 { 8555
8556 newCompositeNode(grammarAccess.getRealReferenceRule()); 8556 }
8557 pushFollow(FOLLOW_1); 8557
8558 iv_ruleRealReference=ruleRealReference(); 8558
8559 8559 }
8560 state._fsp--; 8560
8561 8561
8562 current =iv_ruleRealReference; 8562 }
8563 match(input,EOF,FOLLOW_2); 8563
8564 8564
8565 } 8565 leaveRule();
8566 8566
8567 } 8567 }
8568 8568
8569 catch (RecognitionException re) { 8569 catch (RecognitionException re) {
8570 recover(input,re); 8570 recover(input,re);
8571 appendSkippedTokens(); 8571 appendSkippedTokens();
8572 } 8572 }
8573 finally { 8573 finally {
8574 } 8574 }
8575 return current; 8575 return current;
8576 } 8576 }
8577 // $ANTLR end "entryRuleRealReference" 8577 // $ANTLR end "ruleObjectTypeScope"
8578 8578
8579 8579
8580 // $ANTLR start "ruleRealReference" 8580 // $ANTLR start "entryRuleIntegerTypeScope"
8581 // InternalApplicationConfiguration.g:3126:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; 8581 // InternalApplicationConfiguration.g:3118:1: entryRuleIntegerTypeScope returns [EObject current=null] : iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF ;
8582 public final EObject ruleRealReference() throws RecognitionException { 8582 public final EObject entryRuleIntegerTypeScope() throws RecognitionException {
8583 EObject current = null; 8583 EObject current = null;
8584 8584
8585 Token otherlv_1=null; 8585 EObject iv_ruleIntegerTypeScope = null;
8586 8586
8587 8587
8588 enterRule(); 8588 try {
8589 8589 // InternalApplicationConfiguration.g:3118:57: (iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF )
8590 try { 8590 // InternalApplicationConfiguration.g:3119:2: iv_ruleIntegerTypeScope= ruleIntegerTypeScope EOF
8591 // InternalApplicationConfiguration.g:3132:2: ( ( () otherlv_1= 'real' ) ) 8591 {
8592 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8592 newCompositeNode(grammarAccess.getIntegerTypeScopeRule());
8593 { 8593 pushFollow(FOLLOW_1);
8594 // InternalApplicationConfiguration.g:3133:2: ( () otherlv_1= 'real' ) 8594 iv_ruleIntegerTypeScope=ruleIntegerTypeScope();
8595 // InternalApplicationConfiguration.g:3134:3: () otherlv_1= 'real' 8595
8596 { 8596 state._fsp--;
8597 // InternalApplicationConfiguration.g:3134:3: () 8597
8598 // InternalApplicationConfiguration.g:3135:4: 8598 current =iv_ruleIntegerTypeScope;
8599 { 8599 match(input,EOF,FOLLOW_2);
8600 8600
8601 current = forceCreateModelElement( 8601 }
8602 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), 8602
8603 current); 8603 }
8604 8604
8605 8605 catch (RecognitionException re) {
8606 } 8606 recover(input,re);
8607 8607 appendSkippedTokens();
8608 otherlv_1=(Token)match(input,38,FOLLOW_2); 8608 }
8609 8609 finally {
8610 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); 8610 }
8611 8611 return current;
8612 8612 }
8613 } 8613 // $ANTLR end "entryRuleIntegerTypeScope"
8614 8614
8615 8615
8616 } 8616 // $ANTLR start "ruleIntegerTypeScope"
8617 8617 // InternalApplicationConfiguration.g:3125:1: ruleIntegerTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) ;
8618 8618 public final EObject ruleIntegerTypeScope() throws RecognitionException {
8619 leaveRule(); 8619 EObject current = null;
8620 8620
8621 } 8621 Token otherlv_0=null;
8622 8622 Token lv_setsNew_2_0=null;
8623 catch (RecognitionException re) { 8623 Token lv_setsSum_3_0=null;
8624 recover(input,re); 8624 EObject lv_type_1_0 = null;
8625 appendSkippedTokens(); 8625
8626 } 8626 EObject lv_number_4_0 = null;
8627 finally { 8627
8628 } 8628 EObject lv_number_5_0 = null;
8629 return current; 8629
8630 } 8630 EObject lv_number_6_0 = null;
8631 // $ANTLR end "ruleRealReference" 8631
8632 8632
8633 8633
8634 // $ANTLR start "entryRuleStringReference" 8634 enterRule();
8635 // InternalApplicationConfiguration.g:3149:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; 8635
8636 public final EObject entryRuleStringReference() throws RecognitionException { 8636 try {
8637 EObject current = null; 8637 // InternalApplicationConfiguration.g:3131:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) ) )
8638 8638 // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8639 EObject iv_ruleStringReference = null; 8639 {
8640 8640 // InternalApplicationConfiguration.g:3132:2: (otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) ) )
8641 8641 // InternalApplicationConfiguration.g:3133:3: otherlv_0= '#' ( (lv_type_1_0= ruleIntegerReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8642 try { 8642 {
8643 // InternalApplicationConfiguration.g:3149:56: (iv_ruleStringReference= ruleStringReference EOF ) 8643 otherlv_0=(Token)match(input,34,FOLLOW_34);
8644 // InternalApplicationConfiguration.g:3150:2: iv_ruleStringReference= ruleStringReference EOF 8644
8645 { 8645 newLeafNode(otherlv_0, grammarAccess.getIntegerTypeScopeAccess().getNumberSignKeyword_0());
8646 newCompositeNode(grammarAccess.getStringReferenceRule()); 8646
8647 pushFollow(FOLLOW_1); 8647 // InternalApplicationConfiguration.g:3137:3: ( (lv_type_1_0= ruleIntegerReference ) )
8648 iv_ruleStringReference=ruleStringReference(); 8648 // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference )
8649 8649 {
8650 state._fsp--; 8650 // InternalApplicationConfiguration.g:3138:4: (lv_type_1_0= ruleIntegerReference )
8651 8651 // InternalApplicationConfiguration.g:3139:5: lv_type_1_0= ruleIntegerReference
8652 current =iv_ruleStringReference; 8652 {
8653 match(input,EOF,FOLLOW_2); 8653
8654 8654 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getTypeIntegerReferenceParserRuleCall_1_0());
8655 } 8655
8656 8656 pushFollow(FOLLOW_31);
8657 } 8657 lv_type_1_0=ruleIntegerReference();
8658 8658
8659 catch (RecognitionException re) { 8659 state._fsp--;
8660 recover(input,re); 8660
8661 appendSkippedTokens(); 8661
8662 } 8662 if (current==null) {
8663 finally { 8663 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8664 } 8664 }
8665 return current; 8665 set(
8666 } 8666 current,
8667 // $ANTLR end "entryRuleStringReference" 8667 "type",
8668 8668 lv_type_1_0,
8669 8669 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
8670 // $ANTLR start "ruleStringReference" 8670 afterParserOrEnumRuleCall();
8671 // InternalApplicationConfiguration.g:3156:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; 8671
8672 public final EObject ruleStringReference() throws RecognitionException { 8672
8673 EObject current = null; 8673 }
8674 8674
8675 Token otherlv_1=null; 8675
8676 8676 }
8677 8677
8678 enterRule(); 8678 // InternalApplicationConfiguration.g:3156:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
8679 8679 int alt43=2;
8680 try { 8680 int LA43_0 = input.LA(1);
8681 // InternalApplicationConfiguration.g:3162:2: ( ( () otherlv_1= 'string' ) ) 8681
8682 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8682 if ( (LA43_0==35) ) {
8683 { 8683 alt43=1;
8684 // InternalApplicationConfiguration.g:3163:2: ( () otherlv_1= 'string' ) 8684 }
8685 // InternalApplicationConfiguration.g:3164:3: () otherlv_1= 'string' 8685 else if ( (LA43_0==18) ) {
8686 { 8686 alt43=2;
8687 // InternalApplicationConfiguration.g:3164:3: () 8687 }
8688 // InternalApplicationConfiguration.g:3165:4: 8688 else {
8689 { 8689 NoViableAltException nvae =
8690 8690 new NoViableAltException("", 43, 0, input);
8691 current = forceCreateModelElement( 8691
8692 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), 8692 throw nvae;
8693 current); 8693 }
8694 8694 switch (alt43) {
8695 8695 case 1 :
8696 } 8696 // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) )
8697 8697 {
8698 otherlv_1=(Token)match(input,39,FOLLOW_2); 8698 // InternalApplicationConfiguration.g:3157:4: ( (lv_setsNew_2_0= '+=' ) )
8699 8699 // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' )
8700 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); 8700 {
8701 8701 // InternalApplicationConfiguration.g:3158:5: (lv_setsNew_2_0= '+=' )
8702 8702 // InternalApplicationConfiguration.g:3159:6: lv_setsNew_2_0= '+='
8703 } 8703 {
8704 8704 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
8705 8705
8706 } 8706 newLeafNode(lv_setsNew_2_0, grammarAccess.getIntegerTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
8707 8707
8708 8708
8709 leaveRule(); 8709 if (current==null) {
8710 8710 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8711 } 8711 }
8712 8712 setWithLastConsumed(current, "setsNew", true, "+=");
8713 catch (RecognitionException re) { 8713
8714 recover(input,re); 8714
8715 appendSkippedTokens(); 8715 }
8716 } 8716
8717 finally { 8717
8718 } 8718 }
8719 return current; 8719
8720 } 8720
8721 // $ANTLR end "ruleStringReference" 8721 }
8722 8722 break;
8723 8723 case 2 :
8724 // $ANTLR start "entryRuleExactNumber" 8724 // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) )
8725 // InternalApplicationConfiguration.g:3179:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ; 8725 {
8726 public final EObject entryRuleExactNumber() throws RecognitionException { 8726 // InternalApplicationConfiguration.g:3172:4: ( (lv_setsSum_3_0= '=' ) )
8727 EObject current = null; 8727 // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' )
8728 8728 {
8729 EObject iv_ruleExactNumber = null; 8729 // InternalApplicationConfiguration.g:3173:5: (lv_setsSum_3_0= '=' )
8730 8730 // InternalApplicationConfiguration.g:3174:6: lv_setsSum_3_0= '='
8731 8731 {
8732 try { 8732 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
8733 // InternalApplicationConfiguration.g:3179:52: (iv_ruleExactNumber= ruleExactNumber EOF ) 8733
8734 // InternalApplicationConfiguration.g:3180:2: iv_ruleExactNumber= ruleExactNumber EOF 8734 newLeafNode(lv_setsSum_3_0, grammarAccess.getIntegerTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
8735 { 8735
8736 newCompositeNode(grammarAccess.getExactNumberRule()); 8736
8737 pushFollow(FOLLOW_1); 8737 if (current==null) {
8738 iv_ruleExactNumber=ruleExactNumber(); 8738 current = createModelElement(grammarAccess.getIntegerTypeScopeRule());
8739 8739 }
8740 state._fsp--; 8740 setWithLastConsumed(current, "setsSum", true, "=");
8741 8741
8742 current =iv_ruleExactNumber; 8742
8743 match(input,EOF,FOLLOW_2); 8743 }
8744 8744
8745 } 8745
8746 8746 }
8747 } 8747
8748 8748
8749 catch (RecognitionException re) { 8749 }
8750 recover(input,re); 8750 break;
8751 appendSkippedTokens(); 8751
8752 } 8752 }
8753 finally { 8753
8754 } 8754 // InternalApplicationConfiguration.g:3187:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleIntEnumberation ) ) )
8755 return current; 8755 int alt44=3;
8756 } 8756 switch ( input.LA(1) ) {
8757 // $ANTLR end "entryRuleExactNumber" 8757 case RULE_INT:
8758 8758 {
8759 8759 int LA44_1 = input.LA(2);
8760 // $ANTLR start "ruleExactNumber" 8760
8761 // InternalApplicationConfiguration.g:3186:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ; 8761 if ( (LA44_1==EOF||(LA44_1>=20 && LA44_1<=21)) ) {
8762 public final EObject ruleExactNumber() throws RecognitionException { 8762 alt44=1;
8763 EObject current = null; 8763 }
8764 8764 else if ( (LA44_1==43) ) {
8765 Token lv_exactNumber_0_0=null; 8765 alt44=2;
8766 Token lv_exactUnlimited_1_0=null; 8766 }
8767 8767 else {
8768 8768 NoViableAltException nvae =
8769 enterRule(); 8769 new NoViableAltException("", 44, 1, input);
8770 8770
8771 try { 8771 throw nvae;
8772 // InternalApplicationConfiguration.g:3192:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ) 8772 }
8773 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8773 }
8774 { 8774 break;
8775 // InternalApplicationConfiguration.g:3193:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) 8775 case 42:
8776 int alt45=2; 8776 {
8777 int LA45_0 = input.LA(1); 8777 alt44=1;
8778 8778 }
8779 if ( (LA45_0==RULE_INT) ) { 8779 break;
8780 alt45=1; 8780 case 19:
8781 } 8781 {
8782 else if ( (LA45_0==40) ) { 8782 alt44=3;
8783 alt45=2; 8783 }
8784 } 8784 break;
8785 else { 8785 default:
8786 NoViableAltException nvae = 8786 NoViableAltException nvae =
8787 new NoViableAltException("", 45, 0, input); 8787 new NoViableAltException("", 44, 0, input);
8788 8788
8789 throw nvae; 8789 throw nvae;
8790 } 8790 }
8791 switch (alt45) { 8791
8792 case 1 : 8792 switch (alt44) {
8793 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8793 case 1 :
8794 { 8794 // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) )
8795 // InternalApplicationConfiguration.g:3194:3: ( (lv_exactNumber_0_0= RULE_INT ) ) 8795 {
8796 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8796 // InternalApplicationConfiguration.g:3188:4: ( (lv_number_4_0= ruleExactNumber ) )
8797 { 8797 // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber )
8798 // InternalApplicationConfiguration.g:3195:4: (lv_exactNumber_0_0= RULE_INT ) 8798 {
8799 // InternalApplicationConfiguration.g:3196:5: lv_exactNumber_0_0= RULE_INT 8799 // InternalApplicationConfiguration.g:3189:5: (lv_number_4_0= ruleExactNumber )
8800 { 8800 // InternalApplicationConfiguration.g:3190:6: lv_number_4_0= ruleExactNumber
8801 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2); 8801 {
8802 8802
8803 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0()); 8803 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
8804 8804
8805 8805 pushFollow(FOLLOW_2);
8806 if (current==null) { 8806 lv_number_4_0=ruleExactNumber();
8807 current = createModelElement(grammarAccess.getExactNumberRule()); 8807
8808 } 8808 state._fsp--;
8809 setWithLastConsumed( 8809
8810 current, 8810
8811 "exactNumber", 8811 if (current==null) {
8812 lv_exactNumber_0_0, 8812 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8813 "org.eclipse.xtext.common.Terminals.INT"); 8813 }
8814 8814 set(
8815 8815 current,
8816 } 8816 "number",
8817 8817 lv_number_4_0,
8818 8818 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
8819 } 8819 afterParserOrEnumRuleCall();
8820 8820
8821 8821
8822 } 8822 }
8823 break; 8823
8824 case 2 : 8824
8825 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8825 }
8826 { 8826
8827 // InternalApplicationConfiguration.g:3213:3: ( (lv_exactUnlimited_1_0= '*' ) ) 8827
8828 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8828 }
8829 { 8829 break;
8830 // InternalApplicationConfiguration.g:3214:4: (lv_exactUnlimited_1_0= '*' ) 8830 case 2 :
8831 // InternalApplicationConfiguration.g:3215:5: lv_exactUnlimited_1_0= '*' 8831 // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8832 { 8832 {
8833 lv_exactUnlimited_1_0=(Token)match(input,40,FOLLOW_2); 8833 // InternalApplicationConfiguration.g:3208:4: ( (lv_number_5_0= ruleIntervallNumber ) )
8834 8834 // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber )
8835 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0()); 8835 {
8836 8836 // InternalApplicationConfiguration.g:3209:5: (lv_number_5_0= ruleIntervallNumber )
8837 8837 // InternalApplicationConfiguration.g:3210:6: lv_number_5_0= ruleIntervallNumber
8838 if (current==null) { 8838 {
8839 current = createModelElement(grammarAccess.getExactNumberRule()); 8839
8840 } 8840 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
8841 setWithLastConsumed(current, "exactUnlimited", true, "*"); 8841
8842 8842 pushFollow(FOLLOW_2);
8843 8843 lv_number_5_0=ruleIntervallNumber();
8844 } 8844
8845 8845 state._fsp--;
8846 8846
8847 } 8847
8848 8848 if (current==null) {
8849 8849 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8850 } 8850 }
8851 break; 8851 set(
8852 8852 current,
8853 } 8853 "number",
8854 8854 lv_number_5_0,
8855 8855 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
8856 } 8856 afterParserOrEnumRuleCall();
8857 8857
8858 8858
8859 leaveRule(); 8859 }
8860 8860
8861 } 8861
8862 8862 }
8863 catch (RecognitionException re) { 8863
8864 recover(input,re); 8864
8865 appendSkippedTokens(); 8865 }
8866 } 8866 break;
8867 finally { 8867 case 3 :
8868 } 8868 // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8869 return current; 8869 {
8870 } 8870 // InternalApplicationConfiguration.g:3228:4: ( (lv_number_6_0= ruleIntEnumberation ) )
8871 // $ANTLR end "ruleExactNumber" 8871 // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation )
8872 8872 {
8873 8873 // InternalApplicationConfiguration.g:3229:5: (lv_number_6_0= ruleIntEnumberation )
8874 // $ANTLR start "entryRuleIntervallNumber" 8874 // InternalApplicationConfiguration.g:3230:6: lv_number_6_0= ruleIntEnumberation
8875 // InternalApplicationConfiguration.g:3231:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ; 8875 {
8876 public final EObject entryRuleIntervallNumber() throws RecognitionException { 8876
8877 EObject current = null; 8877 newCompositeNode(grammarAccess.getIntegerTypeScopeAccess().getNumberIntEnumberationParserRuleCall_3_2_0());
8878 8878
8879 EObject iv_ruleIntervallNumber = null; 8879 pushFollow(FOLLOW_2);
8880 8880 lv_number_6_0=ruleIntEnumberation();
8881 8881
8882 try { 8882 state._fsp--;
8883 // InternalApplicationConfiguration.g:3231:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF ) 8883
8884 // InternalApplicationConfiguration.g:3232:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF 8884
8885 { 8885 if (current==null) {
8886 newCompositeNode(grammarAccess.getIntervallNumberRule()); 8886 current = createModelElementForParent(grammarAccess.getIntegerTypeScopeRule());
8887 pushFollow(FOLLOW_1); 8887 }
8888 iv_ruleIntervallNumber=ruleIntervallNumber(); 8888 set(
8889 8889 current,
8890 state._fsp--; 8890 "number",
8891 8891 lv_number_6_0,
8892 current =iv_ruleIntervallNumber; 8892 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
8893 match(input,EOF,FOLLOW_2); 8893 afterParserOrEnumRuleCall();
8894 8894
8895 } 8895
8896 8896 }
8897 } 8897
8898 8898
8899 catch (RecognitionException re) { 8899 }
8900 recover(input,re); 8900
8901 appendSkippedTokens(); 8901
8902 } 8902 }
8903 finally { 8903 break;
8904 } 8904
8905 return current; 8905 }
8906 } 8906
8907 // $ANTLR end "entryRuleIntervallNumber" 8907
8908 8908 }
8909 8909
8910 // $ANTLR start "ruleIntervallNumber" 8910
8911 // InternalApplicationConfiguration.g:3238:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ; 8911 }
8912 public final EObject ruleIntervallNumber() throws RecognitionException { 8912
8913 EObject current = null; 8913
8914 8914 leaveRule();
8915 Token lv_min_0_0=null; 8915
8916 Token otherlv_1=null; 8916 }
8917 Token lv_maxNumber_2_0=null; 8917
8918 Token lv_maxUnlimited_3_0=null; 8918 catch (RecognitionException re) {
8919 8919 recover(input,re);
8920 8920 appendSkippedTokens();
8921 enterRule(); 8921 }
8922 8922 finally {
8923 try { 8923 }
8924 // InternalApplicationConfiguration.g:3244:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ) 8924 return current;
8925 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8925 }
8926 { 8926 // $ANTLR end "ruleIntegerTypeScope"
8927 // InternalApplicationConfiguration.g:3245:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) 8927
8928 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8928
8929 { 8929 // $ANTLR start "entryRuleRealTypeScope"
8930 // InternalApplicationConfiguration.g:3246:3: ( (lv_min_0_0= RULE_INT ) ) 8930 // InternalApplicationConfiguration.g:3252:1: entryRuleRealTypeScope returns [EObject current=null] : iv_ruleRealTypeScope= ruleRealTypeScope EOF ;
8931 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8931 public final EObject entryRuleRealTypeScope() throws RecognitionException {
8932 { 8932 EObject current = null;
8933 // InternalApplicationConfiguration.g:3247:4: (lv_min_0_0= RULE_INT ) 8933
8934 // InternalApplicationConfiguration.g:3248:5: lv_min_0_0= RULE_INT 8934 EObject iv_ruleRealTypeScope = null;
8935 { 8935
8936 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_35); 8936
8937 8937 try {
8938 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0()); 8938 // InternalApplicationConfiguration.g:3252:54: (iv_ruleRealTypeScope= ruleRealTypeScope EOF )
8939 8939 // InternalApplicationConfiguration.g:3253:2: iv_ruleRealTypeScope= ruleRealTypeScope EOF
8940 8940 {
8941 if (current==null) { 8941 newCompositeNode(grammarAccess.getRealTypeScopeRule());
8942 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8942 pushFollow(FOLLOW_1);
8943 } 8943 iv_ruleRealTypeScope=ruleRealTypeScope();
8944 setWithLastConsumed( 8944
8945 current, 8945 state._fsp--;
8946 "min", 8946
8947 lv_min_0_0, 8947 current =iv_ruleRealTypeScope;
8948 "org.eclipse.xtext.common.Terminals.INT"); 8948 match(input,EOF,FOLLOW_2);
8949 8949
8950 8950 }
8951 } 8951
8952 8952 }
8953 8953
8954 } 8954 catch (RecognitionException re) {
8955 8955 recover(input,re);
8956 otherlv_1=(Token)match(input,41,FOLLOW_28); 8956 appendSkippedTokens();
8957 8957 }
8958 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1()); 8958 finally {
8959 8959 }
8960 // InternalApplicationConfiguration.g:3268:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) 8960 return current;
8961 int alt46=2; 8961 }
8962 int LA46_0 = input.LA(1); 8962 // $ANTLR end "entryRuleRealTypeScope"
8963 8963
8964 if ( (LA46_0==RULE_INT) ) { 8964
8965 alt46=1; 8965 // $ANTLR start "ruleRealTypeScope"
8966 } 8966 // InternalApplicationConfiguration.g:3259:1: ruleRealTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) ;
8967 else if ( (LA46_0==40) ) { 8967 public final EObject ruleRealTypeScope() throws RecognitionException {
8968 alt46=2; 8968 EObject current = null;
8969 } 8969
8970 else { 8970 Token otherlv_0=null;
8971 NoViableAltException nvae = 8971 Token lv_setsNew_2_0=null;
8972 new NoViableAltException("", 46, 0, input); 8972 Token lv_setsSum_3_0=null;
8973 8973 EObject lv_type_1_0 = null;
8974 throw nvae; 8974
8975 } 8975 EObject lv_number_4_0 = null;
8976 switch (alt46) { 8976
8977 case 1 : 8977 EObject lv_number_5_0 = null;
8978 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8978
8979 { 8979 EObject lv_number_6_0 = null;
8980 // InternalApplicationConfiguration.g:3269:4: ( (lv_maxNumber_2_0= RULE_INT ) ) 8980
8981 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8981
8982 { 8982
8983 // InternalApplicationConfiguration.g:3270:5: (lv_maxNumber_2_0= RULE_INT ) 8983 enterRule();
8984 // InternalApplicationConfiguration.g:3271:6: lv_maxNumber_2_0= RULE_INT 8984
8985 { 8985 try {
8986 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2); 8986 // InternalApplicationConfiguration.g:3265:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) ) )
8987 8987 // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
8988 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0()); 8988 {
8989 8989 // InternalApplicationConfiguration.g:3266:2: (otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) ) )
8990 8990 // InternalApplicationConfiguration.g:3267:3: otherlv_0= '#' ( (lv_type_1_0= ruleRealReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
8991 if (current==null) { 8991 {
8992 current = createModelElement(grammarAccess.getIntervallNumberRule()); 8992 otherlv_0=(Token)match(input,34,FOLLOW_36);
8993 } 8993
8994 setWithLastConsumed( 8994 newLeafNode(otherlv_0, grammarAccess.getRealTypeScopeAccess().getNumberSignKeyword_0());
8995 current, 8995
8996 "maxNumber", 8996 // InternalApplicationConfiguration.g:3271:3: ( (lv_type_1_0= ruleRealReference ) )
8997 lv_maxNumber_2_0, 8997 // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference )
8998 "org.eclipse.xtext.common.Terminals.INT"); 8998 {
8999 8999 // InternalApplicationConfiguration.g:3272:4: (lv_type_1_0= ruleRealReference )
9000 9000 // InternalApplicationConfiguration.g:3273:5: lv_type_1_0= ruleRealReference
9001 } 9001 {
9002 9002
9003 9003 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getTypeRealReferenceParserRuleCall_1_0());
9004 } 9004
9005 9005 pushFollow(FOLLOW_31);
9006 9006 lv_type_1_0=ruleRealReference();
9007 } 9007
9008 break; 9008 state._fsp--;
9009 case 2 : 9009
9010 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9010
9011 { 9011 if (current==null) {
9012 // InternalApplicationConfiguration.g:3288:4: ( (lv_maxUnlimited_3_0= '*' ) ) 9012 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9013 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9013 }
9014 { 9014 set(
9015 // InternalApplicationConfiguration.g:3289:5: (lv_maxUnlimited_3_0= '*' ) 9015 current,
9016 // InternalApplicationConfiguration.g:3290:6: lv_maxUnlimited_3_0= '*' 9016 "type",
9017 { 9017 lv_type_1_0,
9018 lv_maxUnlimited_3_0=(Token)match(input,40,FOLLOW_2); 9018 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
9019 9019 afterParserOrEnumRuleCall();
9020 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0()); 9020
9021 9021
9022 9022 }
9023 if (current==null) { 9023
9024 current = createModelElement(grammarAccess.getIntervallNumberRule()); 9024
9025 } 9025 }
9026 setWithLastConsumed(current, "maxUnlimited", true, "*"); 9026
9027 9027 // InternalApplicationConfiguration.g:3290:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9028 9028 int alt45=2;
9029 } 9029 int LA45_0 = input.LA(1);
9030 9030
9031 9031 if ( (LA45_0==35) ) {
9032 } 9032 alt45=1;
9033 9033 }
9034 9034 else if ( (LA45_0==18) ) {
9035 } 9035 alt45=2;
9036 break; 9036 }
9037 9037 else {
9038 } 9038 NoViableAltException nvae =
9039 9039 new NoViableAltException("", 45, 0, input);
9040 9040
9041 } 9041 throw nvae;
9042 9042 }
9043 9043 switch (alt45) {
9044 } 9044 case 1 :
9045 9045 // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) )
9046 9046 {
9047 leaveRule(); 9047 // InternalApplicationConfiguration.g:3291:4: ( (lv_setsNew_2_0= '+=' ) )
9048 9048 // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' )
9049 } 9049 {
9050 9050 // InternalApplicationConfiguration.g:3292:5: (lv_setsNew_2_0= '+=' )
9051 catch (RecognitionException re) { 9051 // InternalApplicationConfiguration.g:3293:6: lv_setsNew_2_0= '+='
9052 recover(input,re); 9052 {
9053 appendSkippedTokens(); 9053 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
9054 } 9054
9055 finally { 9055 newLeafNode(lv_setsNew_2_0, grammarAccess.getRealTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9056 } 9056
9057 return current; 9057
9058 } 9058 if (current==null) {
9059 // $ANTLR end "ruleIntervallNumber" 9059 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9060 9060 }
9061 9061 setWithLastConsumed(current, "setsNew", true, "+=");
9062 // $ANTLR start "entryRuleIntEnumberation" 9062
9063 // InternalApplicationConfiguration.g:3307:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ; 9063
9064 public final EObject entryRuleIntEnumberation() throws RecognitionException { 9064 }
9065 EObject current = null; 9065
9066 9066
9067 EObject iv_ruleIntEnumberation = null; 9067 }
9068 9068
9069 9069
9070 try { 9070 }
9071 // InternalApplicationConfiguration.g:3307:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF ) 9071 break;
9072 // InternalApplicationConfiguration.g:3308:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF 9072 case 2 :
9073 { 9073 // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) )
9074 newCompositeNode(grammarAccess.getIntEnumberationRule()); 9074 {
9075 pushFollow(FOLLOW_1); 9075 // InternalApplicationConfiguration.g:3306:4: ( (lv_setsSum_3_0= '=' ) )
9076 iv_ruleIntEnumberation=ruleIntEnumberation(); 9076 // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' )
9077 9077 {
9078 state._fsp--; 9078 // InternalApplicationConfiguration.g:3307:5: (lv_setsSum_3_0= '=' )
9079 9079 // InternalApplicationConfiguration.g:3308:6: lv_setsSum_3_0= '='
9080 current =iv_ruleIntEnumberation; 9080 {
9081 match(input,EOF,FOLLOW_2); 9081 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
9082 9082
9083 } 9083 newLeafNode(lv_setsSum_3_0, grammarAccess.getRealTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9084 9084
9085 } 9085
9086 9086 if (current==null) {
9087 catch (RecognitionException re) { 9087 current = createModelElement(grammarAccess.getRealTypeScopeRule());
9088 recover(input,re); 9088 }
9089 appendSkippedTokens(); 9089 setWithLastConsumed(current, "setsSum", true, "=");
9090 } 9090
9091 finally { 9091
9092 } 9092 }
9093 return current; 9093
9094 } 9094
9095 // $ANTLR end "entryRuleIntEnumberation" 9095 }
9096 9096
9097 9097
9098 // $ANTLR start "ruleIntEnumberation" 9098 }
9099 // InternalApplicationConfiguration.g:3314:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ; 9099 break;
9100 public final EObject ruleIntEnumberation() throws RecognitionException { 9100
9101 EObject current = null; 9101 }
9102 9102
9103 Token otherlv_1=null; 9103 // InternalApplicationConfiguration.g:3321:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleRealEnumeration ) ) )
9104 Token otherlv_3=null; 9104 int alt46=3;
9105 Token otherlv_5=null; 9105 switch ( input.LA(1) ) {
9106 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9106 case RULE_INT:
9107 9107 {
9108 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9108 int LA46_1 = input.LA(2);
9109 9109
9110 9110 if ( (LA46_1==43) ) {
9111 9111 alt46=2;
9112 enterRule(); 9112 }
9113 9113 else if ( (LA46_1==EOF||(LA46_1>=20 && LA46_1<=21)) ) {
9114 try { 9114 alt46=1;
9115 // InternalApplicationConfiguration.g:3320:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ) 9115 }
9116 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9116 else {
9117 { 9117 NoViableAltException nvae =
9118 // InternalApplicationConfiguration.g:3321:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) 9118 new NoViableAltException("", 46, 1, input);
9119 // InternalApplicationConfiguration.g:3322:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' 9119
9120 { 9120 throw nvae;
9121 // InternalApplicationConfiguration.g:3322:3: () 9121 }
9122 // InternalApplicationConfiguration.g:3323:4: 9122 }
9123 { 9123 break;
9124 9124 case 42:
9125 current = forceCreateModelElement( 9125 {
9126 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(), 9126 alt46=1;
9127 current); 9127 }
9128 9128 break;
9129 9129 case 19:
9130 } 9130 {
9131 9131 alt46=3;
9132 otherlv_1=(Token)match(input,18,FOLLOW_36); 9132 }
9133 9133 break;
9134 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1()); 9134 default:
9135 9135 NoViableAltException nvae =
9136 // InternalApplicationConfiguration.g:3333:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? 9136 new NoViableAltException("", 46, 0, input);
9137 int alt48=2; 9137
9138 int LA48_0 = input.LA(1); 9138 throw nvae;
9139 9139 }
9140 if ( (LA48_0==RULE_INT||LA48_0==12) ) { 9140
9141 alt48=1; 9141 switch (alt46) {
9142 } 9142 case 1 :
9143 switch (alt48) { 9143 // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) )
9144 case 1 : 9144 {
9145 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9145 // InternalApplicationConfiguration.g:3322:4: ( (lv_number_4_0= ruleExactNumber ) )
9146 { 9146 // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber )
9147 // InternalApplicationConfiguration.g:3334:4: ( (lv_entry_2_0= ruleINTLiteral ) ) 9147 {
9148 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9148 // InternalApplicationConfiguration.g:3323:5: (lv_number_4_0= ruleExactNumber )
9149 { 9149 // InternalApplicationConfiguration.g:3324:6: lv_number_4_0= ruleExactNumber
9150 // InternalApplicationConfiguration.g:3335:5: (lv_entry_2_0= ruleINTLiteral ) 9150 {
9151 // InternalApplicationConfiguration.g:3336:6: lv_entry_2_0= ruleINTLiteral 9151
9152 { 9152 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9153 9153
9154 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0()); 9154 pushFollow(FOLLOW_2);
9155 9155 lv_number_4_0=ruleExactNumber();
9156 pushFollow(FOLLOW_14); 9156
9157 lv_entry_2_0=ruleINTLiteral(); 9157 state._fsp--;
9158 9158
9159 state._fsp--; 9159
9160 9160 if (current==null) {
9161 9161 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9162 if (current==null) { 9162 }
9163 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9163 set(
9164 } 9164 current,
9165 add( 9165 "number",
9166 current, 9166 lv_number_4_0,
9167 "entry", 9167 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9168 lv_entry_2_0, 9168 afterParserOrEnumRuleCall();
9169 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9169
9170 afterParserOrEnumRuleCall(); 9170
9171 9171 }
9172 9172
9173 } 9173
9174 9174 }
9175 9175
9176 } 9176
9177 9177 }
9178 // InternalApplicationConfiguration.g:3353:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* 9178 break;
9179 loop47: 9179 case 2 :
9180 do { 9180 // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9181 int alt47=2; 9181 {
9182 int LA47_0 = input.LA(1); 9182 // InternalApplicationConfiguration.g:3342:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9183 9183 // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber )
9184 if ( (LA47_0==19) ) { 9184 {
9185 alt47=1; 9185 // InternalApplicationConfiguration.g:3343:5: (lv_number_5_0= ruleIntervallNumber )
9186 } 9186 // InternalApplicationConfiguration.g:3344:6: lv_number_5_0= ruleIntervallNumber
9187 9187 {
9188 9188
9189 switch (alt47) { 9189 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9190 case 1 : 9190
9191 // InternalApplicationConfiguration.g:3354:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) 9191 pushFollow(FOLLOW_2);
9192 { 9192 lv_number_5_0=ruleIntervallNumber();
9193 otherlv_3=(Token)match(input,19,FOLLOW_37); 9193
9194 9194 state._fsp--;
9195 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0()); 9195
9196 9196
9197 // InternalApplicationConfiguration.g:3358:5: ( (lv_entry_4_0= ruleINTLiteral ) ) 9197 if (current==null) {
9198 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9198 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9199 { 9199 }
9200 // InternalApplicationConfiguration.g:3359:6: (lv_entry_4_0= ruleINTLiteral ) 9200 set(
9201 // InternalApplicationConfiguration.g:3360:7: lv_entry_4_0= ruleINTLiteral 9201 current,
9202 { 9202 "number",
9203 9203 lv_number_5_0,
9204 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0()); 9204 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9205 9205 afterParserOrEnumRuleCall();
9206 pushFollow(FOLLOW_14); 9206
9207 lv_entry_4_0=ruleINTLiteral(); 9207
9208 9208 }
9209 state._fsp--; 9209
9210 9210
9211 9211 }
9212 if (current==null) { 9212
9213 current = createModelElementForParent(grammarAccess.getIntEnumberationRule()); 9213
9214 } 9214 }
9215 add( 9215 break;
9216 current, 9216 case 3 :
9217 "entry", 9217 // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9218 lv_entry_4_0, 9218 {
9219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 9219 // InternalApplicationConfiguration.g:3362:4: ( (lv_number_6_0= ruleRealEnumeration ) )
9220 afterParserOrEnumRuleCall(); 9220 // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration )
9221 9221 {
9222 9222 // InternalApplicationConfiguration.g:3363:5: (lv_number_6_0= ruleRealEnumeration )
9223 } 9223 // InternalApplicationConfiguration.g:3364:6: lv_number_6_0= ruleRealEnumeration
9224 9224 {
9225 9225
9226 } 9226 newCompositeNode(grammarAccess.getRealTypeScopeAccess().getNumberRealEnumerationParserRuleCall_3_2_0());
9227 9227
9228 9228 pushFollow(FOLLOW_2);
9229 } 9229 lv_number_6_0=ruleRealEnumeration();
9230 break; 9230
9231 9231 state._fsp--;
9232 default : 9232
9233 break loop47; 9233
9234 } 9234 if (current==null) {
9235 } while (true); 9235 current = createModelElementForParent(grammarAccess.getRealTypeScopeRule());
9236 9236 }
9237 9237 set(
9238 } 9238 current,
9239 break; 9239 "number",
9240 9240 lv_number_6_0,
9241 } 9241 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
9242 9242 afterParserOrEnumRuleCall();
9243 otherlv_5=(Token)match(input,20,FOLLOW_2); 9243
9244 9244
9245 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3()); 9245 }
9246 9246
9247 9247
9248 } 9248 }
9249 9249
9250 9250
9251 } 9251 }
9252 9252 break;
9253 9253
9254 leaveRule(); 9254 }
9255 9255
9256 } 9256
9257 9257 }
9258 catch (RecognitionException re) { 9258
9259 recover(input,re); 9259
9260 appendSkippedTokens(); 9260 }
9261 } 9261
9262 finally { 9262
9263 } 9263 leaveRule();
9264 return current; 9264
9265 } 9265 }
9266 // $ANTLR end "ruleIntEnumberation" 9266
9267 9267 catch (RecognitionException re) {
9268 9268 recover(input,re);
9269 // $ANTLR start "entryRuleRealEnumeration" 9269 appendSkippedTokens();
9270 // InternalApplicationConfiguration.g:3387:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ; 9270 }
9271 public final EObject entryRuleRealEnumeration() throws RecognitionException { 9271 finally {
9272 EObject current = null; 9272 }
9273 9273 return current;
9274 EObject iv_ruleRealEnumeration = null; 9274 }
9275 9275 // $ANTLR end "ruleRealTypeScope"
9276 9276
9277 try { 9277
9278 // InternalApplicationConfiguration.g:3387:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF ) 9278 // $ANTLR start "entryRuleStringTypeScope"
9279 // InternalApplicationConfiguration.g:3388:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF 9279 // InternalApplicationConfiguration.g:3386:1: entryRuleStringTypeScope returns [EObject current=null] : iv_ruleStringTypeScope= ruleStringTypeScope EOF ;
9280 { 9280 public final EObject entryRuleStringTypeScope() throws RecognitionException {
9281 newCompositeNode(grammarAccess.getRealEnumerationRule()); 9281 EObject current = null;
9282 pushFollow(FOLLOW_1); 9282
9283 iv_ruleRealEnumeration=ruleRealEnumeration(); 9283 EObject iv_ruleStringTypeScope = null;
9284 9284
9285 state._fsp--; 9285
9286 9286 try {
9287 current =iv_ruleRealEnumeration; 9287 // InternalApplicationConfiguration.g:3386:56: (iv_ruleStringTypeScope= ruleStringTypeScope EOF )
9288 match(input,EOF,FOLLOW_2); 9288 // InternalApplicationConfiguration.g:3387:2: iv_ruleStringTypeScope= ruleStringTypeScope EOF
9289 9289 {
9290 } 9290 newCompositeNode(grammarAccess.getStringTypeScopeRule());
9291 9291 pushFollow(FOLLOW_1);
9292 } 9292 iv_ruleStringTypeScope=ruleStringTypeScope();
9293 9293
9294 catch (RecognitionException re) { 9294 state._fsp--;
9295 recover(input,re); 9295
9296 appendSkippedTokens(); 9296 current =iv_ruleStringTypeScope;
9297 } 9297 match(input,EOF,FOLLOW_2);
9298 finally { 9298
9299 } 9299 }
9300 return current; 9300
9301 } 9301 }
9302 // $ANTLR end "entryRuleRealEnumeration" 9302
9303 9303 catch (RecognitionException re) {
9304 9304 recover(input,re);
9305 // $ANTLR start "ruleRealEnumeration" 9305 appendSkippedTokens();
9306 // InternalApplicationConfiguration.g:3394:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ; 9306 }
9307 public final EObject ruleRealEnumeration() throws RecognitionException { 9307 finally {
9308 EObject current = null; 9308 }
9309 9309 return current;
9310 Token otherlv_1=null; 9310 }
9311 Token otherlv_3=null; 9311 // $ANTLR end "entryRuleStringTypeScope"
9312 Token otherlv_5=null; 9312
9313 AntlrDatatypeRuleToken lv_entry_2_0 = null; 9313
9314 9314 // $ANTLR start "ruleStringTypeScope"
9315 AntlrDatatypeRuleToken lv_entry_4_0 = null; 9315 // InternalApplicationConfiguration.g:3393:1: ruleStringTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) ;
9316 9316 public final EObject ruleStringTypeScope() throws RecognitionException {
9317 9317 EObject current = null;
9318 9318
9319 enterRule(); 9319 Token otherlv_0=null;
9320 9320 Token lv_setsNew_2_0=null;
9321 try { 9321 Token lv_setsSum_3_0=null;
9322 // InternalApplicationConfiguration.g:3400:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ) 9322 EObject lv_type_1_0 = null;
9323 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9323
9324 { 9324 EObject lv_number_4_0 = null;
9325 // InternalApplicationConfiguration.g:3401:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) 9325
9326 // InternalApplicationConfiguration.g:3402:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' 9326 EObject lv_number_5_0 = null;
9327 { 9327
9328 // InternalApplicationConfiguration.g:3402:3: () 9328 EObject lv_number_6_0 = null;
9329 // InternalApplicationConfiguration.g:3403:4: 9329
9330 { 9330
9331 9331
9332 current = forceCreateModelElement( 9332 enterRule();
9333 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(), 9333
9334 current); 9334 try {
9335 9335 // InternalApplicationConfiguration.g:3399:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) ) )
9336 9336 // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9337 } 9337 {
9338 9338 // InternalApplicationConfiguration.g:3400:2: (otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) ) )
9339 otherlv_1=(Token)match(input,18,FOLLOW_36); 9339 // InternalApplicationConfiguration.g:3401:3: otherlv_0= '#' ( (lv_type_1_0= ruleStringReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9340 9340 {
9341 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9341 otherlv_0=(Token)match(input,34,FOLLOW_37);
9342 9342
9343 // InternalApplicationConfiguration.g:3413:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? 9343 newLeafNode(otherlv_0, grammarAccess.getStringTypeScopeAccess().getNumberSignKeyword_0());
9344 int alt50=2; 9344
9345 int LA50_0 = input.LA(1); 9345 // InternalApplicationConfiguration.g:3405:3: ( (lv_type_1_0= ruleStringReference ) )
9346 9346 // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference )
9347 if ( (LA50_0==RULE_INT||LA50_0==12) ) { 9347 {
9348 alt50=1; 9348 // InternalApplicationConfiguration.g:3406:4: (lv_type_1_0= ruleStringReference )
9349 } 9349 // InternalApplicationConfiguration.g:3407:5: lv_type_1_0= ruleStringReference
9350 switch (alt50) { 9350 {
9351 case 1 : 9351
9352 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9352 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getTypeStringReferenceParserRuleCall_1_0());
9353 { 9353
9354 // InternalApplicationConfiguration.g:3414:4: ( (lv_entry_2_0= ruleREALLiteral ) ) 9354 pushFollow(FOLLOW_31);
9355 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9355 lv_type_1_0=ruleStringReference();
9356 { 9356
9357 // InternalApplicationConfiguration.g:3415:5: (lv_entry_2_0= ruleREALLiteral ) 9357 state._fsp--;
9358 // InternalApplicationConfiguration.g:3416:6: lv_entry_2_0= ruleREALLiteral 9358
9359 { 9359
9360 9360 if (current==null) {
9361 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0()); 9361 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9362 9362 }
9363 pushFollow(FOLLOW_14); 9363 set(
9364 lv_entry_2_0=ruleREALLiteral(); 9364 current,
9365 9365 "type",
9366 state._fsp--; 9366 lv_type_1_0,
9367 9367 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
9368 9368 afterParserOrEnumRuleCall();
9369 if (current==null) { 9369
9370 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9370
9371 } 9371 }
9372 add( 9372
9373 current, 9373
9374 "entry", 9374 }
9375 lv_entry_2_0, 9375
9376 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9376 // InternalApplicationConfiguration.g:3424:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) )
9377 afterParserOrEnumRuleCall(); 9377 int alt47=2;
9378 9378 int LA47_0 = input.LA(1);
9379 9379
9380 } 9380 if ( (LA47_0==35) ) {
9381 9381 alt47=1;
9382 9382 }
9383 } 9383 else if ( (LA47_0==18) ) {
9384 9384 alt47=2;
9385 // InternalApplicationConfiguration.g:3433:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* 9385 }
9386 loop49: 9386 else {
9387 do { 9387 NoViableAltException nvae =
9388 int alt49=2; 9388 new NoViableAltException("", 47, 0, input);
9389 int LA49_0 = input.LA(1); 9389
9390 9390 throw nvae;
9391 if ( (LA49_0==19) ) { 9391 }
9392 alt49=1; 9392 switch (alt47) {
9393 } 9393 case 1 :
9394 9394 // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) )
9395 9395 {
9396 switch (alt49) { 9396 // InternalApplicationConfiguration.g:3425:4: ( (lv_setsNew_2_0= '+=' ) )
9397 case 1 : 9397 // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' )
9398 // InternalApplicationConfiguration.g:3434:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) 9398 {
9399 { 9399 // InternalApplicationConfiguration.g:3426:5: (lv_setsNew_2_0= '+=' )
9400 otherlv_3=(Token)match(input,19,FOLLOW_37); 9400 // InternalApplicationConfiguration.g:3427:6: lv_setsNew_2_0= '+='
9401 9401 {
9402 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0()); 9402 lv_setsNew_2_0=(Token)match(input,35,FOLLOW_35);
9403 9403
9404 // InternalApplicationConfiguration.g:3438:5: ( (lv_entry_4_0= ruleREALLiteral ) ) 9404 newLeafNode(lv_setsNew_2_0, grammarAccess.getStringTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0());
9405 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9405
9406 { 9406
9407 // InternalApplicationConfiguration.g:3439:6: (lv_entry_4_0= ruleREALLiteral ) 9407 if (current==null) {
9408 // InternalApplicationConfiguration.g:3440:7: lv_entry_4_0= ruleREALLiteral 9408 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9409 { 9409 }
9410 9410 setWithLastConsumed(current, "setsNew", true, "+=");
9411 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0()); 9411
9412 9412
9413 pushFollow(FOLLOW_14); 9413 }
9414 lv_entry_4_0=ruleREALLiteral(); 9414
9415 9415
9416 state._fsp--; 9416 }
9417 9417
9418 9418
9419 if (current==null) { 9419 }
9420 current = createModelElementForParent(grammarAccess.getRealEnumerationRule()); 9420 break;
9421 } 9421 case 2 :
9422 add( 9422 // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) )
9423 current, 9423 {
9424 "entry", 9424 // InternalApplicationConfiguration.g:3440:4: ( (lv_setsSum_3_0= '=' ) )
9425 lv_entry_4_0, 9425 // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' )
9426 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 9426 {
9427 afterParserOrEnumRuleCall(); 9427 // InternalApplicationConfiguration.g:3441:5: (lv_setsSum_3_0= '=' )
9428 9428 // InternalApplicationConfiguration.g:3442:6: lv_setsSum_3_0= '='
9429 9429 {
9430 } 9430 lv_setsSum_3_0=(Token)match(input,18,FOLLOW_35);
9431 9431
9432 9432 newLeafNode(lv_setsSum_3_0, grammarAccess.getStringTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0());
9433 } 9433
9434 9434
9435 9435 if (current==null) {
9436 } 9436 current = createModelElement(grammarAccess.getStringTypeScopeRule());
9437 break; 9437 }
9438 9438 setWithLastConsumed(current, "setsSum", true, "=");
9439 default : 9439
9440 break loop49; 9440
9441 } 9441 }
9442 } while (true); 9442
9443 9443
9444 9444 }
9445 } 9445
9446 break; 9446
9447 9447 }
9448 } 9448 break;
9449 9449
9450 otherlv_5=(Token)match(input,20,FOLLOW_2); 9450 }
9451 9451
9452 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3()); 9452 // InternalApplicationConfiguration.g:3455:3: ( ( (lv_number_4_0= ruleExactNumber ) ) | ( (lv_number_5_0= ruleIntervallNumber ) ) | ( (lv_number_6_0= ruleStringEnumeration ) ) )
9453 9453 int alt48=3;
9454 9454 switch ( input.LA(1) ) {
9455 } 9455 case RULE_INT:
9456 9456 {
9457 9457 int LA48_1 = input.LA(2);
9458 } 9458
9459 9459 if ( (LA48_1==43) ) {
9460 9460 alt48=2;
9461 leaveRule(); 9461 }
9462 9462 else if ( (LA48_1==EOF||(LA48_1>=20 && LA48_1<=21)) ) {
9463 } 9463 alt48=1;
9464 9464 }
9465 catch (RecognitionException re) { 9465 else {
9466 recover(input,re); 9466 NoViableAltException nvae =
9467 appendSkippedTokens(); 9467 new NoViableAltException("", 48, 1, input);
9468 } 9468
9469 finally { 9469 throw nvae;
9470 } 9470 }
9471 return current; 9471 }
9472 } 9472 break;
9473 // $ANTLR end "ruleRealEnumeration" 9473 case 42:
9474 9474 {
9475 9475 alt48=1;
9476 // $ANTLR start "entryRuleStringEnumeration" 9476 }
9477 // InternalApplicationConfiguration.g:3467:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ; 9477 break;
9478 public final EObject entryRuleStringEnumeration() throws RecognitionException { 9478 case 19:
9479 EObject current = null; 9479 {
9480 9480 alt48=3;
9481 EObject iv_ruleStringEnumeration = null; 9481 }
9482 9482 break;
9483 9483 default:
9484 try { 9484 NoViableAltException nvae =
9485 // InternalApplicationConfiguration.g:3467:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF ) 9485 new NoViableAltException("", 48, 0, input);
9486 // InternalApplicationConfiguration.g:3468:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF 9486
9487 { 9487 throw nvae;
9488 newCompositeNode(grammarAccess.getStringEnumerationRule()); 9488 }
9489 pushFollow(FOLLOW_1); 9489
9490 iv_ruleStringEnumeration=ruleStringEnumeration(); 9490 switch (alt48) {
9491 9491 case 1 :
9492 state._fsp--; 9492 // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) )
9493 9493 {
9494 current =iv_ruleStringEnumeration; 9494 // InternalApplicationConfiguration.g:3456:4: ( (lv_number_4_0= ruleExactNumber ) )
9495 match(input,EOF,FOLLOW_2); 9495 // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber )
9496 9496 {
9497 } 9497 // InternalApplicationConfiguration.g:3457:5: (lv_number_4_0= ruleExactNumber )
9498 9498 // InternalApplicationConfiguration.g:3458:6: lv_number_4_0= ruleExactNumber
9499 } 9499 {
9500 9500
9501 catch (RecognitionException re) { 9501 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberExactNumberParserRuleCall_3_0_0());
9502 recover(input,re); 9502
9503 appendSkippedTokens(); 9503 pushFollow(FOLLOW_2);
9504 } 9504 lv_number_4_0=ruleExactNumber();
9505 finally { 9505
9506 } 9506 state._fsp--;
9507 return current; 9507
9508 } 9508
9509 // $ANTLR end "entryRuleStringEnumeration" 9509 if (current==null) {
9510 9510 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9511 9511 }
9512 // $ANTLR start "ruleStringEnumeration" 9512 set(
9513 // InternalApplicationConfiguration.g:3474:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ; 9513 current,
9514 public final EObject ruleStringEnumeration() throws RecognitionException { 9514 "number",
9515 EObject current = null; 9515 lv_number_4_0,
9516 9516 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
9517 Token otherlv_1=null; 9517 afterParserOrEnumRuleCall();
9518 Token lv_entry_2_0=null; 9518
9519 Token otherlv_3=null; 9519
9520 Token lv_entry_4_0=null; 9520 }
9521 Token otherlv_5=null; 9521
9522 9522
9523 9523 }
9524 enterRule(); 9524
9525 9525
9526 try { 9526 }
9527 // InternalApplicationConfiguration.g:3480:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ) 9527 break;
9528 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9528 case 2 :
9529 { 9529 // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9530 // InternalApplicationConfiguration.g:3481:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) 9530 {
9531 // InternalApplicationConfiguration.g:3482:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' 9531 // InternalApplicationConfiguration.g:3476:4: ( (lv_number_5_0= ruleIntervallNumber ) )
9532 { 9532 // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber )
9533 // InternalApplicationConfiguration.g:3482:3: () 9533 {
9534 // InternalApplicationConfiguration.g:3483:4: 9534 // InternalApplicationConfiguration.g:3477:5: (lv_number_5_0= ruleIntervallNumber )
9535 { 9535 // InternalApplicationConfiguration.g:3478:6: lv_number_5_0= ruleIntervallNumber
9536 9536 {
9537 current = forceCreateModelElement( 9537
9538 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(), 9538 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberIntervallNumberParserRuleCall_3_1_0());
9539 current); 9539
9540 9540 pushFollow(FOLLOW_2);
9541 9541 lv_number_5_0=ruleIntervallNumber();
9542 } 9542
9543 9543 state._fsp--;
9544 otherlv_1=(Token)match(input,18,FOLLOW_38); 9544
9545 9545
9546 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1()); 9546 if (current==null) {
9547 9547 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9548 // InternalApplicationConfiguration.g:3493:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? 9548 }
9549 int alt52=2; 9549 set(
9550 int LA52_0 = input.LA(1); 9550 current,
9551 9551 "number",
9552 if ( (LA52_0==RULE_STRING) ) { 9552 lv_number_5_0,
9553 alt52=1; 9553 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
9554 } 9554 afterParserOrEnumRuleCall();
9555 switch (alt52) { 9555
9556 case 1 : 9556
9557 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9557 }
9558 { 9558
9559 // InternalApplicationConfiguration.g:3494:4: ( (lv_entry_2_0= RULE_STRING ) ) 9559
9560 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9560 }
9561 { 9561
9562 // InternalApplicationConfiguration.g:3495:5: (lv_entry_2_0= RULE_STRING ) 9562
9563 // InternalApplicationConfiguration.g:3496:6: lv_entry_2_0= RULE_STRING 9563 }
9564 { 9564 break;
9565 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9565 case 3 :
9566 9566 // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9567 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0()); 9567 {
9568 9568 // InternalApplicationConfiguration.g:3496:4: ( (lv_number_6_0= ruleStringEnumeration ) )
9569 9569 // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration )
9570 if (current==null) { 9570 {
9571 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9571 // InternalApplicationConfiguration.g:3497:5: (lv_number_6_0= ruleStringEnumeration )
9572 } 9572 // InternalApplicationConfiguration.g:3498:6: lv_number_6_0= ruleStringEnumeration
9573 addWithLastConsumed( 9573 {
9574 current, 9574
9575 "entry", 9575 newCompositeNode(grammarAccess.getStringTypeScopeAccess().getNumberStringEnumerationParserRuleCall_3_2_0());
9576 lv_entry_2_0, 9576
9577 "org.eclipse.xtext.common.Terminals.STRING"); 9577 pushFollow(FOLLOW_2);
9578 9578 lv_number_6_0=ruleStringEnumeration();
9579 9579
9580 } 9580 state._fsp--;
9581 9581
9582 9582
9583 } 9583 if (current==null) {
9584 9584 current = createModelElementForParent(grammarAccess.getStringTypeScopeRule());
9585 // InternalApplicationConfiguration.g:3512:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* 9585 }
9586 loop51: 9586 set(
9587 do { 9587 current,
9588 int alt51=2; 9588 "number",
9589 int LA51_0 = input.LA(1); 9589 lv_number_6_0,
9590 9590 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
9591 if ( (LA51_0==19) ) { 9591 afterParserOrEnumRuleCall();
9592 alt51=1; 9592
9593 } 9593
9594 9594 }
9595 9595
9596 switch (alt51) { 9596
9597 case 1 : 9597 }
9598 // InternalApplicationConfiguration.g:3513:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) 9598
9599 { 9599
9600 otherlv_3=(Token)match(input,19,FOLLOW_10); 9600 }
9601 9601 break;
9602 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0()); 9602
9603 9603 }
9604 // InternalApplicationConfiguration.g:3517:5: ( (lv_entry_4_0= RULE_STRING ) ) 9604
9605 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9605
9606 { 9606 }
9607 // InternalApplicationConfiguration.g:3518:6: (lv_entry_4_0= RULE_STRING ) 9607
9608 // InternalApplicationConfiguration.g:3519:7: lv_entry_4_0= RULE_STRING 9608
9609 { 9609 }
9610 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_14); 9610
9611 9611
9612 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0()); 9612 leaveRule();
9613 9613
9614 9614 }
9615 if (current==null) { 9615
9616 current = createModelElement(grammarAccess.getStringEnumerationRule()); 9616 catch (RecognitionException re) {
9617 } 9617 recover(input,re);
9618 addWithLastConsumed( 9618 appendSkippedTokens();
9619 current, 9619 }
9620 "entry", 9620 finally {
9621 lv_entry_4_0, 9621 }
9622 "org.eclipse.xtext.common.Terminals.STRING"); 9622 return current;
9623 9623 }
9624 9624 // $ANTLR end "ruleStringTypeScope"
9625 } 9625
9626 9626
9627 9627 // $ANTLR start "entryRuleClassReference"
9628 } 9628 // InternalApplicationConfiguration.g:3520:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ;
9629 9629 public final EObject entryRuleClassReference() throws RecognitionException {
9630 9630 EObject current = null;
9631 } 9631
9632 break; 9632 EObject iv_ruleClassReference = null;
9633 9633
9634 default : 9634
9635 break loop51; 9635 try {
9636 } 9636 // InternalApplicationConfiguration.g:3520:55: (iv_ruleClassReference= ruleClassReference EOF )
9637 } while (true); 9637 // InternalApplicationConfiguration.g:3521:2: iv_ruleClassReference= ruleClassReference EOF
9638 9638 {
9639 9639 newCompositeNode(grammarAccess.getClassReferenceRule());
9640 } 9640 pushFollow(FOLLOW_1);
9641 break; 9641 iv_ruleClassReference=ruleClassReference();
9642 9642
9643 } 9643 state._fsp--;
9644 9644
9645 otherlv_5=(Token)match(input,20,FOLLOW_2); 9645 current =iv_ruleClassReference;
9646 9646 match(input,EOF,FOLLOW_2);
9647 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3()); 9647
9648 9648 }
9649 9649
9650 } 9650 }
9651 9651
9652 9652 catch (RecognitionException re) {
9653 } 9653 recover(input,re);
9654 9654 appendSkippedTokens();
9655 9655 }
9656 leaveRule(); 9656 finally {
9657 9657 }
9658 } 9658 return current;
9659 9659 }
9660 catch (RecognitionException re) { 9660 // $ANTLR end "entryRuleClassReference"
9661 recover(input,re); 9661
9662 appendSkippedTokens(); 9662
9663 } 9663 // $ANTLR start "ruleClassReference"
9664 finally { 9664 // InternalApplicationConfiguration.g:3527:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) ;
9665 } 9665 public final EObject ruleClassReference() throws RecognitionException {
9666 return current; 9666 EObject current = null;
9667 } 9667
9668 // $ANTLR end "ruleStringEnumeration" 9668 Token otherlv_0=null;
9669 9669 Token otherlv_2=null;
9670 9670 EObject lv_element_1_0 = null;
9671 // $ANTLR start "entryRuleScopeDeclaration" 9671
9672 // InternalApplicationConfiguration.g:3545:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; 9672
9673 public final EObject entryRuleScopeDeclaration() throws RecognitionException { 9673
9674 EObject current = null; 9674 enterRule();
9675 9675
9676 EObject iv_ruleScopeDeclaration = null; 9676 try {
9677 9677 // InternalApplicationConfiguration.g:3533:2: ( (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' ) )
9678 9678 // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9679 try { 9679 {
9680 // InternalApplicationConfiguration.g:3545:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) 9680 // InternalApplicationConfiguration.g:3534:2: (otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>' )
9681 // InternalApplicationConfiguration.g:3546:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF 9681 // InternalApplicationConfiguration.g:3535:3: otherlv_0= '<' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= '>'
9682 { 9682 {
9683 newCompositeNode(grammarAccess.getScopeDeclarationRule()); 9683 otherlv_0=(Token)match(input,36,FOLLOW_6);
9684 pushFollow(FOLLOW_1); 9684
9685 iv_ruleScopeDeclaration=ruleScopeDeclaration(); 9685 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLessThanSignKeyword_0());
9686 9686
9687 state._fsp--; 9687 // InternalApplicationConfiguration.g:3539:3: ( (lv_element_1_0= ruleMetamodelElement ) )
9688 9688 // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement )
9689 current =iv_ruleScopeDeclaration; 9689 {
9690 match(input,EOF,FOLLOW_2); 9690 // InternalApplicationConfiguration.g:3540:4: (lv_element_1_0= ruleMetamodelElement )
9691 9691 // InternalApplicationConfiguration.g:3541:5: lv_element_1_0= ruleMetamodelElement
9692 } 9692 {
9693 9693
9694 } 9694 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
9695 9695
9696 catch (RecognitionException re) { 9696 pushFollow(FOLLOW_38);
9697 recover(input,re); 9697 lv_element_1_0=ruleMetamodelElement();
9698 appendSkippedTokens(); 9698
9699 } 9699 state._fsp--;
9700 finally { 9700
9701 } 9701
9702 return current; 9702 if (current==null) {
9703 } 9703 current = createModelElementForParent(grammarAccess.getClassReferenceRule());
9704 // $ANTLR end "entryRuleScopeDeclaration" 9704 }
9705 9705 set(
9706 9706 current,
9707 // $ANTLR start "ruleScopeDeclaration" 9707 "element",
9708 // InternalApplicationConfiguration.g:3552:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; 9708 lv_element_1_0,
9709 public final EObject ruleScopeDeclaration() throws RecognitionException { 9709 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
9710 EObject current = null; 9710 afterParserOrEnumRuleCall();
9711 9711
9712 Token otherlv_0=null; 9712
9713 Token lv_name_1_0=null; 9713 }
9714 EObject lv_specification_2_0 = null; 9714
9715 9715
9716 9716 }
9717 9717
9718 enterRule(); 9718 otherlv_2=(Token)match(input,37,FOLLOW_2);
9719 9719
9720 try { 9720 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getGreaterThanSignKeyword_2());
9721 // InternalApplicationConfiguration.g:3558:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) 9721
9722 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9722
9723 { 9723 }
9724 // InternalApplicationConfiguration.g:3559:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) 9724
9725 // InternalApplicationConfiguration.g:3560:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) 9725
9726 { 9726 }
9727 otherlv_0=(Token)match(input,42,FOLLOW_6); 9727
9728 9728
9729 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); 9729 leaveRule();
9730 9730
9731 // InternalApplicationConfiguration.g:3564:3: ( (lv_name_1_0= RULE_ID ) ) 9731 }
9732 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9732
9733 { 9733 catch (RecognitionException re) {
9734 // InternalApplicationConfiguration.g:3565:4: (lv_name_1_0= RULE_ID ) 9734 recover(input,re);
9735 // InternalApplicationConfiguration.g:3566:5: lv_name_1_0= RULE_ID 9735 appendSkippedTokens();
9736 { 9736 }
9737 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_16); 9737 finally {
9738 9738 }
9739 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); 9739 return current;
9740 9740 }
9741 9741 // $ANTLR end "ruleClassReference"
9742 if (current==null) { 9742
9743 current = createModelElement(grammarAccess.getScopeDeclarationRule()); 9743
9744 } 9744 // $ANTLR start "entryRuleObjectReference"
9745 setWithLastConsumed( 9745 // InternalApplicationConfiguration.g:3566:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ;
9746 current, 9746 public final EObject entryRuleObjectReference() throws RecognitionException {
9747 "name", 9747 EObject current = null;
9748 lv_name_1_0, 9748
9749 "org.eclipse.xtext.common.Terminals.ID"); 9749 EObject iv_ruleObjectReference = null;
9750 9750
9751 9751
9752 } 9752 try {
9753 9753 // InternalApplicationConfiguration.g:3566:56: (iv_ruleObjectReference= ruleObjectReference EOF )
9754 9754 // InternalApplicationConfiguration.g:3567:2: iv_ruleObjectReference= ruleObjectReference EOF
9755 } 9755 {
9756 9756 newCompositeNode(grammarAccess.getObjectReferenceRule());
9757 // InternalApplicationConfiguration.g:3582:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) 9757 pushFollow(FOLLOW_1);
9758 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9758 iv_ruleObjectReference=ruleObjectReference();
9759 { 9759
9760 // InternalApplicationConfiguration.g:3583:4: (lv_specification_2_0= ruleScopeSpecification ) 9760 state._fsp--;
9761 // InternalApplicationConfiguration.g:3584:5: lv_specification_2_0= ruleScopeSpecification 9761
9762 { 9762 current =iv_ruleObjectReference;
9763 9763 match(input,EOF,FOLLOW_2);
9764 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); 9764
9765 9765 }
9766 pushFollow(FOLLOW_2); 9766
9767 lv_specification_2_0=ruleScopeSpecification(); 9767 }
9768 9768
9769 state._fsp--; 9769 catch (RecognitionException re) {
9770 9770 recover(input,re);
9771 9771 appendSkippedTokens();
9772 if (current==null) { 9772 }
9773 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); 9773 finally {
9774 } 9774 }
9775 set( 9775 return current;
9776 current, 9776 }
9777 "specification", 9777 // $ANTLR end "entryRuleObjectReference"
9778 lv_specification_2_0, 9778
9779 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 9779
9780 afterParserOrEnumRuleCall(); 9780 // $ANTLR start "ruleObjectReference"
9781 9781 // InternalApplicationConfiguration.g:3573:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ;
9782 9782 public final EObject ruleObjectReference() throws RecognitionException {
9783 } 9783 EObject current = null;
9784 9784
9785 9785 Token otherlv_1=null;
9786 } 9786
9787 9787
9788 9788 enterRule();
9789 } 9789
9790 9790 try {
9791 9791 // InternalApplicationConfiguration.g:3579:2: ( ( () otherlv_1= 'node' ) )
9792 } 9792 // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' )
9793 9793 {
9794 9794 // InternalApplicationConfiguration.g:3580:2: ( () otherlv_1= 'node' )
9795 leaveRule(); 9795 // InternalApplicationConfiguration.g:3581:3: () otherlv_1= 'node'
9796 9796 {
9797 } 9797 // InternalApplicationConfiguration.g:3581:3: ()
9798 9798 // InternalApplicationConfiguration.g:3582:4:
9799 catch (RecognitionException re) { 9799 {
9800 recover(input,re); 9800
9801 appendSkippedTokens(); 9801 current = forceCreateModelElement(
9802 } 9802 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
9803 finally { 9803 current);
9804 } 9804
9805 return current; 9805
9806 } 9806 }
9807 // $ANTLR end "ruleScopeDeclaration" 9807
9808 9808 otherlv_1=(Token)match(input,38,FOLLOW_2);
9809 9809
9810 // $ANTLR start "entryRuleScopeReference" 9810 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1());
9811 // InternalApplicationConfiguration.g:3605:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; 9811
9812 public final EObject entryRuleScopeReference() throws RecognitionException { 9812
9813 EObject current = null; 9813 }
9814 9814
9815 EObject iv_ruleScopeReference = null; 9815
9816 9816 }
9817 9817
9818 try { 9818
9819 // InternalApplicationConfiguration.g:3605:55: (iv_ruleScopeReference= ruleScopeReference EOF ) 9819 leaveRule();
9820 // InternalApplicationConfiguration.g:3606:2: iv_ruleScopeReference= ruleScopeReference EOF 9820
9821 { 9821 }
9822 newCompositeNode(grammarAccess.getScopeReferenceRule()); 9822
9823 pushFollow(FOLLOW_1); 9823 catch (RecognitionException re) {
9824 iv_ruleScopeReference=ruleScopeReference(); 9824 recover(input,re);
9825 9825 appendSkippedTokens();
9826 state._fsp--; 9826 }
9827 9827 finally {
9828 current =iv_ruleScopeReference; 9828 }
9829 match(input,EOF,FOLLOW_2); 9829 return current;
9830 9830 }
9831 } 9831 // $ANTLR end "ruleObjectReference"
9832 9832
9833 } 9833
9834 9834 // $ANTLR start "entryRuleIntegerReference"
9835 catch (RecognitionException re) { 9835 // InternalApplicationConfiguration.g:3596:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ;
9836 recover(input,re); 9836 public final EObject entryRuleIntegerReference() throws RecognitionException {
9837 appendSkippedTokens(); 9837 EObject current = null;
9838 } 9838
9839 finally { 9839 EObject iv_ruleIntegerReference = null;
9840 } 9840
9841 return current; 9841
9842 } 9842 try {
9843 // $ANTLR end "entryRuleScopeReference" 9843 // InternalApplicationConfiguration.g:3596:57: (iv_ruleIntegerReference= ruleIntegerReference EOF )
9844 9844 // InternalApplicationConfiguration.g:3597:2: iv_ruleIntegerReference= ruleIntegerReference EOF
9845 9845 {
9846 // $ANTLR start "ruleScopeReference" 9846 newCompositeNode(grammarAccess.getIntegerReferenceRule());
9847 // InternalApplicationConfiguration.g:3612:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 9847 pushFollow(FOLLOW_1);
9848 public final EObject ruleScopeReference() throws RecognitionException { 9848 iv_ruleIntegerReference=ruleIntegerReference();
9849 EObject current = null; 9849
9850 9850 state._fsp--;
9851 Token otherlv_0=null; 9851
9852 9852 current =iv_ruleIntegerReference;
9853 9853 match(input,EOF,FOLLOW_2);
9854 enterRule(); 9854
9855 9855 }
9856 try { 9856
9857 // InternalApplicationConfiguration.g:3618:2: ( ( (otherlv_0= RULE_ID ) ) ) 9857 }
9858 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9858
9859 { 9859 catch (RecognitionException re) {
9860 // InternalApplicationConfiguration.g:3619:2: ( (otherlv_0= RULE_ID ) ) 9860 recover(input,re);
9861 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9861 appendSkippedTokens();
9862 { 9862 }
9863 // InternalApplicationConfiguration.g:3620:3: (otherlv_0= RULE_ID ) 9863 finally {
9864 // InternalApplicationConfiguration.g:3621:4: otherlv_0= RULE_ID 9864 }
9865 { 9865 return current;
9866 9866 }
9867 if (current==null) { 9867 // $ANTLR end "entryRuleIntegerReference"
9868 current = createModelElement(grammarAccess.getScopeReferenceRule()); 9868
9869 } 9869
9870 9870 // $ANTLR start "ruleIntegerReference"
9871 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 9871 // InternalApplicationConfiguration.g:3603:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ;
9872 9872 public final EObject ruleIntegerReference() throws RecognitionException {
9873 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); 9873 EObject current = null;
9874 9874
9875 9875 Token otherlv_1=null;
9876 } 9876
9877 9877
9878 9878 enterRule();
9879 } 9879
9880 9880 try {
9881 9881 // InternalApplicationConfiguration.g:3609:2: ( ( () otherlv_1= 'int' ) )
9882 } 9882 // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' )
9883 9883 {
9884 9884 // InternalApplicationConfiguration.g:3610:2: ( () otherlv_1= 'int' )
9885 leaveRule(); 9885 // InternalApplicationConfiguration.g:3611:3: () otherlv_1= 'int'
9886 9886 {
9887 } 9887 // InternalApplicationConfiguration.g:3611:3: ()
9888 9888 // InternalApplicationConfiguration.g:3612:4:
9889 catch (RecognitionException re) { 9889 {
9890 recover(input,re); 9890
9891 appendSkippedTokens(); 9891 current = forceCreateModelElement(
9892 } 9892 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
9893 finally { 9893 current);
9894 } 9894
9895 return current; 9895
9896 } 9896 }
9897 // $ANTLR end "ruleScopeReference" 9897
9898 9898 otherlv_1=(Token)match(input,39,FOLLOW_2);
9899 9899
9900 // $ANTLR start "entryRuleScope" 9900 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
9901 // InternalApplicationConfiguration.g:3635:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; 9901
9902 public final EObject entryRuleScope() throws RecognitionException { 9902
9903 EObject current = null; 9903 }
9904 9904
9905 EObject iv_ruleScope = null; 9905
9906 9906 }
9907 9907
9908 try { 9908
9909 // InternalApplicationConfiguration.g:3635:46: (iv_ruleScope= ruleScope EOF ) 9909 leaveRule();
9910 // InternalApplicationConfiguration.g:3636:2: iv_ruleScope= ruleScope EOF 9910
9911 { 9911 }
9912 newCompositeNode(grammarAccess.getScopeRule()); 9912
9913 pushFollow(FOLLOW_1); 9913 catch (RecognitionException re) {
9914 iv_ruleScope=ruleScope(); 9914 recover(input,re);
9915 9915 appendSkippedTokens();
9916 state._fsp--; 9916 }
9917 9917 finally {
9918 current =iv_ruleScope; 9918 }
9919 match(input,EOF,FOLLOW_2); 9919 return current;
9920 9920 }
9921 } 9921 // $ANTLR end "ruleIntegerReference"
9922 9922
9923 } 9923
9924 9924 // $ANTLR start "entryRuleRealReference"
9925 catch (RecognitionException re) { 9925 // InternalApplicationConfiguration.g:3626:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ;
9926 recover(input,re); 9926 public final EObject entryRuleRealReference() throws RecognitionException {
9927 appendSkippedTokens(); 9927 EObject current = null;
9928 } 9928
9929 finally { 9929 EObject iv_ruleRealReference = null;
9930 } 9930
9931 return current; 9931
9932 } 9932 try {
9933 // $ANTLR end "entryRuleScope" 9933 // InternalApplicationConfiguration.g:3626:54: (iv_ruleRealReference= ruleRealReference EOF )
9934 9934 // InternalApplicationConfiguration.g:3627:2: iv_ruleRealReference= ruleRealReference EOF
9935 9935 {
9936 // $ANTLR start "ruleScope" 9936 newCompositeNode(grammarAccess.getRealReferenceRule());
9937 // InternalApplicationConfiguration.g:3642:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; 9937 pushFollow(FOLLOW_1);
9938 public final EObject ruleScope() throws RecognitionException { 9938 iv_ruleRealReference=ruleRealReference();
9939 EObject current = null; 9939
9940 9940 state._fsp--;
9941 EObject this_ScopeSpecification_0 = null; 9941
9942 9942 current =iv_ruleRealReference;
9943 EObject this_ScopeReference_1 = null; 9943 match(input,EOF,FOLLOW_2);
9944 9944
9945 9945 }
9946 9946
9947 enterRule(); 9947 }
9948 9948
9949 try { 9949 catch (RecognitionException re) {
9950 // InternalApplicationConfiguration.g:3648:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) 9950 recover(input,re);
9951 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9951 appendSkippedTokens();
9952 { 9952 }
9953 // InternalApplicationConfiguration.g:3649:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) 9953 finally {
9954 int alt53=2; 9954 }
9955 int LA53_0 = input.LA(1); 9955 return current;
9956 9956 }
9957 if ( (LA53_0==18) ) { 9957 // $ANTLR end "entryRuleRealReference"
9958 alt53=1; 9958
9959 } 9959
9960 else if ( (LA53_0==RULE_ID) ) { 9960 // $ANTLR start "ruleRealReference"
9961 alt53=2; 9961 // InternalApplicationConfiguration.g:3633:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ;
9962 } 9962 public final EObject ruleRealReference() throws RecognitionException {
9963 else { 9963 EObject current = null;
9964 NoViableAltException nvae = 9964
9965 new NoViableAltException("", 53, 0, input); 9965 Token otherlv_1=null;
9966 9966
9967 throw nvae; 9967
9968 } 9968 enterRule();
9969 switch (alt53) { 9969
9970 case 1 : 9970 try {
9971 // InternalApplicationConfiguration.g:3650:3: this_ScopeSpecification_0= ruleScopeSpecification 9971 // InternalApplicationConfiguration.g:3639:2: ( ( () otherlv_1= 'real' ) )
9972 { 9972 // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' )
9973 9973 {
9974 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); 9974 // InternalApplicationConfiguration.g:3640:2: ( () otherlv_1= 'real' )
9975 9975 // InternalApplicationConfiguration.g:3641:3: () otherlv_1= 'real'
9976 pushFollow(FOLLOW_2); 9976 {
9977 this_ScopeSpecification_0=ruleScopeSpecification(); 9977 // InternalApplicationConfiguration.g:3641:3: ()
9978 9978 // InternalApplicationConfiguration.g:3642:4:
9979 state._fsp--; 9979 {
9980 9980
9981 9981 current = forceCreateModelElement(
9982 current = this_ScopeSpecification_0; 9982 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
9983 afterParserOrEnumRuleCall(); 9983 current);
9984 9984
9985 9985
9986 } 9986 }
9987 break; 9987
9988 case 2 : 9988 otherlv_1=(Token)match(input,40,FOLLOW_2);
9989 // InternalApplicationConfiguration.g:3659:3: this_ScopeReference_1= ruleScopeReference 9989
9990 { 9990 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
9991 9991
9992 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); 9992
9993 9993 }
9994 pushFollow(FOLLOW_2); 9994
9995 this_ScopeReference_1=ruleScopeReference(); 9995
9996 9996 }
9997 state._fsp--; 9997
9998 9998
9999 9999 leaveRule();
10000 current = this_ScopeReference_1; 10000
10001 afterParserOrEnumRuleCall(); 10001 }
10002 10002
10003 10003 catch (RecognitionException re) {
10004 } 10004 recover(input,re);
10005 break; 10005 appendSkippedTokens();
10006 10006 }
10007 } 10007 finally {
10008 10008 }
10009 10009 return current;
10010 } 10010 }
10011 10011 // $ANTLR end "ruleRealReference"
10012 10012
10013 leaveRule(); 10013
10014 10014 // $ANTLR start "entryRuleStringReference"
10015 } 10015 // InternalApplicationConfiguration.g:3656:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ;
10016 10016 public final EObject entryRuleStringReference() throws RecognitionException {
10017 catch (RecognitionException re) { 10017 EObject current = null;
10018 recover(input,re); 10018
10019 appendSkippedTokens(); 10019 EObject iv_ruleStringReference = null;
10020 } 10020
10021 finally { 10021
10022 } 10022 try {
10023 return current; 10023 // InternalApplicationConfiguration.g:3656:56: (iv_ruleStringReference= ruleStringReference EOF )
10024 } 10024 // InternalApplicationConfiguration.g:3657:2: iv_ruleStringReference= ruleStringReference EOF
10025 // $ANTLR end "ruleScope" 10025 {
10026 10026 newCompositeNode(grammarAccess.getStringReferenceRule());
10027 10027 pushFollow(FOLLOW_1);
10028 // $ANTLR start "entryRuleTask" 10028 iv_ruleStringReference=ruleStringReference();
10029 // InternalApplicationConfiguration.g:3671:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; 10029
10030 public final EObject entryRuleTask() throws RecognitionException { 10030 state._fsp--;
10031 EObject current = null; 10031
10032 10032 current =iv_ruleStringReference;
10033 EObject iv_ruleTask = null; 10033 match(input,EOF,FOLLOW_2);
10034 10034
10035 10035 }
10036 try { 10036
10037 // InternalApplicationConfiguration.g:3671:45: (iv_ruleTask= ruleTask EOF ) 10037 }
10038 // InternalApplicationConfiguration.g:3672:2: iv_ruleTask= ruleTask EOF 10038
10039 { 10039 catch (RecognitionException re) {
10040 newCompositeNode(grammarAccess.getTaskRule()); 10040 recover(input,re);
10041 pushFollow(FOLLOW_1); 10041 appendSkippedTokens();
10042 iv_ruleTask=ruleTask(); 10042 }
10043 10043 finally {
10044 state._fsp--; 10044 }
10045 10045 return current;
10046 current =iv_ruleTask; 10046 }
10047 match(input,EOF,FOLLOW_2); 10047 // $ANTLR end "entryRuleStringReference"
10048 10048
10049 } 10049
10050 10050 // $ANTLR start "ruleStringReference"
10051 } 10051 // InternalApplicationConfiguration.g:3663:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ;
10052 10052 public final EObject ruleStringReference() throws RecognitionException {
10053 catch (RecognitionException re) { 10053 EObject current = null;
10054 recover(input,re); 10054
10055 appendSkippedTokens(); 10055 Token otherlv_1=null;
10056 } 10056
10057 finally { 10057
10058 } 10058 enterRule();
10059 return current; 10059
10060 } 10060 try {
10061 // $ANTLR end "entryRuleTask" 10061 // InternalApplicationConfiguration.g:3669:2: ( ( () otherlv_1= 'string' ) )
10062 10062 // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' )
10063 10063 {
10064 // $ANTLR start "ruleTask" 10064 // InternalApplicationConfiguration.g:3670:2: ( () otherlv_1= 'string' )
10065 // InternalApplicationConfiguration.g:3678:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; 10065 // InternalApplicationConfiguration.g:3671:3: () otherlv_1= 'string'
10066 public final EObject ruleTask() throws RecognitionException { 10066 {
10067 EObject current = null; 10067 // InternalApplicationConfiguration.g:3671:3: ()
10068 10068 // InternalApplicationConfiguration.g:3672:4:
10069 EObject this_GenerationTask_0 = null; 10069 {
10070 10070
10071 10071 current = forceCreateModelElement(
10072 10072 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
10073 enterRule(); 10073 current);
10074 10074
10075 try { 10075
10076 // InternalApplicationConfiguration.g:3684:2: (this_GenerationTask_0= ruleGenerationTask ) 10076 }
10077 // InternalApplicationConfiguration.g:3685:2: this_GenerationTask_0= ruleGenerationTask 10077
10078 { 10078 otherlv_1=(Token)match(input,41,FOLLOW_2);
10079 10079
10080 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); 10080 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
10081 10081
10082 pushFollow(FOLLOW_2); 10082
10083 this_GenerationTask_0=ruleGenerationTask(); 10083 }
10084 10084
10085 state._fsp--; 10085
10086 10086 }
10087 10087
10088 current = this_GenerationTask_0; 10088
10089 afterParserOrEnumRuleCall(); 10089 leaveRule();
10090 10090
10091 10091 }
10092 } 10092
10093 10093 catch (RecognitionException re) {
10094 10094 recover(input,re);
10095 leaveRule(); 10095 appendSkippedTokens();
10096 10096 }
10097 } 10097 finally {
10098 10098 }
10099 catch (RecognitionException re) { 10099 return current;
10100 recover(input,re); 10100 }
10101 appendSkippedTokens(); 10101 // $ANTLR end "ruleStringReference"
10102 } 10102
10103 finally { 10103
10104 } 10104 // $ANTLR start "entryRuleExactNumber"
10105 return current; 10105 // InternalApplicationConfiguration.g:3686:1: entryRuleExactNumber returns [EObject current=null] : iv_ruleExactNumber= ruleExactNumber EOF ;
10106 } 10106 public final EObject entryRuleExactNumber() throws RecognitionException {
10107 // $ANTLR end "ruleTask" 10107 EObject current = null;
10108 10108
10109 10109 EObject iv_ruleExactNumber = null;
10110 // $ANTLR start "entryRuleGenerationTask" 10110
10111 // InternalApplicationConfiguration.g:3696:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; 10111
10112 public final EObject entryRuleGenerationTask() throws RecognitionException { 10112 try {
10113 EObject current = null; 10113 // InternalApplicationConfiguration.g:3686:52: (iv_ruleExactNumber= ruleExactNumber EOF )
10114 10114 // InternalApplicationConfiguration.g:3687:2: iv_ruleExactNumber= ruleExactNumber EOF
10115 EObject iv_ruleGenerationTask = null; 10115 {
10116 10116 newCompositeNode(grammarAccess.getExactNumberRule());
10117 10117 pushFollow(FOLLOW_1);
10118 try { 10118 iv_ruleExactNumber=ruleExactNumber();
10119 // InternalApplicationConfiguration.g:3696:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) 10119
10120 // InternalApplicationConfiguration.g:3697:2: iv_ruleGenerationTask= ruleGenerationTask EOF 10120 state._fsp--;
10121 { 10121
10122 newCompositeNode(grammarAccess.getGenerationTaskRule()); 10122 current =iv_ruleExactNumber;
10123 pushFollow(FOLLOW_1); 10123 match(input,EOF,FOLLOW_2);
10124 iv_ruleGenerationTask=ruleGenerationTask(); 10124
10125 10125 }
10126 state._fsp--; 10126
10127 10127 }
10128 current =iv_ruleGenerationTask; 10128
10129 match(input,EOF,FOLLOW_2); 10129 catch (RecognitionException re) {
10130 10130 recover(input,re);
10131 } 10131 appendSkippedTokens();
10132 10132 }
10133 } 10133 finally {
10134 10134 }
10135 catch (RecognitionException re) { 10135 return current;
10136 recover(input,re); 10136 }
10137 appendSkippedTokens(); 10137 // $ANTLR end "entryRuleExactNumber"
10138 } 10138
10139 finally { 10139
10140 } 10140 // $ANTLR start "ruleExactNumber"
10141 return current; 10141 // InternalApplicationConfiguration.g:3693:1: ruleExactNumber returns [EObject current=null] : ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) ;
10142 } 10142 public final EObject ruleExactNumber() throws RecognitionException {
10143 // $ANTLR end "entryRuleGenerationTask" 10143 EObject current = null;
10144 10144
10145 10145 Token lv_exactNumber_0_0=null;
10146 // $ANTLR start "ruleGenerationTask" 10146 Token lv_exactUnlimited_1_0=null;
10147 // InternalApplicationConfiguration.g:3703:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; 10147
10148 public final EObject ruleGenerationTask() throws RecognitionException { 10148
10149 EObject current = null; 10149 enterRule();
10150 10150
10151 Token otherlv_0=null; 10151 try {
10152 Token otherlv_2=null; 10152 // InternalApplicationConfiguration.g:3699:2: ( ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) ) )
10153 Token otherlv_4=null; 10153 // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10154 Token otherlv_5=null; 10154 {
10155 Token otherlv_7=null; 10155 // InternalApplicationConfiguration.g:3700:2: ( ( (lv_exactNumber_0_0= RULE_INT ) ) | ( (lv_exactUnlimited_1_0= '*' ) ) )
10156 Token otherlv_8=null; 10156 int alt49=2;
10157 Token otherlv_10=null; 10157 int LA49_0 = input.LA(1);
10158 Token otherlv_11=null; 10158
10159 Token otherlv_13=null; 10159 if ( (LA49_0==RULE_INT) ) {
10160 Token otherlv_14=null; 10160 alt49=1;
10161 Token lv_numberSpecified_16_0=null; 10161 }
10162 Token otherlv_17=null; 10162 else if ( (LA49_0==42) ) {
10163 Token lv_number_18_0=null; 10163 alt49=2;
10164 Token lv_runSpecified_19_0=null; 10164 }
10165 Token otherlv_20=null; 10165 else {
10166 Token lv_runs_21_0=null; 10166 NoViableAltException nvae =
10167 Token otherlv_22=null; 10167 new NoViableAltException("", 49, 0, input);
10168 Token otherlv_23=null; 10168
10169 Token otherlv_25=null; 10169 throw nvae;
10170 Token otherlv_26=null; 10170 }
10171 Token otherlv_28=null; 10171 switch (alt49) {
10172 Token otherlv_29=null; 10172 case 1 :
10173 Token otherlv_31=null; 10173 // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10174 Token otherlv_32=null; 10174 {
10175 Token otherlv_34=null; 10175 // InternalApplicationConfiguration.g:3701:3: ( (lv_exactNumber_0_0= RULE_INT ) )
10176 Token otherlv_35=null; 10176 // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT )
10177 Token otherlv_37=null; 10177 {
10178 Token otherlv_38=null; 10178 // InternalApplicationConfiguration.g:3702:4: (lv_exactNumber_0_0= RULE_INT )
10179 Token otherlv_40=null; 10179 // InternalApplicationConfiguration.g:3703:5: lv_exactNumber_0_0= RULE_INT
10180 EObject lv_metamodel_6_0 = null; 10180 {
10181 10181 lv_exactNumber_0_0=(Token)match(input,RULE_INT,FOLLOW_2);
10182 EObject lv_partialModel_9_0 = null; 10182
10183 10183 newLeafNode(lv_exactNumber_0_0, grammarAccess.getExactNumberAccess().getExactNumberINTTerminalRuleCall_0_0());
10184 EObject lv_patterns_12_0 = null; 10184
10185 10185
10186 EObject lv_scope_15_0 = null; 10186 if (current==null) {
10187 10187 current = createModelElement(grammarAccess.getExactNumberRule());
10188 Enumerator lv_solver_24_0 = null; 10188 }
10189 10189 setWithLastConsumed(
10190 EObject lv_config_27_0 = null; 10190 current,
10191 10191 "exactNumber",
10192 EObject lv_debugFolder_30_0 = null; 10192 lv_exactNumber_0_0,
10193 10193 "org.eclipse.xtext.common.Terminals.INT");
10194 EObject lv_targetLogFile_33_0 = null; 10194
10195 10195
10196 EObject lv_targetStatisticsFile_36_0 = null; 10196 }
10197 10197
10198 EObject lv_tagetFolder_39_0 = null; 10198
10199 10199 }
10200 10200
10201 10201
10202 enterRule(); 10202 }
10203 10203 break;
10204 try { 10204 case 2 :
10205 // InternalApplicationConfiguration.g:3709:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) 10205 // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) )
10206 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10206 {
10207 { 10207 // InternalApplicationConfiguration.g:3720:3: ( (lv_exactUnlimited_1_0= '*' ) )
10208 // InternalApplicationConfiguration.g:3710:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) 10208 // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' )
10209 // InternalApplicationConfiguration.g:3711:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' 10209 {
10210 { 10210 // InternalApplicationConfiguration.g:3721:4: (lv_exactUnlimited_1_0= '*' )
10211 otherlv_0=(Token)match(input,43,FOLLOW_16); 10211 // InternalApplicationConfiguration.g:3722:5: lv_exactUnlimited_1_0= '*'
10212 10212 {
10213 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); 10213 lv_exactUnlimited_1_0=(Token)match(input,42,FOLLOW_2);
10214 10214
10215 // InternalApplicationConfiguration.g:3715:3: () 10215 newLeafNode(lv_exactUnlimited_1_0, grammarAccess.getExactNumberAccess().getExactUnlimitedAsteriskKeyword_1_0());
10216 // InternalApplicationConfiguration.g:3716:4: 10216
10217 { 10217
10218 10218 if (current==null) {
10219 current = forceCreateModelElement( 10219 current = createModelElement(grammarAccess.getExactNumberRule());
10220 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), 10220 }
10221 current); 10221 setWithLastConsumed(current, "exactUnlimited", true, "*");
10222 10222
10223 10223
10224 } 10224 }
10225 10225
10226 otherlv_2=(Token)match(input,18,FOLLOW_39); 10226
10227 10227 }
10228 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); 10228
10229 10229
10230 // InternalApplicationConfiguration.g:3726:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) 10230 }
10231 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10231 break;
10232 { 10232
10233 // InternalApplicationConfiguration.g:3727:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) ) 10233 }
10234 // InternalApplicationConfiguration.g:3728:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10234
10235 { 10235
10236 10236 }
10237 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10237
10238 10238
10239 // InternalApplicationConfiguration.g:3731:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* ) 10239 leaveRule();
10240 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10240
10241 { 10241 }
10242 // InternalApplicationConfiguration.g:3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )* 10242
10243 loop54: 10243 catch (RecognitionException re) {
10244 do { 10244 recover(input,re);
10245 int alt54=13; 10245 appendSkippedTokens();
10246 alt54 = dfa54.predict(input); 10246 }
10247 switch (alt54) { 10247 finally {
10248 case 1 : 10248 }
10249 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10249 return current;
10250 { 10250 }
10251 // InternalApplicationConfiguration.g:3733:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) 10251 // $ANTLR end "ruleExactNumber"
10252 // InternalApplicationConfiguration.g:3734:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10252
10253 { 10253
10254 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { 10254 // $ANTLR start "entryRuleIntervallNumber"
10255 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); 10255 // InternalApplicationConfiguration.g:3738:1: entryRuleIntervallNumber returns [EObject current=null] : iv_ruleIntervallNumber= ruleIntervallNumber EOF ;
10256 } 10256 public final EObject entryRuleIntervallNumber() throws RecognitionException {
10257 // InternalApplicationConfiguration.g:3734:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) 10257 EObject current = null;
10258 // InternalApplicationConfiguration.g:3735:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10258
10259 { 10259 EObject iv_ruleIntervallNumber = null;
10260 10260
10261 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); 10261
10262 10262 try {
10263 // InternalApplicationConfiguration.g:3738:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) 10263 // InternalApplicationConfiguration.g:3738:56: (iv_ruleIntervallNumber= ruleIntervallNumber EOF )
10264 // InternalApplicationConfiguration.g:3738:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10264 // InternalApplicationConfiguration.g:3739:2: iv_ruleIntervallNumber= ruleIntervallNumber EOF
10265 { 10265 {
10266 if ( !((true)) ) { 10266 newCompositeNode(grammarAccess.getIntervallNumberRule());
10267 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10267 pushFollow(FOLLOW_1);
10268 } 10268 iv_ruleIntervallNumber=ruleIntervallNumber();
10269 // InternalApplicationConfiguration.g:3738:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) 10269
10270 // InternalApplicationConfiguration.g:3738:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) 10270 state._fsp--;
10271 { 10271
10272 otherlv_4=(Token)match(input,24,FOLLOW_12); 10272 current =iv_ruleIntervallNumber;
10273 10273 match(input,EOF,FOLLOW_2);
10274 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); 10274
10275 10275 }
10276 otherlv_5=(Token)match(input,17,FOLLOW_40); 10276
10277 10277 }
10278 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); 10278
10279 10279 catch (RecognitionException re) {
10280 // InternalApplicationConfiguration.g:3746:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) 10280 recover(input,re);
10281 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10281 appendSkippedTokens();
10282 { 10282 }
10283 // InternalApplicationConfiguration.g:3747:10: (lv_metamodel_6_0= ruleMetamodel ) 10283 finally {
10284 // InternalApplicationConfiguration.g:3748:11: lv_metamodel_6_0= ruleMetamodel 10284 }
10285 { 10285 return current;
10286 10286 }
10287 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); 10287 // $ANTLR end "entryRuleIntervallNumber"
10288 10288
10289 pushFollow(FOLLOW_39); 10289
10290 lv_metamodel_6_0=ruleMetamodel(); 10290 // $ANTLR start "ruleIntervallNumber"
10291 10291 // InternalApplicationConfiguration.g:3745:1: ruleIntervallNumber returns [EObject current=null] : ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) ;
10292 state._fsp--; 10292 public final EObject ruleIntervallNumber() throws RecognitionException {
10293 10293 EObject current = null;
10294 10294
10295 if (current==null) { 10295 Token lv_min_0_0=null;
10296 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10296 Token otherlv_1=null;
10297 } 10297 Token lv_maxNumber_2_0=null;
10298 set( 10298 Token lv_maxUnlimited_3_0=null;
10299 current, 10299
10300 "metamodel", 10300
10301 lv_metamodel_6_0, 10301 enterRule();
10302 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 10302
10303 afterParserOrEnumRuleCall(); 10303 try {
10304 10304 // InternalApplicationConfiguration.g:3751:2: ( ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) ) )
10305 10305 // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10306 } 10306 {
10307 10307 // InternalApplicationConfiguration.g:3752:2: ( ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) ) )
10308 10308 // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) ) otherlv_1= '..' ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10309 } 10309 {
10310 10310 // InternalApplicationConfiguration.g:3753:3: ( (lv_min_0_0= RULE_INT ) )
10311 10311 // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT )
10312 } 10312 {
10313 10313 // InternalApplicationConfiguration.g:3754:4: (lv_min_0_0= RULE_INT )
10314 10314 // InternalApplicationConfiguration.g:3755:5: lv_min_0_0= RULE_INT
10315 } 10315 {
10316 10316 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_39);
10317 10317
10318 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10318 newLeafNode(lv_min_0_0, grammarAccess.getIntervallNumberAccess().getMinINTTerminalRuleCall_0_0());
10319 10319
10320 10320
10321 } 10321 if (current==null) {
10322 10322 current = createModelElement(grammarAccess.getIntervallNumberRule());
10323 10323 }
10324 } 10324 setWithLastConsumed(
10325 10325 current,
10326 10326 "min",
10327 } 10327 lv_min_0_0,
10328 break; 10328 "org.eclipse.xtext.common.Terminals.INT");
10329 case 2 : 10329
10330 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10330
10331 { 10331 }
10332 // InternalApplicationConfiguration.g:3771:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) 10332
10333 // InternalApplicationConfiguration.g:3772:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10333
10334 { 10334 }
10335 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { 10335
10336 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); 10336 otherlv_1=(Token)match(input,43,FOLLOW_32);
10337 } 10337
10338 // InternalApplicationConfiguration.g:3772:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) 10338 newLeafNode(otherlv_1, grammarAccess.getIntervallNumberAccess().getFullStopFullStopKeyword_1());
10339 // InternalApplicationConfiguration.g:3773:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10339
10340 { 10340 // InternalApplicationConfiguration.g:3775:3: ( ( (lv_maxNumber_2_0= RULE_INT ) ) | ( (lv_maxUnlimited_3_0= '*' ) ) )
10341 10341 int alt50=2;
10342 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); 10342 int LA50_0 = input.LA(1);
10343 10343
10344 // InternalApplicationConfiguration.g:3776:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) 10344 if ( (LA50_0==RULE_INT) ) {
10345 // InternalApplicationConfiguration.g:3776:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10345 alt50=1;
10346 { 10346 }
10347 if ( !((true)) ) { 10347 else if ( (LA50_0==42) ) {
10348 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10348 alt50=2;
10349 } 10349 }
10350 // InternalApplicationConfiguration.g:3776:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) 10350 else {
10351 // InternalApplicationConfiguration.g:3776:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) 10351 NoViableAltException nvae =
10352 { 10352 new NoViableAltException("", 50, 0, input);
10353 otherlv_7=(Token)match(input,44,FOLLOW_12); 10353
10354 10354 throw nvae;
10355 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); 10355 }
10356 10356 switch (alt50) {
10357 otherlv_8=(Token)match(input,17,FOLLOW_40); 10357 case 1 :
10358 10358 // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10359 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); 10359 {
10360 10360 // InternalApplicationConfiguration.g:3776:4: ( (lv_maxNumber_2_0= RULE_INT ) )
10361 // InternalApplicationConfiguration.g:3784:9: ( (lv_partialModel_9_0= rulePartialModel ) ) 10361 // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT )
10362 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10362 {
10363 { 10363 // InternalApplicationConfiguration.g:3777:5: (lv_maxNumber_2_0= RULE_INT )
10364 // InternalApplicationConfiguration.g:3785:10: (lv_partialModel_9_0= rulePartialModel ) 10364 // InternalApplicationConfiguration.g:3778:6: lv_maxNumber_2_0= RULE_INT
10365 // InternalApplicationConfiguration.g:3786:11: lv_partialModel_9_0= rulePartialModel 10365 {
10366 { 10366 lv_maxNumber_2_0=(Token)match(input,RULE_INT,FOLLOW_2);
10367 10367
10368 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); 10368 newLeafNode(lv_maxNumber_2_0, grammarAccess.getIntervallNumberAccess().getMaxNumberINTTerminalRuleCall_2_0_0());
10369 10369
10370 pushFollow(FOLLOW_39); 10370
10371 lv_partialModel_9_0=rulePartialModel(); 10371 if (current==null) {
10372 10372 current = createModelElement(grammarAccess.getIntervallNumberRule());
10373 state._fsp--; 10373 }
10374 10374 setWithLastConsumed(
10375 10375 current,
10376 if (current==null) { 10376 "maxNumber",
10377 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10377 lv_maxNumber_2_0,
10378 } 10378 "org.eclipse.xtext.common.Terminals.INT");
10379 set( 10379
10380 current, 10380
10381 "partialModel", 10381 }
10382 lv_partialModel_9_0, 10382
10383 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 10383
10384 afterParserOrEnumRuleCall(); 10384 }
10385 10385
10386 10386
10387 } 10387 }
10388 10388 break;
10389 10389 case 2 :
10390 } 10390 // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) )
10391 10391 {
10392 10392 // InternalApplicationConfiguration.g:3795:4: ( (lv_maxUnlimited_3_0= '*' ) )
10393 } 10393 // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' )
10394 10394 {
10395 10395 // InternalApplicationConfiguration.g:3796:5: (lv_maxUnlimited_3_0= '*' )
10396 } 10396 // InternalApplicationConfiguration.g:3797:6: lv_maxUnlimited_3_0= '*'
10397 10397 {
10398 10398 lv_maxUnlimited_3_0=(Token)match(input,42,FOLLOW_2);
10399 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10399
10400 10400 newLeafNode(lv_maxUnlimited_3_0, grammarAccess.getIntervallNumberAccess().getMaxUnlimitedAsteriskKeyword_2_1_0());
10401 10401
10402 } 10402
10403 10403 if (current==null) {
10404 10404 current = createModelElement(grammarAccess.getIntervallNumberRule());
10405 } 10405 }
10406 10406 setWithLastConsumed(current, "maxUnlimited", true, "*");
10407 10407
10408 } 10408
10409 break; 10409 }
10410 case 3 : 10410
10411 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10411
10412 { 10412 }
10413 // InternalApplicationConfiguration.g:3809:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) 10413
10414 // InternalApplicationConfiguration.g:3810:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10414
10415 { 10415 }
10416 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { 10416 break;
10417 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); 10417
10418 } 10418 }
10419 // InternalApplicationConfiguration.g:3810:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) 10419
10420 // InternalApplicationConfiguration.g:3811:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10420
10421 { 10421 }
10422 10422
10423 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); 10423
10424 10424 }
10425 // InternalApplicationConfiguration.g:3814:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) 10425
10426 // InternalApplicationConfiguration.g:3814:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10426
10427 { 10427 leaveRule();
10428 if ( !((true)) ) { 10428
10429 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10429 }
10430 } 10430
10431 // InternalApplicationConfiguration.g:3814:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) 10431 catch (RecognitionException re) {
10432 // InternalApplicationConfiguration.g:3814:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) 10432 recover(input,re);
10433 { 10433 appendSkippedTokens();
10434 otherlv_10=(Token)match(input,27,FOLLOW_12); 10434 }
10435 10435 finally {
10436 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0()); 10436 }
10437 10437 return current;
10438 otherlv_11=(Token)match(input,17,FOLLOW_40); 10438 }
10439 10439 // $ANTLR end "ruleIntervallNumber"
10440 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); 10440
10441 10441
10442 // InternalApplicationConfiguration.g:3822:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) 10442 // $ANTLR start "entryRuleIntEnumberation"
10443 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10443 // InternalApplicationConfiguration.g:3814:1: entryRuleIntEnumberation returns [EObject current=null] : iv_ruleIntEnumberation= ruleIntEnumberation EOF ;
10444 { 10444 public final EObject entryRuleIntEnumberation() throws RecognitionException {
10445 // InternalApplicationConfiguration.g:3823:10: (lv_patterns_12_0= ruleGraphPattern ) 10445 EObject current = null;
10446 // InternalApplicationConfiguration.g:3824:11: lv_patterns_12_0= ruleGraphPattern 10446
10447 { 10447 EObject iv_ruleIntEnumberation = null;
10448 10448
10449 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); 10449
10450 10450 try {
10451 pushFollow(FOLLOW_39); 10451 // InternalApplicationConfiguration.g:3814:56: (iv_ruleIntEnumberation= ruleIntEnumberation EOF )
10452 lv_patterns_12_0=ruleGraphPattern(); 10452 // InternalApplicationConfiguration.g:3815:2: iv_ruleIntEnumberation= ruleIntEnumberation EOF
10453 10453 {
10454 state._fsp--; 10454 newCompositeNode(grammarAccess.getIntEnumberationRule());
10455 10455 pushFollow(FOLLOW_1);
10456 10456 iv_ruleIntEnumberation=ruleIntEnumberation();
10457 if (current==null) { 10457
10458 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10458 state._fsp--;
10459 } 10459
10460 set( 10460 current =iv_ruleIntEnumberation;
10461 current, 10461 match(input,EOF,FOLLOW_2);
10462 "patterns", 10462
10463 lv_patterns_12_0, 10463 }
10464 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 10464
10465 afterParserOrEnumRuleCall(); 10465 }
10466 10466
10467 10467 catch (RecognitionException re) {
10468 } 10468 recover(input,re);
10469 10469 appendSkippedTokens();
10470 10470 }
10471 } 10471 finally {
10472 10472 }
10473 10473 return current;
10474 } 10474 }
10475 10475 // $ANTLR end "entryRuleIntEnumberation"
10476 10476
10477 } 10477
10478 10478 // $ANTLR start "ruleIntEnumberation"
10479 10479 // InternalApplicationConfiguration.g:3821:1: ruleIntEnumberation returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) ;
10480 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10480 public final EObject ruleIntEnumberation() throws RecognitionException {
10481 10481 EObject current = null;
10482 10482
10483 } 10483 Token otherlv_1=null;
10484 10484 Token otherlv_3=null;
10485 10485 Token otherlv_5=null;
10486 } 10486 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10487 10487
10488 10488 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10489 } 10489
10490 break; 10490
10491 case 4 : 10491
10492 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10492 enterRule();
10493 { 10493
10494 // InternalApplicationConfiguration.g:3847:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) 10494 try {
10495 // InternalApplicationConfiguration.g:3848:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10495 // InternalApplicationConfiguration.g:3827:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' ) )
10496 { 10496 // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10497 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { 10497 {
10498 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); 10498 // InternalApplicationConfiguration.g:3828:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}' )
10499 } 10499 // InternalApplicationConfiguration.g:3829:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )? otherlv_5= '}'
10500 // InternalApplicationConfiguration.g:3848:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) 10500 {
10501 // InternalApplicationConfiguration.g:3849:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10501 // InternalApplicationConfiguration.g:3829:3: ()
10502 { 10502 // InternalApplicationConfiguration.g:3830:4:
10503 10503 {
10504 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); 10504
10505 10505 current = forceCreateModelElement(
10506 // InternalApplicationConfiguration.g:3852:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) 10506 grammarAccess.getIntEnumberationAccess().getIntEnumberationAction_0(),
10507 // InternalApplicationConfiguration.g:3852:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10507 current);
10508 { 10508
10509 if ( !((true)) ) { 10509
10510 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10510 }
10511 } 10511
10512 // InternalApplicationConfiguration.g:3852:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) 10512 otherlv_1=(Token)match(input,19,FOLLOW_40);
10513 // InternalApplicationConfiguration.g:3852:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) 10513
10514 { 10514 newLeafNode(otherlv_1, grammarAccess.getIntEnumberationAccess().getLeftCurlyBracketKeyword_1());
10515 otherlv_13=(Token)match(input,42,FOLLOW_12); 10515
10516 10516 // InternalApplicationConfiguration.g:3840:3: ( ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )* )?
10517 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); 10517 int alt52=2;
10518 10518 int LA52_0 = input.LA(1);
10519 otherlv_14=(Token)match(input,17,FOLLOW_40); 10519
10520 10520 if ( (LA52_0==RULE_INT||LA52_0==12) ) {
10521 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); 10521 alt52=1;
10522 10522 }
10523 // InternalApplicationConfiguration.g:3860:9: ( (lv_scope_15_0= ruleScope ) ) 10523 switch (alt52) {
10524 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10524 case 1 :
10525 { 10525 // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10526 // InternalApplicationConfiguration.g:3861:10: (lv_scope_15_0= ruleScope ) 10526 {
10527 // InternalApplicationConfiguration.g:3862:11: lv_scope_15_0= ruleScope 10527 // InternalApplicationConfiguration.g:3841:4: ( (lv_entry_2_0= ruleINTLiteral ) )
10528 { 10528 // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral )
10529 10529 {
10530 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); 10530 // InternalApplicationConfiguration.g:3842:5: (lv_entry_2_0= ruleINTLiteral )
10531 10531 // InternalApplicationConfiguration.g:3843:6: lv_entry_2_0= ruleINTLiteral
10532 pushFollow(FOLLOW_39); 10532 {
10533 lv_scope_15_0=ruleScope(); 10533
10534 10534 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_0_0());
10535 state._fsp--; 10535
10536 10536 pushFollow(FOLLOW_15);
10537 10537 lv_entry_2_0=ruleINTLiteral();
10538 if (current==null) { 10538
10539 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10539 state._fsp--;
10540 } 10540
10541 set( 10541
10542 current, 10542 if (current==null) {
10543 "scope", 10543 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10544 lv_scope_15_0, 10544 }
10545 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 10545 add(
10546 afterParserOrEnumRuleCall(); 10546 current,
10547 10547 "entry",
10548 10548 lv_entry_2_0,
10549 } 10549 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10550 10550 afterParserOrEnumRuleCall();
10551 10551
10552 } 10552
10553 10553 }
10554 10554
10555 } 10555
10556 10556 }
10557 10557
10558 } 10558 // InternalApplicationConfiguration.g:3860:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) ) )*
10559 10559 loop51:
10560 10560 do {
10561 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10561 int alt51=2;
10562 10562 int LA51_0 = input.LA(1);
10563 10563
10564 } 10564 if ( (LA51_0==20) ) {
10565 10565 alt51=1;
10566 10566 }
10567 } 10567
10568 10568
10569 10569 switch (alt51) {
10570 } 10570 case 1 :
10571 break; 10571 // InternalApplicationConfiguration.g:3861:5: otherlv_3= ',' ( (lv_entry_4_0= ruleINTLiteral ) )
10572 case 5 : 10572 {
10573 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10573 otherlv_3=(Token)match(input,20,FOLLOW_24);
10574 { 10574
10575 // InternalApplicationConfiguration.g:3885:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) 10575 newLeafNode(otherlv_3, grammarAccess.getIntEnumberationAccess().getCommaKeyword_2_1_0());
10576 // InternalApplicationConfiguration.g:3886:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10576
10577 { 10577 // InternalApplicationConfiguration.g:3865:5: ( (lv_entry_4_0= ruleINTLiteral ) )
10578 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { 10578 // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral )
10579 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); 10579 {
10580 } 10580 // InternalApplicationConfiguration.g:3866:6: (lv_entry_4_0= ruleINTLiteral )
10581 // InternalApplicationConfiguration.g:3886:111: ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) 10581 // InternalApplicationConfiguration.g:3867:7: lv_entry_4_0= ruleINTLiteral
10582 // InternalApplicationConfiguration.g:3887:6: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10582 {
10583 { 10583
10584 10584 newCompositeNode(grammarAccess.getIntEnumberationAccess().getEntryINTLiteralParserRuleCall_2_1_1_0());
10585 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); 10585
10586 10586 pushFollow(FOLLOW_15);
10587 // InternalApplicationConfiguration.g:3890:9: ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) 10587 lv_entry_4_0=ruleINTLiteral();
10588 // InternalApplicationConfiguration.g:3890:10: {...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10588
10589 { 10589 state._fsp--;
10590 if ( !((true)) ) { 10590
10591 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10591
10592 } 10592 if (current==null) {
10593 // InternalApplicationConfiguration.g:3890:19: ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) 10593 current = createModelElementForParent(grammarAccess.getIntEnumberationRule());
10594 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) 10594 }
10595 { 10595 add(
10596 // InternalApplicationConfiguration.g:3890:20: ( (lv_numberSpecified_16_0= 'number' ) ) 10596 current,
10597 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10597 "entry",
10598 { 10598 lv_entry_4_0,
10599 // InternalApplicationConfiguration.g:3891:10: (lv_numberSpecified_16_0= 'number' ) 10599 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
10600 // InternalApplicationConfiguration.g:3892:11: lv_numberSpecified_16_0= 'number' 10600 afterParserOrEnumRuleCall();
10601 { 10601
10602 lv_numberSpecified_16_0=(Token)match(input,45,FOLLOW_12); 10602
10603 10603 }
10604 newLeafNode(lv_numberSpecified_16_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_4_0_0()); 10604
10605 10605
10606 10606 }
10607 if (current==null) { 10607
10608 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10608
10609 } 10609 }
10610 setWithLastConsumed(current, "numberSpecified", true, "number"); 10610 break;
10611 10611
10612 10612 default :
10613 } 10613 break loop51;
10614 10614 }
10615 10615 } while (true);
10616 } 10616
10617 10617
10618 otherlv_17=(Token)match(input,17,FOLLOW_7); 10618 }
10619 10619 break;
10620 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); 10620
10621 10621 }
10622 // InternalApplicationConfiguration.g:3908:9: ( (lv_number_18_0= RULE_INT ) ) 10622
10623 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10623 otherlv_5=(Token)match(input,21,FOLLOW_2);
10624 { 10624
10625 // InternalApplicationConfiguration.g:3909:10: (lv_number_18_0= RULE_INT ) 10625 newLeafNode(otherlv_5, grammarAccess.getIntEnumberationAccess().getRightCurlyBracketKeyword_3());
10626 // InternalApplicationConfiguration.g:3910:11: lv_number_18_0= RULE_INT 10626
10627 { 10627
10628 lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_39); 10628 }
10629 10629
10630 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); 10630
10631 10631 }
10632 10632
10633 if (current==null) { 10633
10634 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10634 leaveRule();
10635 } 10635
10636 setWithLastConsumed( 10636 }
10637 current, 10637
10638 "number", 10638 catch (RecognitionException re) {
10639 lv_number_18_0, 10639 recover(input,re);
10640 "org.eclipse.xtext.common.Terminals.INT"); 10640 appendSkippedTokens();
10641 10641 }
10642 10642 finally {
10643 } 10643 }
10644 10644 return current;
10645 10645 }
10646 } 10646 // $ANTLR end "ruleIntEnumberation"
10647 10647
10648 10648
10649 } 10649 // $ANTLR start "entryRuleRealEnumeration"
10650 10650 // InternalApplicationConfiguration.g:3894:1: entryRuleRealEnumeration returns [EObject current=null] : iv_ruleRealEnumeration= ruleRealEnumeration EOF ;
10651 10651 public final EObject entryRuleRealEnumeration() throws RecognitionException {
10652 } 10652 EObject current = null;
10653 10653
10654 10654 EObject iv_ruleRealEnumeration = null;
10655 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10655
10656 10656
10657 10657 try {
10658 } 10658 // InternalApplicationConfiguration.g:3894:56: (iv_ruleRealEnumeration= ruleRealEnumeration EOF )
10659 10659 // InternalApplicationConfiguration.g:3895:2: iv_ruleRealEnumeration= ruleRealEnumeration EOF
10660 10660 {
10661 } 10661 newCompositeNode(grammarAccess.getRealEnumerationRule());
10662 10662 pushFollow(FOLLOW_1);
10663 10663 iv_ruleRealEnumeration=ruleRealEnumeration();
10664 } 10664
10665 break; 10665 state._fsp--;
10666 case 6 : 10666
10667 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10667 current =iv_ruleRealEnumeration;
10668 { 10668 match(input,EOF,FOLLOW_2);
10669 // InternalApplicationConfiguration.g:3932:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) 10669
10670 // InternalApplicationConfiguration.g:3933:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10670 }
10671 { 10671
10672 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { 10672 }
10673 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); 10673
10674 } 10674 catch (RecognitionException re) {
10675 // InternalApplicationConfiguration.g:3933:111: ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) 10675 recover(input,re);
10676 // InternalApplicationConfiguration.g:3934:6: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10676 appendSkippedTokens();
10677 { 10677 }
10678 10678 finally {
10679 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); 10679 }
10680 10680 return current;
10681 // InternalApplicationConfiguration.g:3937:9: ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) 10681 }
10682 // InternalApplicationConfiguration.g:3937:10: {...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10682 // $ANTLR end "entryRuleRealEnumeration"
10683 { 10683
10684 if ( !((true)) ) { 10684
10685 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10685 // $ANTLR start "ruleRealEnumeration"
10686 } 10686 // InternalApplicationConfiguration.g:3901:1: ruleRealEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) ;
10687 // InternalApplicationConfiguration.g:3937:19: ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) 10687 public final EObject ruleRealEnumeration() throws RecognitionException {
10688 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) 10688 EObject current = null;
10689 { 10689
10690 // InternalApplicationConfiguration.g:3937:20: ( (lv_runSpecified_19_0= 'runs' ) ) 10690 Token otherlv_1=null;
10691 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10691 Token otherlv_3=null;
10692 { 10692 Token otherlv_5=null;
10693 // InternalApplicationConfiguration.g:3938:10: (lv_runSpecified_19_0= 'runs' ) 10693 AntlrDatatypeRuleToken lv_entry_2_0 = null;
10694 // InternalApplicationConfiguration.g:3939:11: lv_runSpecified_19_0= 'runs' 10694
10695 { 10695 AntlrDatatypeRuleToken lv_entry_4_0 = null;
10696 lv_runSpecified_19_0=(Token)match(input,46,FOLLOW_12); 10696
10697 10697
10698 newLeafNode(lv_runSpecified_19_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_5_0_0()); 10698
10699 10699 enterRule();
10700 10700
10701 if (current==null) { 10701 try {
10702 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10702 // InternalApplicationConfiguration.g:3907:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' ) )
10703 } 10703 // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10704 setWithLastConsumed(current, "runSpecified", true, "runs"); 10704 {
10705 10705 // InternalApplicationConfiguration.g:3908:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}' )
10706 10706 // InternalApplicationConfiguration.g:3909:3: () otherlv_1= '{' ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )? otherlv_5= '}'
10707 } 10707 {
10708 10708 // InternalApplicationConfiguration.g:3909:3: ()
10709 10709 // InternalApplicationConfiguration.g:3910:4:
10710 } 10710 {
10711 10711
10712 otherlv_20=(Token)match(input,17,FOLLOW_7); 10712 current = forceCreateModelElement(
10713 10713 grammarAccess.getRealEnumerationAccess().getRealEnumerationAction_0(),
10714 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); 10714 current);
10715 10715
10716 // InternalApplicationConfiguration.g:3955:9: ( (lv_runs_21_0= RULE_INT ) ) 10716
10717 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10717 }
10718 { 10718
10719 // InternalApplicationConfiguration.g:3956:10: (lv_runs_21_0= RULE_INT ) 10719 otherlv_1=(Token)match(input,19,FOLLOW_40);
10720 // InternalApplicationConfiguration.g:3957:11: lv_runs_21_0= RULE_INT 10720
10721 { 10721 newLeafNode(otherlv_1, grammarAccess.getRealEnumerationAccess().getLeftCurlyBracketKeyword_1());
10722 lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_39); 10722
10723 10723 // InternalApplicationConfiguration.g:3920:3: ( ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )* )?
10724 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); 10724 int alt54=2;
10725 10725 int LA54_0 = input.LA(1);
10726 10726
10727 if (current==null) { 10727 if ( (LA54_0==RULE_INT||LA54_0==12) ) {
10728 current = createModelElement(grammarAccess.getGenerationTaskRule()); 10728 alt54=1;
10729 } 10729 }
10730 setWithLastConsumed( 10730 switch (alt54) {
10731 current, 10731 case 1 :
10732 "runs", 10732 // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) ) (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10733 lv_runs_21_0, 10733 {
10734 "org.eclipse.xtext.common.Terminals.INT"); 10734 // InternalApplicationConfiguration.g:3921:4: ( (lv_entry_2_0= ruleREALLiteral ) )
10735 10735 // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral )
10736 10736 {
10737 } 10737 // InternalApplicationConfiguration.g:3922:5: (lv_entry_2_0= ruleREALLiteral )
10738 10738 // InternalApplicationConfiguration.g:3923:6: lv_entry_2_0= ruleREALLiteral
10739 10739 {
10740 } 10740
10741 10741 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_0_0());
10742 10742
10743 } 10743 pushFollow(FOLLOW_15);
10744 10744 lv_entry_2_0=ruleREALLiteral();
10745 10745
10746 } 10746 state._fsp--;
10747 10747
10748 10748
10749 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10749 if (current==null) {
10750 10750 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10751 10751 }
10752 } 10752 add(
10753 10753 current,
10754 10754 "entry",
10755 } 10755 lv_entry_2_0,
10756 10756 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10757 10757 afterParserOrEnumRuleCall();
10758 } 10758
10759 break; 10759
10760 case 7 : 10760 }
10761 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10761
10762 { 10762
10763 // InternalApplicationConfiguration.g:3979:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) 10763 }
10764 // InternalApplicationConfiguration.g:3980:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10764
10765 { 10765 // InternalApplicationConfiguration.g:3940:4: (otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) ) )*
10766 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { 10766 loop53:
10767 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); 10767 do {
10768 } 10768 int alt53=2;
10769 // InternalApplicationConfiguration.g:3980:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) 10769 int LA53_0 = input.LA(1);
10770 // InternalApplicationConfiguration.g:3981:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10770
10771 { 10771 if ( (LA53_0==20) ) {
10772 10772 alt53=1;
10773 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); 10773 }
10774 10774
10775 // InternalApplicationConfiguration.g:3984:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) 10775
10776 // InternalApplicationConfiguration.g:3984:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10776 switch (alt53) {
10777 { 10777 case 1 :
10778 if ( !((true)) ) { 10778 // InternalApplicationConfiguration.g:3941:5: otherlv_3= ',' ( (lv_entry_4_0= ruleREALLiteral ) )
10779 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10779 {
10780 } 10780 otherlv_3=(Token)match(input,20,FOLLOW_24);
10781 // InternalApplicationConfiguration.g:3984:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) 10781
10782 // InternalApplicationConfiguration.g:3984:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) 10782 newLeafNode(otherlv_3, grammarAccess.getRealEnumerationAccess().getCommaKeyword_2_1_0());
10783 { 10783
10784 otherlv_22=(Token)match(input,47,FOLLOW_12); 10784 // InternalApplicationConfiguration.g:3945:5: ( (lv_entry_4_0= ruleREALLiteral ) )
10785 10785 // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral )
10786 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); 10786 {
10787 10787 // InternalApplicationConfiguration.g:3946:6: (lv_entry_4_0= ruleREALLiteral )
10788 otherlv_23=(Token)match(input,17,FOLLOW_41); 10788 // InternalApplicationConfiguration.g:3947:7: lv_entry_4_0= ruleREALLiteral
10789 10789 {
10790 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); 10790
10791 10791 newCompositeNode(grammarAccess.getRealEnumerationAccess().getEntryREALLiteralParserRuleCall_2_1_1_0());
10792 // InternalApplicationConfiguration.g:3992:9: ( (lv_solver_24_0= ruleSolver ) ) 10792
10793 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10793 pushFollow(FOLLOW_15);
10794 { 10794 lv_entry_4_0=ruleREALLiteral();
10795 // InternalApplicationConfiguration.g:3993:10: (lv_solver_24_0= ruleSolver ) 10795
10796 // InternalApplicationConfiguration.g:3994:11: lv_solver_24_0= ruleSolver 10796 state._fsp--;
10797 { 10797
10798 10798
10799 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); 10799 if (current==null) {
10800 10800 current = createModelElementForParent(grammarAccess.getRealEnumerationRule());
10801 pushFollow(FOLLOW_39); 10801 }
10802 lv_solver_24_0=ruleSolver(); 10802 add(
10803 10803 current,
10804 state._fsp--; 10804 "entry",
10805 10805 lv_entry_4_0,
10806 10806 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
10807 if (current==null) { 10807 afterParserOrEnumRuleCall();
10808 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10808
10809 } 10809
10810 set( 10810 }
10811 current, 10811
10812 "solver", 10812
10813 lv_solver_24_0, 10813 }
10814 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 10814
10815 afterParserOrEnumRuleCall(); 10815
10816 10816 }
10817 10817 break;
10818 } 10818
10819 10819 default :
10820 10820 break loop53;
10821 } 10821 }
10822 10822 } while (true);
10823 10823
10824 } 10824
10825 10825 }
10826 10826 break;
10827 } 10827
10828 10828 }
10829 10829
10830 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10830 otherlv_5=(Token)match(input,21,FOLLOW_2);
10831 10831
10832 10832 newLeafNode(otherlv_5, grammarAccess.getRealEnumerationAccess().getRightCurlyBracketKeyword_3());
10833 } 10833
10834 10834
10835 10835 }
10836 } 10836
10837 10837
10838 10838 }
10839 } 10839
10840 break; 10840
10841 case 8 : 10841 leaveRule();
10842 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10842
10843 { 10843 }
10844 // InternalApplicationConfiguration.g:4017:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) 10844
10845 // InternalApplicationConfiguration.g:4018:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10845 catch (RecognitionException re) {
10846 { 10846 recover(input,re);
10847 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { 10847 appendSkippedTokens();
10848 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); 10848 }
10849 } 10849 finally {
10850 // InternalApplicationConfiguration.g:4018:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) 10850 }
10851 // InternalApplicationConfiguration.g:4019:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10851 return current;
10852 { 10852 }
10853 10853 // $ANTLR end "ruleRealEnumeration"
10854 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); 10854
10855 10855
10856 // InternalApplicationConfiguration.g:4022:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) 10856 // $ANTLR start "entryRuleStringEnumeration"
10857 // InternalApplicationConfiguration.g:4022:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10857 // InternalApplicationConfiguration.g:3974:1: entryRuleStringEnumeration returns [EObject current=null] : iv_ruleStringEnumeration= ruleStringEnumeration EOF ;
10858 { 10858 public final EObject entryRuleStringEnumeration() throws RecognitionException {
10859 if ( !((true)) ) { 10859 EObject current = null;
10860 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10860
10861 } 10861 EObject iv_ruleStringEnumeration = null;
10862 // InternalApplicationConfiguration.g:4022:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) 10862
10863 // InternalApplicationConfiguration.g:4022:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) 10863
10864 { 10864 try {
10865 otherlv_25=(Token)match(input,28,FOLLOW_12); 10865 // InternalApplicationConfiguration.g:3974:58: (iv_ruleStringEnumeration= ruleStringEnumeration EOF )
10866 10866 // InternalApplicationConfiguration.g:3975:2: iv_ruleStringEnumeration= ruleStringEnumeration EOF
10867 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); 10867 {
10868 10868 newCompositeNode(grammarAccess.getStringEnumerationRule());
10869 otherlv_26=(Token)match(input,17,FOLLOW_40); 10869 pushFollow(FOLLOW_1);
10870 10870 iv_ruleStringEnumeration=ruleStringEnumeration();
10871 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); 10871
10872 10872 state._fsp--;
10873 // InternalApplicationConfiguration.g:4030:9: ( (lv_config_27_0= ruleConfig ) ) 10873
10874 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10874 current =iv_ruleStringEnumeration;
10875 { 10875 match(input,EOF,FOLLOW_2);
10876 // InternalApplicationConfiguration.g:4031:10: (lv_config_27_0= ruleConfig ) 10876
10877 // InternalApplicationConfiguration.g:4032:11: lv_config_27_0= ruleConfig 10877 }
10878 { 10878
10879 10879 }
10880 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); 10880
10881 10881 catch (RecognitionException re) {
10882 pushFollow(FOLLOW_39); 10882 recover(input,re);
10883 lv_config_27_0=ruleConfig(); 10883 appendSkippedTokens();
10884 10884 }
10885 state._fsp--; 10885 finally {
10886 10886 }
10887 10887 return current;
10888 if (current==null) { 10888 }
10889 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10889 // $ANTLR end "entryRuleStringEnumeration"
10890 } 10890
10891 set( 10891
10892 current, 10892 // $ANTLR start "ruleStringEnumeration"
10893 "config", 10893 // InternalApplicationConfiguration.g:3981:1: ruleStringEnumeration returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) ;
10894 lv_config_27_0, 10894 public final EObject ruleStringEnumeration() throws RecognitionException {
10895 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 10895 EObject current = null;
10896 afterParserOrEnumRuleCall(); 10896
10897 10897 Token otherlv_1=null;
10898 10898 Token lv_entry_2_0=null;
10899 } 10899 Token otherlv_3=null;
10900 10900 Token lv_entry_4_0=null;
10901 10901 Token otherlv_5=null;
10902 } 10902
10903 10903
10904 10904 enterRule();
10905 } 10905
10906 10906 try {
10907 10907 // InternalApplicationConfiguration.g:3987:2: ( ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' ) )
10908 } 10908 // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10909 10909 {
10910 10910 // InternalApplicationConfiguration.g:3988:2: ( () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}' )
10911 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10911 // InternalApplicationConfiguration.g:3989:3: () otherlv_1= '{' ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )? otherlv_5= '}'
10912 10912 {
10913 10913 // InternalApplicationConfiguration.g:3989:3: ()
10914 } 10914 // InternalApplicationConfiguration.g:3990:4:
10915 10915 {
10916 10916
10917 } 10917 current = forceCreateModelElement(
10918 10918 grammarAccess.getStringEnumerationAccess().getStringEnumerationAction_0(),
10919 10919 current);
10920 } 10920
10921 break; 10921
10922 case 9 : 10922 }
10923 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10923
10924 { 10924 otherlv_1=(Token)match(input,19,FOLLOW_41);
10925 // InternalApplicationConfiguration.g:4055:4: ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) 10925
10926 // InternalApplicationConfiguration.g:4056:5: {...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10926 newLeafNode(otherlv_1, grammarAccess.getStringEnumerationAccess().getLeftCurlyBracketKeyword_1());
10927 { 10927
10928 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { 10928 // InternalApplicationConfiguration.g:4000:3: ( ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )* )?
10929 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); 10929 int alt56=2;
10930 } 10930 int LA56_0 = input.LA(1);
10931 // InternalApplicationConfiguration.g:4056:111: ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) 10931
10932 // InternalApplicationConfiguration.g:4057:6: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10932 if ( (LA56_0==RULE_STRING) ) {
10933 { 10933 alt56=1;
10934 10934 }
10935 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); 10935 switch (alt56) {
10936 10936 case 1 :
10937 // InternalApplicationConfiguration.g:4060:9: ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) 10937 // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) ) (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10938 // InternalApplicationConfiguration.g:4060:10: {...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10938 {
10939 { 10939 // InternalApplicationConfiguration.g:4001:4: ( (lv_entry_2_0= RULE_STRING ) )
10940 if ( !((true)) ) { 10940 // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING )
10941 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 10941 {
10942 } 10942 // InternalApplicationConfiguration.g:4002:5: (lv_entry_2_0= RULE_STRING )
10943 // InternalApplicationConfiguration.g:4060:19: (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) 10943 // InternalApplicationConfiguration.g:4003:6: lv_entry_2_0= RULE_STRING
10944 // InternalApplicationConfiguration.g:4060:20: otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) 10944 {
10945 { 10945 lv_entry_2_0=(Token)match(input,RULE_STRING,FOLLOW_15);
10946 otherlv_28=(Token)match(input,48,FOLLOW_12); 10946
10947 10947 newLeafNode(lv_entry_2_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_0_0());
10948 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_8_0()); 10948
10949 10949
10950 otherlv_29=(Token)match(input,17,FOLLOW_20); 10950 if (current==null) {
10951 10951 current = createModelElement(grammarAccess.getStringEnumerationRule());
10952 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); 10952 }
10953 10953 addWithLastConsumed(
10954 // InternalApplicationConfiguration.g:4068:9: ( (lv_debugFolder_30_0= ruleFile ) ) 10954 current,
10955 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10955 "entry",
10956 { 10956 lv_entry_2_0,
10957 // InternalApplicationConfiguration.g:4069:10: (lv_debugFolder_30_0= ruleFile ) 10957 "org.eclipse.xtext.common.Terminals.STRING");
10958 // InternalApplicationConfiguration.g:4070:11: lv_debugFolder_30_0= ruleFile 10958
10959 { 10959
10960 10960 }
10961 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_8_2_0()); 10961
10962 10962
10963 pushFollow(FOLLOW_39); 10963 }
10964 lv_debugFolder_30_0=ruleFile(); 10964
10965 10965 // InternalApplicationConfiguration.g:4019:4: (otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) ) )*
10966 state._fsp--; 10966 loop55:
10967 10967 do {
10968 10968 int alt55=2;
10969 if (current==null) { 10969 int LA55_0 = input.LA(1);
10970 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 10970
10971 } 10971 if ( (LA55_0==20) ) {
10972 set( 10972 alt55=1;
10973 current, 10973 }
10974 "debugFolder", 10974
10975 lv_debugFolder_30_0, 10975
10976 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 10976 switch (alt55) {
10977 afterParserOrEnumRuleCall(); 10977 case 1 :
10978 10978 // InternalApplicationConfiguration.g:4020:5: otherlv_3= ',' ( (lv_entry_4_0= RULE_STRING ) )
10979 10979 {
10980 } 10980 otherlv_3=(Token)match(input,20,FOLLOW_10);
10981 10981
10982 10982 newLeafNode(otherlv_3, grammarAccess.getStringEnumerationAccess().getCommaKeyword_2_1_0());
10983 } 10983
10984 10984 // InternalApplicationConfiguration.g:4024:5: ( (lv_entry_4_0= RULE_STRING ) )
10985 10985 // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING )
10986 } 10986 {
10987 10987 // InternalApplicationConfiguration.g:4025:6: (lv_entry_4_0= RULE_STRING )
10988 10988 // InternalApplicationConfiguration.g:4026:7: lv_entry_4_0= RULE_STRING
10989 } 10989 {
10990 10990 lv_entry_4_0=(Token)match(input,RULE_STRING,FOLLOW_15);
10991 10991
10992 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 10992 newLeafNode(lv_entry_4_0, grammarAccess.getStringEnumerationAccess().getEntrySTRINGTerminalRuleCall_2_1_1_0());
10993 10993
10994 10994
10995 } 10995 if (current==null) {
10996 10996 current = createModelElement(grammarAccess.getStringEnumerationRule());
10997 10997 }
10998 } 10998 addWithLastConsumed(
10999 10999 current,
11000 11000 "entry",
11001 } 11001 lv_entry_4_0,
11002 break; 11002 "org.eclipse.xtext.common.Terminals.STRING");
11003 case 10 : 11003
11004 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11004
11005 { 11005 }
11006 // InternalApplicationConfiguration.g:4093:4: ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) 11006
11007 // InternalApplicationConfiguration.g:4094:5: {...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11007
11008 { 11008 }
11009 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { 11009
11010 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); 11010
11011 } 11011 }
11012 // InternalApplicationConfiguration.g:4094:111: ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) 11012 break;
11013 // InternalApplicationConfiguration.g:4095:6: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11013
11014 { 11014 default :
11015 11015 break loop55;
11016 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); 11016 }
11017 11017 } while (true);
11018 // InternalApplicationConfiguration.g:4098:9: ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) 11018
11019 // InternalApplicationConfiguration.g:4098:10: {...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11019
11020 { 11020 }
11021 if ( !((true)) ) { 11021 break;
11022 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11022
11023 } 11023 }
11024 // InternalApplicationConfiguration.g:4098:19: (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) 11024
11025 // InternalApplicationConfiguration.g:4098:20: otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) 11025 otherlv_5=(Token)match(input,21,FOLLOW_2);
11026 { 11026
11027 otherlv_31=(Token)match(input,49,FOLLOW_12); 11027 newLeafNode(otherlv_5, grammarAccess.getStringEnumerationAccess().getRightCurlyBracketKeyword_3());
11028 11028
11029 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_9_0()); 11029
11030 11030 }
11031 otherlv_32=(Token)match(input,17,FOLLOW_20); 11031
11032 11032
11033 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); 11033 }
11034 11034
11035 // InternalApplicationConfiguration.g:4106:9: ( (lv_targetLogFile_33_0= ruleFile ) ) 11035
11036 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11036 leaveRule();
11037 { 11037
11038 // InternalApplicationConfiguration.g:4107:10: (lv_targetLogFile_33_0= ruleFile ) 11038 }
11039 // InternalApplicationConfiguration.g:4108:11: lv_targetLogFile_33_0= ruleFile 11039
11040 { 11040 catch (RecognitionException re) {
11041 11041 recover(input,re);
11042 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_9_2_0()); 11042 appendSkippedTokens();
11043 11043 }
11044 pushFollow(FOLLOW_39); 11044 finally {
11045 lv_targetLogFile_33_0=ruleFile(); 11045 }
11046 11046 return current;
11047 state._fsp--; 11047 }
11048 11048 // $ANTLR end "ruleStringEnumeration"
11049 11049
11050 if (current==null) { 11050
11051 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11051 // $ANTLR start "entryRuleScopeDeclaration"
11052 } 11052 // InternalApplicationConfiguration.g:4052:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ;
11053 set( 11053 public final EObject entryRuleScopeDeclaration() throws RecognitionException {
11054 current, 11054 EObject current = null;
11055 "targetLogFile", 11055
11056 lv_targetLogFile_33_0, 11056 EObject iv_ruleScopeDeclaration = null;
11057 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11057
11058 afterParserOrEnumRuleCall(); 11058
11059 11059 try {
11060 11060 // InternalApplicationConfiguration.g:4052:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF )
11061 } 11061 // InternalApplicationConfiguration.g:4053:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF
11062 11062 {
11063 11063 newCompositeNode(grammarAccess.getScopeDeclarationRule());
11064 } 11064 pushFollow(FOLLOW_1);
11065 11065 iv_ruleScopeDeclaration=ruleScopeDeclaration();
11066 11066
11067 } 11067 state._fsp--;
11068 11068
11069 11069 current =iv_ruleScopeDeclaration;
11070 } 11070 match(input,EOF,FOLLOW_2);
11071 11071
11072 11072 }
11073 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11073
11074 11074 }
11075 11075
11076 } 11076 catch (RecognitionException re) {
11077 11077 recover(input,re);
11078 11078 appendSkippedTokens();
11079 } 11079 }
11080 11080 finally {
11081 11081 }
11082 } 11082 return current;
11083 break; 11083 }
11084 case 11 : 11084 // $ANTLR end "entryRuleScopeDeclaration"
11085 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11085
11086 { 11086
11087 // InternalApplicationConfiguration.g:4131:4: ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) 11087 // $ANTLR start "ruleScopeDeclaration"
11088 // InternalApplicationConfiguration.g:4132:5: {...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11088 // InternalApplicationConfiguration.g:4059:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ;
11089 { 11089 public final EObject ruleScopeDeclaration() throws RecognitionException {
11090 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { 11090 EObject current = null;
11091 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); 11091
11092 } 11092 Token otherlv_0=null;
11093 // InternalApplicationConfiguration.g:4132:112: ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) 11093 Token lv_name_1_0=null;
11094 // InternalApplicationConfiguration.g:4133:6: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11094 EObject lv_specification_2_0 = null;
11095 { 11095
11096 11096
11097 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); 11097
11098 11098 enterRule();
11099 // InternalApplicationConfiguration.g:4136:9: ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) 11099
11100 // InternalApplicationConfiguration.g:4136:10: {...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11100 try {
11101 { 11101 // InternalApplicationConfiguration.g:4065:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) )
11102 if ( !((true)) ) { 11102 // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11103 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11103 {
11104 } 11104 // InternalApplicationConfiguration.g:4066:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
11105 // InternalApplicationConfiguration.g:4136:19: (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) 11105 // InternalApplicationConfiguration.g:4067:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) )
11106 // InternalApplicationConfiguration.g:4136:20: otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11106 {
11107 { 11107 otherlv_0=(Token)match(input,44,FOLLOW_6);
11108 otherlv_34=(Token)match(input,50,FOLLOW_12); 11108
11109 11109 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
11110 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_10_0()); 11110
11111 11111 // InternalApplicationConfiguration.g:4071:3: ( (lv_name_1_0= RULE_ID ) )
11112 otherlv_35=(Token)match(input,17,FOLLOW_20); 11112 // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID )
11113 11113 {
11114 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); 11114 // InternalApplicationConfiguration.g:4072:4: (lv_name_1_0= RULE_ID )
11115 11115 // InternalApplicationConfiguration.g:4073:5: lv_name_1_0= RULE_ID
11116 // InternalApplicationConfiguration.g:4144:9: ( (lv_targetStatisticsFile_36_0= ruleFile ) ) 11116 {
11117 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11117 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_17);
11118 { 11118
11119 // InternalApplicationConfiguration.g:4145:10: (lv_targetStatisticsFile_36_0= ruleFile ) 11119 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
11120 // InternalApplicationConfiguration.g:4146:11: lv_targetStatisticsFile_36_0= ruleFile 11120
11121 { 11121
11122 11122 if (current==null) {
11123 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_10_2_0()); 11123 current = createModelElement(grammarAccess.getScopeDeclarationRule());
11124 11124 }
11125 pushFollow(FOLLOW_39); 11125 setWithLastConsumed(
11126 lv_targetStatisticsFile_36_0=ruleFile(); 11126 current,
11127 11127 "name",
11128 state._fsp--; 11128 lv_name_1_0,
11129 11129 "org.eclipse.xtext.common.Terminals.ID");
11130 11130
11131 if (current==null) { 11131
11132 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11132 }
11133 } 11133
11134 set( 11134
11135 current, 11135 }
11136 "targetStatisticsFile", 11136
11137 lv_targetStatisticsFile_36_0, 11137 // InternalApplicationConfiguration.g:4089:3: ( (lv_specification_2_0= ruleScopeSpecification ) )
11138 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11138 // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification )
11139 afterParserOrEnumRuleCall(); 11139 {
11140 11140 // InternalApplicationConfiguration.g:4090:4: (lv_specification_2_0= ruleScopeSpecification )
11141 11141 // InternalApplicationConfiguration.g:4091:5: lv_specification_2_0= ruleScopeSpecification
11142 } 11142 {
11143 11143
11144 11144 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
11145 } 11145
11146 11146 pushFollow(FOLLOW_2);
11147 11147 lv_specification_2_0=ruleScopeSpecification();
11148 } 11148
11149 11149 state._fsp--;
11150 11150
11151 } 11151
11152 11152 if (current==null) {
11153 11153 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
11154 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11154 }
11155 11155 set(
11156 11156 current,
11157 } 11157 "specification",
11158 11158 lv_specification_2_0,
11159 11159 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
11160 } 11160 afterParserOrEnumRuleCall();
11161 11161
11162 11162
11163 } 11163 }
11164 break; 11164
11165 case 12 : 11165
11166 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11166 }
11167 { 11167
11168 // InternalApplicationConfiguration.g:4169:4: ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) 11168
11169 // InternalApplicationConfiguration.g:4170:5: {...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11169 }
11170 { 11170
11171 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { 11171
11172 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); 11172 }
11173 } 11173
11174 // InternalApplicationConfiguration.g:4170:112: ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) 11174
11175 // InternalApplicationConfiguration.g:4171:6: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11175 leaveRule();
11176 { 11176
11177 11177 }
11178 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); 11178
11179 11179 catch (RecognitionException re) {
11180 // InternalApplicationConfiguration.g:4174:9: ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) 11180 recover(input,re);
11181 // InternalApplicationConfiguration.g:4174:10: {...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11181 appendSkippedTokens();
11182 { 11182 }
11183 if ( !((true)) ) { 11183 finally {
11184 throw new FailedPredicateException(input, "ruleGenerationTask", "true"); 11184 }
11185 } 11185 return current;
11186 // InternalApplicationConfiguration.g:4174:19: (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) 11186 }
11187 // InternalApplicationConfiguration.g:4174:20: otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) 11187 // $ANTLR end "ruleScopeDeclaration"
11188 { 11188
11189 otherlv_37=(Token)match(input,51,FOLLOW_12); 11189
11190 11190 // $ANTLR start "entryRuleScopeReference"
11191 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_11_0()); 11191 // InternalApplicationConfiguration.g:4112:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ;
11192 11192 public final EObject entryRuleScopeReference() throws RecognitionException {
11193 otherlv_38=(Token)match(input,17,FOLLOW_20); 11193 EObject current = null;
11194 11194
11195 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); 11195 EObject iv_ruleScopeReference = null;
11196 11196
11197 // InternalApplicationConfiguration.g:4182:9: ( (lv_tagetFolder_39_0= ruleFile ) ) 11197
11198 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11198 try {
11199 { 11199 // InternalApplicationConfiguration.g:4112:55: (iv_ruleScopeReference= ruleScopeReference EOF )
11200 // InternalApplicationConfiguration.g:4183:10: (lv_tagetFolder_39_0= ruleFile ) 11200 // InternalApplicationConfiguration.g:4113:2: iv_ruleScopeReference= ruleScopeReference EOF
11201 // InternalApplicationConfiguration.g:4184:11: lv_tagetFolder_39_0= ruleFile 11201 {
11202 { 11202 newCompositeNode(grammarAccess.getScopeReferenceRule());
11203 11203 pushFollow(FOLLOW_1);
11204 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_11_2_0()); 11204 iv_ruleScopeReference=ruleScopeReference();
11205 11205
11206 pushFollow(FOLLOW_39); 11206 state._fsp--;
11207 lv_tagetFolder_39_0=ruleFile(); 11207
11208 11208 current =iv_ruleScopeReference;
11209 state._fsp--; 11209 match(input,EOF,FOLLOW_2);
11210 11210
11211 11211 }
11212 if (current==null) { 11212
11213 current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); 11213 }
11214 } 11214
11215 set( 11215 catch (RecognitionException re) {
11216 current, 11216 recover(input,re);
11217 "tagetFolder", 11217 appendSkippedTokens();
11218 lv_tagetFolder_39_0, 11218 }
11219 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 11219 finally {
11220 afterParserOrEnumRuleCall(); 11220 }
11221 11221 return current;
11222 11222 }
11223 } 11223 // $ANTLR end "entryRuleScopeReference"
11224 11224
11225 11225
11226 } 11226 // $ANTLR start "ruleScopeReference"
11227 11227 // InternalApplicationConfiguration.g:4119:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
11228 11228 public final EObject ruleScopeReference() throws RecognitionException {
11229 } 11229 EObject current = null;
11230 11230
11231 11231 Token otherlv_0=null;
11232 } 11232
11233 11233
11234 11234 enterRule();
11235 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11235
11236 11236 try {
11237 11237 // InternalApplicationConfiguration.g:4125:2: ( ( (otherlv_0= RULE_ID ) ) )
11238 } 11238 // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) )
11239 11239 {
11240 11240 // InternalApplicationConfiguration.g:4126:2: ( (otherlv_0= RULE_ID ) )
11241 } 11241 // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID )
11242 11242 {
11243 11243 // InternalApplicationConfiguration.g:4127:3: (otherlv_0= RULE_ID )
11244 } 11244 // InternalApplicationConfiguration.g:4128:4: otherlv_0= RULE_ID
11245 break; 11245 {
11246 11246
11247 default : 11247 if (current==null) {
11248 break loop54; 11248 current = createModelElement(grammarAccess.getScopeReferenceRule());
11249 } 11249 }
11250 } while (true); 11250
11251 11251 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2);
11252 11252
11253 } 11253 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
11254 11254
11255 11255
11256 } 11256 }
11257 11257
11258 11258
11259 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); 11259 }
11260 11260
11261 11261
11262 } 11262 }
11263 11263
11264 otherlv_40=(Token)match(input,20,FOLLOW_2); 11264
11265 11265 leaveRule();
11266 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); 11266
11267 11267 }
11268 11268
11269 } 11269 catch (RecognitionException re) {
11270 11270 recover(input,re);
11271 11271 appendSkippedTokens();
11272 } 11272 }
11273 11273 finally {
11274 11274 }
11275 leaveRule(); 11275 return current;
11276 11276 }
11277 } 11277 // $ANTLR end "ruleScopeReference"
11278 11278
11279 catch (RecognitionException re) { 11279
11280 recover(input,re); 11280 // $ANTLR start "entryRuleScope"
11281 appendSkippedTokens(); 11281 // InternalApplicationConfiguration.g:4142:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ;
11282 } 11282 public final EObject entryRuleScope() throws RecognitionException {
11283 finally { 11283 EObject current = null;
11284 } 11284
11285 return current; 11285 EObject iv_ruleScope = null;
11286 } 11286
11287 // $ANTLR end "ruleGenerationTask" 11287
11288 11288 try {
11289 11289 // InternalApplicationConfiguration.g:4142:46: (iv_ruleScope= ruleScope EOF )
11290 // $ANTLR start "ruleDocumentLevelSpecification" 11290 // InternalApplicationConfiguration.g:4143:2: iv_ruleScope= ruleScope EOF
11291 // InternalApplicationConfiguration.g:4222:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ; 11291 {
11292 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException { 11292 newCompositeNode(grammarAccess.getScopeRule());
11293 Enumerator current = null; 11293 pushFollow(FOLLOW_1);
11294 11294 iv_ruleScope=ruleScope();
11295 Token enumLiteral_0=null; 11295
11296 Token enumLiteral_1=null; 11296 state._fsp--;
11297 Token enumLiteral_2=null; 11297
11298 11298 current =iv_ruleScope;
11299 11299 match(input,EOF,FOLLOW_2);
11300 enterRule(); 11300
11301 11301 }
11302 try { 11302
11303 // InternalApplicationConfiguration.g:4228:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ) 11303 }
11304 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11304
11305 { 11305 catch (RecognitionException re) {
11306 // InternalApplicationConfiguration.g:4229:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) 11306 recover(input,re);
11307 int alt55=3; 11307 appendSkippedTokens();
11308 switch ( input.LA(1) ) { 11308 }
11309 case 52: 11309 finally {
11310 { 11310 }
11311 alt55=1; 11311 return current;
11312 } 11312 }
11313 break; 11313 // $ANTLR end "entryRuleScope"
11314 case 53: 11314
11315 { 11315
11316 alt55=2; 11316 // $ANTLR start "ruleScope"
11317 } 11317 // InternalApplicationConfiguration.g:4149:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ;
11318 break; 11318 public final EObject ruleScope() throws RecognitionException {
11319 case 54: 11319 EObject current = null;
11320 { 11320
11321 alt55=3; 11321 EObject this_ScopeSpecification_0 = null;
11322 } 11322
11323 break; 11323 EObject this_ScopeReference_1 = null;
11324 default: 11324
11325 NoViableAltException nvae = 11325
11326 new NoViableAltException("", 55, 0, input); 11326
11327 11327 enterRule();
11328 throw nvae; 11328
11329 } 11329 try {
11330 11330 // InternalApplicationConfiguration.g:4155:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) )
11331 switch (alt55) { 11331 // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11332 case 1 : 11332 {
11333 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11333 // InternalApplicationConfiguration.g:4156:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
11334 { 11334 int alt57=2;
11335 // InternalApplicationConfiguration.g:4230:3: (enumLiteral_0= 'none' ) 11335 int LA57_0 = input.LA(1);
11336 // InternalApplicationConfiguration.g:4231:4: enumLiteral_0= 'none' 11336
11337 { 11337 if ( (LA57_0==19) ) {
11338 enumLiteral_0=(Token)match(input,52,FOLLOW_2); 11338 alt57=1;
11339 11339 }
11340 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11340 else if ( (LA57_0==RULE_ID) ) {
11341 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0()); 11341 alt57=2;
11342 11342 }
11343 11343 else {
11344 } 11344 NoViableAltException nvae =
11345 11345 new NoViableAltException("", 57, 0, input);
11346 11346
11347 } 11347 throw nvae;
11348 break; 11348 }
11349 case 2 : 11349 switch (alt57) {
11350 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11350 case 1 :
11351 { 11351 // InternalApplicationConfiguration.g:4157:3: this_ScopeSpecification_0= ruleScopeSpecification
11352 // InternalApplicationConfiguration.g:4238:3: (enumLiteral_1= 'normal' ) 11352 {
11353 // InternalApplicationConfiguration.g:4239:4: enumLiteral_1= 'normal' 11353
11354 { 11354 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
11355 enumLiteral_1=(Token)match(input,53,FOLLOW_2); 11355
11356 11356 pushFollow(FOLLOW_2);
11357 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11357 this_ScopeSpecification_0=ruleScopeSpecification();
11358 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1()); 11358
11359 11359 state._fsp--;
11360 11360
11361 } 11361
11362 11362 current = this_ScopeSpecification_0;
11363 11363 afterParserOrEnumRuleCall();
11364 } 11364
11365 break; 11365
11366 case 3 : 11366 }
11367 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11367 break;
11368 { 11368 case 2 :
11369 // InternalApplicationConfiguration.g:4246:3: (enumLiteral_2= 'full' ) 11369 // InternalApplicationConfiguration.g:4166:3: this_ScopeReference_1= ruleScopeReference
11370 // InternalApplicationConfiguration.g:4247:4: enumLiteral_2= 'full' 11370 {
11371 { 11371
11372 enumLiteral_2=(Token)match(input,54,FOLLOW_2); 11372 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
11373 11373
11374 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11374 pushFollow(FOLLOW_2);
11375 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2()); 11375 this_ScopeReference_1=ruleScopeReference();
11376 11376
11377 11377 state._fsp--;
11378 } 11378
11379 11379
11380 11380 current = this_ScopeReference_1;
11381 } 11381 afterParserOrEnumRuleCall();
11382 break; 11382
11383 11383
11384 } 11384 }
11385 11385 break;
11386 11386
11387 } 11387 }
11388 11388
11389 11389
11390 leaveRule(); 11390 }
11391 11391
11392 } 11392
11393 11393 leaveRule();
11394 catch (RecognitionException re) { 11394
11395 recover(input,re); 11395 }
11396 appendSkippedTokens(); 11396
11397 } 11397 catch (RecognitionException re) {
11398 finally { 11398 recover(input,re);
11399 } 11399 appendSkippedTokens();
11400 return current; 11400 }
11401 } 11401 finally {
11402 // $ANTLR end "ruleDocumentLevelSpecification" 11402 }
11403 11403 return current;
11404 11404 }
11405 // $ANTLR start "ruleSolver" 11405 // $ANTLR end "ruleScope"
11406 // InternalApplicationConfiguration.g:4257:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; 11406
11407 public final Enumerator ruleSolver() throws RecognitionException { 11407
11408 Enumerator current = null; 11408 // $ANTLR start "entryRuleTask"
11409 11409 // InternalApplicationConfiguration.g:4178:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ;
11410 Token enumLiteral_0=null; 11410 public final EObject entryRuleTask() throws RecognitionException {
11411 Token enumLiteral_1=null; 11411 EObject current = null;
11412 Token enumLiteral_2=null; 11412
11413 11413 EObject iv_ruleTask = null;
11414 11414
11415 enterRule(); 11415
11416 11416 try {
11417 try { 11417 // InternalApplicationConfiguration.g:4178:45: (iv_ruleTask= ruleTask EOF )
11418 // InternalApplicationConfiguration.g:4263:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) 11418 // InternalApplicationConfiguration.g:4179:2: iv_ruleTask= ruleTask EOF
11419 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11419 {
11420 { 11420 newCompositeNode(grammarAccess.getTaskRule());
11421 // InternalApplicationConfiguration.g:4264:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) 11421 pushFollow(FOLLOW_1);
11422 int alt56=3; 11422 iv_ruleTask=ruleTask();
11423 switch ( input.LA(1) ) { 11423
11424 case 55: 11424 state._fsp--;
11425 { 11425
11426 alt56=1; 11426 current =iv_ruleTask;
11427 } 11427 match(input,EOF,FOLLOW_2);
11428 break; 11428
11429 case 56: 11429 }
11430 { 11430
11431 alt56=2; 11431 }
11432 } 11432
11433 break; 11433 catch (RecognitionException re) {
11434 case 57: 11434 recover(input,re);
11435 { 11435 appendSkippedTokens();
11436 alt56=3; 11436 }
11437 } 11437 finally {
11438 break; 11438 }
11439 default: 11439 return current;
11440 NoViableAltException nvae = 11440 }
11441 new NoViableAltException("", 56, 0, input); 11441 // $ANTLR end "entryRuleTask"
11442 11442
11443 throw nvae; 11443
11444 } 11444 // $ANTLR start "ruleTask"
11445 11445 // InternalApplicationConfiguration.g:4185:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ;
11446 switch (alt56) { 11446 public final EObject ruleTask() throws RecognitionException {
11447 case 1 : 11447 EObject current = null;
11448 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11448
11449 { 11449 EObject this_GenerationTask_0 = null;
11450 // InternalApplicationConfiguration.g:4265:3: (enumLiteral_0= 'SMTSolver' ) 11450
11451 // InternalApplicationConfiguration.g:4266:4: enumLiteral_0= 'SMTSolver' 11451
11452 { 11452
11453 enumLiteral_0=(Token)match(input,55,FOLLOW_2); 11453 enterRule();
11454 11454
11455 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); 11455 try {
11456 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); 11456 // InternalApplicationConfiguration.g:4191:2: (this_GenerationTask_0= ruleGenerationTask )
11457 11457 // InternalApplicationConfiguration.g:4192:2: this_GenerationTask_0= ruleGenerationTask
11458 11458 {
11459 } 11459
11460 11460 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
11461 11461
11462 } 11462 pushFollow(FOLLOW_2);
11463 break; 11463 this_GenerationTask_0=ruleGenerationTask();
11464 case 2 : 11464
11465 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11465 state._fsp--;
11466 { 11466
11467 // InternalApplicationConfiguration.g:4273:3: (enumLiteral_1= 'AlloySolver' ) 11467
11468 // InternalApplicationConfiguration.g:4274:4: enumLiteral_1= 'AlloySolver' 11468 current = this_GenerationTask_0;
11469 { 11469 afterParserOrEnumRuleCall();
11470 enumLiteral_1=(Token)match(input,56,FOLLOW_2); 11470
11471 11471
11472 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); 11472 }
11473 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); 11473
11474 11474
11475 11475 leaveRule();
11476 } 11476
11477 11477 }
11478 11478
11479 } 11479 catch (RecognitionException re) {
11480 break; 11480 recover(input,re);
11481 case 3 : 11481 appendSkippedTokens();
11482 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11482 }
11483 { 11483 finally {
11484 // InternalApplicationConfiguration.g:4281:3: (enumLiteral_2= 'ViatraSolver' ) 11484 }
11485 // InternalApplicationConfiguration.g:4282:4: enumLiteral_2= 'ViatraSolver' 11485 return current;
11486 { 11486 }
11487 enumLiteral_2=(Token)match(input,57,FOLLOW_2); 11487 // $ANTLR end "ruleTask"
11488 11488
11489 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); 11489
11490 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); 11490 // $ANTLR start "entryRuleGenerationTask"
11491 11491 // InternalApplicationConfiguration.g:4203:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ;
11492 11492 public final EObject entryRuleGenerationTask() throws RecognitionException {
11493 } 11493 EObject current = null;
11494 11494
11495 11495 EObject iv_ruleGenerationTask = null;
11496 } 11496
11497 break; 11497
11498 11498 try {
11499 } 11499 // InternalApplicationConfiguration.g:4203:55: (iv_ruleGenerationTask= ruleGenerationTask EOF )
11500 11500 // InternalApplicationConfiguration.g:4204:2: iv_ruleGenerationTask= ruleGenerationTask EOF
11501 11501 {
11502 } 11502 newCompositeNode(grammarAccess.getGenerationTaskRule());
11503 11503 pushFollow(FOLLOW_1);
11504 11504 iv_ruleGenerationTask=ruleGenerationTask();
11505 leaveRule(); 11505
11506 11506 state._fsp--;
11507 } 11507
11508 11508 current =iv_ruleGenerationTask;
11509 catch (RecognitionException re) { 11509 match(input,EOF,FOLLOW_2);
11510 recover(input,re); 11510
11511 appendSkippedTokens(); 11511 }
11512 } 11512
11513 finally { 11513 }
11514 } 11514
11515 return current; 11515 catch (RecognitionException re) {
11516 } 11516 recover(input,re);
11517 // $ANTLR end "ruleSolver" 11517 appendSkippedTokens();
11518 11518 }
11519 // Delegated rules 11519 finally {
11520 11520 }
11521 11521 return current;
11522 protected DFA54 dfa54 = new DFA54(this); 11522 }
11523 static final String dfa_1s = "\16\uffff"; 11523 // $ANTLR end "entryRuleGenerationTask"
11524 static final String dfa_2s = "\1\24\15\uffff"; 11524
11525 static final String dfa_3s = "\1\63\15\uffff"; 11525
11526 static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"; 11526 // $ANTLR start "ruleGenerationTask"
11527 static final String dfa_5s = "\1\0\15\uffff}>"; 11527 // InternalApplicationConfiguration.g:4210:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) ;
11528 static final String[] dfa_6s = { 11528 public final EObject ruleGenerationTask() throws RecognitionException {
11529 "\1\1\3\uffff\1\2\2\uffff\1\4\1\11\15\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", 11529 EObject current = null;
11530 "", 11530
11531 "", 11531 Token otherlv_0=null;
11532 "", 11532 Token otherlv_2=null;
11533 "", 11533 Token otherlv_4=null;
11534 "", 11534 Token otherlv_5=null;
11535 "", 11535 Token otherlv_7=null;
11536 "", 11536 Token otherlv_8=null;
11537 "", 11537 Token otherlv_10=null;
11538 "", 11538 Token otherlv_11=null;
11539 "", 11539 Token otherlv_13=null;
11540 "", 11540 Token otherlv_14=null;
11541 "", 11541 Token otherlv_16=null;
11542 "" 11542 Token otherlv_17=null;
11543 }; 11543 Token lv_numberSpecified_19_0=null;
11544 11544 Token otherlv_20=null;
11545 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); 11545 Token lv_number_21_0=null;
11546 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); 11546 Token lv_runSpecified_22_0=null;
11547 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); 11547 Token otherlv_23=null;
11548 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); 11548 Token lv_runs_24_0=null;
11549 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); 11549 Token otherlv_25=null;
11550 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); 11550 Token otherlv_26=null;
11551 11551 Token otherlv_28=null;
11552 class DFA54 extends DFA { 11552 Token otherlv_29=null;
11553 11553 Token otherlv_31=null;
11554 public DFA54(BaseRecognizer recognizer) { 11554 Token otherlv_32=null;
11555 this.recognizer = recognizer; 11555 Token otherlv_34=null;
11556 this.decisionNumber = 54; 11556 Token otherlv_35=null;
11557 this.eot = dfa_1; 11557 Token otherlv_37=null;
11558 this.eof = dfa_1; 11558 Token otherlv_38=null;
11559 this.min = dfa_2; 11559 Token otherlv_40=null;
11560 this.max = dfa_3; 11560 Token otherlv_41=null;
11561 this.accept = dfa_4; 11561 Token otherlv_43=null;
11562 this.special = dfa_5; 11562 EObject lv_metamodel_6_0 = null;
11563 this.transition = dfa_6; 11563
11564 } 11564 EObject lv_partialModel_9_0 = null;
11565 public String getDescription() { 11565
11566 return "()* loopback of 3732:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_16_0= 'number' ) ) otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_19_0= 'runs' ) ) otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'debug' otherlv_29= '=' ( (lv_debugFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'log' otherlv_32= '=' ( (lv_targetLogFile_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'statistics' otherlv_35= '=' ( (lv_targetStatisticsFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'output' otherlv_38= '=' ( (lv_tagetFolder_39_0= ruleFile ) ) ) ) ) ) )*"; 11566 EObject lv_patterns_12_0 = null;
11567 } 11567
11568 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { 11568 EObject lv_objectives_15_0 = null;
11569 TokenStream input = (TokenStream)_input; 11569
11570 int _s = s; 11570 EObject lv_scope_18_0 = null;
11571 switch ( s ) { 11571
11572 case 0 : 11572 Enumerator lv_solver_27_0 = null;
11573 int LA54_0 = input.LA(1); 11573
11574 11574 EObject lv_config_30_0 = null;
11575 11575
11576 int index54_0 = input.index(); 11576 EObject lv_debugFolder_33_0 = null;
11577 input.rewind(); 11577
11578 s = -1; 11578 EObject lv_targetLogFile_36_0 = null;
11579 if ( (LA54_0==20) ) {s = 1;} 11579
11580 11580 EObject lv_targetStatisticsFile_39_0 = null;
11581 else if ( LA54_0 == 24 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} 11581
11582 11582 EObject lv_tagetFolder_42_0 = null;
11583 else if ( LA54_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} 11583
11584 11584
11585 else if ( LA54_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} 11585
11586 11586 enterRule();
11587 else if ( LA54_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} 11587
11588 11588 try {
11589 else if ( LA54_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} 11589 // InternalApplicationConfiguration.g:4216:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' ) )
11590 11590 // InternalApplicationConfiguration.g:4217:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11591 else if ( LA54_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} 11591 {
11592 11592 // InternalApplicationConfiguration.g:4217:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}' )
11593 else if ( LA54_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} 11593 // InternalApplicationConfiguration.g:4218:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_43= '}'
11594 11594 {
11595 else if ( LA54_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} 11595 otherlv_0=(Token)match(input,45,FOLLOW_17);
11596 11596
11597 else if ( LA54_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} 11597 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
11598 11598
11599 else if ( LA54_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} 11599 // InternalApplicationConfiguration.g:4222:3: ()
11600 11600 // InternalApplicationConfiguration.g:4223:4:
11601 else if ( LA54_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} 11601 {
11602 11602
11603 else if ( LA54_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} 11603 current = forceCreateModelElement(
11604 11604 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
11605 11605 current);
11606 input.seek(index54_0); 11606
11607 if ( s>=0 ) return s; 11607
11608 break; 11608 }
11609 } 11609
11610 NoViableAltException nvae = 11610 otherlv_2=(Token)match(input,19,FOLLOW_42);
11611 new NoViableAltException(getDescription(), 54, _s, input); 11611
11612 error(nvae); 11612 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
11613 throw nvae; 11613
11614 } 11614 // InternalApplicationConfiguration.g:4233:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) ) )
11615 } 11615 // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11616 11616 {
11617 11617 // InternalApplicationConfiguration.g:4234:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* ) )
11618 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); 11618 // InternalApplicationConfiguration.g:4235:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11619 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); 11619 {
11620 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C001D012002L}); 11620
11621 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000C001D010002L}); 11621 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11622 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L}); 11622
11623 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); 11623 // InternalApplicationConfiguration.g:4238:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )* )
11624 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); 11624 // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11625 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L}); 11625 {
11626 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); 11626 // InternalApplicationConfiguration.g:4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*
11627 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L}); 11627 loop58:
11628 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L}); 11628 do {
11629 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000020000L}); 11629 int alt58=14;
11630 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200010L}); 11630 alt58 = dfa58.predict(input);
11631 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000180000L}); 11631 switch (alt58) {
11632 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400002L}); 11632 case 1 :
11633 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000040000L}); 11633 // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11634 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000800000L}); 11634 {
11635 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000050L}); 11635 // InternalApplicationConfiguration.g:4240:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
11636 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000100000L}); 11636 // InternalApplicationConfiguration.g:4241:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11637 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000000050L}); 11637 {
11638 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x00000000E0100040L}); 11638 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {
11639 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000000E0000040L}); 11639 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)");
11640 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0070000000000000L}); 11640 }
11641 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100100000L}); 11641 // InternalApplicationConfiguration.g:4241:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
11642 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000100000000L}); 11642 // InternalApplicationConfiguration.g:4242:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11643 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000400000000L}); 11643 {
11644 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200020000L}); 11644
11645 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000010000000020L}); 11645 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
11646 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000001000000000L}); 11646
11647 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002000000000L}); 11647 // InternalApplicationConfiguration.g:4245:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
11648 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000040020L}); 11648 // InternalApplicationConfiguration.g:4245:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11649 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); 11649 {
11650 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000008000000000L}); 11650 if ( !((true)) ) {
11651 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000000L}); 11651 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11652 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000020000000000L}); 11652 }
11653 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000101020L}); 11653 // InternalApplicationConfiguration.g:4245:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
11654 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000001020L}); 11654 // InternalApplicationConfiguration.g:4245:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) )
11655 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000100040L}); 11655 {
11656 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x000FF40019100000L}); 11656 otherlv_4=(Token)match(input,25,FOLLOW_13);
11657 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000040010L}); 11657
11658 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0380000000000000L}); 11658 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
11659 11659
11660} 11660 otherlv_5=(Token)match(input,18,FOLLOW_43);
11661
11662 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
11663
11664 // InternalApplicationConfiguration.g:4253:9: ( (lv_metamodel_6_0= ruleMetamodel ) )
11665 // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel )
11666 {
11667 // InternalApplicationConfiguration.g:4254:10: (lv_metamodel_6_0= ruleMetamodel )
11668 // InternalApplicationConfiguration.g:4255:11: lv_metamodel_6_0= ruleMetamodel
11669 {
11670
11671 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
11672
11673 pushFollow(FOLLOW_42);
11674 lv_metamodel_6_0=ruleMetamodel();
11675
11676 state._fsp--;
11677
11678
11679 if (current==null) {
11680 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11681 }
11682 set(
11683 current,
11684 "metamodel",
11685 lv_metamodel_6_0,
11686 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
11687 afterParserOrEnumRuleCall();
11688
11689
11690 }
11691
11692
11693 }
11694
11695
11696 }
11697
11698
11699 }
11700
11701
11702 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11703
11704
11705 }
11706
11707
11708 }
11709
11710
11711 }
11712 break;
11713 case 2 :
11714 // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11715 {
11716 // InternalApplicationConfiguration.g:4278:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
11717 // InternalApplicationConfiguration.g:4279:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11718 {
11719 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {
11720 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)");
11721 }
11722 // InternalApplicationConfiguration.g:4279:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
11723 // InternalApplicationConfiguration.g:4280:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11724 {
11725
11726 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
11727
11728 // InternalApplicationConfiguration.g:4283:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
11729 // InternalApplicationConfiguration.g:4283:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11730 {
11731 if ( !((true)) ) {
11732 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11733 }
11734 // InternalApplicationConfiguration.g:4283:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
11735 // InternalApplicationConfiguration.g:4283:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) )
11736 {
11737 otherlv_7=(Token)match(input,46,FOLLOW_13);
11738
11739 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
11740
11741 otherlv_8=(Token)match(input,18,FOLLOW_43);
11742
11743 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
11744
11745 // InternalApplicationConfiguration.g:4291:9: ( (lv_partialModel_9_0= rulePartialModel ) )
11746 // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel )
11747 {
11748 // InternalApplicationConfiguration.g:4292:10: (lv_partialModel_9_0= rulePartialModel )
11749 // InternalApplicationConfiguration.g:4293:11: lv_partialModel_9_0= rulePartialModel
11750 {
11751
11752 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
11753
11754 pushFollow(FOLLOW_42);
11755 lv_partialModel_9_0=rulePartialModel();
11756
11757 state._fsp--;
11758
11759
11760 if (current==null) {
11761 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11762 }
11763 set(
11764 current,
11765 "partialModel",
11766 lv_partialModel_9_0,
11767 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
11768 afterParserOrEnumRuleCall();
11769
11770
11771 }
11772
11773
11774 }
11775
11776
11777 }
11778
11779
11780 }
11781
11782
11783 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11784
11785
11786 }
11787
11788
11789 }
11790
11791
11792 }
11793 break;
11794 case 3 :
11795 // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11796 {
11797 // InternalApplicationConfiguration.g:4316:4: ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
11798 // InternalApplicationConfiguration.g:4317:5: {...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11799 {
11800 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {
11801 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)");
11802 }
11803 // InternalApplicationConfiguration.g:4317:111: ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
11804 // InternalApplicationConfiguration.g:4318:6: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11805 {
11806
11807 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
11808
11809 // InternalApplicationConfiguration.g:4321:9: ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
11810 // InternalApplicationConfiguration.g:4321:10: {...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11811 {
11812 if ( !((true)) ) {
11813 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11814 }
11815 // InternalApplicationConfiguration.g:4321:19: (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
11816 // InternalApplicationConfiguration.g:4321:20: otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) )
11817 {
11818 otherlv_10=(Token)match(input,28,FOLLOW_13);
11819
11820 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getConstraintsKeyword_3_2_0());
11821
11822 otherlv_11=(Token)match(input,18,FOLLOW_43);
11823
11824 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
11825
11826 // InternalApplicationConfiguration.g:4329:9: ( (lv_patterns_12_0= ruleGraphPattern ) )
11827 // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern )
11828 {
11829 // InternalApplicationConfiguration.g:4330:10: (lv_patterns_12_0= ruleGraphPattern )
11830 // InternalApplicationConfiguration.g:4331:11: lv_patterns_12_0= ruleGraphPattern
11831 {
11832
11833 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
11834
11835 pushFollow(FOLLOW_42);
11836 lv_patterns_12_0=ruleGraphPattern();
11837
11838 state._fsp--;
11839
11840
11841 if (current==null) {
11842 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11843 }
11844 set(
11845 current,
11846 "patterns",
11847 lv_patterns_12_0,
11848 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
11849 afterParserOrEnumRuleCall();
11850
11851
11852 }
11853
11854
11855 }
11856
11857
11858 }
11859
11860
11861 }
11862
11863
11864 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11865
11866
11867 }
11868
11869
11870 }
11871
11872
11873 }
11874 break;
11875 case 4 :
11876 // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11877 {
11878 // InternalApplicationConfiguration.g:4354:4: ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) )
11879 // InternalApplicationConfiguration.g:4355:5: {...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11880 {
11881 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {
11882 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)");
11883 }
11884 // InternalApplicationConfiguration.g:4355:111: ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) )
11885 // InternalApplicationConfiguration.g:4356:6: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11886 {
11887
11888 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
11889
11890 // InternalApplicationConfiguration.g:4359:9: ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) )
11891 // InternalApplicationConfiguration.g:4359:10: {...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11892 {
11893 if ( !((true)) ) {
11894 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11895 }
11896 // InternalApplicationConfiguration.g:4359:19: (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) )
11897 // InternalApplicationConfiguration.g:4359:20: otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) )
11898 {
11899 otherlv_13=(Token)match(input,29,FOLLOW_13);
11900
11901 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getObjectivesKeyword_3_3_0());
11902
11903 otherlv_14=(Token)match(input,18,FOLLOW_43);
11904
11905 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
11906
11907 // InternalApplicationConfiguration.g:4367:9: ( (lv_objectives_15_0= ruleObjective ) )
11908 // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective )
11909 {
11910 // InternalApplicationConfiguration.g:4368:10: (lv_objectives_15_0= ruleObjective )
11911 // InternalApplicationConfiguration.g:4369:11: lv_objectives_15_0= ruleObjective
11912 {
11913
11914 newCompositeNode(grammarAccess.getGenerationTaskAccess().getObjectivesObjectiveParserRuleCall_3_3_2_0());
11915
11916 pushFollow(FOLLOW_42);
11917 lv_objectives_15_0=ruleObjective();
11918
11919 state._fsp--;
11920
11921
11922 if (current==null) {
11923 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
11924 }
11925 set(
11926 current,
11927 "objectives",
11928 lv_objectives_15_0,
11929 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
11930 afterParserOrEnumRuleCall();
11931
11932
11933 }
11934
11935
11936 }
11937
11938
11939 }
11940
11941
11942 }
11943
11944
11945 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
11946
11947
11948 }
11949
11950
11951 }
11952
11953
11954 }
11955 break;
11956 case 5 :
11957 // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11958 {
11959 // InternalApplicationConfiguration.g:4392:4: ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) )
11960 // InternalApplicationConfiguration.g:4393:5: {...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
11961 {
11962 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {
11963 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)");
11964 }
11965 // InternalApplicationConfiguration.g:4393:111: ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) )
11966 // InternalApplicationConfiguration.g:4394:6: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
11967 {
11968
11969 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
11970
11971 // InternalApplicationConfiguration.g:4397:9: ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) )
11972 // InternalApplicationConfiguration.g:4397:10: {...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
11973 {
11974 if ( !((true)) ) {
11975 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
11976 }
11977 // InternalApplicationConfiguration.g:4397:19: (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) )
11978 // InternalApplicationConfiguration.g:4397:20: otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) )
11979 {
11980 otherlv_16=(Token)match(input,44,FOLLOW_13);
11981
11982 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_4_0());
11983
11984 otherlv_17=(Token)match(input,18,FOLLOW_43);
11985
11986 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
11987
11988 // InternalApplicationConfiguration.g:4405:9: ( (lv_scope_18_0= ruleScope ) )
11989 // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope )
11990 {
11991 // InternalApplicationConfiguration.g:4406:10: (lv_scope_18_0= ruleScope )
11992 // InternalApplicationConfiguration.g:4407:11: lv_scope_18_0= ruleScope
11993 {
11994
11995 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_4_2_0());
11996
11997 pushFollow(FOLLOW_42);
11998 lv_scope_18_0=ruleScope();
11999
12000 state._fsp--;
12001
12002
12003 if (current==null) {
12004 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12005 }
12006 set(
12007 current,
12008 "scope",
12009 lv_scope_18_0,
12010 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
12011 afterParserOrEnumRuleCall();
12012
12013
12014 }
12015
12016
12017 }
12018
12019
12020 }
12021
12022
12023 }
12024
12025
12026 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12027
12028
12029 }
12030
12031
12032 }
12033
12034
12035 }
12036 break;
12037 case 6 :
12038 // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12039 {
12040 // InternalApplicationConfiguration.g:4430:4: ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) )
12041 // InternalApplicationConfiguration.g:4431:5: {...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12042 {
12043 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {
12044 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)");
12045 }
12046 // InternalApplicationConfiguration.g:4431:111: ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) )
12047 // InternalApplicationConfiguration.g:4432:6: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12048 {
12049
12050 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
12051
12052 // InternalApplicationConfiguration.g:4435:9: ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) )
12053 // InternalApplicationConfiguration.g:4435:10: {...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12054 {
12055 if ( !((true)) ) {
12056 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12057 }
12058 // InternalApplicationConfiguration.g:4435:19: ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) )
12059 // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) )
12060 {
12061 // InternalApplicationConfiguration.g:4435:20: ( (lv_numberSpecified_19_0= 'number' ) )
12062 // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' )
12063 {
12064 // InternalApplicationConfiguration.g:4436:10: (lv_numberSpecified_19_0= 'number' )
12065 // InternalApplicationConfiguration.g:4437:11: lv_numberSpecified_19_0= 'number'
12066 {
12067 lv_numberSpecified_19_0=(Token)match(input,47,FOLLOW_13);
12068
12069 newLeafNode(lv_numberSpecified_19_0, grammarAccess.getGenerationTaskAccess().getNumberSpecifiedNumberKeyword_3_5_0_0());
12070
12071
12072 if (current==null) {
12073 current = createModelElement(grammarAccess.getGenerationTaskRule());
12074 }
12075 setWithLastConsumed(current, "numberSpecified", true, "number");
12076
12077
12078 }
12079
12080
12081 }
12082
12083 otherlv_20=(Token)match(input,18,FOLLOW_7);
12084
12085 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
12086
12087 // InternalApplicationConfiguration.g:4453:9: ( (lv_number_21_0= RULE_INT ) )
12088 // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT )
12089 {
12090 // InternalApplicationConfiguration.g:4454:10: (lv_number_21_0= RULE_INT )
12091 // InternalApplicationConfiguration.g:4455:11: lv_number_21_0= RULE_INT
12092 {
12093 lv_number_21_0=(Token)match(input,RULE_INT,FOLLOW_42);
12094
12095 newLeafNode(lv_number_21_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_5_2_0());
12096
12097
12098 if (current==null) {
12099 current = createModelElement(grammarAccess.getGenerationTaskRule());
12100 }
12101 setWithLastConsumed(
12102 current,
12103 "number",
12104 lv_number_21_0,
12105 "org.eclipse.xtext.common.Terminals.INT");
12106
12107
12108 }
12109
12110
12111 }
12112
12113
12114 }
12115
12116
12117 }
12118
12119
12120 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12121
12122
12123 }
12124
12125
12126 }
12127
12128
12129 }
12130 break;
12131 case 7 :
12132 // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12133 {
12134 // InternalApplicationConfiguration.g:4477:4: ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) )
12135 // InternalApplicationConfiguration.g:4478:5: {...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12136 {
12137 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {
12138 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)");
12139 }
12140 // InternalApplicationConfiguration.g:4478:111: ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) )
12141 // InternalApplicationConfiguration.g:4479:6: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12142 {
12143
12144 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
12145
12146 // InternalApplicationConfiguration.g:4482:9: ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) )
12147 // InternalApplicationConfiguration.g:4482:10: {...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12148 {
12149 if ( !((true)) ) {
12150 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12151 }
12152 // InternalApplicationConfiguration.g:4482:19: ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) )
12153 // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) )
12154 {
12155 // InternalApplicationConfiguration.g:4482:20: ( (lv_runSpecified_22_0= 'runs' ) )
12156 // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' )
12157 {
12158 // InternalApplicationConfiguration.g:4483:10: (lv_runSpecified_22_0= 'runs' )
12159 // InternalApplicationConfiguration.g:4484:11: lv_runSpecified_22_0= 'runs'
12160 {
12161 lv_runSpecified_22_0=(Token)match(input,48,FOLLOW_13);
12162
12163 newLeafNode(lv_runSpecified_22_0, grammarAccess.getGenerationTaskAccess().getRunSpecifiedRunsKeyword_3_6_0_0());
12164
12165
12166 if (current==null) {
12167 current = createModelElement(grammarAccess.getGenerationTaskRule());
12168 }
12169 setWithLastConsumed(current, "runSpecified", true, "runs");
12170
12171
12172 }
12173
12174
12175 }
12176
12177 otherlv_23=(Token)match(input,18,FOLLOW_7);
12178
12179 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
12180
12181 // InternalApplicationConfiguration.g:4500:9: ( (lv_runs_24_0= RULE_INT ) )
12182 // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT )
12183 {
12184 // InternalApplicationConfiguration.g:4501:10: (lv_runs_24_0= RULE_INT )
12185 // InternalApplicationConfiguration.g:4502:11: lv_runs_24_0= RULE_INT
12186 {
12187 lv_runs_24_0=(Token)match(input,RULE_INT,FOLLOW_42);
12188
12189 newLeafNode(lv_runs_24_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_6_2_0());
12190
12191
12192 if (current==null) {
12193 current = createModelElement(grammarAccess.getGenerationTaskRule());
12194 }
12195 setWithLastConsumed(
12196 current,
12197 "runs",
12198 lv_runs_24_0,
12199 "org.eclipse.xtext.common.Terminals.INT");
12200
12201
12202 }
12203
12204
12205 }
12206
12207
12208 }
12209
12210
12211 }
12212
12213
12214 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12215
12216
12217 }
12218
12219
12220 }
12221
12222
12223 }
12224 break;
12225 case 8 :
12226 // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12227 {
12228 // InternalApplicationConfiguration.g:4524:4: ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) )
12229 // InternalApplicationConfiguration.g:4525:5: {...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12230 {
12231 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {
12232 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)");
12233 }
12234 // InternalApplicationConfiguration.g:4525:111: ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) )
12235 // InternalApplicationConfiguration.g:4526:6: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12236 {
12237
12238 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
12239
12240 // InternalApplicationConfiguration.g:4529:9: ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) )
12241 // InternalApplicationConfiguration.g:4529:10: {...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12242 {
12243 if ( !((true)) ) {
12244 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12245 }
12246 // InternalApplicationConfiguration.g:4529:19: (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) )
12247 // InternalApplicationConfiguration.g:4529:20: otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) )
12248 {
12249 otherlv_25=(Token)match(input,49,FOLLOW_13);
12250
12251 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_7_0());
12252
12253 otherlv_26=(Token)match(input,18,FOLLOW_44);
12254
12255 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
12256
12257 // InternalApplicationConfiguration.g:4537:9: ( (lv_solver_27_0= ruleSolver ) )
12258 // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver )
12259 {
12260 // InternalApplicationConfiguration.g:4538:10: (lv_solver_27_0= ruleSolver )
12261 // InternalApplicationConfiguration.g:4539:11: lv_solver_27_0= ruleSolver
12262 {
12263
12264 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_7_2_0());
12265
12266 pushFollow(FOLLOW_42);
12267 lv_solver_27_0=ruleSolver();
12268
12269 state._fsp--;
12270
12271
12272 if (current==null) {
12273 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12274 }
12275 set(
12276 current,
12277 "solver",
12278 lv_solver_27_0,
12279 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
12280 afterParserOrEnumRuleCall();
12281
12282
12283 }
12284
12285
12286 }
12287
12288
12289 }
12290
12291
12292 }
12293
12294
12295 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12296
12297
12298 }
12299
12300
12301 }
12302
12303
12304 }
12305 break;
12306 case 9 :
12307 // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12308 {
12309 // InternalApplicationConfiguration.g:4562:4: ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) )
12310 // InternalApplicationConfiguration.g:4563:5: {...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12311 {
12312 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {
12313 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)");
12314 }
12315 // InternalApplicationConfiguration.g:4563:111: ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) )
12316 // InternalApplicationConfiguration.g:4564:6: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12317 {
12318
12319 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
12320
12321 // InternalApplicationConfiguration.g:4567:9: ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) )
12322 // InternalApplicationConfiguration.g:4567:10: {...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12323 {
12324 if ( !((true)) ) {
12325 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12326 }
12327 // InternalApplicationConfiguration.g:4567:19: (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) )
12328 // InternalApplicationConfiguration.g:4567:20: otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) )
12329 {
12330 otherlv_28=(Token)match(input,30,FOLLOW_13);
12331
12332 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_8_0());
12333
12334 otherlv_29=(Token)match(input,18,FOLLOW_43);
12335
12336 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
12337
12338 // InternalApplicationConfiguration.g:4575:9: ( (lv_config_30_0= ruleConfig ) )
12339 // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig )
12340 {
12341 // InternalApplicationConfiguration.g:4576:10: (lv_config_30_0= ruleConfig )
12342 // InternalApplicationConfiguration.g:4577:11: lv_config_30_0= ruleConfig
12343 {
12344
12345 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_8_2_0());
12346
12347 pushFollow(FOLLOW_42);
12348 lv_config_30_0=ruleConfig();
12349
12350 state._fsp--;
12351
12352
12353 if (current==null) {
12354 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12355 }
12356 set(
12357 current,
12358 "config",
12359 lv_config_30_0,
12360 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
12361 afterParserOrEnumRuleCall();
12362
12363
12364 }
12365
12366
12367 }
12368
12369
12370 }
12371
12372
12373 }
12374
12375
12376 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12377
12378
12379 }
12380
12381
12382 }
12383
12384
12385 }
12386 break;
12387 case 10 :
12388 // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12389 {
12390 // InternalApplicationConfiguration.g:4600:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
12391 // InternalApplicationConfiguration.g:4601:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12392 {
12393 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {
12394 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)");
12395 }
12396 // InternalApplicationConfiguration.g:4601:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
12397 // InternalApplicationConfiguration.g:4602:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12398 {
12399
12400 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
12401
12402 // InternalApplicationConfiguration.g:4605:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
12403 // InternalApplicationConfiguration.g:4605:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12404 {
12405 if ( !((true)) ) {
12406 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12407 }
12408 // InternalApplicationConfiguration.g:4605:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
12409 // InternalApplicationConfiguration.g:4605:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) )
12410 {
12411 otherlv_31=(Token)match(input,50,FOLLOW_13);
12412
12413 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
12414
12415 otherlv_32=(Token)match(input,18,FOLLOW_21);
12416
12417 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
12418
12419 // InternalApplicationConfiguration.g:4613:9: ( (lv_debugFolder_33_0= ruleFile ) )
12420 // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile )
12421 {
12422 // InternalApplicationConfiguration.g:4614:10: (lv_debugFolder_33_0= ruleFile )
12423 // InternalApplicationConfiguration.g:4615:11: lv_debugFolder_33_0= ruleFile
12424 {
12425
12426 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
12427
12428 pushFollow(FOLLOW_42);
12429 lv_debugFolder_33_0=ruleFile();
12430
12431 state._fsp--;
12432
12433
12434 if (current==null) {
12435 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12436 }
12437 set(
12438 current,
12439 "debugFolder",
12440 lv_debugFolder_33_0,
12441 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12442 afterParserOrEnumRuleCall();
12443
12444
12445 }
12446
12447
12448 }
12449
12450
12451 }
12452
12453
12454 }
12455
12456
12457 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12458
12459
12460 }
12461
12462
12463 }
12464
12465
12466 }
12467 break;
12468 case 11 :
12469 // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12470 {
12471 // InternalApplicationConfiguration.g:4638:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
12472 // InternalApplicationConfiguration.g:4639:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12473 {
12474 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {
12475 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)");
12476 }
12477 // InternalApplicationConfiguration.g:4639:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
12478 // InternalApplicationConfiguration.g:4640:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12479 {
12480
12481 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
12482
12483 // InternalApplicationConfiguration.g:4643:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
12484 // InternalApplicationConfiguration.g:4643:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12485 {
12486 if ( !((true)) ) {
12487 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12488 }
12489 // InternalApplicationConfiguration.g:4643:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
12490 // InternalApplicationConfiguration.g:4643:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) )
12491 {
12492 otherlv_34=(Token)match(input,51,FOLLOW_13);
12493
12494 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
12495
12496 otherlv_35=(Token)match(input,18,FOLLOW_21);
12497
12498 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
12499
12500 // InternalApplicationConfiguration.g:4651:9: ( (lv_targetLogFile_36_0= ruleFile ) )
12501 // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile )
12502 {
12503 // InternalApplicationConfiguration.g:4652:10: (lv_targetLogFile_36_0= ruleFile )
12504 // InternalApplicationConfiguration.g:4653:11: lv_targetLogFile_36_0= ruleFile
12505 {
12506
12507 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
12508
12509 pushFollow(FOLLOW_42);
12510 lv_targetLogFile_36_0=ruleFile();
12511
12512 state._fsp--;
12513
12514
12515 if (current==null) {
12516 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12517 }
12518 set(
12519 current,
12520 "targetLogFile",
12521 lv_targetLogFile_36_0,
12522 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12523 afterParserOrEnumRuleCall();
12524
12525
12526 }
12527
12528
12529 }
12530
12531
12532 }
12533
12534
12535 }
12536
12537
12538 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12539
12540
12541 }
12542
12543
12544 }
12545
12546
12547 }
12548 break;
12549 case 12 :
12550 // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12551 {
12552 // InternalApplicationConfiguration.g:4676:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
12553 // InternalApplicationConfiguration.g:4677:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12554 {
12555 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {
12556 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)");
12557 }
12558 // InternalApplicationConfiguration.g:4677:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
12559 // InternalApplicationConfiguration.g:4678:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12560 {
12561
12562 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
12563
12564 // InternalApplicationConfiguration.g:4681:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
12565 // InternalApplicationConfiguration.g:4681:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12566 {
12567 if ( !((true)) ) {
12568 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12569 }
12570 // InternalApplicationConfiguration.g:4681:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
12571 // InternalApplicationConfiguration.g:4681:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12572 {
12573 otherlv_37=(Token)match(input,52,FOLLOW_13);
12574
12575 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
12576
12577 otherlv_38=(Token)match(input,18,FOLLOW_21);
12578
12579 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
12580
12581 // InternalApplicationConfiguration.g:4689:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) )
12582 // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile )
12583 {
12584 // InternalApplicationConfiguration.g:4690:10: (lv_targetStatisticsFile_39_0= ruleFile )
12585 // InternalApplicationConfiguration.g:4691:11: lv_targetStatisticsFile_39_0= ruleFile
12586 {
12587
12588 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
12589
12590 pushFollow(FOLLOW_42);
12591 lv_targetStatisticsFile_39_0=ruleFile();
12592
12593 state._fsp--;
12594
12595
12596 if (current==null) {
12597 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12598 }
12599 set(
12600 current,
12601 "targetStatisticsFile",
12602 lv_targetStatisticsFile_39_0,
12603 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12604 afterParserOrEnumRuleCall();
12605
12606
12607 }
12608
12609
12610 }
12611
12612
12613 }
12614
12615
12616 }
12617
12618
12619 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12620
12621
12622 }
12623
12624
12625 }
12626
12627
12628 }
12629 break;
12630 case 13 :
12631 // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12632 {
12633 // InternalApplicationConfiguration.g:4714:4: ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) )
12634 // InternalApplicationConfiguration.g:4715:5: {...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12635 {
12636 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {
12637 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12)");
12638 }
12639 // InternalApplicationConfiguration.g:4715:112: ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) )
12640 // InternalApplicationConfiguration.g:4716:6: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12641 {
12642
12643 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12);
12644
12645 // InternalApplicationConfiguration.g:4719:9: ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) )
12646 // InternalApplicationConfiguration.g:4719:10: {...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12647 {
12648 if ( !((true)) ) {
12649 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
12650 }
12651 // InternalApplicationConfiguration.g:4719:19: (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) )
12652 // InternalApplicationConfiguration.g:4719:20: otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) )
12653 {
12654 otherlv_40=(Token)match(input,53,FOLLOW_13);
12655
12656 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_12_0());
12657
12658 otherlv_41=(Token)match(input,18,FOLLOW_21);
12659
12660 newLeafNode(otherlv_41, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_12_1());
12661
12662 // InternalApplicationConfiguration.g:4727:9: ( (lv_tagetFolder_42_0= ruleFile ) )
12663 // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile )
12664 {
12665 // InternalApplicationConfiguration.g:4728:10: (lv_tagetFolder_42_0= ruleFile )
12666 // InternalApplicationConfiguration.g:4729:11: lv_tagetFolder_42_0= ruleFile
12667 {
12668
12669 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_12_2_0());
12670
12671 pushFollow(FOLLOW_42);
12672 lv_tagetFolder_42_0=ruleFile();
12673
12674 state._fsp--;
12675
12676
12677 if (current==null) {
12678 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
12679 }
12680 set(
12681 current,
12682 "tagetFolder",
12683 lv_tagetFolder_42_0,
12684 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
12685 afterParserOrEnumRuleCall();
12686
12687
12688 }
12689
12690
12691 }
12692
12693
12694 }
12695
12696
12697 }
12698
12699
12700 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12701
12702
12703 }
12704
12705
12706 }
12707
12708
12709 }
12710 break;
12711
12712 default :
12713 break loop58;
12714 }
12715 } while (true);
12716
12717
12718 }
12719
12720
12721 }
12722
12723
12724 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
12725
12726
12727 }
12728
12729 otherlv_43=(Token)match(input,21,FOLLOW_2);
12730
12731 newLeafNode(otherlv_43, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
12732
12733
12734 }
12735
12736
12737 }
12738
12739
12740 leaveRule();
12741
12742 }
12743
12744 catch (RecognitionException re) {
12745 recover(input,re);
12746 appendSkippedTokens();
12747 }
12748 finally {
12749 }
12750 return current;
12751 }
12752 // $ANTLR end "ruleGenerationTask"
12753
12754
12755 // $ANTLR start "ruleOptimizationDirection"
12756 // InternalApplicationConfiguration.g:4767:1: ruleOptimizationDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) ;
12757 public final Enumerator ruleOptimizationDirection() throws RecognitionException {
12758 Enumerator current = null;
12759
12760 Token enumLiteral_0=null;
12761 Token enumLiteral_1=null;
12762
12763
12764 enterRule();
12765
12766 try {
12767 // InternalApplicationConfiguration.g:4773:2: ( ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) ) )
12768 // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12769 {
12770 // InternalApplicationConfiguration.g:4774:2: ( (enumLiteral_0= 'minimize' ) | (enumLiteral_1= 'maximize' ) )
12771 int alt59=2;
12772 int LA59_0 = input.LA(1);
12773
12774 if ( (LA59_0==54) ) {
12775 alt59=1;
12776 }
12777 else if ( (LA59_0==55) ) {
12778 alt59=2;
12779 }
12780 else {
12781 NoViableAltException nvae =
12782 new NoViableAltException("", 59, 0, input);
12783
12784 throw nvae;
12785 }
12786 switch (alt59) {
12787 case 1 :
12788 // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' )
12789 {
12790 // InternalApplicationConfiguration.g:4775:3: (enumLiteral_0= 'minimize' )
12791 // InternalApplicationConfiguration.g:4776:4: enumLiteral_0= 'minimize'
12792 {
12793 enumLiteral_0=(Token)match(input,54,FOLLOW_2);
12794
12795 current = grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12796 newLeafNode(enumLiteral_0, grammarAccess.getOptimizationDirectionAccess().getMINIMIZEEnumLiteralDeclaration_0());
12797
12798
12799 }
12800
12801
12802 }
12803 break;
12804 case 2 :
12805 // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' )
12806 {
12807 // InternalApplicationConfiguration.g:4783:3: (enumLiteral_1= 'maximize' )
12808 // InternalApplicationConfiguration.g:4784:4: enumLiteral_1= 'maximize'
12809 {
12810 enumLiteral_1=(Token)match(input,55,FOLLOW_2);
12811
12812 current = grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12813 newLeafNode(enumLiteral_1, grammarAccess.getOptimizationDirectionAccess().getMAXIMIZEEnumLiteralDeclaration_1());
12814
12815
12816 }
12817
12818
12819 }
12820 break;
12821
12822 }
12823
12824
12825 }
12826
12827
12828 leaveRule();
12829
12830 }
12831
12832 catch (RecognitionException re) {
12833 recover(input,re);
12834 appendSkippedTokens();
12835 }
12836 finally {
12837 }
12838 return current;
12839 }
12840 // $ANTLR end "ruleOptimizationDirection"
12841
12842
12843 // $ANTLR start "ruleComparisonOperator"
12844 // InternalApplicationConfiguration.g:4794:1: ruleComparisonOperator returns [Enumerator current=null] : ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) ;
12845 public final Enumerator ruleComparisonOperator() throws RecognitionException {
12846 Enumerator current = null;
12847
12848 Token enumLiteral_0=null;
12849 Token enumLiteral_1=null;
12850
12851
12852 enterRule();
12853
12854 try {
12855 // InternalApplicationConfiguration.g:4800:2: ( ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) ) )
12856 // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) )
12857 {
12858 // InternalApplicationConfiguration.g:4801:2: ( (enumLiteral_0= '<=' ) | (enumLiteral_1= '>=' ) )
12859 int alt60=2;
12860 int LA60_0 = input.LA(1);
12861
12862 if ( (LA60_0==56) ) {
12863 alt60=1;
12864 }
12865 else if ( (LA60_0==57) ) {
12866 alt60=2;
12867 }
12868 else {
12869 NoViableAltException nvae =
12870 new NoViableAltException("", 60, 0, input);
12871
12872 throw nvae;
12873 }
12874 switch (alt60) {
12875 case 1 :
12876 // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' )
12877 {
12878 // InternalApplicationConfiguration.g:4802:3: (enumLiteral_0= '<=' )
12879 // InternalApplicationConfiguration.g:4803:4: enumLiteral_0= '<='
12880 {
12881 enumLiteral_0=(Token)match(input,56,FOLLOW_2);
12882
12883 current = grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12884 newLeafNode(enumLiteral_0, grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0());
12885
12886
12887 }
12888
12889
12890 }
12891 break;
12892 case 2 :
12893 // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' )
12894 {
12895 // InternalApplicationConfiguration.g:4810:3: (enumLiteral_1= '>=' )
12896 // InternalApplicationConfiguration.g:4811:4: enumLiteral_1= '>='
12897 {
12898 enumLiteral_1=(Token)match(input,57,FOLLOW_2);
12899
12900 current = grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12901 newLeafNode(enumLiteral_1, grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1());
12902
12903
12904 }
12905
12906
12907 }
12908 break;
12909
12910 }
12911
12912
12913 }
12914
12915
12916 leaveRule();
12917
12918 }
12919
12920 catch (RecognitionException re) {
12921 recover(input,re);
12922 appendSkippedTokens();
12923 }
12924 finally {
12925 }
12926 return current;
12927 }
12928 // $ANTLR end "ruleComparisonOperator"
12929
12930
12931 // $ANTLR start "ruleDocumentLevelSpecification"
12932 // InternalApplicationConfiguration.g:4821:1: ruleDocumentLevelSpecification returns [Enumerator current=null] : ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) ;
12933 public final Enumerator ruleDocumentLevelSpecification() throws RecognitionException {
12934 Enumerator current = null;
12935
12936 Token enumLiteral_0=null;
12937 Token enumLiteral_1=null;
12938 Token enumLiteral_2=null;
12939
12940
12941 enterRule();
12942
12943 try {
12944 // InternalApplicationConfiguration.g:4827:2: ( ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) ) )
12945 // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
12946 {
12947 // InternalApplicationConfiguration.g:4828:2: ( (enumLiteral_0= 'none' ) | (enumLiteral_1= 'normal' ) | (enumLiteral_2= 'full' ) )
12948 int alt61=3;
12949 switch ( input.LA(1) ) {
12950 case 58:
12951 {
12952 alt61=1;
12953 }
12954 break;
12955 case 59:
12956 {
12957 alt61=2;
12958 }
12959 break;
12960 case 60:
12961 {
12962 alt61=3;
12963 }
12964 break;
12965 default:
12966 NoViableAltException nvae =
12967 new NoViableAltException("", 61, 0, input);
12968
12969 throw nvae;
12970 }
12971
12972 switch (alt61) {
12973 case 1 :
12974 // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' )
12975 {
12976 // InternalApplicationConfiguration.g:4829:3: (enumLiteral_0= 'none' )
12977 // InternalApplicationConfiguration.g:4830:4: enumLiteral_0= 'none'
12978 {
12979 enumLiteral_0=(Token)match(input,58,FOLLOW_2);
12980
12981 current = grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
12982 newLeafNode(enumLiteral_0, grammarAccess.getDocumentLevelSpecificationAccess().getNoneEnumLiteralDeclaration_0());
12983
12984
12985 }
12986
12987
12988 }
12989 break;
12990 case 2 :
12991 // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' )
12992 {
12993 // InternalApplicationConfiguration.g:4837:3: (enumLiteral_1= 'normal' )
12994 // InternalApplicationConfiguration.g:4838:4: enumLiteral_1= 'normal'
12995 {
12996 enumLiteral_1=(Token)match(input,59,FOLLOW_2);
12997
12998 current = grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
12999 newLeafNode(enumLiteral_1, grammarAccess.getDocumentLevelSpecificationAccess().getNormalEnumLiteralDeclaration_1());
13000
13001
13002 }
13003
13004
13005 }
13006 break;
13007 case 3 :
13008 // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' )
13009 {
13010 // InternalApplicationConfiguration.g:4845:3: (enumLiteral_2= 'full' )
13011 // InternalApplicationConfiguration.g:4846:4: enumLiteral_2= 'full'
13012 {
13013 enumLiteral_2=(Token)match(input,60,FOLLOW_2);
13014
13015 current = grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13016 newLeafNode(enumLiteral_2, grammarAccess.getDocumentLevelSpecificationAccess().getFullEnumLiteralDeclaration_2());
13017
13018
13019 }
13020
13021
13022 }
13023 break;
13024
13025 }
13026
13027
13028 }
13029
13030
13031 leaveRule();
13032
13033 }
13034
13035 catch (RecognitionException re) {
13036 recover(input,re);
13037 appendSkippedTokens();
13038 }
13039 finally {
13040 }
13041 return current;
13042 }
13043 // $ANTLR end "ruleDocumentLevelSpecification"
13044
13045
13046 // $ANTLR start "ruleSolver"
13047 // InternalApplicationConfiguration.g:4856:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ;
13048 public final Enumerator ruleSolver() throws RecognitionException {
13049 Enumerator current = null;
13050
13051 Token enumLiteral_0=null;
13052 Token enumLiteral_1=null;
13053 Token enumLiteral_2=null;
13054
13055
13056 enterRule();
13057
13058 try {
13059 // InternalApplicationConfiguration.g:4862:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) )
13060 // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13061 {
13062 // InternalApplicationConfiguration.g:4863:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
13063 int alt62=3;
13064 switch ( input.LA(1) ) {
13065 case 61:
13066 {
13067 alt62=1;
13068 }
13069 break;
13070 case 62:
13071 {
13072 alt62=2;
13073 }
13074 break;
13075 case 63:
13076 {
13077 alt62=3;
13078 }
13079 break;
13080 default:
13081 NoViableAltException nvae =
13082 new NoViableAltException("", 62, 0, input);
13083
13084 throw nvae;
13085 }
13086
13087 switch (alt62) {
13088 case 1 :
13089 // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' )
13090 {
13091 // InternalApplicationConfiguration.g:4864:3: (enumLiteral_0= 'SMTSolver' )
13092 // InternalApplicationConfiguration.g:4865:4: enumLiteral_0= 'SMTSolver'
13093 {
13094 enumLiteral_0=(Token)match(input,61,FOLLOW_2);
13095
13096 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
13097 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
13098
13099
13100 }
13101
13102
13103 }
13104 break;
13105 case 2 :
13106 // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' )
13107 {
13108 // InternalApplicationConfiguration.g:4872:3: (enumLiteral_1= 'AlloySolver' )
13109 // InternalApplicationConfiguration.g:4873:4: enumLiteral_1= 'AlloySolver'
13110 {
13111 enumLiteral_1=(Token)match(input,62,FOLLOW_2);
13112
13113 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
13114 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
13115
13116
13117 }
13118
13119
13120 }
13121 break;
13122 case 3 :
13123 // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' )
13124 {
13125 // InternalApplicationConfiguration.g:4880:3: (enumLiteral_2= 'ViatraSolver' )
13126 // InternalApplicationConfiguration.g:4881:4: enumLiteral_2= 'ViatraSolver'
13127 {
13128 enumLiteral_2=(Token)match(input,63,FOLLOW_2);
13129
13130 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
13131 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
13132
13133
13134 }
13135
13136
13137 }
13138 break;
13139
13140 }
13141
13142
13143 }
13144
13145
13146 leaveRule();
13147
13148 }
13149
13150 catch (RecognitionException re) {
13151 recover(input,re);
13152 appendSkippedTokens();
13153 }
13154 finally {
13155 }
13156 return current;
13157 }
13158 // $ANTLR end "ruleSolver"
13159
13160 // Delegated rules
13161
13162
13163 protected DFA58 dfa58 = new DFA58(this);
13164 static final String dfa_1s = "\17\uffff";
13165 static final String dfa_2s = "\1\25\16\uffff";
13166 static final String dfa_3s = "\1\65\16\uffff";
13167 static final String dfa_4s = "\1\uffff\1\16\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15";
13168 static final String dfa_5s = "\1\0\16\uffff}>";
13169 static final String[] dfa_6s = {
13170 "\1\1\3\uffff\1\2\2\uffff\1\4\1\5\1\12\15\uffff\1\6\1\uffff\1\3\1\7\1\10\1\11\1\13\1\14\1\15\1\16",
13171 "",
13172 "",
13173 "",
13174 "",
13175 "",
13176 "",
13177 "",
13178 "",
13179 "",
13180 "",
13181 "",
13182 "",
13183 "",
13184 ""
13185 };
13186
13187 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
13188 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
13189 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
13190 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
13191 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
13192 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
13193
13194 class DFA58 extends DFA {
13195
13196 public DFA58(BaseRecognizer recognizer) {
13197 this.recognizer = recognizer;
13198 this.decisionNumber = 58;
13199 this.eot = dfa_1;
13200 this.eof = dfa_1;
13201 this.min = dfa_2;
13202 this.max = dfa_3;
13203 this.accept = dfa_4;
13204 this.special = dfa_5;
13205 this.transition = dfa_6;
13206 }
13207 public String getDescription() {
13208 return "()* loopback of 4239:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'constraints' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'objectives' otherlv_14= '=' ( (lv_objectives_15_0= ruleObjective ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'scope' otherlv_17= '=' ( (lv_scope_18_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_numberSpecified_19_0= 'number' ) ) otherlv_20= '=' ( (lv_number_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_runSpecified_22_0= 'runs' ) ) otherlv_23= '=' ( (lv_runs_24_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'solver' otherlv_26= '=' ( (lv_solver_27_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'config' otherlv_29= '=' ( (lv_config_30_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_40= 'output' otherlv_41= '=' ( (lv_tagetFolder_42_0= ruleFile ) ) ) ) ) ) )*";
13209 }
13210 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
13211 TokenStream input = (TokenStream)_input;
13212 int _s = s;
13213 switch ( s ) {
13214 case 0 :
13215 int LA58_0 = input.LA(1);
13216
13217
13218 int index58_0 = input.index();
13219 input.rewind();
13220 s = -1;
13221 if ( (LA58_0==21) ) {s = 1;}
13222
13223 else if ( LA58_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
13224
13225 else if ( LA58_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
13226
13227 else if ( LA58_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
13228
13229 else if ( LA58_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
13230
13231 else if ( LA58_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
13232
13233 else if ( LA58_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
13234
13235 else if ( LA58_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
13236
13237 else if ( LA58_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
13238
13239 else if ( LA58_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
13240
13241 else if ( LA58_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
13242
13243 else if ( LA58_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
13244
13245 else if ( LA58_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
13246
13247 else if ( LA58_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 12) ) {s = 14;}
13248
13249
13250 input.seek(index58_0);
13251 if ( s>=0 ) return s;
13252 break;
13253 }
13254 NoViableAltException nvae =
13255 new NoViableAltException(getDescription(), 58, _s, input);
13256 error(nvae);
13257 throw nvae;
13258 }
13259 }
13260
13261
13262 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
13263 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
13264 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000030007A022002L});
13265 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000030007A020002L});
13266 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L});
13267 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
13268 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
13269 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000800L});
13270 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
13271 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000040L});
13272 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000008000L});
13273 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000010000L});
13274 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L});
13275 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400010L});
13276 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000300000L});
13277 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000800002L});
13278 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L});
13279 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000001000000L});
13280 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000050L});
13281 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000000200000L});
13282 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000000000050L});
13283 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00C0000000010000L});
13284 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0300000000000000L});
13285 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000001020L});
13286 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000380200040L});
13287 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000380000040L});
13288 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x1C00000000000000L});
13289 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000400200000L});
13290 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000000L});
13291 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L});
13292 public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800040000L});
13293 public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L});
13294 public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L});
13295 public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000008000000000L});
13296 public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000040000080020L});
13297 public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000010000000000L});
13298 public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000020000000000L});
13299 public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000002000000000L});
13300 public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000080000000000L});
13301 public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000000000201020L});
13302 public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000000000200040L});
13303 public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x003FD00072200000L});
13304 public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000080010L});
13305 public static final BitSet FOLLOW_44 = new BitSet(new long[]{0xE000000000000000L});
13306
13307}