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