diff options
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 | 253 |
1 files changed, 9 insertions, 244 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 a79a6430..533714b5 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,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * generated by Xtext 2.16.0 | 2 | * generated by Xtext 2.17.0 |
3 | */ | 3 | */ |
4 | grammar InternalApplicationConfiguration; | 4 | grammar InternalApplicationConfiguration; |
5 | 5 | ||
@@ -305,15 +305,6 @@ ruleImport returns [EObject current=null] | |||
305 | $current = $this_ViatraImport_1.current; | 305 | $current = $this_ViatraImport_1.current; |
306 | afterParserOrEnumRuleCall(); | 306 | afterParserOrEnumRuleCall(); |
307 | } | 307 | } |
308 | | | ||
309 | { | ||
310 | newCompositeNode(grammarAccess.getImportAccess().getCftImportParserRuleCall_2()); | ||
311 | } | ||
312 | this_CftImport_2=ruleCftImport | ||
313 | { | ||
314 | $current = $this_CftImport_2.current; | ||
315 | afterParserOrEnumRuleCall(); | ||
316 | } | ||
317 | ) | 308 | ) |
318 | ; | 309 | ; |
319 | 310 | ||
@@ -397,46 +388,6 @@ ruleViatraImport returns [EObject current=null] | |||
397 | ) | 388 | ) |
398 | ; | 389 | ; |
399 | 390 | ||
400 | // Entry rule entryRuleCftImport | ||
401 | entryRuleCftImport returns [EObject current=null]: | ||
402 | { newCompositeNode(grammarAccess.getCftImportRule()); } | ||
403 | iv_ruleCftImport=ruleCftImport | ||
404 | { $current=$iv_ruleCftImport.current; } | ||
405 | EOF; | ||
406 | |||
407 | // Rule CftImport | ||
408 | ruleCftImport returns [EObject current=null] | ||
409 | @init { | ||
410 | enterRule(); | ||
411 | } | ||
412 | @after { | ||
413 | leaveRule(); | ||
414 | }: | ||
415 | ( | ||
416 | otherlv_0='import' | ||
417 | { | ||
418 | newLeafNode(otherlv_0, grammarAccess.getCftImportAccess().getImportKeyword_0()); | ||
419 | } | ||
420 | otherlv_1='reliability' | ||
421 | { | ||
422 | newLeafNode(otherlv_1, grammarAccess.getCftImportAccess().getReliabilityKeyword_1()); | ||
423 | } | ||
424 | ( | ||
425 | ( | ||
426 | { | ||
427 | if ($current==null) { | ||
428 | $current = createModelElement(grammarAccess.getCftImportRule()); | ||
429 | } | ||
430 | } | ||
431 | otherlv_2=RULE_STRING | ||
432 | { | ||
433 | newLeafNode(otherlv_2, grammarAccess.getCftImportAccess().getImportedCftCftModelCrossReference_2_0()); | ||
434 | } | ||
435 | ) | ||
436 | ) | ||
437 | ) | ||
438 | ; | ||
439 | |||
440 | // Entry rule entryRuleDeclaration | 391 | // Entry rule entryRuleDeclaration |
441 | entryRuleDeclaration returns [EObject current=null]: | 392 | entryRuleDeclaration returns [EObject current=null]: |
442 | { newCompositeNode(grammarAccess.getDeclarationRule()); } | 393 | { newCompositeNode(grammarAccess.getDeclarationRule()); } |
@@ -2094,25 +2045,14 @@ ruleObjectiveFunction returns [EObject current=null] | |||
2094 | @after { | 2045 | @after { |
2095 | leaveRule(); | 2046 | leaveRule(); |
2096 | }: | 2047 | }: |
2097 | ( | 2048 | { |
2098 | { | 2049 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall()); |
2099 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); | 2050 | } |
2100 | } | 2051 | this_CostObjectiveFunction_0=ruleCostObjectiveFunction |
2101 | this_CostObjectiveFunction_0=ruleCostObjectiveFunction | 2052 | { |
2102 | { | 2053 | $current = $this_CostObjectiveFunction_0.current; |
2103 | $current = $this_CostObjectiveFunction_0.current; | 2054 | afterParserOrEnumRuleCall(); |
2104 | afterParserOrEnumRuleCall(); | 2055 | } |
2105 | } | ||
2106 | | | ||
2107 | { | ||
2108 | newCompositeNode(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); | ||
2109 | } | ||
2110 | this_ReliabilityObjectiveFunction_1=ruleReliabilityObjectiveFunction | ||
2111 | { | ||
2112 | $current = $this_ReliabilityObjectiveFunction_1.current; | ||
2113 | afterParserOrEnumRuleCall(); | ||
2114 | } | ||
2115 | ) | ||
2116 | ; | 2056 | ; |
2117 | 2057 | ||
2118 | // Entry rule entryRuleCostObjectiveFunction | 2058 | // Entry rule entryRuleCostObjectiveFunction |
@@ -2251,181 +2191,6 @@ ruleCostEntry returns [EObject current=null] | |||
2251 | ) | 2191 | ) |
2252 | ; | 2192 | ; |
2253 | 2193 | ||
2254 | // Entry rule entryRuleReliabilityObjectiveFunction | ||
2255 | entryRuleReliabilityObjectiveFunction returns [EObject current=null]: | ||
2256 | { newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionRule()); } | ||
2257 | iv_ruleReliabilityObjectiveFunction=ruleReliabilityObjectiveFunction | ||
2258 | { $current=$iv_ruleReliabilityObjectiveFunction.current; } | ||
2259 | EOF; | ||
2260 | |||
2261 | // Rule ReliabilityObjectiveFunction | ||
2262 | ruleReliabilityObjectiveFunction returns [EObject current=null] | ||
2263 | @init { | ||
2264 | enterRule(); | ||
2265 | } | ||
2266 | @after { | ||
2267 | leaveRule(); | ||
2268 | }: | ||
2269 | ( | ||
2270 | { | ||
2271 | newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getReliabiltiyProbabilityParserRuleCall_0()); | ||
2272 | } | ||
2273 | this_ReliabiltiyProbability_0=ruleReliabiltiyProbability | ||
2274 | { | ||
2275 | $current = $this_ReliabiltiyProbability_0.current; | ||
2276 | afterParserOrEnumRuleCall(); | ||
2277 | } | ||
2278 | | | ||
2279 | { | ||
2280 | newCompositeNode(grammarAccess.getReliabilityObjectiveFunctionAccess().getMtffParserRuleCall_1()); | ||
2281 | } | ||
2282 | this_Mtff_1=ruleMtff | ||
2283 | { | ||
2284 | $current = $this_Mtff_1.current; | ||
2285 | afterParserOrEnumRuleCall(); | ||
2286 | } | ||
2287 | ) | ||
2288 | ; | ||
2289 | |||
2290 | // Entry rule entryRuleReliabiltiyProbability | ||
2291 | entryRuleReliabiltiyProbability returns [EObject current=null]: | ||
2292 | { newCompositeNode(grammarAccess.getReliabiltiyProbabilityRule()); } | ||
2293 | iv_ruleReliabiltiyProbability=ruleReliabiltiyProbability | ||
2294 | { $current=$iv_ruleReliabiltiyProbability.current; } | ||
2295 | EOF; | ||
2296 | |||
2297 | // Rule ReliabiltiyProbability | ||
2298 | ruleReliabiltiyProbability returns [EObject current=null] | ||
2299 | @init { | ||
2300 | enterRule(); | ||
2301 | } | ||
2302 | @after { | ||
2303 | leaveRule(); | ||
2304 | }: | ||
2305 | ( | ||
2306 | otherlv_0='reliability' | ||
2307 | { | ||
2308 | newLeafNode(otherlv_0, grammarAccess.getReliabiltiyProbabilityAccess().getReliabilityKeyword_0()); | ||
2309 | } | ||
2310 | ( | ||
2311 | ( | ||
2312 | ( | ||
2313 | { | ||
2314 | if ($current==null) { | ||
2315 | $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); | ||
2316 | } | ||
2317 | } | ||
2318 | { | ||
2319 | newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getPackageCftModelCrossReference_1_0_0()); | ||
2320 | } | ||
2321 | ruleQualifiedName | ||
2322 | { | ||
2323 | afterParserOrEnumRuleCall(); | ||
2324 | } | ||
2325 | ) | ||
2326 | ) | ||
2327 | otherlv_2='::' | ||
2328 | { | ||
2329 | newLeafNode(otherlv_2, grammarAccess.getReliabiltiyProbabilityAccess().getColonColonKeyword_1_1()); | ||
2330 | } | ||
2331 | )? | ||
2332 | ( | ||
2333 | ( | ||
2334 | { | ||
2335 | if ($current==null) { | ||
2336 | $current = createModelElement(grammarAccess.getReliabiltiyProbabilityRule()); | ||
2337 | } | ||
2338 | } | ||
2339 | otherlv_3=RULE_ID | ||
2340 | { | ||
2341 | newLeafNode(otherlv_3, grammarAccess.getReliabiltiyProbabilityAccess().getTransformationTransformationDefinitionCrossReference_2_0()); | ||
2342 | } | ||
2343 | ) | ||
2344 | ) | ||
2345 | otherlv_4='at' | ||
2346 | { | ||
2347 | newLeafNode(otherlv_4, grammarAccess.getReliabiltiyProbabilityAccess().getAtKeyword_3()); | ||
2348 | } | ||
2349 | ( | ||
2350 | ( | ||
2351 | { | ||
2352 | newCompositeNode(grammarAccess.getReliabiltiyProbabilityAccess().getTimeREALLiteralParserRuleCall_4_0()); | ||
2353 | } | ||
2354 | lv_time_5_0=ruleREALLiteral | ||
2355 | { | ||
2356 | if ($current==null) { | ||
2357 | $current = createModelElementForParent(grammarAccess.getReliabiltiyProbabilityRule()); | ||
2358 | } | ||
2359 | set( | ||
2360 | $current, | ||
2361 | "time", | ||
2362 | lv_time_5_0, | ||
2363 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); | ||
2364 | afterParserOrEnumRuleCall(); | ||
2365 | } | ||
2366 | ) | ||
2367 | ) | ||
2368 | ) | ||
2369 | ; | ||
2370 | |||
2371 | // Entry rule entryRuleMtff | ||
2372 | entryRuleMtff returns [EObject current=null]: | ||
2373 | { newCompositeNode(grammarAccess.getMtffRule()); } | ||
2374 | iv_ruleMtff=ruleMtff | ||
2375 | { $current=$iv_ruleMtff.current; } | ||
2376 | EOF; | ||
2377 | |||
2378 | // Rule Mtff | ||
2379 | ruleMtff returns [EObject current=null] | ||
2380 | @init { | ||
2381 | enterRule(); | ||
2382 | } | ||
2383 | @after { | ||
2384 | leaveRule(); | ||
2385 | }: | ||
2386 | ( | ||
2387 | otherlv_0='mtff' | ||
2388 | { | ||
2389 | newLeafNode(otherlv_0, grammarAccess.getMtffAccess().getMtffKeyword_0()); | ||
2390 | } | ||
2391 | ( | ||
2392 | ( | ||
2393 | ( | ||
2394 | { | ||
2395 | if ($current==null) { | ||
2396 | $current = createModelElement(grammarAccess.getMtffRule()); | ||
2397 | } | ||
2398 | } | ||
2399 | { | ||
2400 | newCompositeNode(grammarAccess.getMtffAccess().getPackageCftModelCrossReference_1_0_0()); | ||
2401 | } | ||
2402 | ruleQualifiedName | ||
2403 | { | ||
2404 | afterParserOrEnumRuleCall(); | ||
2405 | } | ||
2406 | ) | ||
2407 | ) | ||
2408 | otherlv_2='::' | ||
2409 | { | ||
2410 | newLeafNode(otherlv_2, grammarAccess.getMtffAccess().getColonColonKeyword_1_1()); | ||
2411 | } | ||
2412 | )? | ||
2413 | ( | ||
2414 | ( | ||
2415 | { | ||
2416 | if ($current==null) { | ||
2417 | $current = createModelElement(grammarAccess.getMtffRule()); | ||
2418 | } | ||
2419 | } | ||
2420 | otherlv_3=RULE_ID | ||
2421 | { | ||
2422 | newLeafNode(otherlv_3, grammarAccess.getMtffAccess().getTransformationTransformationDefinitionCrossReference_2_0()); | ||
2423 | } | ||
2424 | ) | ||
2425 | ) | ||
2426 | ) | ||
2427 | ; | ||
2428 | |||
2429 | // Entry rule entryRuleObjectiveDeclaration | 2194 | // Entry rule entryRuleObjectiveDeclaration |
2430 | entryRuleObjectiveDeclaration returns [EObject current=null]: | 2195 | entryRuleObjectiveDeclaration returns [EObject current=null]: |
2431 | { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } | 2196 | { newCompositeNode(grammarAccess.getObjectiveDeclarationRule()); } |