diff options
author | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-02-24 19:37:32 -0500 |
---|---|---|
committer | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-02-24 19:37:32 -0500 |
commit | 455c332357a1da6ee8073811b6aa72fc5edda51e (patch) | |
tree | d3db6b7c4244ee5b01f1b9704db02a62ef7ce364 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java | |
parent | Translated PQueryies are added to annotation. (diff) | |
download | VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.tar.gz VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.tar.zst VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.zip |
Application configuration update
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 | 207 |
1 files changed, 205 insertions, 2 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 54914973..d7920ae1 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 | |||
@@ -1136,6 +1136,114 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1136 | } | 1136 | } |
1137 | public class ConfigEntryElements extends AbstractParserRuleElementFinder { | 1137 | public class ConfigEntryElements extends AbstractParserRuleElementFinder { |
1138 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | 1138 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); |
1139 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1140 | private final RuleCall cDocumentationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1141 | private final RuleCall cRuntimeEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1142 | private final RuleCall cMemoryEntryParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
1143 | private final RuleCall cCustomEntryParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
1144 | |||
1145 | //ConfigEntry: | ||
1146 | // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; | ||
1147 | @Override public ParserRule getRule() { return rule; } | ||
1148 | |||
1149 | //DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry | ||
1150 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1151 | |||
1152 | //DocumentationEntry | ||
1153 | public RuleCall getDocumentationEntryParserRuleCall_0() { return cDocumentationEntryParserRuleCall_0; } | ||
1154 | |||
1155 | //RuntimeEntry | ||
1156 | public RuleCall getRuntimeEntryParserRuleCall_1() { return cRuntimeEntryParserRuleCall_1; } | ||
1157 | |||
1158 | //MemoryEntry | ||
1159 | public RuleCall getMemoryEntryParserRuleCall_2() { return cMemoryEntryParserRuleCall_2; } | ||
1160 | |||
1161 | //CustomEntry | ||
1162 | public RuleCall getCustomEntryParserRuleCall_3() { return cCustomEntryParserRuleCall_3; } | ||
1163 | } | ||
1164 | public class DocumentationEntryElements extends AbstractParserRuleElementFinder { | ||
1165 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentationEntry"); | ||
1166 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1167 | private final Keyword cDocumentsKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1168 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1169 | private final Assignment cLevelAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1170 | private final RuleCall cLevelDocumentLevelSpecificationEnumRuleCall_2_0 = (RuleCall)cLevelAssignment_2.eContents().get(0); | ||
1171 | |||
1172 | //DocumentationEntry: | ||
1173 | // "documents" '=' level=DocumentLevelSpecification; | ||
1174 | @Override public ParserRule getRule() { return rule; } | ||
1175 | |||
1176 | //"documents" '=' level=DocumentLevelSpecification | ||
1177 | public Group getGroup() { return cGroup; } | ||
1178 | |||
1179 | //"documents" | ||
1180 | public Keyword getDocumentsKeyword_0() { return cDocumentsKeyword_0; } | ||
1181 | |||
1182 | //'=' | ||
1183 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | ||
1184 | |||
1185 | //level=DocumentLevelSpecification | ||
1186 | public Assignment getLevelAssignment_2() { return cLevelAssignment_2; } | ||
1187 | |||
1188 | //DocumentLevelSpecification | ||
1189 | public RuleCall getLevelDocumentLevelSpecificationEnumRuleCall_2_0() { return cLevelDocumentLevelSpecificationEnumRuleCall_2_0; } | ||
1190 | } | ||
1191 | public class RuntimeEntryElements extends AbstractParserRuleElementFinder { | ||
1192 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RuntimeEntry"); | ||
1193 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1194 | private final Keyword cRuntimeKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1195 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1196 | private final Assignment cMillisecLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1197 | private final RuleCall cMillisecLimitINTTerminalRuleCall_2_0 = (RuleCall)cMillisecLimitAssignment_2.eContents().get(0); | ||
1198 | |||
1199 | //RuntimeEntry: | ||
1200 | // "runtime" "=" millisecLimit=INT; | ||
1201 | @Override public ParserRule getRule() { return rule; } | ||
1202 | |||
1203 | //"runtime" "=" millisecLimit=INT | ||
1204 | public Group getGroup() { return cGroup; } | ||
1205 | |||
1206 | //"runtime" | ||
1207 | public Keyword getRuntimeKeyword_0() { return cRuntimeKeyword_0; } | ||
1208 | |||
1209 | //"=" | ||
1210 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | ||
1211 | |||
1212 | //millisecLimit=INT | ||
1213 | public Assignment getMillisecLimitAssignment_2() { return cMillisecLimitAssignment_2; } | ||
1214 | |||
1215 | //INT | ||
1216 | public RuleCall getMillisecLimitINTTerminalRuleCall_2_0() { return cMillisecLimitINTTerminalRuleCall_2_0; } | ||
1217 | } | ||
1218 | public class MemoryEntryElements extends AbstractParserRuleElementFinder { | ||
1219 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MemoryEntry"); | ||
1220 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1221 | private final Keyword cMemoryKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1222 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1223 | private final Assignment cMegabyteLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1224 | private final RuleCall cMegabyteLimitINTTerminalRuleCall_2_0 = (RuleCall)cMegabyteLimitAssignment_2.eContents().get(0); | ||
1225 | |||
1226 | //MemoryEntry: | ||
1227 | // "memory" "=" megabyteLimit=INT; | ||
1228 | @Override public ParserRule getRule() { return rule; } | ||
1229 | |||
1230 | //"memory" "=" megabyteLimit=INT | ||
1231 | public Group getGroup() { return cGroup; } | ||
1232 | |||
1233 | //"memory" | ||
1234 | public Keyword getMemoryKeyword_0() { return cMemoryKeyword_0; } | ||
1235 | |||
1236 | //"=" | ||
1237 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | ||
1238 | |||
1239 | //megabyteLimit=INT | ||
1240 | public Assignment getMegabyteLimitAssignment_2() { return cMegabyteLimitAssignment_2; } | ||
1241 | |||
1242 | //INT | ||
1243 | public RuleCall getMegabyteLimitINTTerminalRuleCall_2_0() { return cMegabyteLimitINTTerminalRuleCall_2_0; } | ||
1244 | } | ||
1245 | public class CustomEntryElements extends AbstractParserRuleElementFinder { | ||
1246 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CustomEntry"); | ||
1139 | private final Group cGroup = (Group)rule.eContents().get(1); | 1247 | private final Group cGroup = (Group)rule.eContents().get(1); |
1140 | private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); | 1248 | private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); |
1141 | private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); | 1249 | private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); |
@@ -1143,7 +1251,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1143 | private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); | 1251 | private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); |
1144 | private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); | 1252 | private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); |
1145 | 1253 | ||
1146 | //ConfigEntry: | 1254 | //CustomEntry: |
1147 | // key=STRING "=" value=STRING; | 1255 | // key=STRING "=" value=STRING; |
1148 | @Override public ParserRule getRule() { return rule; } | 1256 | @Override public ParserRule getRule() { return rule; } |
1149 | 1257 | ||
@@ -2391,6 +2499,41 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2391 | public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } | 2499 | public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } |
2392 | } | 2500 | } |
2393 | 2501 | ||
2502 | public class DocumentLevelSpecificationElements extends AbstractEnumRuleElementFinder { | ||
2503 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); | ||
2504 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
2505 | private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); | ||
2506 | private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); | ||
2507 | private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); | ||
2508 | private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0); | ||
2509 | private final EnumLiteralDeclaration cFullEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); | ||
2510 | private final Keyword cFullFullKeyword_2_0 = (Keyword)cFullEnumLiteralDeclaration_2.eContents().get(0); | ||
2511 | |||
2512 | //enum DocumentLevelSpecification: | ||
2513 | // none | normal | full; | ||
2514 | public EnumRule getRule() { return rule; } | ||
2515 | |||
2516 | //none | normal | full | ||
2517 | public Alternatives getAlternatives() { return cAlternatives; } | ||
2518 | |||
2519 | //none | ||
2520 | public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } | ||
2521 | |||
2522 | //"none" | ||
2523 | public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } | ||
2524 | |||
2525 | //normal | ||
2526 | public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; } | ||
2527 | |||
2528 | //"normal" | ||
2529 | public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; } | ||
2530 | |||
2531 | //full | ||
2532 | public EnumLiteralDeclaration getFullEnumLiteralDeclaration_2() { return cFullEnumLiteralDeclaration_2; } | ||
2533 | |||
2534 | //"full" | ||
2535 | public Keyword getFullFullKeyword_2_0() { return cFullFullKeyword_2_0; } | ||
2536 | } | ||
2394 | public class SolverElements extends AbstractEnumRuleElementFinder { | 2537 | public class SolverElements extends AbstractEnumRuleElementFinder { |
2395 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); | 2538 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); |
2396 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | 2539 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
@@ -2462,6 +2605,11 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2462 | private final ConfigSpecificationElements pConfigSpecification; | 2605 | private final ConfigSpecificationElements pConfigSpecification; |
2463 | private final ConfigDeclarationElements pConfigDeclaration; | 2606 | private final ConfigDeclarationElements pConfigDeclaration; |
2464 | private final ConfigEntryElements pConfigEntry; | 2607 | private final ConfigEntryElements pConfigEntry; |
2608 | private final DocumentationEntryElements pDocumentationEntry; | ||
2609 | private final DocumentLevelSpecificationElements eDocumentLevelSpecification; | ||
2610 | private final RuntimeEntryElements pRuntimeEntry; | ||
2611 | private final MemoryEntryElements pMemoryEntry; | ||
2612 | private final CustomEntryElements pCustomEntry; | ||
2465 | private final ConfigReferenceElements pConfigReference; | 2613 | private final ConfigReferenceElements pConfigReference; |
2466 | private final ConfigElements pConfig; | 2614 | private final ConfigElements pConfig; |
2467 | private final SolverElements eSolver; | 2615 | private final SolverElements eSolver; |
@@ -2534,6 +2682,11 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2534 | this.pConfigSpecification = new ConfigSpecificationElements(); | 2682 | this.pConfigSpecification = new ConfigSpecificationElements(); |
2535 | this.pConfigDeclaration = new ConfigDeclarationElements(); | 2683 | this.pConfigDeclaration = new ConfigDeclarationElements(); |
2536 | this.pConfigEntry = new ConfigEntryElements(); | 2684 | this.pConfigEntry = new ConfigEntryElements(); |
2685 | this.pDocumentationEntry = new DocumentationEntryElements(); | ||
2686 | this.eDocumentLevelSpecification = new DocumentLevelSpecificationElements(); | ||
2687 | this.pRuntimeEntry = new RuntimeEntryElements(); | ||
2688 | this.pMemoryEntry = new MemoryEntryElements(); | ||
2689 | this.pCustomEntry = new CustomEntryElements(); | ||
2537 | this.pConfigReference = new ConfigReferenceElements(); | 2690 | this.pConfigReference = new ConfigReferenceElements(); |
2538 | this.pConfig = new ConfigElements(); | 2691 | this.pConfig = new ConfigElements(); |
2539 | this.eSolver = new SolverElements(); | 2692 | this.eSolver = new SolverElements(); |
@@ -2964,7 +3117,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2964 | } | 3117 | } |
2965 | 3118 | ||
2966 | //ConfigEntry: | 3119 | //ConfigEntry: |
2967 | // key=STRING "=" value=STRING; | 3120 | // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; |
2968 | public ConfigEntryElements getConfigEntryAccess() { | 3121 | public ConfigEntryElements getConfigEntryAccess() { |
2969 | return pConfigEntry; | 3122 | return pConfigEntry; |
2970 | } | 3123 | } |
@@ -2973,6 +3126,56 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2973 | return getConfigEntryAccess().getRule(); | 3126 | return getConfigEntryAccess().getRule(); |
2974 | } | 3127 | } |
2975 | 3128 | ||
3129 | //DocumentationEntry: | ||
3130 | // "documents" '=' level=DocumentLevelSpecification; | ||
3131 | public DocumentationEntryElements getDocumentationEntryAccess() { | ||
3132 | return pDocumentationEntry; | ||
3133 | } | ||
3134 | |||
3135 | public ParserRule getDocumentationEntryRule() { | ||
3136 | return getDocumentationEntryAccess().getRule(); | ||
3137 | } | ||
3138 | |||
3139 | //enum DocumentLevelSpecification: | ||
3140 | // none | normal | full; | ||
3141 | public DocumentLevelSpecificationElements getDocumentLevelSpecificationAccess() { | ||
3142 | return eDocumentLevelSpecification; | ||
3143 | } | ||
3144 | |||
3145 | public EnumRule getDocumentLevelSpecificationRule() { | ||
3146 | return getDocumentLevelSpecificationAccess().getRule(); | ||
3147 | } | ||
3148 | |||
3149 | //RuntimeEntry: | ||
3150 | // "runtime" "=" millisecLimit=INT; | ||
3151 | public RuntimeEntryElements getRuntimeEntryAccess() { | ||
3152 | return pRuntimeEntry; | ||
3153 | } | ||
3154 | |||
3155 | public ParserRule getRuntimeEntryRule() { | ||
3156 | return getRuntimeEntryAccess().getRule(); | ||
3157 | } | ||
3158 | |||
3159 | //MemoryEntry: | ||
3160 | // "memory" "=" megabyteLimit=INT; | ||
3161 | public MemoryEntryElements getMemoryEntryAccess() { | ||
3162 | return pMemoryEntry; | ||
3163 | } | ||
3164 | |||
3165 | public ParserRule getMemoryEntryRule() { | ||
3166 | return getMemoryEntryAccess().getRule(); | ||
3167 | } | ||
3168 | |||
3169 | //CustomEntry: | ||
3170 | // key=STRING "=" value=STRING; | ||
3171 | public CustomEntryElements getCustomEntryAccess() { | ||
3172 | return pCustomEntry; | ||
3173 | } | ||
3174 | |||
3175 | public ParserRule getCustomEntryRule() { | ||
3176 | return getCustomEntryAccess().getRule(); | ||
3177 | } | ||
3178 | |||
2976 | //ConfigReference: | 3179 | //ConfigReference: |
2977 | // config=[ConfigDeclaration]; | 3180 | // config=[ConfigDeclaration]; |
2978 | public ConfigReferenceElements getConfigReferenceAccess() { | 3181 | public ConfigReferenceElements getConfigReferenceAccess() { |