diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java | 883 |
1 files changed, 791 insertions, 92 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java index 6541c19b..54914973 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java | |||
@@ -108,6 +108,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
108 | private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | 108 | private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); |
109 | private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | 109 | private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); |
110 | 110 | ||
111 | ////terminal REAL returns ecore::EBigDecimal: '-'? INT '.' INT; | ||
112 | ////terminal INTEGER returns ecore::EInt: '-'? INT; | ||
111 | ///////////////////////////////////////////////////// | 113 | ///////////////////////////////////////////////////// |
112 | //// Imports | 114 | //// Imports |
113 | ///////////////////////////////////////////////////// | 115 | ///////////////////////////////////////////////////// |
@@ -1255,40 +1257,130 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1255 | } | 1257 | } |
1256 | public class TypeScopeElements extends AbstractParserRuleElementFinder { | 1258 | public class TypeScopeElements extends AbstractParserRuleElementFinder { |
1257 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | 1259 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); |
1260 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1261 | private final RuleCall cClassTypeScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1262 | private final RuleCall cObjectTypeScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1263 | private final RuleCall cIntegerTypeScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
1264 | private final RuleCall cRealTypeScopeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
1265 | private final RuleCall cStringTypeScopeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); | ||
1266 | |||
1267 | //TypeScope: | ||
1268 | // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; | ||
1269 | @Override public ParserRule getRule() { return rule; } | ||
1270 | |||
1271 | //ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope | ||
1272 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1273 | |||
1274 | //ClassTypeScope | ||
1275 | public RuleCall getClassTypeScopeParserRuleCall_0() { return cClassTypeScopeParserRuleCall_0; } | ||
1276 | |||
1277 | //ObjectTypeScope | ||
1278 | public RuleCall getObjectTypeScopeParserRuleCall_1() { return cObjectTypeScopeParserRuleCall_1; } | ||
1279 | |||
1280 | //IntegerTypeScope | ||
1281 | public RuleCall getIntegerTypeScopeParserRuleCall_2() { return cIntegerTypeScopeParserRuleCall_2; } | ||
1282 | |||
1283 | //RealTypeScope | ||
1284 | public RuleCall getRealTypeScopeParserRuleCall_3() { return cRealTypeScopeParserRuleCall_3; } | ||
1285 | |||
1286 | //StringTypeScope | ||
1287 | public RuleCall getStringTypeScopeParserRuleCall_4() { return cStringTypeScopeParserRuleCall_4; } | ||
1288 | } | ||
1289 | public class ClassTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1290 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassTypeScope"); | ||
1258 | private final Group cGroup = (Group)rule.eContents().get(1); | 1291 | private final Group cGroup = (Group)rule.eContents().get(1); |
1259 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); | 1292 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); |
1260 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); | 1293 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); |
1261 | private final RuleCall cTypeTypeReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); | 1294 | private final RuleCall cTypeClassReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); |
1262 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | 1295 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); |
1263 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | 1296 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); |
1264 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); | 1297 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); |
1265 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | 1298 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); |
1266 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); | 1299 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); |
1267 | private final Assignment cMinAssignment_3 = (Assignment)cGroup.eContents().get(3); | 1300 | private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); |
1268 | private final RuleCall cMinINTTerminalRuleCall_3_0 = (RuleCall)cMinAssignment_3.eContents().get(0); | 1301 | private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); |
1269 | private final Group cGroup_4 = (Group)cGroup.eContents().get(4); | 1302 | private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); |
1270 | private final Keyword cFullStopFullStopKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); | 1303 | private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); |
1271 | private final Alternatives cAlternatives_4_1 = (Alternatives)cGroup_4.eContents().get(1); | 1304 | private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); |
1272 | private final Assignment cMaxUnlimitedAssignment_4_1_0 = (Assignment)cAlternatives_4_1.eContents().get(0); | 1305 | |
1273 | private final Keyword cMaxUnlimitedAsteriskKeyword_4_1_0_0 = (Keyword)cMaxUnlimitedAssignment_4_1_0.eContents().get(0); | 1306 | //ClassTypeScope: |
1274 | private final Assignment cMaxAssignment_4_1_1 = (Assignment)cAlternatives_4_1.eContents().get(1); | 1307 | // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); |
1275 | private final RuleCall cMaxINTTerminalRuleCall_4_1_1_0 = (RuleCall)cMaxAssignment_4_1_1.eContents().get(0); | 1308 | @Override public ParserRule getRule() { return rule; } |
1276 | 1309 | ||
1277 | //TypeScope: | 1310 | //'#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) |
1278 | // '#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | max=INT))?; | 1311 | public Group getGroup() { return cGroup; } |
1312 | |||
1313 | //'#' | ||
1314 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } | ||
1315 | |||
1316 | //type=ClassReference | ||
1317 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } | ||
1318 | |||
1319 | //ClassReference | ||
1320 | public RuleCall getTypeClassReferenceParserRuleCall_1_0() { return cTypeClassReferenceParserRuleCall_1_0; } | ||
1321 | |||
1322 | //(setsNew?='+=' | setsSum?='=') | ||
1323 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
1324 | |||
1325 | //setsNew?='+=' | ||
1326 | public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } | ||
1327 | |||
1328 | //'+=' | ||
1329 | public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } | ||
1330 | |||
1331 | //setsSum?='=' | ||
1332 | public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } | ||
1333 | |||
1334 | //'=' | ||
1335 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } | ||
1336 | |||
1337 | //(number=ExactNumber | number=IntervallNumber) | ||
1338 | public Alternatives getAlternatives_3() { return cAlternatives_3; } | ||
1339 | |||
1340 | //number=ExactNumber | ||
1341 | public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } | ||
1342 | |||
1343 | //ExactNumber | ||
1344 | public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } | ||
1345 | |||
1346 | //number=IntervallNumber | ||
1347 | public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } | ||
1348 | |||
1349 | //IntervallNumber | ||
1350 | public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } | ||
1351 | } | ||
1352 | public class ObjectTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1353 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectTypeScope"); | ||
1354 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1355 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1356 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1357 | private final RuleCall cTypeObjectReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); | ||
1358 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
1359 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | ||
1360 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); | ||
1361 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
1362 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); | ||
1363 | private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); | ||
1364 | private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); | ||
1365 | private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); | ||
1366 | private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); | ||
1367 | private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); | ||
1368 | |||
1369 | //ObjectTypeScope: | ||
1370 | // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); | ||
1279 | @Override public ParserRule getRule() { return rule; } | 1371 | @Override public ParserRule getRule() { return rule; } |
1280 | 1372 | ||
1281 | //'#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | max=INT))? | 1373 | //'#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) |
1282 | public Group getGroup() { return cGroup; } | 1374 | public Group getGroup() { return cGroup; } |
1283 | 1375 | ||
1284 | //'#' | 1376 | //'#' |
1285 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } | 1377 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } |
1286 | 1378 | ||
1287 | //type=TypeReference | 1379 | //type=ObjectReference |
1288 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } | 1380 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } |
1289 | 1381 | ||
1290 | //TypeReference | 1382 | //ObjectReference |
1291 | public RuleCall getTypeTypeReferenceParserRuleCall_1_0() { return cTypeTypeReferenceParserRuleCall_1_0; } | 1383 | public RuleCall getTypeObjectReferenceParserRuleCall_1_0() { return cTypeObjectReferenceParserRuleCall_1_0; } |
1292 | 1384 | ||
1293 | //(setsNew?='+=' | setsSum?='=') | 1385 | //(setsNew?='+=' | setsSum?='=') |
1294 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | 1386 | public Alternatives getAlternatives_2() { return cAlternatives_2; } |
@@ -1305,32 +1397,239 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1305 | //'=' | 1397 | //'=' |
1306 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } | 1398 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } |
1307 | 1399 | ||
1308 | //min=INT | 1400 | //(number=ExactNumber | number=IntervallNumber) |
1309 | public Assignment getMinAssignment_3() { return cMinAssignment_3; } | 1401 | public Alternatives getAlternatives_3() { return cAlternatives_3; } |
1310 | 1402 | ||
1311 | //INT | 1403 | //number=ExactNumber |
1312 | public RuleCall getMinINTTerminalRuleCall_3_0() { return cMinINTTerminalRuleCall_3_0; } | 1404 | public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } |
1313 | 1405 | ||
1314 | //('..' (maxUnlimited?='*' | max=INT))? | 1406 | //ExactNumber |
1315 | public Group getGroup_4() { return cGroup_4; } | 1407 | public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } |
1316 | 1408 | ||
1317 | //'..' | 1409 | //number=IntervallNumber |
1318 | public Keyword getFullStopFullStopKeyword_4_0() { return cFullStopFullStopKeyword_4_0; } | 1410 | public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } |
1319 | 1411 | ||
1320 | //(maxUnlimited?='*' | max=INT) | 1412 | //IntervallNumber |
1321 | public Alternatives getAlternatives_4_1() { return cAlternatives_4_1; } | 1413 | public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } |
1414 | } | ||
1415 | public class IntegerTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1416 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerTypeScope"); | ||
1417 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1418 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1419 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1420 | private final RuleCall cTypeIntegerReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); | ||
1421 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
1422 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | ||
1423 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); | ||
1424 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
1425 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); | ||
1426 | private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); | ||
1427 | private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); | ||
1428 | private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); | ||
1429 | private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); | ||
1430 | private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); | ||
1431 | private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); | ||
1432 | private final RuleCall cNumberIntEnumberationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); | ||
1433 | |||
1434 | //IntegerTypeScope: | ||
1435 | // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
1436 | // number=IntEnumberation); | ||
1437 | @Override public ParserRule getRule() { return rule; } | ||
1322 | 1438 | ||
1323 | //maxUnlimited?='*' | 1439 | //'#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | |
1324 | public Assignment getMaxUnlimitedAssignment_4_1_0() { return cMaxUnlimitedAssignment_4_1_0; } | 1440 | //number=IntEnumberation) |
1441 | public Group getGroup() { return cGroup; } | ||
1325 | 1442 | ||
1326 | //'*' | 1443 | //'#' |
1327 | public Keyword getMaxUnlimitedAsteriskKeyword_4_1_0_0() { return cMaxUnlimitedAsteriskKeyword_4_1_0_0; } | 1444 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } |
1328 | 1445 | ||
1329 | //max=INT | 1446 | //type=IntegerReference |
1330 | public Assignment getMaxAssignment_4_1_1() { return cMaxAssignment_4_1_1; } | 1447 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } |
1331 | 1448 | ||
1332 | //INT | 1449 | //IntegerReference |
1333 | public RuleCall getMaxINTTerminalRuleCall_4_1_1_0() { return cMaxINTTerminalRuleCall_4_1_1_0; } | 1450 | public RuleCall getTypeIntegerReferenceParserRuleCall_1_0() { return cTypeIntegerReferenceParserRuleCall_1_0; } |
1451 | |||
1452 | //(setsNew?='+=' | setsSum?='=') | ||
1453 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
1454 | |||
1455 | //setsNew?='+=' | ||
1456 | public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } | ||
1457 | |||
1458 | //'+=' | ||
1459 | public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } | ||
1460 | |||
1461 | //setsSum?='=' | ||
1462 | public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } | ||
1463 | |||
1464 | //'=' | ||
1465 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } | ||
1466 | |||
1467 | //(number=ExactNumber | number=IntervallNumber | number=IntEnumberation) | ||
1468 | public Alternatives getAlternatives_3() { return cAlternatives_3; } | ||
1469 | |||
1470 | //number=ExactNumber | ||
1471 | public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } | ||
1472 | |||
1473 | //ExactNumber | ||
1474 | public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } | ||
1475 | |||
1476 | //number=IntervallNumber | ||
1477 | public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } | ||
1478 | |||
1479 | //IntervallNumber | ||
1480 | public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } | ||
1481 | |||
1482 | //number=IntEnumberation | ||
1483 | public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } | ||
1484 | |||
1485 | //IntEnumberation | ||
1486 | public RuleCall getNumberIntEnumberationParserRuleCall_3_2_0() { return cNumberIntEnumberationParserRuleCall_3_2_0; } | ||
1487 | } | ||
1488 | public class RealTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1489 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealTypeScope"); | ||
1490 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1491 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1492 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1493 | private final RuleCall cTypeRealReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); | ||
1494 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
1495 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | ||
1496 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); | ||
1497 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
1498 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); | ||
1499 | private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); | ||
1500 | private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); | ||
1501 | private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); | ||
1502 | private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); | ||
1503 | private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); | ||
1504 | private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); | ||
1505 | private final RuleCall cNumberRealEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); | ||
1506 | |||
1507 | //RealTypeScope: | ||
1508 | // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
1509 | // number=RealEnumeration); | ||
1510 | @Override public ParserRule getRule() { return rule; } | ||
1511 | |||
1512 | //'#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
1513 | //number=RealEnumeration) | ||
1514 | public Group getGroup() { return cGroup; } | ||
1515 | |||
1516 | //'#' | ||
1517 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } | ||
1518 | |||
1519 | //type=RealReference | ||
1520 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } | ||
1521 | |||
1522 | //RealReference | ||
1523 | public RuleCall getTypeRealReferenceParserRuleCall_1_0() { return cTypeRealReferenceParserRuleCall_1_0; } | ||
1524 | |||
1525 | //(setsNew?='+=' | setsSum?='=') | ||
1526 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
1527 | |||
1528 | //setsNew?='+=' | ||
1529 | public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } | ||
1530 | |||
1531 | //'+=' | ||
1532 | public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } | ||
1533 | |||
1534 | //setsSum?='=' | ||
1535 | public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } | ||
1536 | |||
1537 | //'=' | ||
1538 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } | ||
1539 | |||
1540 | //(number=ExactNumber | number=IntervallNumber | number=RealEnumeration) | ||
1541 | public Alternatives getAlternatives_3() { return cAlternatives_3; } | ||
1542 | |||
1543 | //number=ExactNumber | ||
1544 | public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } | ||
1545 | |||
1546 | //ExactNumber | ||
1547 | public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } | ||
1548 | |||
1549 | //number=IntervallNumber | ||
1550 | public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } | ||
1551 | |||
1552 | //IntervallNumber | ||
1553 | public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } | ||
1554 | |||
1555 | //number=RealEnumeration | ||
1556 | public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } | ||
1557 | |||
1558 | //RealEnumeration | ||
1559 | public RuleCall getNumberRealEnumerationParserRuleCall_3_2_0() { return cNumberRealEnumerationParserRuleCall_3_2_0; } | ||
1560 | } | ||
1561 | public class StringTypeScopeElements extends AbstractParserRuleElementFinder { | ||
1562 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringTypeScope"); | ||
1563 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1564 | private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1565 | private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1566 | private final RuleCall cTypeStringReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); | ||
1567 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
1568 | private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | ||
1569 | private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); | ||
1570 | private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
1571 | private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); | ||
1572 | private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); | ||
1573 | private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); | ||
1574 | private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); | ||
1575 | private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); | ||
1576 | private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); | ||
1577 | private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); | ||
1578 | private final RuleCall cNumberStringEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); | ||
1579 | |||
1580 | //StringTypeScope: | ||
1581 | // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
1582 | // number=StringEnumeration); | ||
1583 | @Override public ParserRule getRule() { return rule; } | ||
1584 | |||
1585 | //'#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
1586 | //number=StringEnumeration) | ||
1587 | public Group getGroup() { return cGroup; } | ||
1588 | |||
1589 | //'#' | ||
1590 | public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } | ||
1591 | |||
1592 | //type=StringReference | ||
1593 | public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } | ||
1594 | |||
1595 | //StringReference | ||
1596 | public RuleCall getTypeStringReferenceParserRuleCall_1_0() { return cTypeStringReferenceParserRuleCall_1_0; } | ||
1597 | |||
1598 | //(setsNew?='+=' | setsSum?='=') | ||
1599 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
1600 | |||
1601 | //setsNew?='+=' | ||
1602 | public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } | ||
1603 | |||
1604 | //'+=' | ||
1605 | public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } | ||
1606 | |||
1607 | //setsSum?='=' | ||
1608 | public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } | ||
1609 | |||
1610 | //'=' | ||
1611 | public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } | ||
1612 | |||
1613 | //(number=ExactNumber | number=IntervallNumber | number=StringEnumeration) | ||
1614 | public Alternatives getAlternatives_3() { return cAlternatives_3; } | ||
1615 | |||
1616 | //number=ExactNumber | ||
1617 | public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } | ||
1618 | |||
1619 | //ExactNumber | ||
1620 | public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } | ||
1621 | |||
1622 | //number=IntervallNumber | ||
1623 | public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } | ||
1624 | |||
1625 | //IntervallNumber | ||
1626 | public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } | ||
1627 | |||
1628 | //number=StringEnumeration | ||
1629 | public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } | ||
1630 | |||
1631 | //StringEnumeration | ||
1632 | public RuleCall getNumberStringEnumerationParserRuleCall_3_2_0() { return cNumberStringEnumerationParserRuleCall_3_2_0; } | ||
1334 | } | 1633 | } |
1335 | public class TypeReferenceElements extends AbstractParserRuleElementFinder { | 1634 | public class TypeReferenceElements extends AbstractParserRuleElementFinder { |
1336 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); | 1635 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); |
@@ -1466,6 +1765,260 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1466 | //'string' | 1765 | //'string' |
1467 | public Keyword getStringKeyword_1() { return cStringKeyword_1; } | 1766 | public Keyword getStringKeyword_1() { return cStringKeyword_1; } |
1468 | } | 1767 | } |
1768 | public class NumberSpecificationElements extends AbstractParserRuleElementFinder { | ||
1769 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.NumberSpecification"); | ||
1770 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1771 | private final RuleCall cExactNumberParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1772 | private final RuleCall cIntervallNumberParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1773 | private final RuleCall cIntEnumberationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
1774 | private final RuleCall cRealEnumerationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
1775 | private final RuleCall cStringEnumerationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); | ||
1776 | |||
1777 | //NumberSpecification: | ||
1778 | // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; | ||
1779 | @Override public ParserRule getRule() { return rule; } | ||
1780 | |||
1781 | //ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration | ||
1782 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1783 | |||
1784 | //ExactNumber | ||
1785 | public RuleCall getExactNumberParserRuleCall_0() { return cExactNumberParserRuleCall_0; } | ||
1786 | |||
1787 | //IntervallNumber | ||
1788 | public RuleCall getIntervallNumberParserRuleCall_1() { return cIntervallNumberParserRuleCall_1; } | ||
1789 | |||
1790 | //IntEnumberation | ||
1791 | public RuleCall getIntEnumberationParserRuleCall_2() { return cIntEnumberationParserRuleCall_2; } | ||
1792 | |||
1793 | //RealEnumeration | ||
1794 | public RuleCall getRealEnumerationParserRuleCall_3() { return cRealEnumerationParserRuleCall_3; } | ||
1795 | |||
1796 | //StringEnumeration | ||
1797 | public RuleCall getStringEnumerationParserRuleCall_4() { return cStringEnumerationParserRuleCall_4; } | ||
1798 | } | ||
1799 | public class ExactNumberElements extends AbstractParserRuleElementFinder { | ||
1800 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); | ||
1801 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1802 | private final Assignment cExactNumberAssignment_0 = (Assignment)cAlternatives.eContents().get(0); | ||
1803 | private final RuleCall cExactNumberINTTerminalRuleCall_0_0 = (RuleCall)cExactNumberAssignment_0.eContents().get(0); | ||
1804 | private final Assignment cExactUnlimitedAssignment_1 = (Assignment)cAlternatives.eContents().get(1); | ||
1805 | private final Keyword cExactUnlimitedAsteriskKeyword_1_0 = (Keyword)cExactUnlimitedAssignment_1.eContents().get(0); | ||
1806 | |||
1807 | //ExactNumber: | ||
1808 | // exactNumber=INT | exactUnlimited?='*'; | ||
1809 | @Override public ParserRule getRule() { return rule; } | ||
1810 | |||
1811 | //exactNumber=INT | exactUnlimited?='*' | ||
1812 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1813 | |||
1814 | //exactNumber=INT | ||
1815 | public Assignment getExactNumberAssignment_0() { return cExactNumberAssignment_0; } | ||
1816 | |||
1817 | //INT | ||
1818 | public RuleCall getExactNumberINTTerminalRuleCall_0_0() { return cExactNumberINTTerminalRuleCall_0_0; } | ||
1819 | |||
1820 | //exactUnlimited?='*' | ||
1821 | public Assignment getExactUnlimitedAssignment_1() { return cExactUnlimitedAssignment_1; } | ||
1822 | |||
1823 | //'*' | ||
1824 | public Keyword getExactUnlimitedAsteriskKeyword_1_0() { return cExactUnlimitedAsteriskKeyword_1_0; } | ||
1825 | } | ||
1826 | public class IntervallNumberElements extends AbstractParserRuleElementFinder { | ||
1827 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); | ||
1828 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1829 | private final Assignment cMinAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
1830 | private final RuleCall cMinINTTerminalRuleCall_0_0 = (RuleCall)cMinAssignment_0.eContents().get(0); | ||
1831 | private final Keyword cFullStopFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1832 | private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); | ||
1833 | private final Assignment cMaxNumberAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); | ||
1834 | private final RuleCall cMaxNumberINTTerminalRuleCall_2_0_0 = (RuleCall)cMaxNumberAssignment_2_0.eContents().get(0); | ||
1835 | private final Assignment cMaxUnlimitedAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); | ||
1836 | private final Keyword cMaxUnlimitedAsteriskKeyword_2_1_0 = (Keyword)cMaxUnlimitedAssignment_2_1.eContents().get(0); | ||
1837 | |||
1838 | //IntervallNumber: | ||
1839 | // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); | ||
1840 | @Override public ParserRule getRule() { return rule; } | ||
1841 | |||
1842 | //min=INT '..' (maxNumber=INT | maxUnlimited?='*') | ||
1843 | public Group getGroup() { return cGroup; } | ||
1844 | |||
1845 | //min=INT | ||
1846 | public Assignment getMinAssignment_0() { return cMinAssignment_0; } | ||
1847 | |||
1848 | //INT | ||
1849 | public RuleCall getMinINTTerminalRuleCall_0_0() { return cMinINTTerminalRuleCall_0_0; } | ||
1850 | |||
1851 | //'..' | ||
1852 | public Keyword getFullStopFullStopKeyword_1() { return cFullStopFullStopKeyword_1; } | ||
1853 | |||
1854 | //(maxNumber=INT | maxUnlimited?='*') | ||
1855 | public Alternatives getAlternatives_2() { return cAlternatives_2; } | ||
1856 | |||
1857 | //maxNumber=INT | ||
1858 | public Assignment getMaxNumberAssignment_2_0() { return cMaxNumberAssignment_2_0; } | ||
1859 | |||
1860 | //INT | ||
1861 | public RuleCall getMaxNumberINTTerminalRuleCall_2_0_0() { return cMaxNumberINTTerminalRuleCall_2_0_0; } | ||
1862 | |||
1863 | //maxUnlimited?='*' | ||
1864 | public Assignment getMaxUnlimitedAssignment_2_1() { return cMaxUnlimitedAssignment_2_1; } | ||
1865 | |||
1866 | //'*' | ||
1867 | public Keyword getMaxUnlimitedAsteriskKeyword_2_1_0() { return cMaxUnlimitedAsteriskKeyword_2_1_0; } | ||
1868 | } | ||
1869 | public class IntEnumberationElements extends AbstractParserRuleElementFinder { | ||
1870 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); | ||
1871 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1872 | private final Action cIntEnumberationAction_0 = (Action)cGroup.eContents().get(0); | ||
1873 | private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1874 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
1875 | private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); | ||
1876 | private final RuleCall cEntryINTTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); | ||
1877 | private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); | ||
1878 | private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); | ||
1879 | private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); | ||
1880 | private final RuleCall cEntryINTTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); | ||
1881 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1882 | |||
1883 | //IntEnumberation: | ||
1884 | // {IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}'; | ||
1885 | @Override public ParserRule getRule() { return rule; } | ||
1886 | |||
1887 | //{IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}' | ||
1888 | public Group getGroup() { return cGroup; } | ||
1889 | |||
1890 | //{IntEnumberation} | ||
1891 | public Action getIntEnumberationAction_0() { return cIntEnumberationAction_0; } | ||
1892 | |||
1893 | //'{' | ||
1894 | public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } | ||
1895 | |||
1896 | //(entry+=INT (',' entry+=INT)*)? | ||
1897 | public Group getGroup_2() { return cGroup_2; } | ||
1898 | |||
1899 | //entry+=INT | ||
1900 | public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } | ||
1901 | |||
1902 | //INT | ||
1903 | public RuleCall getEntryINTTerminalRuleCall_2_0_0() { return cEntryINTTerminalRuleCall_2_0_0; } | ||
1904 | |||
1905 | //(',' entry+=INT)* | ||
1906 | public Group getGroup_2_1() { return cGroup_2_1; } | ||
1907 | |||
1908 | //',' | ||
1909 | public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } | ||
1910 | |||
1911 | //entry+=INT | ||
1912 | public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } | ||
1913 | |||
1914 | //INT | ||
1915 | public RuleCall getEntryINTTerminalRuleCall_2_1_1_0() { return cEntryINTTerminalRuleCall_2_1_1_0; } | ||
1916 | |||
1917 | //'}' | ||
1918 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
1919 | } | ||
1920 | public class RealEnumerationElements extends AbstractParserRuleElementFinder { | ||
1921 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); | ||
1922 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1923 | private final Action cRealEnumerationAction_0 = (Action)cGroup.eContents().get(0); | ||
1924 | private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1925 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
1926 | private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); | ||
1927 | private final RuleCall cEntryINTTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); | ||
1928 | private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); | ||
1929 | private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); | ||
1930 | private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); | ||
1931 | private final RuleCall cEntryINTTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); | ||
1932 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1933 | |||
1934 | //RealEnumeration: | ||
1935 | // {RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}'; | ||
1936 | @Override public ParserRule getRule() { return rule; } | ||
1937 | |||
1938 | //{RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}' | ||
1939 | public Group getGroup() { return cGroup; } | ||
1940 | |||
1941 | //{RealEnumeration} | ||
1942 | public Action getRealEnumerationAction_0() { return cRealEnumerationAction_0; } | ||
1943 | |||
1944 | //'{' | ||
1945 | public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } | ||
1946 | |||
1947 | //(entry+=INT (',' entry+=INT)*)? | ||
1948 | public Group getGroup_2() { return cGroup_2; } | ||
1949 | |||
1950 | //entry+=INT | ||
1951 | public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } | ||
1952 | |||
1953 | //INT | ||
1954 | public RuleCall getEntryINTTerminalRuleCall_2_0_0() { return cEntryINTTerminalRuleCall_2_0_0; } | ||
1955 | |||
1956 | //(',' entry+=INT)* | ||
1957 | public Group getGroup_2_1() { return cGroup_2_1; } | ||
1958 | |||
1959 | //',' | ||
1960 | public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } | ||
1961 | |||
1962 | //entry+=INT | ||
1963 | public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } | ||
1964 | |||
1965 | //INT | ||
1966 | public RuleCall getEntryINTTerminalRuleCall_2_1_1_0() { return cEntryINTTerminalRuleCall_2_1_1_0; } | ||
1967 | |||
1968 | //'}' | ||
1969 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
1970 | } | ||
1971 | public class StringEnumerationElements extends AbstractParserRuleElementFinder { | ||
1972 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); | ||
1973 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1974 | private final Action cStringEnumerationAction_0 = (Action)cGroup.eContents().get(0); | ||
1975 | private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1976 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
1977 | private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); | ||
1978 | private final RuleCall cEntrySTRINGTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); | ||
1979 | private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); | ||
1980 | private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); | ||
1981 | private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); | ||
1982 | private final RuleCall cEntrySTRINGTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); | ||
1983 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1984 | |||
1985 | //StringEnumeration: | ||
1986 | // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; | ||
1987 | @Override public ParserRule getRule() { return rule; } | ||
1988 | |||
1989 | //{StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}' | ||
1990 | public Group getGroup() { return cGroup; } | ||
1991 | |||
1992 | //{StringEnumeration} | ||
1993 | public Action getStringEnumerationAction_0() { return cStringEnumerationAction_0; } | ||
1994 | |||
1995 | //'{' | ||
1996 | public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } | ||
1997 | |||
1998 | //(entry+=STRING (',' entry+=STRING)*)? | ||
1999 | public Group getGroup_2() { return cGroup_2; } | ||
2000 | |||
2001 | //entry+=STRING | ||
2002 | public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } | ||
2003 | |||
2004 | //STRING | ||
2005 | public RuleCall getEntrySTRINGTerminalRuleCall_2_0_0() { return cEntrySTRINGTerminalRuleCall_2_0_0; } | ||
2006 | |||
2007 | //(',' entry+=STRING)* | ||
2008 | public Group getGroup_2_1() { return cGroup_2_1; } | ||
2009 | |||
2010 | //',' | ||
2011 | public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } | ||
2012 | |||
2013 | //entry+=STRING | ||
2014 | public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } | ||
2015 | |||
2016 | //STRING | ||
2017 | public RuleCall getEntrySTRINGTerminalRuleCall_2_1_1_0() { return cEntrySTRINGTerminalRuleCall_2_1_1_0; } | ||
2018 | |||
2019 | //'}' | ||
2020 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
2021 | } | ||
1469 | public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { | 2022 | public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { |
1470 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); | 2023 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); |
1471 | private final Group cGroup = (Group)rule.eContents().get(1); | 2024 | private final Group cGroup = (Group)rule.eContents().get(1); |
@@ -1574,12 +2127,14 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1574 | private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); | 2127 | private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); |
1575 | private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); | 2128 | private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); |
1576 | private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); | 2129 | private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); |
1577 | private final Keyword cNumberKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0); | 2130 | private final Assignment cNumberSpecifiedAssignment_3_4_0 = (Assignment)cGroup_3_4.eContents().get(0); |
2131 | private final Keyword cNumberSpecifiedNumberKeyword_3_4_0_0 = (Keyword)cNumberSpecifiedAssignment_3_4_0.eContents().get(0); | ||
1578 | private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); | 2132 | private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); |
1579 | private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); | 2133 | private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); |
1580 | private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); | 2134 | private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); |
1581 | private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); | 2135 | private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); |
1582 | private final Keyword cRunsKeyword_3_5_0 = (Keyword)cGroup_3_5.eContents().get(0); | 2136 | private final Assignment cRunSpecifiedAssignment_3_5_0 = (Assignment)cGroup_3_5.eContents().get(0); |
2137 | private final Keyword cRunSpecifiedRunsKeyword_3_5_0_0 = (Keyword)cRunSpecifiedAssignment_3_5_0.eContents().get(0); | ||
1583 | private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); | 2138 | private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); |
1584 | private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); | 2139 | private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); |
1585 | private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); | 2140 | private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); |
@@ -1594,40 +2149,40 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1594 | private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); | 2149 | private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); |
1595 | private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); | 2150 | private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); |
1596 | private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); | 2151 | private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); |
1597 | private final Keyword cOutputKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); | 2152 | private final Keyword cDebugKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); |
1598 | private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); | 2153 | private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); |
1599 | private final Assignment cTagetFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); | 2154 | private final Assignment cDebugFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); |
1600 | private final RuleCall cTagetFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cTagetFolderAssignment_3_8_2.eContents().get(0); | 2155 | private final RuleCall cDebugFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cDebugFolderAssignment_3_8_2.eContents().get(0); |
1601 | private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); | 2156 | private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); |
1602 | private final Keyword cDebugKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); | 2157 | private final Keyword cLogKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); |
1603 | private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); | 2158 | private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); |
1604 | private final Assignment cDebugFolderAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); | 2159 | private final Assignment cTargetLogFileAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); |
1605 | private final RuleCall cDebugFolderFileParserRuleCall_3_9_2_0 = (RuleCall)cDebugFolderAssignment_3_9_2.eContents().get(0); | 2160 | private final RuleCall cTargetLogFileFileParserRuleCall_3_9_2_0 = (RuleCall)cTargetLogFileAssignment_3_9_2.eContents().get(0); |
1606 | private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); | 2161 | private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); |
1607 | private final Keyword cLogKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); | 2162 | private final Keyword cStatisticsKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); |
1608 | private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); | 2163 | private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); |
1609 | private final Assignment cTargetLogFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); | 2164 | private final Assignment cTargetStatisticsFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); |
1610 | private final RuleCall cTargetLogFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetLogFileAssignment_3_10_2.eContents().get(0); | 2165 | private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_10_2.eContents().get(0); |
1611 | private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); | 2166 | private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); |
1612 | private final Keyword cStatisticsKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); | 2167 | private final Keyword cOutputKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); |
1613 | private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); | 2168 | private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); |
1614 | private final Assignment cTargetStatisticsFileAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); | 2169 | private final Assignment cTagetFolderAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); |
1615 | private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_11_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_11_2.eContents().get(0); | 2170 | private final RuleCall cTagetFolderFileParserRuleCall_3_11_2_0 = (RuleCall)cTagetFolderAssignment_3_11_2.eContents().get(0); |
1616 | private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); | 2171 | private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); |
1617 | 2172 | ||
1618 | //GenerationTask: | 2173 | //GenerationTask: |
1619 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | 2174 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' |
1620 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | 2175 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & |
1621 | // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | 2176 | // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & |
1622 | // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | 2177 | // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' |
1623 | // targetStatisticsFile=File)?) '}'; | 2178 | // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; |
1624 | @Override public ParserRule getRule() { return rule; } | 2179 | @Override public ParserRule getRule() { return rule; } |
1625 | 2180 | ||
1626 | //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | 2181 | //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' |
1627 | //partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | 2182 | //partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & |
1628 | //number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | 2183 | //(numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & |
1629 | //tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | 2184 | //('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' |
1630 | //targetStatisticsFile=File)?) '}' | 2185 | //targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}' |
1631 | public Group getGroup() { return cGroup; } | 2186 | public Group getGroup() { return cGroup; } |
1632 | 2187 | ||
1633 | //'generate' | 2188 | //'generate' |
@@ -1640,9 +2195,10 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1640 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | 2195 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } |
1641 | 2196 | ||
1642 | //(('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('patterns' '=' | 2197 | //(('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('patterns' '=' |
1643 | //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' number=INT)? & ('runs' '=' runs=INT)? & ('solver' | 2198 | //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & |
1644 | //'=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' tagetFolder=File)? & ('debug' '=' | 2199 | //(runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' |
1645 | //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)?) | 2200 | //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' |
2201 | //tagetFolder=File)?) | ||
1646 | public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } | 2202 | public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } |
1647 | 2203 | ||
1648 | //('metamodel' '=' metamodel=Metamodel)? | 2204 | //('metamodel' '=' metamodel=Metamodel)? |
@@ -1705,11 +2261,14 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1705 | //Scope | 2261 | //Scope |
1706 | public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } | 2262 | public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } |
1707 | 2263 | ||
1708 | //('number' '=' number=INT)? | 2264 | //(numberSpecified?='number' '=' number=INT)? |
1709 | public Group getGroup_3_4() { return cGroup_3_4; } | 2265 | public Group getGroup_3_4() { return cGroup_3_4; } |
1710 | 2266 | ||
2267 | //numberSpecified?='number' | ||
2268 | public Assignment getNumberSpecifiedAssignment_3_4_0() { return cNumberSpecifiedAssignment_3_4_0; } | ||
2269 | |||
1711 | //'number' | 2270 | //'number' |
1712 | public Keyword getNumberKeyword_3_4_0() { return cNumberKeyword_3_4_0; } | 2271 | public Keyword getNumberSpecifiedNumberKeyword_3_4_0_0() { return cNumberSpecifiedNumberKeyword_3_4_0_0; } |
1713 | 2272 | ||
1714 | //'=' | 2273 | //'=' |
1715 | public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } | 2274 | public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } |
@@ -1720,11 +2279,14 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1720 | //INT | 2279 | //INT |
1721 | public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } | 2280 | public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } |
1722 | 2281 | ||
1723 | //('runs' '=' runs=INT)? | 2282 | //(runSpecified?='runs' '=' runs=INT)? |
1724 | public Group getGroup_3_5() { return cGroup_3_5; } | 2283 | public Group getGroup_3_5() { return cGroup_3_5; } |
1725 | 2284 | ||
2285 | //runSpecified?='runs' | ||
2286 | public Assignment getRunSpecifiedAssignment_3_5_0() { return cRunSpecifiedAssignment_3_5_0; } | ||
2287 | |||
1726 | //'runs' | 2288 | //'runs' |
1727 | public Keyword getRunsKeyword_3_5_0() { return cRunsKeyword_3_5_0; } | 2289 | public Keyword getRunSpecifiedRunsKeyword_3_5_0_0() { return cRunSpecifiedRunsKeyword_3_5_0_0; } |
1728 | 2290 | ||
1729 | //'=' | 2291 | //'=' |
1730 | public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } | 2292 | public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } |
@@ -1765,65 +2327,65 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1765 | //Config | 2327 | //Config |
1766 | public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } | 2328 | public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } |
1767 | 2329 | ||
1768 | //('output' '=' tagetFolder=File)? | 2330 | //('debug' '=' debugFolder=File)? |
1769 | public Group getGroup_3_8() { return cGroup_3_8; } | 2331 | public Group getGroup_3_8() { return cGroup_3_8; } |
1770 | 2332 | ||
1771 | //'output' | 2333 | //'debug' |
1772 | public Keyword getOutputKeyword_3_8_0() { return cOutputKeyword_3_8_0; } | 2334 | public Keyword getDebugKeyword_3_8_0() { return cDebugKeyword_3_8_0; } |
1773 | 2335 | ||
1774 | //'=' | 2336 | //'=' |
1775 | public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } | 2337 | public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } |
1776 | 2338 | ||
1777 | //tagetFolder=File | 2339 | //debugFolder=File |
1778 | public Assignment getTagetFolderAssignment_3_8_2() { return cTagetFolderAssignment_3_8_2; } | 2340 | public Assignment getDebugFolderAssignment_3_8_2() { return cDebugFolderAssignment_3_8_2; } |
1779 | 2341 | ||
1780 | //File | 2342 | //File |
1781 | public RuleCall getTagetFolderFileParserRuleCall_3_8_2_0() { return cTagetFolderFileParserRuleCall_3_8_2_0; } | 2343 | public RuleCall getDebugFolderFileParserRuleCall_3_8_2_0() { return cDebugFolderFileParserRuleCall_3_8_2_0; } |
1782 | 2344 | ||
1783 | //('debug' '=' debugFolder=File)? | 2345 | //('log' '=' targetLogFile=File)? |
1784 | public Group getGroup_3_9() { return cGroup_3_9; } | 2346 | public Group getGroup_3_9() { return cGroup_3_9; } |
1785 | 2347 | ||
1786 | //'debug' | 2348 | //'log' |
1787 | public Keyword getDebugKeyword_3_9_0() { return cDebugKeyword_3_9_0; } | 2349 | public Keyword getLogKeyword_3_9_0() { return cLogKeyword_3_9_0; } |
1788 | 2350 | ||
1789 | //'=' | 2351 | //'=' |
1790 | public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } | 2352 | public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } |
1791 | 2353 | ||
1792 | //debugFolder=File | 2354 | //targetLogFile=File |
1793 | public Assignment getDebugFolderAssignment_3_9_2() { return cDebugFolderAssignment_3_9_2; } | 2355 | public Assignment getTargetLogFileAssignment_3_9_2() { return cTargetLogFileAssignment_3_9_2; } |
1794 | 2356 | ||
1795 | //File | 2357 | //File |
1796 | public RuleCall getDebugFolderFileParserRuleCall_3_9_2_0() { return cDebugFolderFileParserRuleCall_3_9_2_0; } | 2358 | public RuleCall getTargetLogFileFileParserRuleCall_3_9_2_0() { return cTargetLogFileFileParserRuleCall_3_9_2_0; } |
1797 | 2359 | ||
1798 | //('log' '=' targetLogFile=File)? | 2360 | //('statistics' '=' targetStatisticsFile=File)? |
1799 | public Group getGroup_3_10() { return cGroup_3_10; } | 2361 | public Group getGroup_3_10() { return cGroup_3_10; } |
1800 | 2362 | ||
1801 | //'log' | 2363 | //'statistics' |
1802 | public Keyword getLogKeyword_3_10_0() { return cLogKeyword_3_10_0; } | 2364 | public Keyword getStatisticsKeyword_3_10_0() { return cStatisticsKeyword_3_10_0; } |
1803 | 2365 | ||
1804 | //'=' | 2366 | //'=' |
1805 | public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } | 2367 | public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } |
1806 | 2368 | ||
1807 | //targetLogFile=File | 2369 | //targetStatisticsFile=File |
1808 | public Assignment getTargetLogFileAssignment_3_10_2() { return cTargetLogFileAssignment_3_10_2; } | 2370 | public Assignment getTargetStatisticsFileAssignment_3_10_2() { return cTargetStatisticsFileAssignment_3_10_2; } |
1809 | 2371 | ||
1810 | //File | 2372 | //File |
1811 | public RuleCall getTargetLogFileFileParserRuleCall_3_10_2_0() { return cTargetLogFileFileParserRuleCall_3_10_2_0; } | 2373 | public RuleCall getTargetStatisticsFileFileParserRuleCall_3_10_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_10_2_0; } |
1812 | 2374 | ||
1813 | //('statistics' '=' targetStatisticsFile=File)? | 2375 | //('output' '=' tagetFolder=File)? |
1814 | public Group getGroup_3_11() { return cGroup_3_11; } | 2376 | public Group getGroup_3_11() { return cGroup_3_11; } |
1815 | 2377 | ||
1816 | //'statistics' | 2378 | //'output' |
1817 | public Keyword getStatisticsKeyword_3_11_0() { return cStatisticsKeyword_3_11_0; } | 2379 | public Keyword getOutputKeyword_3_11_0() { return cOutputKeyword_3_11_0; } |
1818 | 2380 | ||
1819 | //'=' | 2381 | //'=' |
1820 | public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } | 2382 | public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } |
1821 | 2383 | ||
1822 | //targetStatisticsFile=File | 2384 | //tagetFolder=File |
1823 | public Assignment getTargetStatisticsFileAssignment_3_11_2() { return cTargetStatisticsFileAssignment_3_11_2; } | 2385 | public Assignment getTagetFolderAssignment_3_11_2() { return cTagetFolderAssignment_3_11_2; } |
1824 | 2386 | ||
1825 | //File | 2387 | //File |
1826 | public RuleCall getTargetStatisticsFileFileParserRuleCall_3_11_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_11_2_0; } | 2388 | public RuleCall getTagetFolderFileParserRuleCall_3_11_2_0() { return cTagetFolderFileParserRuleCall_3_11_2_0; } |
1827 | 2389 | ||
1828 | //'}' | 2390 | //'}' |
1829 | public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } | 2391 | public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
@@ -1905,12 +2467,23 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1905 | private final SolverElements eSolver; | 2467 | private final SolverElements eSolver; |
1906 | private final ScopeSpecificationElements pScopeSpecification; | 2468 | private final ScopeSpecificationElements pScopeSpecification; |
1907 | private final TypeScopeElements pTypeScope; | 2469 | private final TypeScopeElements pTypeScope; |
2470 | private final ClassTypeScopeElements pClassTypeScope; | ||
2471 | private final ObjectTypeScopeElements pObjectTypeScope; | ||
2472 | private final IntegerTypeScopeElements pIntegerTypeScope; | ||
2473 | private final RealTypeScopeElements pRealTypeScope; | ||
2474 | private final StringTypeScopeElements pStringTypeScope; | ||
1908 | private final TypeReferenceElements pTypeReference; | 2475 | private final TypeReferenceElements pTypeReference; |
1909 | private final ClassReferenceElements pClassReference; | 2476 | private final ClassReferenceElements pClassReference; |
1910 | private final ObjectReferenceElements pObjectReference; | 2477 | private final ObjectReferenceElements pObjectReference; |
1911 | private final IntegerReferenceElements pIntegerReference; | 2478 | private final IntegerReferenceElements pIntegerReference; |
1912 | private final RealReferenceElements pRealReference; | 2479 | private final RealReferenceElements pRealReference; |
1913 | private final StringReferenceElements pStringReference; | 2480 | private final StringReferenceElements pStringReference; |
2481 | private final NumberSpecificationElements pNumberSpecification; | ||
2482 | private final ExactNumberElements pExactNumber; | ||
2483 | private final IntervallNumberElements pIntervallNumber; | ||
2484 | private final IntEnumberationElements pIntEnumberation; | ||
2485 | private final RealEnumerationElements pRealEnumeration; | ||
2486 | private final StringEnumerationElements pStringEnumeration; | ||
1914 | private final ScopeDeclarationElements pScopeDeclaration; | 2487 | private final ScopeDeclarationElements pScopeDeclaration; |
1915 | private final ScopeReferenceElements pScopeReference; | 2488 | private final ScopeReferenceElements pScopeReference; |
1916 | private final ScopeElements pScope; | 2489 | private final ScopeElements pScope; |
@@ -1966,12 +2539,23 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1966 | this.eSolver = new SolverElements(); | 2539 | this.eSolver = new SolverElements(); |
1967 | this.pScopeSpecification = new ScopeSpecificationElements(); | 2540 | this.pScopeSpecification = new ScopeSpecificationElements(); |
1968 | this.pTypeScope = new TypeScopeElements(); | 2541 | this.pTypeScope = new TypeScopeElements(); |
2542 | this.pClassTypeScope = new ClassTypeScopeElements(); | ||
2543 | this.pObjectTypeScope = new ObjectTypeScopeElements(); | ||
2544 | this.pIntegerTypeScope = new IntegerTypeScopeElements(); | ||
2545 | this.pRealTypeScope = new RealTypeScopeElements(); | ||
2546 | this.pStringTypeScope = new StringTypeScopeElements(); | ||
1969 | this.pTypeReference = new TypeReferenceElements(); | 2547 | this.pTypeReference = new TypeReferenceElements(); |
1970 | this.pClassReference = new ClassReferenceElements(); | 2548 | this.pClassReference = new ClassReferenceElements(); |
1971 | this.pObjectReference = new ObjectReferenceElements(); | 2549 | this.pObjectReference = new ObjectReferenceElements(); |
1972 | this.pIntegerReference = new IntegerReferenceElements(); | 2550 | this.pIntegerReference = new IntegerReferenceElements(); |
1973 | this.pRealReference = new RealReferenceElements(); | 2551 | this.pRealReference = new RealReferenceElements(); |
1974 | this.pStringReference = new StringReferenceElements(); | 2552 | this.pStringReference = new StringReferenceElements(); |
2553 | this.pNumberSpecification = new NumberSpecificationElements(); | ||
2554 | this.pExactNumber = new ExactNumberElements(); | ||
2555 | this.pIntervallNumber = new IntervallNumberElements(); | ||
2556 | this.pIntEnumberation = new IntEnumberationElements(); | ||
2557 | this.pRealEnumeration = new RealEnumerationElements(); | ||
2558 | this.pStringEnumeration = new StringEnumerationElements(); | ||
1975 | this.pScopeDeclaration = new ScopeDeclarationElements(); | 2559 | this.pScopeDeclaration = new ScopeDeclarationElements(); |
1976 | this.pScopeReference = new ScopeReferenceElements(); | 2560 | this.pScopeReference = new ScopeReferenceElements(); |
1977 | this.pScope = new ScopeElements(); | 2561 | this.pScope = new ScopeElements(); |
@@ -2037,6 +2621,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2037 | return getQualifiedNameAccess().getRule(); | 2621 | return getQualifiedNameAccess().getRule(); |
2038 | } | 2622 | } |
2039 | 2623 | ||
2624 | ////terminal REAL returns ecore::EBigDecimal: '-'? INT '.' INT; | ||
2625 | ////terminal INTEGER returns ecore::EInt: '-'? INT; | ||
2040 | ///////////////////////////////////////////////////// | 2626 | ///////////////////////////////////////////////////// |
2041 | //// Imports | 2627 | //// Imports |
2042 | ///////////////////////////////////////////////////// | 2628 | ///////////////////////////////////////////////////// |
@@ -2429,7 +3015,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2429 | } | 3015 | } |
2430 | 3016 | ||
2431 | //TypeScope: | 3017 | //TypeScope: |
2432 | // '#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | max=INT))?; | 3018 | // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; |
2433 | public TypeScopeElements getTypeScopeAccess() { | 3019 | public TypeScopeElements getTypeScopeAccess() { |
2434 | return pTypeScope; | 3020 | return pTypeScope; |
2435 | } | 3021 | } |
@@ -2438,6 +3024,59 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2438 | return getTypeScopeAccess().getRule(); | 3024 | return getTypeScopeAccess().getRule(); |
2439 | } | 3025 | } |
2440 | 3026 | ||
3027 | //ClassTypeScope: | ||
3028 | // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); | ||
3029 | public ClassTypeScopeElements getClassTypeScopeAccess() { | ||
3030 | return pClassTypeScope; | ||
3031 | } | ||
3032 | |||
3033 | public ParserRule getClassTypeScopeRule() { | ||
3034 | return getClassTypeScopeAccess().getRule(); | ||
3035 | } | ||
3036 | |||
3037 | //ObjectTypeScope: | ||
3038 | // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); | ||
3039 | public ObjectTypeScopeElements getObjectTypeScopeAccess() { | ||
3040 | return pObjectTypeScope; | ||
3041 | } | ||
3042 | |||
3043 | public ParserRule getObjectTypeScopeRule() { | ||
3044 | return getObjectTypeScopeAccess().getRule(); | ||
3045 | } | ||
3046 | |||
3047 | //IntegerTypeScope: | ||
3048 | // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
3049 | // number=IntEnumberation); | ||
3050 | public IntegerTypeScopeElements getIntegerTypeScopeAccess() { | ||
3051 | return pIntegerTypeScope; | ||
3052 | } | ||
3053 | |||
3054 | public ParserRule getIntegerTypeScopeRule() { | ||
3055 | return getIntegerTypeScopeAccess().getRule(); | ||
3056 | } | ||
3057 | |||
3058 | //RealTypeScope: | ||
3059 | // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
3060 | // number=RealEnumeration); | ||
3061 | public RealTypeScopeElements getRealTypeScopeAccess() { | ||
3062 | return pRealTypeScope; | ||
3063 | } | ||
3064 | |||
3065 | public ParserRule getRealTypeScopeRule() { | ||
3066 | return getRealTypeScopeAccess().getRule(); | ||
3067 | } | ||
3068 | |||
3069 | //StringTypeScope: | ||
3070 | // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | | ||
3071 | // number=StringEnumeration); | ||
3072 | public StringTypeScopeElements getStringTypeScopeAccess() { | ||
3073 | return pStringTypeScope; | ||
3074 | } | ||
3075 | |||
3076 | public ParserRule getStringTypeScopeRule() { | ||
3077 | return getStringTypeScopeAccess().getRule(); | ||
3078 | } | ||
3079 | |||
2441 | //TypeReference: | 3080 | //TypeReference: |
2442 | // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; | 3081 | // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; |
2443 | public TypeReferenceElements getTypeReferenceAccess() { | 3082 | public TypeReferenceElements getTypeReferenceAccess() { |
@@ -2498,6 +3137,66 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2498 | return getStringReferenceAccess().getRule(); | 3137 | return getStringReferenceAccess().getRule(); |
2499 | } | 3138 | } |
2500 | 3139 | ||
3140 | //NumberSpecification: | ||
3141 | // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; | ||
3142 | public NumberSpecificationElements getNumberSpecificationAccess() { | ||
3143 | return pNumberSpecification; | ||
3144 | } | ||
3145 | |||
3146 | public ParserRule getNumberSpecificationRule() { | ||
3147 | return getNumberSpecificationAccess().getRule(); | ||
3148 | } | ||
3149 | |||
3150 | //ExactNumber: | ||
3151 | // exactNumber=INT | exactUnlimited?='*'; | ||
3152 | public ExactNumberElements getExactNumberAccess() { | ||
3153 | return pExactNumber; | ||
3154 | } | ||
3155 | |||
3156 | public ParserRule getExactNumberRule() { | ||
3157 | return getExactNumberAccess().getRule(); | ||
3158 | } | ||
3159 | |||
3160 | //IntervallNumber: | ||
3161 | // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); | ||
3162 | public IntervallNumberElements getIntervallNumberAccess() { | ||
3163 | return pIntervallNumber; | ||
3164 | } | ||
3165 | |||
3166 | public ParserRule getIntervallNumberRule() { | ||
3167 | return getIntervallNumberAccess().getRule(); | ||
3168 | } | ||
3169 | |||
3170 | //IntEnumberation: | ||
3171 | // {IntEnumberation} '{' (entry+=INT (',' entry+=INT)*)? '}'; | ||
3172 | public IntEnumberationElements getIntEnumberationAccess() { | ||
3173 | return pIntEnumberation; | ||
3174 | } | ||
3175 | |||
3176 | public ParserRule getIntEnumberationRule() { | ||
3177 | return getIntEnumberationAccess().getRule(); | ||
3178 | } | ||
3179 | |||
3180 | //RealEnumeration: | ||
3181 | // {RealEnumeration} '{' (entry+=INT (',' entry+=INT)*)? '}'; | ||
3182 | public RealEnumerationElements getRealEnumerationAccess() { | ||
3183 | return pRealEnumeration; | ||
3184 | } | ||
3185 | |||
3186 | public ParserRule getRealEnumerationRule() { | ||
3187 | return getRealEnumerationAccess().getRule(); | ||
3188 | } | ||
3189 | |||
3190 | //StringEnumeration: | ||
3191 | // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; | ||
3192 | public StringEnumerationElements getStringEnumerationAccess() { | ||
3193 | return pStringEnumeration; | ||
3194 | } | ||
3195 | |||
3196 | public ParserRule getStringEnumerationRule() { | ||
3197 | return getStringEnumerationAccess().getRule(); | ||
3198 | } | ||
3199 | |||
2501 | //ScopeDeclaration: | 3200 | //ScopeDeclaration: |
2502 | // 'scope' name=ID specification=ScopeSpecification; | 3201 | // 'scope' name=ID specification=ScopeSpecification; |
2503 | public ScopeDeclarationElements getScopeDeclarationAccess() { | 3202 | public ScopeDeclarationElements getScopeDeclarationAccess() { |
@@ -2540,10 +3239,10 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2540 | 3239 | ||
2541 | //GenerationTask: | 3240 | //GenerationTask: |
2542 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | 3241 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' |
2543 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | 3242 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & |
2544 | // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | 3243 | // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & |
2545 | // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | 3244 | // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' |
2546 | // targetStatisticsFile=File)?) '}'; | 3245 | // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; |
2547 | public GenerationTaskElements getGenerationTaskAccess() { | 3246 | public GenerationTaskElements getGenerationTaskAccess() { |
2548 | return pGenerationTask; | 3247 | return pGenerationTask; |
2549 | } | 3248 | } |