diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java | 2039 |
1 files changed, 1971 insertions, 68 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 97717b2f..688dd229 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 | |||
@@ -6,9 +6,12 @@ package hu.bme.mit.inf.dslreasoner.application.services; | |||
6 | import com.google.inject.Inject; | 6 | import com.google.inject.Inject; |
7 | import com.google.inject.Singleton; | 7 | import com.google.inject.Singleton; |
8 | import java.util.List; | 8 | import java.util.List; |
9 | import org.eclipse.xtext.Action; | ||
9 | import org.eclipse.xtext.Alternatives; | 10 | import org.eclipse.xtext.Alternatives; |
10 | import org.eclipse.xtext.Assignment; | 11 | import org.eclipse.xtext.Assignment; |
11 | import org.eclipse.xtext.CrossReference; | 12 | import org.eclipse.xtext.CrossReference; |
13 | import org.eclipse.xtext.EnumLiteralDeclaration; | ||
14 | import org.eclipse.xtext.EnumRule; | ||
12 | import org.eclipse.xtext.Grammar; | 15 | import org.eclipse.xtext.Grammar; |
13 | import org.eclipse.xtext.GrammarUtil; | 16 | import org.eclipse.xtext.GrammarUtil; |
14 | import org.eclipse.xtext.Group; | 17 | import org.eclipse.xtext.Group; |
@@ -16,7 +19,9 @@ import org.eclipse.xtext.Keyword; | |||
16 | import org.eclipse.xtext.ParserRule; | 19 | import org.eclipse.xtext.ParserRule; |
17 | import org.eclipse.xtext.RuleCall; | 20 | import org.eclipse.xtext.RuleCall; |
18 | import org.eclipse.xtext.TerminalRule; | 21 | import org.eclipse.xtext.TerminalRule; |
22 | import org.eclipse.xtext.UnorderedGroup; | ||
19 | import org.eclipse.xtext.common.services.TerminalsGrammarAccess; | 23 | import org.eclipse.xtext.common.services.TerminalsGrammarAccess; |
24 | import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; | ||
20 | import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; | 25 | import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; |
21 | import org.eclipse.xtext.service.GrammarProvider; | 26 | import org.eclipse.xtext.service.GrammarProvider; |
22 | 27 | ||
@@ -53,32 +58,49 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
53 | } | 58 | } |
54 | public class CommandElements extends AbstractParserRuleElementFinder { | 59 | public class CommandElements extends AbstractParserRuleElementFinder { |
55 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); | 60 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); |
56 | private final RuleCall cDeclarationParserRuleCall = (RuleCall)rule.eContents().get(1); | 61 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); |
62 | private final RuleCall cDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
63 | private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
57 | 64 | ||
58 | //Command: | 65 | //Command: |
59 | // Declaration | 66 | // Declaration | Task; |
60 | // //| Task | ||
61 | //; | ||
62 | @Override public ParserRule getRule() { return rule; } | 67 | @Override public ParserRule getRule() { return rule; } |
63 | 68 | ||
69 | //Declaration | Task | ||
70 | public Alternatives getAlternatives() { return cAlternatives; } | ||
71 | |||
64 | //Declaration | 72 | //Declaration |
65 | public RuleCall getDeclarationParserRuleCall() { return cDeclarationParserRuleCall; } | 73 | public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; } |
74 | |||
75 | //Task | ||
76 | public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; } | ||
66 | } | 77 | } |
67 | public class DeclarationElements extends AbstractParserRuleElementFinder { | 78 | public class QualifiedNameElements extends AbstractParserRuleElementFinder { |
68 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); | 79 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName"); |
69 | private final RuleCall cMetamodelDeclarationParserRuleCall = (RuleCall)rule.eContents().get(1); | 80 | private final Group cGroup = (Group)rule.eContents().get(1); |
81 | private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | ||
82 | private final Group cGroup_1 = (Group)cGroup.eContents().get(1); | ||
83 | private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); | ||
84 | private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); | ||
70 | 85 | ||
71 | //Declaration: | 86 | //QualifiedName: |
72 | // MetamodelDeclaration | 87 | // ID (=> '.' ID)*; |
73 | // // | PartialModelDeclaration | ||
74 | // // | GraphPatternDeclaration | ||
75 | // // | SolverConfig | ||
76 | //; | ||
77 | @Override public ParserRule getRule() { return rule; } | 88 | @Override public ParserRule getRule() { return rule; } |
78 | 89 | ||
79 | //// FileDeclaration | | 90 | //ID (=> '.' ID)* |
80 | //MetamodelDeclaration | 91 | public Group getGroup() { return cGroup; } |
81 | public RuleCall getMetamodelDeclarationParserRuleCall() { return cMetamodelDeclarationParserRuleCall; } | 92 | |
93 | //ID | ||
94 | public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } | ||
95 | |||
96 | //(=> '.' ID)* | ||
97 | public Group getGroup_1() { return cGroup_1; } | ||
98 | |||
99 | //=> '.' | ||
100 | public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } | ||
101 | |||
102 | //ID | ||
103 | public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } | ||
82 | } | 104 | } |
83 | public class ImportElements extends AbstractParserRuleElementFinder { | 105 | public class ImportElements extends AbstractParserRuleElementFinder { |
84 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); | 106 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); |
@@ -164,6 +186,141 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
164 | //STRING | 186 | //STRING |
165 | public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } | 187 | public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } |
166 | } | 188 | } |
189 | public class DeclarationElements extends AbstractParserRuleElementFinder { | ||
190 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); | ||
191 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
192 | private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
193 | private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
194 | private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
195 | private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
196 | private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); | ||
197 | private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); | ||
198 | |||
199 | ///////////////////////////////////////////////////// | ||
200 | //// Declaration | ||
201 | ///////////////////////////////////////////////////// | ||
202 | //Declaration: | ||
203 | // FileDeclaration | ||
204 | // | MetamodelDeclaration | ||
205 | // | PartialModelDeclaration | ||
206 | // | GraphPatternDeclaration | ||
207 | // | ConfigDeclaration | ||
208 | // | ScopeDeclaration; | ||
209 | @Override public ParserRule getRule() { return rule; } | ||
210 | |||
211 | //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration | | ||
212 | //ScopeDeclaration | ||
213 | public Alternatives getAlternatives() { return cAlternatives; } | ||
214 | |||
215 | //FileDeclaration | ||
216 | public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; } | ||
217 | |||
218 | //MetamodelDeclaration | ||
219 | public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; } | ||
220 | |||
221 | //PartialModelDeclaration | ||
222 | public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; } | ||
223 | |||
224 | //GraphPatternDeclaration | ||
225 | public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; } | ||
226 | |||
227 | //ConfigDeclaration | ||
228 | public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; } | ||
229 | |||
230 | //ScopeDeclaration | ||
231 | public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; } | ||
232 | } | ||
233 | public class FileSpecificationElements extends AbstractParserRuleElementFinder { | ||
234 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); | ||
235 | private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); | ||
236 | private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); | ||
237 | |||
238 | ///////////////////////////////////////////////////// | ||
239 | //// Files and Folders | ||
240 | ///////////////////////////////////////////////////// | ||
241 | //FileSpecification: | ||
242 | // path=STRING; | ||
243 | @Override public ParserRule getRule() { return rule; } | ||
244 | |||
245 | //path=STRING | ||
246 | public Assignment getPathAssignment() { return cPathAssignment; } | ||
247 | |||
248 | //STRING | ||
249 | public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; } | ||
250 | } | ||
251 | public class FileDeclarationElements extends AbstractParserRuleElementFinder { | ||
252 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration"); | ||
253 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
254 | private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
255 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
256 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
257 | private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
258 | private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); | ||
259 | private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); | ||
260 | |||
261 | //FileDeclaration: | ||
262 | // 'file' name=ID '=' specification=FileSpecification; | ||
263 | @Override public ParserRule getRule() { return rule; } | ||
264 | |||
265 | //'file' name=ID '=' specification=FileSpecification | ||
266 | public Group getGroup() { return cGroup; } | ||
267 | |||
268 | //'file' | ||
269 | public Keyword getFileKeyword_0() { return cFileKeyword_0; } | ||
270 | |||
271 | //name=ID | ||
272 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
273 | |||
274 | //ID | ||
275 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | ||
276 | |||
277 | //'=' | ||
278 | public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } | ||
279 | |||
280 | //specification=FileSpecification | ||
281 | public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } | ||
282 | |||
283 | //FileSpecification | ||
284 | public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; } | ||
285 | } | ||
286 | public class FileReferenceElements extends AbstractParserRuleElementFinder { | ||
287 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference"); | ||
288 | private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); | ||
289 | private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); | ||
290 | private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1); | ||
291 | |||
292 | //FileReference: | ||
293 | // referred=[FileDeclaration]; | ||
294 | @Override public ParserRule getRule() { return rule; } | ||
295 | |||
296 | //referred=[FileDeclaration] | ||
297 | public Assignment getReferredAssignment() { return cReferredAssignment; } | ||
298 | |||
299 | //[FileDeclaration] | ||
300 | public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; } | ||
301 | |||
302 | //ID | ||
303 | public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; } | ||
304 | } | ||
305 | public class FileElements extends AbstractParserRuleElementFinder { | ||
306 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
307 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
308 | private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
309 | private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
310 | |||
311 | //File: | ||
312 | // FileSpecification | FileReference; | ||
313 | @Override public ParserRule getRule() { return rule; } | ||
314 | |||
315 | //FileSpecification | FileReference | ||
316 | public Alternatives getAlternatives() { return cAlternatives; } | ||
317 | |||
318 | //FileSpecification | ||
319 | public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; } | ||
320 | |||
321 | //FileReference | ||
322 | public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; } | ||
323 | } | ||
167 | public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { | 324 | public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { |
168 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); | 325 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); |
169 | private final Group cGroup = (Group)rule.eContents().get(1); | 326 | private final Group cGroup = (Group)rule.eContents().get(1); |
@@ -177,15 +334,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
177 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | 334 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); |
178 | 335 | ||
179 | ///////////////////////////////////////////////////// | 336 | ///////////////////////////////////////////////////// |
180 | //// Files and Folders | ||
181 | ///////////////////////////////////////////////////// | ||
182 | /// * | ||
183 | //FileSpecification: path = STRING; | ||
184 | //FileDeclaration: 'file' name = ID '=' specification = FileSpecification; | ||
185 | // | ||
186 | //FileReference: referred = [FileDeclaration]; | ||
187 | //File: FileSpecification | FileReference; | ||
188 | // * / /////////////////////////////////////////////////// | ||
189 | //// Metamodel | 337 | //// Metamodel |
190 | ///////////////////////////////////////////////////// | 338 | ///////////////////////////////////////////////////// |
191 | //MetamodelSpecification: | 339 | //MetamodelSpecification: |
@@ -244,7 +392,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
244 | private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); | 392 | private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); |
245 | private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); | 393 | private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); |
246 | private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); | 394 | private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); |
247 | private final RuleCall cPackageEPackageIDTerminalRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); | 395 | private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); |
248 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | 396 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); |
249 | private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); | 397 | private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); |
250 | private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); | 398 | private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); |
@@ -257,25 +405,25 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
257 | private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); | 405 | private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); |
258 | 406 | ||
259 | //AllPackageEntry: | 407 | //AllPackageEntry: |
260 | // "package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* | 408 | // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' |
261 | // '}')?; | 409 | // exclusion+=MetamodelElement)* '}')?; |
262 | @Override public ParserRule getRule() { return rule; } | 410 | @Override public ParserRule getRule() { return rule; } |
263 | 411 | ||
264 | //"package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* | 412 | //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' |
265 | //'}')? | 413 | //exclusion+=MetamodelElement)* '}')? |
266 | public Group getGroup() { return cGroup; } | 414 | public Group getGroup() { return cGroup; } |
267 | 415 | ||
268 | //"package" | 416 | //"package" |
269 | public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } | 417 | public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } |
270 | 418 | ||
271 | //package=[ecore::EPackage] | 419 | //package=[ecore::EPackage|QualifiedName] |
272 | public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } | 420 | public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } |
273 | 421 | ||
274 | //[ecore::EPackage] | 422 | //[ecore::EPackage|QualifiedName] |
275 | public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } | 423 | public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } |
276 | 424 | ||
277 | //ID | 425 | //QualifiedName |
278 | public RuleCall getPackageEPackageIDTerminalRuleCall_1_0_1() { return cPackageEPackageIDTerminalRuleCall_1_0_1; } | 426 | public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; } |
279 | 427 | ||
280 | //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? | 428 | //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? |
281 | public Group getGroup_2() { return cGroup_2; } | 429 | public Group getGroup_2() { return cGroup_2; } |
@@ -313,7 +461,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
313 | private final Group cGroup_0 = (Group)cGroup.eContents().get(0); | 461 | private final Group cGroup_0 = (Group)cGroup.eContents().get(0); |
314 | private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); | 462 | private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); |
315 | private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); | 463 | private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); |
316 | private final RuleCall cPackageEPackageIDTerminalRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); | 464 | private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); |
317 | private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); | 465 | private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); |
318 | private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); | 466 | private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); |
319 | private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); | 467 | private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); |
@@ -325,23 +473,24 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
325 | private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); | 473 | private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); |
326 | 474 | ||
327 | //MetamodelElement: | 475 | //MetamodelElement: |
328 | // (package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; | 476 | // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' |
477 | // feature=[ecore::ENamedElement])?; | ||
329 | @Override public ParserRule getRule() { return rule; } | 478 | @Override public ParserRule getRule() { return rule; } |
330 | 479 | ||
331 | //(package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? | 480 | //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? |
332 | public Group getGroup() { return cGroup; } | 481 | public Group getGroup() { return cGroup; } |
333 | 482 | ||
334 | //(package=[ecore::EPackage] '::')? | 483 | //(package=[ecore::EPackage|QualifiedName] '::')? |
335 | public Group getGroup_0() { return cGroup_0; } | 484 | public Group getGroup_0() { return cGroup_0; } |
336 | 485 | ||
337 | //package=[ecore::EPackage] | 486 | //package=[ecore::EPackage|QualifiedName] |
338 | public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } | 487 | public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } |
339 | 488 | ||
340 | //[ecore::EPackage] | 489 | //[ecore::EPackage|QualifiedName] |
341 | public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } | 490 | public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } |
342 | 491 | ||
343 | //ID | 492 | //QualifiedName |
344 | public RuleCall getPackageEPackageIDTerminalRuleCall_0_0_0_1() { return cPackageEPackageIDTerminalRuleCall_0_0_0_1; } | 493 | public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; } |
345 | 494 | ||
346 | //'::' | 495 | //'::' |
347 | public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } | 496 | public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } |
@@ -439,14 +588,1303 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
439 | //MetamodelSpecification | 588 | //MetamodelSpecification |
440 | public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } | 589 | public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } |
441 | } | 590 | } |
591 | public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder { | ||
592 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); | ||
593 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
594 | private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
595 | private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
596 | private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0); | ||
597 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
598 | private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); | ||
599 | private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); | ||
600 | private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0); | ||
601 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
602 | |||
603 | ///////////////////////////////////////////////////// | ||
604 | //// Partial Model | ||
605 | ///////////////////////////////////////////////////// | ||
606 | //PartialModelSpecification: | ||
607 | // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; | ||
608 | @Override public ParserRule getRule() { return rule; } | ||
609 | |||
610 | //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}' | ||
611 | public Group getGroup() { return cGroup; } | ||
612 | |||
613 | //'{' | ||
614 | public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } | ||
615 | |||
616 | //entry+=PartialModelEntry | ||
617 | public Assignment getEntryAssignment_1() { return cEntryAssignment_1; } | ||
618 | |||
619 | //PartialModelEntry | ||
620 | public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; } | ||
621 | |||
622 | //(',' entry+=PartialModelEntry)? | ||
623 | public Group getGroup_2() { return cGroup_2; } | ||
624 | |||
625 | //',' | ||
626 | public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } | ||
627 | |||
628 | //entry+=PartialModelEntry | ||
629 | public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; } | ||
630 | |||
631 | //PartialModelEntry | ||
632 | public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; } | ||
633 | |||
634 | //'}' | ||
635 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
636 | } | ||
637 | public class PartialModelEntryElements extends AbstractParserRuleElementFinder { | ||
638 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); | ||
639 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
640 | private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
641 | private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
642 | |||
643 | //PartialModelEntry: | ||
644 | // ModelEntry | FolderEntry; | ||
645 | @Override public ParserRule getRule() { return rule; } | ||
646 | |||
647 | //ModelEntry | FolderEntry | ||
648 | public Alternatives getAlternatives() { return cAlternatives; } | ||
649 | |||
650 | //ModelEntry | ||
651 | public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; } | ||
652 | |||
653 | //FolderEntry | ||
654 | public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; } | ||
655 | } | ||
656 | public class ModelEntryElements extends AbstractParserRuleElementFinder { | ||
657 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); | ||
658 | private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); | ||
659 | private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); | ||
660 | |||
661 | //ModelEntry: | ||
662 | // path=File; | ||
663 | @Override public ParserRule getRule() { return rule; } | ||
664 | |||
665 | //path=File | ||
666 | public Assignment getPathAssignment() { return cPathAssignment; } | ||
667 | |||
668 | //File | ||
669 | public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; } | ||
670 | } | ||
671 | public class FolderEntryElements extends AbstractParserRuleElementFinder { | ||
672 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry"); | ||
673 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
674 | private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
675 | private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
676 | private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0); | ||
677 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
678 | private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); | ||
679 | private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); | ||
680 | private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); | ||
681 | private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); | ||
682 | private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); | ||
683 | private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); | ||
684 | private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); | ||
685 | private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); | ||
686 | private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); | ||
687 | |||
688 | //FolderEntry: | ||
689 | // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; | ||
690 | @Override public ParserRule getRule() { return rule; } | ||
691 | |||
692 | //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? | ||
693 | public Group getGroup() { return cGroup; } | ||
694 | |||
695 | //"folder" | ||
696 | public Keyword getFolderKeyword_0() { return cFolderKeyword_0; } | ||
697 | |||
698 | //path=File | ||
699 | public Assignment getPathAssignment_1() { return cPathAssignment_1; } | ||
700 | |||
701 | //File | ||
702 | public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; } | ||
703 | |||
704 | //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? | ||
705 | public Group getGroup_2() { return cGroup_2; } | ||
706 | |||
707 | //"excluding" | ||
708 | public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } | ||
709 | |||
710 | //"{" | ||
711 | public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } | ||
712 | |||
713 | //exclusion+=ModelEntry | ||
714 | public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } | ||
715 | |||
716 | //ModelEntry | ||
717 | public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; } | ||
718 | |||
719 | //("," exclusion+=ModelEntry)* | ||
720 | public Group getGroup_2_3() { return cGroup_2_3; } | ||
721 | |||
722 | //"," | ||
723 | public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } | ||
724 | |||
725 | //exclusion+=ModelEntry | ||
726 | public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } | ||
727 | |||
728 | //ModelEntry | ||
729 | public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; } | ||
730 | |||
731 | //"}" | ||
732 | public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } | ||
733 | } | ||
734 | public class PartialModelDeclarationElements extends AbstractParserRuleElementFinder { | ||
735 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelDeclaration"); | ||
736 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
737 | private final Keyword cPartialModelKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
738 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
739 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
740 | private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
741 | private final RuleCall cSpecificationPartialModelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); | ||
742 | |||
743 | //PartialModelDeclaration: | ||
744 | // 'partial-model' name=ID specification=PartialModelSpecification; | ||
745 | @Override public ParserRule getRule() { return rule; } | ||
746 | |||
747 | //'partial-model' name=ID specification=PartialModelSpecification | ||
748 | public Group getGroup() { return cGroup; } | ||
749 | |||
750 | //'partial-model' | ||
751 | public Keyword getPartialModelKeyword_0() { return cPartialModelKeyword_0; } | ||
752 | |||
753 | //name=ID | ||
754 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
755 | |||
756 | //ID | ||
757 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | ||
758 | |||
759 | //specification=PartialModelSpecification | ||
760 | public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } | ||
761 | |||
762 | //PartialModelSpecification | ||
763 | public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; } | ||
764 | } | ||
765 | public class PartialModelReferenceElements extends AbstractParserRuleElementFinder { | ||
766 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference"); | ||
767 | private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); | ||
768 | private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); | ||
769 | private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1); | ||
770 | |||
771 | //PartialModelReference: | ||
772 | // referred=[PartialModelDeclaration]; | ||
773 | @Override public ParserRule getRule() { return rule; } | ||
774 | |||
775 | //referred=[PartialModelDeclaration] | ||
776 | public Assignment getReferredAssignment() { return cReferredAssignment; } | ||
777 | |||
778 | //[PartialModelDeclaration] | ||
779 | public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; } | ||
780 | |||
781 | //ID | ||
782 | public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; } | ||
783 | } | ||
784 | public class PartialModelElements extends AbstractParserRuleElementFinder { | ||
785 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); | ||
786 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
787 | private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
788 | private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
789 | |||
790 | //PartialModel: | ||
791 | // PartialModelSpecification | PartialModelReference; | ||
792 | @Override public ParserRule getRule() { return rule; } | ||
793 | |||
794 | //PartialModelSpecification | PartialModelReference | ||
795 | public Alternatives getAlternatives() { return cAlternatives; } | ||
796 | |||
797 | //PartialModelSpecification | ||
798 | public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; } | ||
799 | |||
800 | //PartialModelReference | ||
801 | public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; } | ||
802 | } | ||
803 | public class PatternSpecificationElements extends AbstractParserRuleElementFinder { | ||
804 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); | ||
805 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
806 | private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
807 | private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
808 | private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); | ||
809 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
810 | private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); | ||
811 | private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); | ||
812 | private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); | ||
813 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
814 | |||
815 | ///////////////////////////////////////////////////// | ||
816 | //// Patterns | ||
817 | ///////////////////////////////////////////////////// | ||
818 | //PatternSpecification: | ||
819 | // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; | ||
820 | @Override public ParserRule getRule() { return rule; } | ||
821 | |||
822 | //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}' | ||
823 | public Group getGroup() { return cGroup; } | ||
824 | |||
825 | //'{' | ||
826 | public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } | ||
827 | |||
828 | //entries+=PatternEntry | ||
829 | public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } | ||
830 | |||
831 | //PatternEntry | ||
832 | public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; } | ||
833 | |||
834 | //(',' entries+=PatternEntry)* | ||
835 | public Group getGroup_2() { return cGroup_2; } | ||
836 | |||
837 | //',' | ||
838 | public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } | ||
839 | |||
840 | //entries+=PatternEntry | ||
841 | public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } | ||
842 | |||
843 | //PatternEntry | ||
844 | public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; } | ||
845 | |||
846 | //'}' | ||
847 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
848 | } | ||
849 | public class PatternEntryElements extends AbstractParserRuleElementFinder { | ||
850 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); | ||
851 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
852 | private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
853 | private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
854 | |||
855 | //PatternEntry: | ||
856 | // PatternElement | AllPatternEntry; | ||
857 | @Override public ParserRule getRule() { return rule; } | ||
858 | |||
859 | //PatternElement | AllPatternEntry | ||
860 | public Alternatives getAlternatives() { return cAlternatives; } | ||
861 | |||
862 | //PatternElement | ||
863 | public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; } | ||
864 | |||
865 | //AllPatternEntry | ||
866 | public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; } | ||
867 | } | ||
868 | public class AllPatternEntryElements extends AbstractParserRuleElementFinder { | ||
869 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry"); | ||
870 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
871 | private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
872 | private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
873 | private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); | ||
874 | private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1); | ||
875 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
876 | private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); | ||
877 | private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); | ||
878 | private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); | ||
879 | private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0); | ||
880 | private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); | ||
881 | private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); | ||
882 | private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); | ||
883 | private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0); | ||
884 | private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); | ||
885 | |||
886 | //AllPatternEntry: | ||
887 | // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' | ||
888 | // exclusuion+=PatternElement)* '}')?; | ||
889 | @Override public ParserRule getRule() { return rule; } | ||
890 | |||
891 | //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' | ||
892 | //exclusuion+=PatternElement)* '}')? | ||
893 | public Group getGroup() { return cGroup; } | ||
894 | |||
895 | //'package' | ||
896 | public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } | ||
897 | |||
898 | //package=[viatra::PatternModel|QualifiedName] | ||
899 | public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } | ||
900 | |||
901 | //[viatra::PatternModel|QualifiedName] | ||
902 | public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; } | ||
903 | |||
904 | //QualifiedName | ||
905 | public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; } | ||
906 | |||
907 | //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')? | ||
908 | public Group getGroup_2() { return cGroup_2; } | ||
909 | |||
910 | //'excluding' | ||
911 | public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } | ||
912 | |||
913 | //'{' | ||
914 | public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } | ||
915 | |||
916 | //exclusuion+=PatternElement | ||
917 | public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; } | ||
918 | |||
919 | //PatternElement | ||
920 | public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; } | ||
921 | |||
922 | //(',' exclusuion+=PatternElement)* | ||
923 | public Group getGroup_2_3() { return cGroup_2_3; } | ||
924 | |||
925 | //',' | ||
926 | public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } | ||
927 | |||
928 | //exclusuion+=PatternElement | ||
929 | public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; } | ||
930 | |||
931 | //PatternElement | ||
932 | public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; } | ||
933 | |||
934 | //'}' | ||
935 | public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } | ||
936 | } | ||
937 | public class PatternElementElements extends AbstractParserRuleElementFinder { | ||
938 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | ||
939 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
940 | private final Group cGroup_0 = (Group)cGroup.eContents().get(0); | ||
941 | private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); | ||
942 | private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); | ||
943 | private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1); | ||
944 | private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); | ||
945 | private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
946 | private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0); | ||
947 | private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1); | ||
948 | |||
949 | //PatternElement: | ||
950 | // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; | ||
951 | @Override public ParserRule getRule() { return rule; } | ||
952 | |||
953 | //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern] | ||
954 | public Group getGroup() { return cGroup; } | ||
955 | |||
956 | //(package=[viatra::PatternModel|QualifiedName] '::')? | ||
957 | public Group getGroup_0() { return cGroup_0; } | ||
958 | |||
959 | //package=[viatra::PatternModel|QualifiedName] | ||
960 | public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } | ||
961 | |||
962 | //[viatra::PatternModel|QualifiedName] | ||
963 | public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; } | ||
964 | |||
965 | //QualifiedName | ||
966 | public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; } | ||
967 | |||
968 | //'::' | ||
969 | public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } | ||
970 | |||
971 | //pattern=[viatra::Pattern] | ||
972 | public Assignment getPatternAssignment_1() { return cPatternAssignment_1; } | ||
973 | |||
974 | //[viatra::Pattern] | ||
975 | public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; } | ||
976 | |||
977 | //ID | ||
978 | public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; } | ||
979 | } | ||
980 | public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder { | ||
981 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration"); | ||
982 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
983 | private final Keyword cPatternsKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
984 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
985 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
986 | private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
987 | private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); | ||
988 | |||
989 | //GraphPatternDeclaration: | ||
990 | // 'patterns' name=ID specification=PatternSpecification; | ||
991 | @Override public ParserRule getRule() { return rule; } | ||
992 | |||
993 | //'patterns' name=ID specification=PatternSpecification | ||
994 | public Group getGroup() { return cGroup; } | ||
995 | |||
996 | //'patterns' | ||
997 | public Keyword getPatternsKeyword_0() { return cPatternsKeyword_0; } | ||
998 | |||
999 | //name=ID | ||
1000 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
1001 | |||
1002 | //ID | ||
1003 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | ||
1004 | |||
1005 | //specification=PatternSpecification | ||
1006 | public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } | ||
1007 | |||
1008 | //PatternSpecification | ||
1009 | public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; } | ||
1010 | } | ||
1011 | public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder { | ||
1012 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference"); | ||
1013 | private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); | ||
1014 | private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); | ||
1015 | private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1); | ||
1016 | |||
1017 | //GraphPatternReference: | ||
1018 | // referred=[GraphPatternDeclaration]; | ||
1019 | @Override public ParserRule getRule() { return rule; } | ||
1020 | |||
1021 | //referred=[GraphPatternDeclaration] | ||
1022 | public Assignment getReferredAssignment() { return cReferredAssignment; } | ||
1023 | |||
1024 | //[GraphPatternDeclaration] | ||
1025 | public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; } | ||
1026 | |||
1027 | //ID | ||
1028 | public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; } | ||
1029 | } | ||
1030 | public class GraphPatternElements extends AbstractParserRuleElementFinder { | ||
1031 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); | ||
1032 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1033 | private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1034 | private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1035 | |||
1036 | //GraphPattern: | ||
1037 | // GraphPatternReference | PatternSpecification; | ||
1038 | @Override public ParserRule getRule() { return rule; } | ||
1039 | |||
1040 | //GraphPatternReference | PatternSpecification | ||
1041 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1042 | |||
1043 | //GraphPatternReference | ||
1044 | public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; } | ||
1045 | |||
1046 | //PatternSpecification | ||
1047 | public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; } | ||
1048 | } | ||
1049 | public class ConfigSpecificationElements extends AbstractParserRuleElementFinder { | ||
1050 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); | ||
1051 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1052 | private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0); | ||
1053 | private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1054 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
1055 | private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); | ||
1056 | private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0); | ||
1057 | private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); | ||
1058 | private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); | ||
1059 | private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); | ||
1060 | private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0); | ||
1061 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1062 | |||
1063 | ///////////////////////////////////////////////////// | ||
1064 | //// SolverConfig | ||
1065 | ///////////////////////////////////////////////////// | ||
1066 | //ConfigSpecification: | ||
1067 | // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? | ||
1068 | // '}'; | ||
1069 | @Override public ParserRule getRule() { return rule; } | ||
1070 | |||
1071 | //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}' | ||
1072 | public Group getGroup() { return cGroup; } | ||
1073 | |||
1074 | //{ConfigSpecification} | ||
1075 | public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; } | ||
1076 | |||
1077 | //'{' | ||
1078 | public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } | ||
1079 | |||
1080 | //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)? | ||
1081 | public Group getGroup_2() { return cGroup_2; } | ||
1082 | |||
1083 | //entries+=ConfigEntry | ||
1084 | public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; } | ||
1085 | |||
1086 | //ConfigEntry | ||
1087 | public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; } | ||
1088 | |||
1089 | //("," entries+=ConfigEntry)* | ||
1090 | public Group getGroup_2_1() { return cGroup_2_1; } | ||
1091 | |||
1092 | //"," | ||
1093 | public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } | ||
1094 | |||
1095 | //entries+=ConfigEntry | ||
1096 | public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; } | ||
1097 | |||
1098 | //ConfigEntry | ||
1099 | public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; } | ||
1100 | |||
1101 | //'}' | ||
1102 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
1103 | } | ||
1104 | public class ConfigDeclarationElements extends AbstractParserRuleElementFinder { | ||
1105 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration"); | ||
1106 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1107 | private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1108 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1109 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
1110 | private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1111 | private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); | ||
1112 | |||
1113 | //ConfigDeclaration: | ||
1114 | // 'config' name=ID specification=ConfigSpecification; | ||
1115 | @Override public ParserRule getRule() { return rule; } | ||
1116 | |||
1117 | //'config' name=ID specification=ConfigSpecification | ||
1118 | public Group getGroup() { return cGroup; } | ||
1119 | |||
1120 | //'config' | ||
1121 | public Keyword getConfigKeyword_0() { return cConfigKeyword_0; } | ||
1122 | |||
1123 | //name=ID | ||
1124 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
1125 | |||
1126 | //ID | ||
1127 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | ||
1128 | |||
1129 | //specification=ConfigSpecification | ||
1130 | public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } | ||
1131 | |||
1132 | //ConfigSpecification | ||
1133 | public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; } | ||
1134 | } | ||
1135 | public class ConfigEntryElements extends AbstractParserRuleElementFinder { | ||
1136 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | ||
1137 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1138 | private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); | ||
1139 | private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); | ||
1140 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1141 | private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1142 | private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); | ||
1143 | |||
1144 | //ConfigEntry: | ||
1145 | // key=STRING "=" value=STRING; | ||
1146 | @Override public ParserRule getRule() { return rule; } | ||
1147 | |||
1148 | //key=STRING "=" value=STRING | ||
1149 | public Group getGroup() { return cGroup; } | ||
1150 | |||
1151 | //key=STRING | ||
1152 | public Assignment getKeyAssignment_0() { return cKeyAssignment_0; } | ||
1153 | |||
1154 | //STRING | ||
1155 | public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; } | ||
1156 | |||
1157 | //"=" | ||
1158 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | ||
1159 | |||
1160 | //value=STRING | ||
1161 | public Assignment getValueAssignment_2() { return cValueAssignment_2; } | ||
1162 | |||
1163 | //STRING | ||
1164 | public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } | ||
1165 | } | ||
1166 | public class ConfigReferenceElements extends AbstractParserRuleElementFinder { | ||
1167 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference"); | ||
1168 | private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1); | ||
1169 | private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0); | ||
1170 | private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1); | ||
1171 | |||
1172 | //ConfigReference: | ||
1173 | // config=[ConfigDeclaration]; | ||
1174 | @Override public ParserRule getRule() { return rule; } | ||
1175 | |||
1176 | //config=[ConfigDeclaration] | ||
1177 | public Assignment getConfigAssignment() { return cConfigAssignment; } | ||
1178 | |||
1179 | //[ConfigDeclaration] | ||
1180 | public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; } | ||
1181 | |||
1182 | //ID | ||
1183 | public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; } | ||
1184 | } | ||
1185 | public class ConfigElements extends AbstractParserRuleElementFinder { | ||
1186 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); | ||
1187 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1188 | private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1189 | private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1190 | |||
1191 | //Config: | ||
1192 | // ConfigSpecification | ConfigReference; | ||
1193 | @Override public ParserRule getRule() { return rule; } | ||
1194 | |||
1195 | //ConfigSpecification | ConfigReference | ||
1196 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1197 | |||
1198 | //ConfigSpecification | ||
1199 | public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; } | ||
1200 | |||
1201 | //ConfigReference | ||
1202 | public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; } | ||
1203 | } | ||
1204 | public class ScopeSpecificationElements extends AbstractParserRuleElementFinder { | ||
1205 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); | ||
1206 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1207 | private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0); | ||
1208 | private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1209 | private final Group cGroup_2 = (Group)cGroup.eContents().get(2); | ||
1210 | private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); | ||
1211 | private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0); | ||
1212 | private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); | ||
1213 | private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); | ||
1214 | private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); | ||
1215 | private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0); | ||
1216 | private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); | ||
1217 | |||
1218 | //ScopeSpecification: | ||
1219 | // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? | ||
1220 | // '}'; | ||
1221 | @Override public ParserRule getRule() { return rule; } | ||
1222 | |||
1223 | //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}' | ||
1224 | public Group getGroup() { return cGroup; } | ||
1225 | |||
1226 | //{ScopeSpecification} | ||
1227 | public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; } | ||
1228 | |||
1229 | //'{' | ||
1230 | public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } | ||
1231 | |||
1232 | //(scopes+=TypeScope (',' scopes+=TypeScope)*)? | ||
1233 | public Group getGroup_2() { return cGroup_2; } | ||
1234 | |||
1235 | //scopes+=TypeScope | ||
1236 | public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; } | ||
1237 | |||
1238 | //TypeScope | ||
1239 | public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; } | ||
1240 | |||
1241 | //(',' scopes+=TypeScope)* | ||
1242 | public Group getGroup_2_1() { return cGroup_2_1; } | ||
1243 | |||
1244 | //',' | ||
1245 | public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } | ||
1246 | |||
1247 | //scopes+=TypeScope | ||
1248 | public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; } | ||
1249 | |||
1250 | //TypeScope | ||
1251 | public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; } | ||
1252 | |||
1253 | //'}' | ||
1254 | public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } | ||
1255 | } | ||
1256 | public class TypeScopeElements extends AbstractParserRuleElementFinder { | ||
1257 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | ||
1258 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1259 | private final Group cGroup_0 = (Group)cGroup.eContents().get(0); | ||
1260 | private final Assignment cMinAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); | ||
1261 | private final RuleCall cMinINTTerminalRuleCall_0_0_0 = (RuleCall)cMinAssignment_0_0.eContents().get(0); | ||
1262 | private final Alternatives cAlternatives_0_1 = (Alternatives)cGroup_0.eContents().get(1); | ||
1263 | private final Assignment cGreatherAssignment_0_1_0 = (Assignment)cAlternatives_0_1.eContents().get(0); | ||
1264 | private final Keyword cGreatherLessThanSignKeyword_0_1_0_0 = (Keyword)cGreatherAssignment_0_1_0.eContents().get(0); | ||
1265 | private final Assignment cGreaterOrEqualAssignment_0_1_1 = (Assignment)cAlternatives_0_1.eContents().get(1); | ||
1266 | private final Keyword cGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0 = (Keyword)cGreaterOrEqualAssignment_0_1_1.eContents().get(0); | ||
1267 | private final Keyword cNumberSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1268 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1269 | private final RuleCall cTypeTypeReferenceParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); | ||
1270 | private final Group cGroup_3 = (Group)cGroup.eContents().get(3); | ||
1271 | private final Alternatives cAlternatives_3_0 = (Alternatives)cGroup_3.eContents().get(0); | ||
1272 | private final Assignment cLessAssignment_3_0_0 = (Assignment)cAlternatives_3_0.eContents().get(0); | ||
1273 | private final Keyword cLessLessThanSignKeyword_3_0_0_0 = (Keyword)cLessAssignment_3_0_0.eContents().get(0); | ||
1274 | private final Assignment cLessOrEqualAssignment_3_0_1 = (Assignment)cAlternatives_3_0.eContents().get(1); | ||
1275 | private final Keyword cLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0 = (Keyword)cLessOrEqualAssignment_3_0_1.eContents().get(0); | ||
1276 | private final Assignment cMaxAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); | ||
1277 | private final RuleCall cMaxINTTerminalRuleCall_3_1_0 = (RuleCall)cMaxAssignment_3_1.eContents().get(0); | ||
1278 | |||
1279 | //TypeScope: | ||
1280 | // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; | ||
1281 | @Override public ParserRule getRule() { return rule; } | ||
1282 | |||
1283 | //(min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)? | ||
1284 | public Group getGroup() { return cGroup; } | ||
1285 | |||
1286 | //(min=INT (greather?='<' | greaterOrEqual?='<='))? | ||
1287 | public Group getGroup_0() { return cGroup_0; } | ||
1288 | |||
1289 | //min=INT | ||
1290 | public Assignment getMinAssignment_0_0() { return cMinAssignment_0_0; } | ||
1291 | |||
1292 | //INT | ||
1293 | public RuleCall getMinINTTerminalRuleCall_0_0_0() { return cMinINTTerminalRuleCall_0_0_0; } | ||
1294 | |||
1295 | //(greather?='<' | greaterOrEqual?='<=') | ||
1296 | public Alternatives getAlternatives_0_1() { return cAlternatives_0_1; } | ||
1297 | |||
1298 | //greather?='<' | ||
1299 | public Assignment getGreatherAssignment_0_1_0() { return cGreatherAssignment_0_1_0; } | ||
1300 | |||
1301 | //'<' | ||
1302 | public Keyword getGreatherLessThanSignKeyword_0_1_0_0() { return cGreatherLessThanSignKeyword_0_1_0_0; } | ||
1303 | |||
1304 | //greaterOrEqual?='<=' | ||
1305 | public Assignment getGreaterOrEqualAssignment_0_1_1() { return cGreaterOrEqualAssignment_0_1_1; } | ||
1306 | |||
1307 | //'<=' | ||
1308 | public Keyword getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0() { return cGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0; } | ||
1309 | |||
1310 | //'#' | ||
1311 | public Keyword getNumberSignKeyword_1() { return cNumberSignKeyword_1; } | ||
1312 | |||
1313 | //type=TypeReference | ||
1314 | public Assignment getTypeAssignment_2() { return cTypeAssignment_2; } | ||
1315 | |||
1316 | //TypeReference | ||
1317 | public RuleCall getTypeTypeReferenceParserRuleCall_2_0() { return cTypeTypeReferenceParserRuleCall_2_0; } | ||
1318 | |||
1319 | //((less?='<' | lessOrEqual?='<=') max=INT)? | ||
1320 | public Group getGroup_3() { return cGroup_3; } | ||
1321 | |||
1322 | //(less?='<' | lessOrEqual?='<=') | ||
1323 | public Alternatives getAlternatives_3_0() { return cAlternatives_3_0; } | ||
1324 | |||
1325 | //less?='<' | ||
1326 | public Assignment getLessAssignment_3_0_0() { return cLessAssignment_3_0_0; } | ||
1327 | |||
1328 | //'<' | ||
1329 | public Keyword getLessLessThanSignKeyword_3_0_0_0() { return cLessLessThanSignKeyword_3_0_0_0; } | ||
1330 | |||
1331 | //lessOrEqual?='<=' | ||
1332 | public Assignment getLessOrEqualAssignment_3_0_1() { return cLessOrEqualAssignment_3_0_1; } | ||
1333 | |||
1334 | //'<=' | ||
1335 | public Keyword getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0() { return cLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0; } | ||
1336 | |||
1337 | //max=INT | ||
1338 | public Assignment getMaxAssignment_3_1() { return cMaxAssignment_3_1; } | ||
1339 | |||
1340 | //INT | ||
1341 | public RuleCall getMaxINTTerminalRuleCall_3_1_0() { return cMaxINTTerminalRuleCall_3_1_0; } | ||
1342 | } | ||
1343 | public class TypeReferenceElements extends AbstractParserRuleElementFinder { | ||
1344 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); | ||
1345 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1346 | private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1347 | private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1348 | private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); | ||
1349 | private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); | ||
1350 | private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); | ||
1351 | |||
1352 | //TypeReference: | ||
1353 | // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; | ||
1354 | @Override public ParserRule getRule() { return rule; } | ||
1355 | |||
1356 | //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference | ||
1357 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1358 | |||
1359 | //ClassReference | ||
1360 | public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; } | ||
1361 | |||
1362 | //ObjectReference | ||
1363 | public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; } | ||
1364 | |||
1365 | //IntegerReference | ||
1366 | public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; } | ||
1367 | |||
1368 | //RealReference | ||
1369 | public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; } | ||
1370 | |||
1371 | //StringReference | ||
1372 | public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; } | ||
1373 | } | ||
1374 | public class ClassReferenceElements extends AbstractParserRuleElementFinder { | ||
1375 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); | ||
1376 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1377 | private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1378 | private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1379 | private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0); | ||
1380 | private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
1381 | |||
1382 | //ClassReference: | ||
1383 | // '[' element=MetamodelElement ']'; | ||
1384 | @Override public ParserRule getRule() { return rule; } | ||
1385 | |||
1386 | //'[' element=MetamodelElement ']' | ||
1387 | public Group getGroup() { return cGroup; } | ||
1388 | |||
1389 | //'[' | ||
1390 | public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } | ||
1391 | |||
1392 | //element=MetamodelElement | ||
1393 | public Assignment getElementAssignment_1() { return cElementAssignment_1; } | ||
1394 | |||
1395 | //MetamodelElement | ||
1396 | public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; } | ||
1397 | |||
1398 | //']' | ||
1399 | public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; } | ||
1400 | } | ||
1401 | public class ObjectReferenceElements extends AbstractParserRuleElementFinder { | ||
1402 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); | ||
1403 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1404 | private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); | ||
1405 | private final Keyword cObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1406 | |||
1407 | //ObjectReference: | ||
1408 | // {ObjectReference} 'Object'; | ||
1409 | @Override public ParserRule getRule() { return rule; } | ||
1410 | |||
1411 | //{ObjectReference} 'Object' | ||
1412 | public Group getGroup() { return cGroup; } | ||
1413 | |||
1414 | //{ObjectReference} | ||
1415 | public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } | ||
1416 | |||
1417 | //'Object' | ||
1418 | public Keyword getObjectKeyword_1() { return cObjectKeyword_1; } | ||
1419 | } | ||
1420 | public class IntegerReferenceElements extends AbstractParserRuleElementFinder { | ||
1421 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); | ||
1422 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1423 | private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0); | ||
1424 | private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1425 | |||
1426 | //IntegerReference: | ||
1427 | // {IntegerScope} 'int'; | ||
1428 | @Override public ParserRule getRule() { return rule; } | ||
1429 | |||
1430 | //{IntegerScope} 'int' | ||
1431 | public Group getGroup() { return cGroup; } | ||
1432 | |||
1433 | //{IntegerScope} | ||
1434 | public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; } | ||
1435 | |||
1436 | //'int' | ||
1437 | public Keyword getIntKeyword_1() { return cIntKeyword_1; } | ||
1438 | } | ||
1439 | public class RealReferenceElements extends AbstractParserRuleElementFinder { | ||
1440 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); | ||
1441 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1442 | private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0); | ||
1443 | private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1444 | |||
1445 | //RealReference: | ||
1446 | // {RealScope} 'real'; | ||
1447 | @Override public ParserRule getRule() { return rule; } | ||
1448 | |||
1449 | //{RealScope} 'real' | ||
1450 | public Group getGroup() { return cGroup; } | ||
1451 | |||
1452 | //{RealScope} | ||
1453 | public Action getRealScopeAction_0() { return cRealScopeAction_0; } | ||
1454 | |||
1455 | //'real' | ||
1456 | public Keyword getRealKeyword_1() { return cRealKeyword_1; } | ||
1457 | } | ||
1458 | public class StringReferenceElements extends AbstractParserRuleElementFinder { | ||
1459 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); | ||
1460 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1461 | private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0); | ||
1462 | private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1); | ||
1463 | |||
1464 | //StringReference: | ||
1465 | // {StringScope} 'string'; | ||
1466 | @Override public ParserRule getRule() { return rule; } | ||
1467 | |||
1468 | //{StringScope} 'string' | ||
1469 | public Group getGroup() { return cGroup; } | ||
1470 | |||
1471 | //{StringScope} | ||
1472 | public Action getStringScopeAction_0() { return cStringScopeAction_0; } | ||
1473 | |||
1474 | //'string' | ||
1475 | public Keyword getStringKeyword_1() { return cStringKeyword_1; } | ||
1476 | } | ||
1477 | public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { | ||
1478 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); | ||
1479 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1480 | private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1481 | private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); | ||
1482 | private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); | ||
1483 | private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); | ||
1484 | private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); | ||
1485 | |||
1486 | //ScopeDeclaration: | ||
1487 | // 'scope' name=ID specification=ScopeSpecification; | ||
1488 | @Override public ParserRule getRule() { return rule; } | ||
1489 | |||
1490 | //'scope' name=ID specification=ScopeSpecification | ||
1491 | public Group getGroup() { return cGroup; } | ||
1492 | |||
1493 | //'scope' | ||
1494 | public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } | ||
1495 | |||
1496 | //name=ID | ||
1497 | public Assignment getNameAssignment_1() { return cNameAssignment_1; } | ||
1498 | |||
1499 | //ID | ||
1500 | public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } | ||
1501 | |||
1502 | //specification=ScopeSpecification | ||
1503 | public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } | ||
1504 | |||
1505 | //ScopeSpecification | ||
1506 | public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; } | ||
1507 | } | ||
1508 | public class ScopeReferenceElements extends AbstractParserRuleElementFinder { | ||
1509 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference"); | ||
1510 | private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); | ||
1511 | private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); | ||
1512 | private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1); | ||
1513 | |||
1514 | //ScopeReference: | ||
1515 | // referred=[ScopeDeclaration]; | ||
1516 | @Override public ParserRule getRule() { return rule; } | ||
1517 | |||
1518 | //referred=[ScopeDeclaration] | ||
1519 | public Assignment getReferredAssignment() { return cReferredAssignment; } | ||
1520 | |||
1521 | //[ScopeDeclaration] | ||
1522 | public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; } | ||
1523 | |||
1524 | //ID | ||
1525 | public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; } | ||
1526 | } | ||
1527 | public class ScopeElements extends AbstractParserRuleElementFinder { | ||
1528 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); | ||
1529 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1530 | private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); | ||
1531 | private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); | ||
1532 | |||
1533 | //Scope: | ||
1534 | // ScopeSpecification | ScopeReference; | ||
1535 | @Override public ParserRule getRule() { return rule; } | ||
1536 | |||
1537 | //ScopeSpecification | ScopeReference | ||
1538 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1539 | |||
1540 | //ScopeSpecification | ||
1541 | public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; } | ||
1542 | |||
1543 | //ScopeReference | ||
1544 | public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; } | ||
1545 | } | ||
1546 | public class TaskElements extends AbstractParserRuleElementFinder { | ||
1547 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task"); | ||
1548 | private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); | ||
1549 | |||
1550 | //Task: | ||
1551 | // GenerationTask / *| MeasurementTask | ValidationTask* /; | ||
1552 | @Override public ParserRule getRule() { return rule; } | ||
1553 | |||
1554 | //GenerationTask | ||
1555 | public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; } | ||
1556 | } | ||
1557 | public class GenerationTaskElements extends AbstractParserRuleElementFinder { | ||
1558 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask"); | ||
1559 | private final Group cGroup = (Group)rule.eContents().get(1); | ||
1560 | private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0); | ||
1561 | private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1); | ||
1562 | private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); | ||
1563 | private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); | ||
1564 | private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); | ||
1565 | private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); | ||
1566 | private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); | ||
1567 | private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); | ||
1568 | private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0); | ||
1569 | private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); | ||
1570 | private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); | ||
1571 | private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); | ||
1572 | private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); | ||
1573 | private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0); | ||
1574 | private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); | ||
1575 | private final Keyword cPatternsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); | ||
1576 | private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); | ||
1577 | private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2); | ||
1578 | private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0); | ||
1579 | private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); | ||
1580 | private final Keyword cScopeKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); | ||
1581 | private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); | ||
1582 | private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); | ||
1583 | private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); | ||
1584 | private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); | ||
1585 | private final Keyword cNumberKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0); | ||
1586 | private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); | ||
1587 | private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); | ||
1588 | private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); | ||
1589 | private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); | ||
1590 | private final Keyword cRunsKeyword_3_5_0 = (Keyword)cGroup_3_5.eContents().get(0); | ||
1591 | private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); | ||
1592 | private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); | ||
1593 | private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); | ||
1594 | private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); | ||
1595 | private final Keyword cSolverKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); | ||
1596 | private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1); | ||
1597 | private final Assignment cSolverAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2); | ||
1598 | private final RuleCall cSolverSolverEnumRuleCall_3_6_2_0 = (RuleCall)cSolverAssignment_3_6_2.eContents().get(0); | ||
1599 | private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); | ||
1600 | private final Keyword cConfigKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); | ||
1601 | private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1); | ||
1602 | private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); | ||
1603 | private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); | ||
1604 | private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); | ||
1605 | private final Keyword cOutputKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); | ||
1606 | private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); | ||
1607 | private final Assignment cTagetFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); | ||
1608 | private final RuleCall cTagetFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cTagetFolderAssignment_3_8_2.eContents().get(0); | ||
1609 | private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); | ||
1610 | private final Keyword cDebugKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); | ||
1611 | private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); | ||
1612 | private final Assignment cDebugFolderAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); | ||
1613 | private final RuleCall cDebugFolderFileParserRuleCall_3_9_2_0 = (RuleCall)cDebugFolderAssignment_3_9_2.eContents().get(0); | ||
1614 | private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); | ||
1615 | private final Keyword cLogKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); | ||
1616 | private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); | ||
1617 | private final Assignment cTargetLogFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); | ||
1618 | private final RuleCall cTargetLogFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetLogFileAssignment_3_10_2.eContents().get(0); | ||
1619 | private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); | ||
1620 | private final Keyword cStatisticsKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); | ||
1621 | private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); | ||
1622 | private final Assignment cTargetStatisticsFileAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); | ||
1623 | private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_11_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_11_2.eContents().get(0); | ||
1624 | private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); | ||
1625 | |||
1626 | //GenerationTask: | ||
1627 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | ||
1628 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | ||
1629 | // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | ||
1630 | // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | ||
1631 | // targetStatisticsFile=File)?) | ||
1632 | // '}'; | ||
1633 | @Override public ParserRule getRule() { return rule; } | ||
1634 | |||
1635 | //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | ||
1636 | //partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | ||
1637 | //number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | ||
1638 | //tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | ||
1639 | //targetStatisticsFile=File)?) '}' | ||
1640 | public Group getGroup() { return cGroup; } | ||
1641 | |||
1642 | //'generate' | ||
1643 | public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; } | ||
1644 | |||
1645 | //{GenerationTask} | ||
1646 | public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; } | ||
1647 | |||
1648 | //'{' | ||
1649 | public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } | ||
1650 | |||
1651 | //(('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('patterns' '=' | ||
1652 | //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' number=INT)? & ('runs' '=' runs=INT)? & ('solver' | ||
1653 | //'=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' tagetFolder=File)? & ('debug' '=' | ||
1654 | //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)?) | ||
1655 | public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } | ||
1656 | |||
1657 | //('metamodel' '=' metamodel=Metamodel)? | ||
1658 | public Group getGroup_3_0() { return cGroup_3_0; } | ||
1659 | |||
1660 | //'metamodel' | ||
1661 | public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; } | ||
1662 | |||
1663 | //'=' | ||
1664 | public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } | ||
1665 | |||
1666 | //metamodel=Metamodel | ||
1667 | public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; } | ||
1668 | |||
1669 | //Metamodel | ||
1670 | public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; } | ||
1671 | |||
1672 | //('partial-model' '=' partialModel=PartialModel)? | ||
1673 | public Group getGroup_3_1() { return cGroup_3_1; } | ||
1674 | |||
1675 | //'partial-model' | ||
1676 | public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; } | ||
1677 | |||
1678 | //'=' | ||
1679 | public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; } | ||
1680 | |||
1681 | //partialModel=PartialModel | ||
1682 | public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; } | ||
1683 | |||
1684 | //PartialModel | ||
1685 | public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; } | ||
1686 | |||
1687 | //('patterns' '=' patterns=GraphPattern)? | ||
1688 | public Group getGroup_3_2() { return cGroup_3_2; } | ||
1689 | |||
1690 | //'patterns' | ||
1691 | public Keyword getPatternsKeyword_3_2_0() { return cPatternsKeyword_3_2_0; } | ||
1692 | |||
1693 | //'=' | ||
1694 | public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; } | ||
1695 | |||
1696 | //patterns=GraphPattern | ||
1697 | public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; } | ||
1698 | |||
1699 | //GraphPattern | ||
1700 | public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; } | ||
1701 | |||
1702 | //('scope' '=' scope=Scope)? | ||
1703 | public Group getGroup_3_3() { return cGroup_3_3; } | ||
1704 | |||
1705 | //'scope' | ||
1706 | public Keyword getScopeKeyword_3_3_0() { return cScopeKeyword_3_3_0; } | ||
1707 | |||
1708 | //'=' | ||
1709 | public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; } | ||
1710 | |||
1711 | //scope=Scope | ||
1712 | public Assignment getScopeAssignment_3_3_2() { return cScopeAssignment_3_3_2; } | ||
1713 | |||
1714 | //Scope | ||
1715 | public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } | ||
1716 | |||
1717 | //('number' '=' number=INT)? | ||
1718 | public Group getGroup_3_4() { return cGroup_3_4; } | ||
1719 | |||
1720 | //'number' | ||
1721 | public Keyword getNumberKeyword_3_4_0() { return cNumberKeyword_3_4_0; } | ||
1722 | |||
1723 | //'=' | ||
1724 | public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } | ||
1725 | |||
1726 | //number=INT | ||
1727 | public Assignment getNumberAssignment_3_4_2() { return cNumberAssignment_3_4_2; } | ||
1728 | |||
1729 | //INT | ||
1730 | public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } | ||
1731 | |||
1732 | //('runs' '=' runs=INT)? | ||
1733 | public Group getGroup_3_5() { return cGroup_3_5; } | ||
1734 | |||
1735 | //'runs' | ||
1736 | public Keyword getRunsKeyword_3_5_0() { return cRunsKeyword_3_5_0; } | ||
1737 | |||
1738 | //'=' | ||
1739 | public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } | ||
1740 | |||
1741 | //runs=INT | ||
1742 | public Assignment getRunsAssignment_3_5_2() { return cRunsAssignment_3_5_2; } | ||
1743 | |||
1744 | //INT | ||
1745 | public RuleCall getRunsINTTerminalRuleCall_3_5_2_0() { return cRunsINTTerminalRuleCall_3_5_2_0; } | ||
1746 | |||
1747 | //('solver' '=' solver=Solver)? | ||
1748 | public Group getGroup_3_6() { return cGroup_3_6; } | ||
1749 | |||
1750 | //'solver' | ||
1751 | public Keyword getSolverKeyword_3_6_0() { return cSolverKeyword_3_6_0; } | ||
1752 | |||
1753 | //'=' | ||
1754 | public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; } | ||
1755 | |||
1756 | //solver=Solver | ||
1757 | public Assignment getSolverAssignment_3_6_2() { return cSolverAssignment_3_6_2; } | ||
1758 | |||
1759 | //Solver | ||
1760 | public RuleCall getSolverSolverEnumRuleCall_3_6_2_0() { return cSolverSolverEnumRuleCall_3_6_2_0; } | ||
1761 | |||
1762 | //('config' '=' config=Config)? | ||
1763 | public Group getGroup_3_7() { return cGroup_3_7; } | ||
1764 | |||
1765 | //'config' | ||
1766 | public Keyword getConfigKeyword_3_7_0() { return cConfigKeyword_3_7_0; } | ||
1767 | |||
1768 | //'=' | ||
1769 | public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; } | ||
1770 | |||
1771 | //config=Config | ||
1772 | public Assignment getConfigAssignment_3_7_2() { return cConfigAssignment_3_7_2; } | ||
1773 | |||
1774 | //Config | ||
1775 | public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } | ||
1776 | |||
1777 | //('output' '=' tagetFolder=File)? | ||
1778 | public Group getGroup_3_8() { return cGroup_3_8; } | ||
1779 | |||
1780 | //'output' | ||
1781 | public Keyword getOutputKeyword_3_8_0() { return cOutputKeyword_3_8_0; } | ||
1782 | |||
1783 | //'=' | ||
1784 | public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } | ||
1785 | |||
1786 | //tagetFolder=File | ||
1787 | public Assignment getTagetFolderAssignment_3_8_2() { return cTagetFolderAssignment_3_8_2; } | ||
1788 | |||
1789 | //File | ||
1790 | public RuleCall getTagetFolderFileParserRuleCall_3_8_2_0() { return cTagetFolderFileParserRuleCall_3_8_2_0; } | ||
1791 | |||
1792 | //('debug' '=' debugFolder=File)? | ||
1793 | public Group getGroup_3_9() { return cGroup_3_9; } | ||
1794 | |||
1795 | //'debug' | ||
1796 | public Keyword getDebugKeyword_3_9_0() { return cDebugKeyword_3_9_0; } | ||
1797 | |||
1798 | //'=' | ||
1799 | public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } | ||
1800 | |||
1801 | //debugFolder=File | ||
1802 | public Assignment getDebugFolderAssignment_3_9_2() { return cDebugFolderAssignment_3_9_2; } | ||
1803 | |||
1804 | //File | ||
1805 | public RuleCall getDebugFolderFileParserRuleCall_3_9_2_0() { return cDebugFolderFileParserRuleCall_3_9_2_0; } | ||
1806 | |||
1807 | //('log' '=' targetLogFile=File)? | ||
1808 | public Group getGroup_3_10() { return cGroup_3_10; } | ||
1809 | |||
1810 | //'log' | ||
1811 | public Keyword getLogKeyword_3_10_0() { return cLogKeyword_3_10_0; } | ||
1812 | |||
1813 | //'=' | ||
1814 | public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } | ||
1815 | |||
1816 | //targetLogFile=File | ||
1817 | public Assignment getTargetLogFileAssignment_3_10_2() { return cTargetLogFileAssignment_3_10_2; } | ||
1818 | |||
1819 | //File | ||
1820 | public RuleCall getTargetLogFileFileParserRuleCall_3_10_2_0() { return cTargetLogFileFileParserRuleCall_3_10_2_0; } | ||
1821 | |||
1822 | //('statistics' '=' targetStatisticsFile=File)? | ||
1823 | public Group getGroup_3_11() { return cGroup_3_11; } | ||
1824 | |||
1825 | //'statistics' | ||
1826 | public Keyword getStatisticsKeyword_3_11_0() { return cStatisticsKeyword_3_11_0; } | ||
1827 | |||
1828 | //'=' | ||
1829 | public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } | ||
1830 | |||
1831 | //targetStatisticsFile=File | ||
1832 | public Assignment getTargetStatisticsFileAssignment_3_11_2() { return cTargetStatisticsFileAssignment_3_11_2; } | ||
1833 | |||
1834 | //File | ||
1835 | public RuleCall getTargetStatisticsFileFileParserRuleCall_3_11_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_11_2_0; } | ||
1836 | |||
1837 | //'}' | ||
1838 | public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } | ||
1839 | } | ||
442 | 1840 | ||
1841 | public class SolverElements extends AbstractEnumRuleElementFinder { | ||
1842 | private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); | ||
1843 | private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); | ||
1844 | private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); | ||
1845 | private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0); | ||
1846 | private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); | ||
1847 | private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0); | ||
1848 | private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); | ||
1849 | private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0); | ||
1850 | |||
1851 | //enum Solver: | ||
1852 | // SMTSolver | AlloySolver | ViatraSolver; | ||
1853 | public EnumRule getRule() { return rule; } | ||
1854 | |||
1855 | //SMTSolver | AlloySolver | ViatraSolver | ||
1856 | public Alternatives getAlternatives() { return cAlternatives; } | ||
1857 | |||
1858 | //SMTSolver | ||
1859 | public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; } | ||
1860 | |||
1861 | //"SMTSolver" | ||
1862 | public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; } | ||
1863 | |||
1864 | //AlloySolver | ||
1865 | public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; } | ||
1866 | |||
1867 | //"AlloySolver" | ||
1868 | public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; } | ||
1869 | |||
1870 | //ViatraSolver | ||
1871 | public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; } | ||
1872 | |||
1873 | //"ViatraSolver" | ||
1874 | public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; } | ||
1875 | } | ||
443 | 1876 | ||
444 | private final ConfigurationScriptElements pConfigurationScript; | 1877 | private final ConfigurationScriptElements pConfigurationScript; |
445 | private final CommandElements pCommand; | 1878 | private final CommandElements pCommand; |
446 | private final DeclarationElements pDeclaration; | 1879 | private final QualifiedNameElements pQualifiedName; |
447 | private final ImportElements pImport; | 1880 | private final ImportElements pImport; |
448 | private final EPackageImportElements pEPackageImport; | 1881 | private final EPackageImportElements pEPackageImport; |
449 | private final ViatraImportElements pViatraImport; | 1882 | private final ViatraImportElements pViatraImport; |
1883 | private final DeclarationElements pDeclaration; | ||
1884 | private final FileSpecificationElements pFileSpecification; | ||
1885 | private final FileDeclarationElements pFileDeclaration; | ||
1886 | private final FileReferenceElements pFileReference; | ||
1887 | private final FileElements pFile; | ||
450 | private final MetamodelSpecificationElements pMetamodelSpecification; | 1888 | private final MetamodelSpecificationElements pMetamodelSpecification; |
451 | private final MetamodelEntryElements pMetamodelEntry; | 1889 | private final MetamodelEntryElements pMetamodelEntry; |
452 | private final AllPackageEntryElements pAllPackageEntry; | 1890 | private final AllPackageEntryElements pAllPackageEntry; |
@@ -454,6 +1892,39 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
454 | private final MetamodelDeclarationElements pMetamodelDeclaration; | 1892 | private final MetamodelDeclarationElements pMetamodelDeclaration; |
455 | private final MetamodelReferenceElements pMetamodelReference; | 1893 | private final MetamodelReferenceElements pMetamodelReference; |
456 | private final MetamodelElements pMetamodel; | 1894 | private final MetamodelElements pMetamodel; |
1895 | private final PartialModelSpecificationElements pPartialModelSpecification; | ||
1896 | private final PartialModelEntryElements pPartialModelEntry; | ||
1897 | private final ModelEntryElements pModelEntry; | ||
1898 | private final FolderEntryElements pFolderEntry; | ||
1899 | private final PartialModelDeclarationElements pPartialModelDeclaration; | ||
1900 | private final PartialModelReferenceElements pPartialModelReference; | ||
1901 | private final PartialModelElements pPartialModel; | ||
1902 | private final PatternSpecificationElements pPatternSpecification; | ||
1903 | private final PatternEntryElements pPatternEntry; | ||
1904 | private final AllPatternEntryElements pAllPatternEntry; | ||
1905 | private final PatternElementElements pPatternElement; | ||
1906 | private final GraphPatternDeclarationElements pGraphPatternDeclaration; | ||
1907 | private final GraphPatternReferenceElements pGraphPatternReference; | ||
1908 | private final GraphPatternElements pGraphPattern; | ||
1909 | private final ConfigSpecificationElements pConfigSpecification; | ||
1910 | private final ConfigDeclarationElements pConfigDeclaration; | ||
1911 | private final ConfigEntryElements pConfigEntry; | ||
1912 | private final ConfigReferenceElements pConfigReference; | ||
1913 | private final ConfigElements pConfig; | ||
1914 | private final SolverElements eSolver; | ||
1915 | private final ScopeSpecificationElements pScopeSpecification; | ||
1916 | private final TypeScopeElements pTypeScope; | ||
1917 | private final TypeReferenceElements pTypeReference; | ||
1918 | private final ClassReferenceElements pClassReference; | ||
1919 | private final ObjectReferenceElements pObjectReference; | ||
1920 | private final IntegerReferenceElements pIntegerReference; | ||
1921 | private final RealReferenceElements pRealReference; | ||
1922 | private final StringReferenceElements pStringReference; | ||
1923 | private final ScopeDeclarationElements pScopeDeclaration; | ||
1924 | private final ScopeReferenceElements pScopeReference; | ||
1925 | private final ScopeElements pScope; | ||
1926 | private final TaskElements pTask; | ||
1927 | private final GenerationTaskElements pGenerationTask; | ||
457 | 1928 | ||
458 | private final Grammar grammar; | 1929 | private final Grammar grammar; |
459 | 1930 | ||
@@ -466,10 +1937,15 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
466 | this.gaTerminals = gaTerminals; | 1937 | this.gaTerminals = gaTerminals; |
467 | this.pConfigurationScript = new ConfigurationScriptElements(); | 1938 | this.pConfigurationScript = new ConfigurationScriptElements(); |
468 | this.pCommand = new CommandElements(); | 1939 | this.pCommand = new CommandElements(); |
469 | this.pDeclaration = new DeclarationElements(); | 1940 | this.pQualifiedName = new QualifiedNameElements(); |
470 | this.pImport = new ImportElements(); | 1941 | this.pImport = new ImportElements(); |
471 | this.pEPackageImport = new EPackageImportElements(); | 1942 | this.pEPackageImport = new EPackageImportElements(); |
472 | this.pViatraImport = new ViatraImportElements(); | 1943 | this.pViatraImport = new ViatraImportElements(); |
1944 | this.pDeclaration = new DeclarationElements(); | ||
1945 | this.pFileSpecification = new FileSpecificationElements(); | ||
1946 | this.pFileDeclaration = new FileDeclarationElements(); | ||
1947 | this.pFileReference = new FileReferenceElements(); | ||
1948 | this.pFile = new FileElements(); | ||
473 | this.pMetamodelSpecification = new MetamodelSpecificationElements(); | 1949 | this.pMetamodelSpecification = new MetamodelSpecificationElements(); |
474 | this.pMetamodelEntry = new MetamodelEntryElements(); | 1950 | this.pMetamodelEntry = new MetamodelEntryElements(); |
475 | this.pAllPackageEntry = new AllPackageEntryElements(); | 1951 | this.pAllPackageEntry = new AllPackageEntryElements(); |
@@ -477,6 +1953,39 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
477 | this.pMetamodelDeclaration = new MetamodelDeclarationElements(); | 1953 | this.pMetamodelDeclaration = new MetamodelDeclarationElements(); |
478 | this.pMetamodelReference = new MetamodelReferenceElements(); | 1954 | this.pMetamodelReference = new MetamodelReferenceElements(); |
479 | this.pMetamodel = new MetamodelElements(); | 1955 | this.pMetamodel = new MetamodelElements(); |
1956 | this.pPartialModelSpecification = new PartialModelSpecificationElements(); | ||
1957 | this.pPartialModelEntry = new PartialModelEntryElements(); | ||
1958 | this.pModelEntry = new ModelEntryElements(); | ||
1959 | this.pFolderEntry = new FolderEntryElements(); | ||
1960 | this.pPartialModelDeclaration = new PartialModelDeclarationElements(); | ||
1961 | this.pPartialModelReference = new PartialModelReferenceElements(); | ||
1962 | this.pPartialModel = new PartialModelElements(); | ||
1963 | this.pPatternSpecification = new PatternSpecificationElements(); | ||
1964 | this.pPatternEntry = new PatternEntryElements(); | ||
1965 | this.pAllPatternEntry = new AllPatternEntryElements(); | ||
1966 | this.pPatternElement = new PatternElementElements(); | ||
1967 | this.pGraphPatternDeclaration = new GraphPatternDeclarationElements(); | ||
1968 | this.pGraphPatternReference = new GraphPatternReferenceElements(); | ||
1969 | this.pGraphPattern = new GraphPatternElements(); | ||
1970 | this.pConfigSpecification = new ConfigSpecificationElements(); | ||
1971 | this.pConfigDeclaration = new ConfigDeclarationElements(); | ||
1972 | this.pConfigEntry = new ConfigEntryElements(); | ||
1973 | this.pConfigReference = new ConfigReferenceElements(); | ||
1974 | this.pConfig = new ConfigElements(); | ||
1975 | this.eSolver = new SolverElements(); | ||
1976 | this.pScopeSpecification = new ScopeSpecificationElements(); | ||
1977 | this.pTypeScope = new TypeScopeElements(); | ||
1978 | this.pTypeReference = new TypeReferenceElements(); | ||
1979 | this.pClassReference = new ClassReferenceElements(); | ||
1980 | this.pObjectReference = new ObjectReferenceElements(); | ||
1981 | this.pIntegerReference = new IntegerReferenceElements(); | ||
1982 | this.pRealReference = new RealReferenceElements(); | ||
1983 | this.pStringReference = new StringReferenceElements(); | ||
1984 | this.pScopeDeclaration = new ScopeDeclarationElements(); | ||
1985 | this.pScopeReference = new ScopeReferenceElements(); | ||
1986 | this.pScope = new ScopeElements(); | ||
1987 | this.pTask = new TaskElements(); | ||
1988 | this.pGenerationTask = new GenerationTaskElements(); | ||
480 | } | 1989 | } |
481 | 1990 | ||
482 | protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { | 1991 | protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { |
@@ -518,9 +2027,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
518 | } | 2027 | } |
519 | 2028 | ||
520 | //Command: | 2029 | //Command: |
521 | // Declaration | 2030 | // Declaration | Task; |
522 | // //| Task | ||
523 | //; | ||
524 | public CommandElements getCommandAccess() { | 2031 | public CommandElements getCommandAccess() { |
525 | return pCommand; | 2032 | return pCommand; |
526 | } | 2033 | } |
@@ -529,18 +2036,14 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
529 | return getCommandAccess().getRule(); | 2036 | return getCommandAccess().getRule(); |
530 | } | 2037 | } |
531 | 2038 | ||
532 | //Declaration: | 2039 | //QualifiedName: |
533 | // MetamodelDeclaration | 2040 | // ID (=> '.' ID)*; |
534 | // // | PartialModelDeclaration | 2041 | public QualifiedNameElements getQualifiedNameAccess() { |
535 | // // | GraphPatternDeclaration | 2042 | return pQualifiedName; |
536 | // // | SolverConfig | ||
537 | //; | ||
538 | public DeclarationElements getDeclarationAccess() { | ||
539 | return pDeclaration; | ||
540 | } | 2043 | } |
541 | 2044 | ||
542 | public ParserRule getDeclarationRule() { | 2045 | public ParserRule getQualifiedNameRule() { |
543 | return getDeclarationAccess().getRule(); | 2046 | return getQualifiedNameAccess().getRule(); |
544 | } | 2047 | } |
545 | 2048 | ||
546 | ///////////////////////////////////////////////////// | 2049 | ///////////////////////////////////////////////////// |
@@ -577,15 +2080,67 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
577 | } | 2080 | } |
578 | 2081 | ||
579 | ///////////////////////////////////////////////////// | 2082 | ///////////////////////////////////////////////////// |
2083 | //// Declaration | ||
2084 | ///////////////////////////////////////////////////// | ||
2085 | //Declaration: | ||
2086 | // FileDeclaration | ||
2087 | // | MetamodelDeclaration | ||
2088 | // | PartialModelDeclaration | ||
2089 | // | GraphPatternDeclaration | ||
2090 | // | ConfigDeclaration | ||
2091 | // | ScopeDeclaration; | ||
2092 | public DeclarationElements getDeclarationAccess() { | ||
2093 | return pDeclaration; | ||
2094 | } | ||
2095 | |||
2096 | public ParserRule getDeclarationRule() { | ||
2097 | return getDeclarationAccess().getRule(); | ||
2098 | } | ||
2099 | |||
2100 | ///////////////////////////////////////////////////// | ||
580 | //// Files and Folders | 2101 | //// Files and Folders |
581 | ///////////////////////////////////////////////////// | 2102 | ///////////////////////////////////////////////////// |
582 | /// * | 2103 | //FileSpecification: |
583 | //FileSpecification: path = STRING; | 2104 | // path=STRING; |
584 | //FileDeclaration: 'file' name = ID '=' specification = FileSpecification; | 2105 | public FileSpecificationElements getFileSpecificationAccess() { |
585 | // | 2106 | return pFileSpecification; |
586 | //FileReference: referred = [FileDeclaration]; | 2107 | } |
587 | //File: FileSpecification | FileReference; | 2108 | |
588 | // * / /////////////////////////////////////////////////// | 2109 | public ParserRule getFileSpecificationRule() { |
2110 | return getFileSpecificationAccess().getRule(); | ||
2111 | } | ||
2112 | |||
2113 | //FileDeclaration: | ||
2114 | // 'file' name=ID '=' specification=FileSpecification; | ||
2115 | public FileDeclarationElements getFileDeclarationAccess() { | ||
2116 | return pFileDeclaration; | ||
2117 | } | ||
2118 | |||
2119 | public ParserRule getFileDeclarationRule() { | ||
2120 | return getFileDeclarationAccess().getRule(); | ||
2121 | } | ||
2122 | |||
2123 | //FileReference: | ||
2124 | // referred=[FileDeclaration]; | ||
2125 | public FileReferenceElements getFileReferenceAccess() { | ||
2126 | return pFileReference; | ||
2127 | } | ||
2128 | |||
2129 | public ParserRule getFileReferenceRule() { | ||
2130 | return getFileReferenceAccess().getRule(); | ||
2131 | } | ||
2132 | |||
2133 | //File: | ||
2134 | // FileSpecification | FileReference; | ||
2135 | public FileElements getFileAccess() { | ||
2136 | return pFile; | ||
2137 | } | ||
2138 | |||
2139 | public ParserRule getFileRule() { | ||
2140 | return getFileAccess().getRule(); | ||
2141 | } | ||
2142 | |||
2143 | ///////////////////////////////////////////////////// | ||
589 | //// Metamodel | 2144 | //// Metamodel |
590 | ///////////////////////////////////////////////////// | 2145 | ///////////////////////////////////////////////////// |
591 | //MetamodelSpecification: | 2146 | //MetamodelSpecification: |
@@ -609,8 +2164,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
609 | } | 2164 | } |
610 | 2165 | ||
611 | //AllPackageEntry: | 2166 | //AllPackageEntry: |
612 | // "package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* | 2167 | // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' |
613 | // '}')?; | 2168 | // exclusion+=MetamodelElement)* '}')?; |
614 | public AllPackageEntryElements getAllPackageEntryAccess() { | 2169 | public AllPackageEntryElements getAllPackageEntryAccess() { |
615 | return pAllPackageEntry; | 2170 | return pAllPackageEntry; |
616 | } | 2171 | } |
@@ -620,7 +2175,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
620 | } | 2175 | } |
621 | 2176 | ||
622 | //MetamodelElement: | 2177 | //MetamodelElement: |
623 | // (package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; | 2178 | // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' |
2179 | // feature=[ecore::ENamedElement])?; | ||
624 | public MetamodelElementElements getMetamodelElementAccess() { | 2180 | public MetamodelElementElements getMetamodelElementAccess() { |
625 | return pMetamodelElement; | 2181 | return pMetamodelElement; |
626 | } | 2182 | } |
@@ -659,6 +2215,353 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
659 | return getMetamodelAccess().getRule(); | 2215 | return getMetamodelAccess().getRule(); |
660 | } | 2216 | } |
661 | 2217 | ||
2218 | ///////////////////////////////////////////////////// | ||
2219 | //// Partial Model | ||
2220 | ///////////////////////////////////////////////////// | ||
2221 | //PartialModelSpecification: | ||
2222 | // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; | ||
2223 | public PartialModelSpecificationElements getPartialModelSpecificationAccess() { | ||
2224 | return pPartialModelSpecification; | ||
2225 | } | ||
2226 | |||
2227 | public ParserRule getPartialModelSpecificationRule() { | ||
2228 | return getPartialModelSpecificationAccess().getRule(); | ||
2229 | } | ||
2230 | |||
2231 | //PartialModelEntry: | ||
2232 | // ModelEntry | FolderEntry; | ||
2233 | public PartialModelEntryElements getPartialModelEntryAccess() { | ||
2234 | return pPartialModelEntry; | ||
2235 | } | ||
2236 | |||
2237 | public ParserRule getPartialModelEntryRule() { | ||
2238 | return getPartialModelEntryAccess().getRule(); | ||
2239 | } | ||
2240 | |||
2241 | //ModelEntry: | ||
2242 | // path=File; | ||
2243 | public ModelEntryElements getModelEntryAccess() { | ||
2244 | return pModelEntry; | ||
2245 | } | ||
2246 | |||
2247 | public ParserRule getModelEntryRule() { | ||
2248 | return getModelEntryAccess().getRule(); | ||
2249 | } | ||
2250 | |||
2251 | //FolderEntry: | ||
2252 | // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; | ||
2253 | public FolderEntryElements getFolderEntryAccess() { | ||
2254 | return pFolderEntry; | ||
2255 | } | ||
2256 | |||
2257 | public ParserRule getFolderEntryRule() { | ||
2258 | return getFolderEntryAccess().getRule(); | ||
2259 | } | ||
2260 | |||
2261 | //PartialModelDeclaration: | ||
2262 | // 'partial-model' name=ID specification=PartialModelSpecification; | ||
2263 | public PartialModelDeclarationElements getPartialModelDeclarationAccess() { | ||
2264 | return pPartialModelDeclaration; | ||
2265 | } | ||
2266 | |||
2267 | public ParserRule getPartialModelDeclarationRule() { | ||
2268 | return getPartialModelDeclarationAccess().getRule(); | ||
2269 | } | ||
2270 | |||
2271 | //PartialModelReference: | ||
2272 | // referred=[PartialModelDeclaration]; | ||
2273 | public PartialModelReferenceElements getPartialModelReferenceAccess() { | ||
2274 | return pPartialModelReference; | ||
2275 | } | ||
2276 | |||
2277 | public ParserRule getPartialModelReferenceRule() { | ||
2278 | return getPartialModelReferenceAccess().getRule(); | ||
2279 | } | ||
2280 | |||
2281 | //PartialModel: | ||
2282 | // PartialModelSpecification | PartialModelReference; | ||
2283 | public PartialModelElements getPartialModelAccess() { | ||
2284 | return pPartialModel; | ||
2285 | } | ||
2286 | |||
2287 | public ParserRule getPartialModelRule() { | ||
2288 | return getPartialModelAccess().getRule(); | ||
2289 | } | ||
2290 | |||
2291 | ///////////////////////////////////////////////////// | ||
2292 | //// Patterns | ||
2293 | ///////////////////////////////////////////////////// | ||
2294 | //PatternSpecification: | ||
2295 | // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; | ||
2296 | public PatternSpecificationElements getPatternSpecificationAccess() { | ||
2297 | return pPatternSpecification; | ||
2298 | } | ||
2299 | |||
2300 | public ParserRule getPatternSpecificationRule() { | ||
2301 | return getPatternSpecificationAccess().getRule(); | ||
2302 | } | ||
2303 | |||
2304 | //PatternEntry: | ||
2305 | // PatternElement | AllPatternEntry; | ||
2306 | public PatternEntryElements getPatternEntryAccess() { | ||
2307 | return pPatternEntry; | ||
2308 | } | ||
2309 | |||
2310 | public ParserRule getPatternEntryRule() { | ||
2311 | return getPatternEntryAccess().getRule(); | ||
2312 | } | ||
2313 | |||
2314 | //AllPatternEntry: | ||
2315 | // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' | ||
2316 | // exclusuion+=PatternElement)* '}')?; | ||
2317 | public AllPatternEntryElements getAllPatternEntryAccess() { | ||
2318 | return pAllPatternEntry; | ||
2319 | } | ||
2320 | |||
2321 | public ParserRule getAllPatternEntryRule() { | ||
2322 | return getAllPatternEntryAccess().getRule(); | ||
2323 | } | ||
2324 | |||
2325 | //PatternElement: | ||
2326 | // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; | ||
2327 | public PatternElementElements getPatternElementAccess() { | ||
2328 | return pPatternElement; | ||
2329 | } | ||
2330 | |||
2331 | public ParserRule getPatternElementRule() { | ||
2332 | return getPatternElementAccess().getRule(); | ||
2333 | } | ||
2334 | |||
2335 | //GraphPatternDeclaration: | ||
2336 | // 'patterns' name=ID specification=PatternSpecification; | ||
2337 | public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() { | ||
2338 | return pGraphPatternDeclaration; | ||
2339 | } | ||
2340 | |||
2341 | public ParserRule getGraphPatternDeclarationRule() { | ||
2342 | return getGraphPatternDeclarationAccess().getRule(); | ||
2343 | } | ||
2344 | |||
2345 | //GraphPatternReference: | ||
2346 | // referred=[GraphPatternDeclaration]; | ||
2347 | public GraphPatternReferenceElements getGraphPatternReferenceAccess() { | ||
2348 | return pGraphPatternReference; | ||
2349 | } | ||
2350 | |||
2351 | public ParserRule getGraphPatternReferenceRule() { | ||
2352 | return getGraphPatternReferenceAccess().getRule(); | ||
2353 | } | ||
2354 | |||
2355 | //GraphPattern: | ||
2356 | // GraphPatternReference | PatternSpecification; | ||
2357 | public GraphPatternElements getGraphPatternAccess() { | ||
2358 | return pGraphPattern; | ||
2359 | } | ||
2360 | |||
2361 | public ParserRule getGraphPatternRule() { | ||
2362 | return getGraphPatternAccess().getRule(); | ||
2363 | } | ||
2364 | |||
2365 | ///////////////////////////////////////////////////// | ||
2366 | //// SolverConfig | ||
2367 | ///////////////////////////////////////////////////// | ||
2368 | //ConfigSpecification: | ||
2369 | // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? | ||
2370 | // '}'; | ||
2371 | public ConfigSpecificationElements getConfigSpecificationAccess() { | ||
2372 | return pConfigSpecification; | ||
2373 | } | ||
2374 | |||
2375 | public ParserRule getConfigSpecificationRule() { | ||
2376 | return getConfigSpecificationAccess().getRule(); | ||
2377 | } | ||
2378 | |||
2379 | //ConfigDeclaration: | ||
2380 | // 'config' name=ID specification=ConfigSpecification; | ||
2381 | public ConfigDeclarationElements getConfigDeclarationAccess() { | ||
2382 | return pConfigDeclaration; | ||
2383 | } | ||
2384 | |||
2385 | public ParserRule getConfigDeclarationRule() { | ||
2386 | return getConfigDeclarationAccess().getRule(); | ||
2387 | } | ||
2388 | |||
2389 | //ConfigEntry: | ||
2390 | // key=STRING "=" value=STRING; | ||
2391 | public ConfigEntryElements getConfigEntryAccess() { | ||
2392 | return pConfigEntry; | ||
2393 | } | ||
2394 | |||
2395 | public ParserRule getConfigEntryRule() { | ||
2396 | return getConfigEntryAccess().getRule(); | ||
2397 | } | ||
2398 | |||
2399 | //ConfigReference: | ||
2400 | // config=[ConfigDeclaration]; | ||
2401 | public ConfigReferenceElements getConfigReferenceAccess() { | ||
2402 | return pConfigReference; | ||
2403 | } | ||
2404 | |||
2405 | public ParserRule getConfigReferenceRule() { | ||
2406 | return getConfigReferenceAccess().getRule(); | ||
2407 | } | ||
2408 | |||
2409 | //Config: | ||
2410 | // ConfigSpecification | ConfigReference; | ||
2411 | public ConfigElements getConfigAccess() { | ||
2412 | return pConfig; | ||
2413 | } | ||
2414 | |||
2415 | public ParserRule getConfigRule() { | ||
2416 | return getConfigAccess().getRule(); | ||
2417 | } | ||
2418 | |||
2419 | //enum Solver: | ||
2420 | // SMTSolver | AlloySolver | ViatraSolver; | ||
2421 | public SolverElements getSolverAccess() { | ||
2422 | return eSolver; | ||
2423 | } | ||
2424 | |||
2425 | public EnumRule getSolverRule() { | ||
2426 | return getSolverAccess().getRule(); | ||
2427 | } | ||
2428 | |||
2429 | //ScopeSpecification: | ||
2430 | // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? | ||
2431 | // '}'; | ||
2432 | public ScopeSpecificationElements getScopeSpecificationAccess() { | ||
2433 | return pScopeSpecification; | ||
2434 | } | ||
2435 | |||
2436 | public ParserRule getScopeSpecificationRule() { | ||
2437 | return getScopeSpecificationAccess().getRule(); | ||
2438 | } | ||
2439 | |||
2440 | //TypeScope: | ||
2441 | // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; | ||
2442 | public TypeScopeElements getTypeScopeAccess() { | ||
2443 | return pTypeScope; | ||
2444 | } | ||
2445 | |||
2446 | public ParserRule getTypeScopeRule() { | ||
2447 | return getTypeScopeAccess().getRule(); | ||
2448 | } | ||
2449 | |||
2450 | //TypeReference: | ||
2451 | // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; | ||
2452 | public TypeReferenceElements getTypeReferenceAccess() { | ||
2453 | return pTypeReference; | ||
2454 | } | ||
2455 | |||
2456 | public ParserRule getTypeReferenceRule() { | ||
2457 | return getTypeReferenceAccess().getRule(); | ||
2458 | } | ||
2459 | |||
2460 | //ClassReference: | ||
2461 | // '[' element=MetamodelElement ']'; | ||
2462 | public ClassReferenceElements getClassReferenceAccess() { | ||
2463 | return pClassReference; | ||
2464 | } | ||
2465 | |||
2466 | public ParserRule getClassReferenceRule() { | ||
2467 | return getClassReferenceAccess().getRule(); | ||
2468 | } | ||
2469 | |||
2470 | //ObjectReference: | ||
2471 | // {ObjectReference} 'Object'; | ||
2472 | public ObjectReferenceElements getObjectReferenceAccess() { | ||
2473 | return pObjectReference; | ||
2474 | } | ||
2475 | |||
2476 | public ParserRule getObjectReferenceRule() { | ||
2477 | return getObjectReferenceAccess().getRule(); | ||
2478 | } | ||
2479 | |||
2480 | //IntegerReference: | ||
2481 | // {IntegerScope} 'int'; | ||
2482 | public IntegerReferenceElements getIntegerReferenceAccess() { | ||
2483 | return pIntegerReference; | ||
2484 | } | ||
2485 | |||
2486 | public ParserRule getIntegerReferenceRule() { | ||
2487 | return getIntegerReferenceAccess().getRule(); | ||
2488 | } | ||
2489 | |||
2490 | //RealReference: | ||
2491 | // {RealScope} 'real'; | ||
2492 | public RealReferenceElements getRealReferenceAccess() { | ||
2493 | return pRealReference; | ||
2494 | } | ||
2495 | |||
2496 | public ParserRule getRealReferenceRule() { | ||
2497 | return getRealReferenceAccess().getRule(); | ||
2498 | } | ||
2499 | |||
2500 | //StringReference: | ||
2501 | // {StringScope} 'string'; | ||
2502 | public StringReferenceElements getStringReferenceAccess() { | ||
2503 | return pStringReference; | ||
2504 | } | ||
2505 | |||
2506 | public ParserRule getStringReferenceRule() { | ||
2507 | return getStringReferenceAccess().getRule(); | ||
2508 | } | ||
2509 | |||
2510 | //ScopeDeclaration: | ||
2511 | // 'scope' name=ID specification=ScopeSpecification; | ||
2512 | public ScopeDeclarationElements getScopeDeclarationAccess() { | ||
2513 | return pScopeDeclaration; | ||
2514 | } | ||
2515 | |||
2516 | public ParserRule getScopeDeclarationRule() { | ||
2517 | return getScopeDeclarationAccess().getRule(); | ||
2518 | } | ||
2519 | |||
2520 | //ScopeReference: | ||
2521 | // referred=[ScopeDeclaration]; | ||
2522 | public ScopeReferenceElements getScopeReferenceAccess() { | ||
2523 | return pScopeReference; | ||
2524 | } | ||
2525 | |||
2526 | public ParserRule getScopeReferenceRule() { | ||
2527 | return getScopeReferenceAccess().getRule(); | ||
2528 | } | ||
2529 | |||
2530 | //Scope: | ||
2531 | // ScopeSpecification | ScopeReference; | ||
2532 | public ScopeElements getScopeAccess() { | ||
2533 | return pScope; | ||
2534 | } | ||
2535 | |||
2536 | public ParserRule getScopeRule() { | ||
2537 | return getScopeAccess().getRule(); | ||
2538 | } | ||
2539 | |||
2540 | //Task: | ||
2541 | // GenerationTask / *| MeasurementTask | ValidationTask* /; | ||
2542 | public TaskElements getTaskAccess() { | ||
2543 | return pTask; | ||
2544 | } | ||
2545 | |||
2546 | public ParserRule getTaskRule() { | ||
2547 | return getTaskAccess().getRule(); | ||
2548 | } | ||
2549 | |||
2550 | //GenerationTask: | ||
2551 | // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' | ||
2552 | // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' | ||
2553 | // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' | ||
2554 | // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' | ||
2555 | // targetStatisticsFile=File)?) | ||
2556 | // '}'; | ||
2557 | public GenerationTaskElements getGenerationTaskAccess() { | ||
2558 | return pGenerationTask; | ||
2559 | } | ||
2560 | |||
2561 | public ParserRule getGenerationTaskRule() { | ||
2562 | return getGenerationTaskAccess().getRule(); | ||
2563 | } | ||
2564 | |||
662 | //terminal ID: | 2565 | //terminal ID: |
663 | // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; | 2566 | // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; |
664 | public TerminalRule getIDRule() { | 2567 | public TerminalRule getIDRule() { |