aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java7876
1 files changed, 4312 insertions, 3564 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 47166823..213203b4 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
@@ -1,3564 +1,4312 @@
1/* 1/*
2 * generated by Xtext 2.12.0 2 * generated by Xtext 2.16.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.services; 4package hu.bme.mit.inf.dslreasoner.application.services;
5 5
6import com.google.inject.Inject; 6import com.google.inject.Inject;
7import com.google.inject.Singleton; 7import com.google.inject.Singleton;
8import java.util.List; 8import java.util.List;
9import org.eclipse.xtext.Action; 9import org.eclipse.xtext.Action;
10import org.eclipse.xtext.Alternatives; 10import org.eclipse.xtext.Alternatives;
11import org.eclipse.xtext.Assignment; 11import org.eclipse.xtext.Assignment;
12import org.eclipse.xtext.CrossReference; 12import org.eclipse.xtext.CrossReference;
13import org.eclipse.xtext.EnumLiteralDeclaration; 13import org.eclipse.xtext.EnumLiteralDeclaration;
14import org.eclipse.xtext.EnumRule; 14import org.eclipse.xtext.EnumRule;
15import org.eclipse.xtext.Grammar; 15import org.eclipse.xtext.Grammar;
16import org.eclipse.xtext.GrammarUtil; 16import org.eclipse.xtext.GrammarUtil;
17import org.eclipse.xtext.Group; 17import org.eclipse.xtext.Group;
18import org.eclipse.xtext.Keyword; 18import org.eclipse.xtext.Keyword;
19import org.eclipse.xtext.ParserRule; 19import org.eclipse.xtext.ParserRule;
20import org.eclipse.xtext.RuleCall; 20import org.eclipse.xtext.RuleCall;
21import org.eclipse.xtext.TerminalRule; 21import org.eclipse.xtext.TerminalRule;
22import org.eclipse.xtext.UnorderedGroup; 22import org.eclipse.xtext.UnorderedGroup;
23import org.eclipse.xtext.common.services.TerminalsGrammarAccess; 23import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
24import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; 24import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder;
25import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; 25import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
26import org.eclipse.xtext.service.GrammarProvider; 26import org.eclipse.xtext.service.GrammarProvider;
27 27
28@Singleton 28@Singleton
29public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElementFinder { 29public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElementFinder {
30 30
31 public class ConfigurationScriptElements extends AbstractParserRuleElementFinder { 31 public class ConfigurationScriptElements extends AbstractParserRuleElementFinder {
32 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigurationScript"); 32 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigurationScript");
33 private final Group cGroup = (Group)rule.eContents().get(1); 33 private final Group cGroup = (Group)rule.eContents().get(1);
34 private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0); 34 private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0);
35 private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0); 35 private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0);
36 private final Assignment cCommandsAssignment_1 = (Assignment)cGroup.eContents().get(1); 36 private final Assignment cCommandsAssignment_1 = (Assignment)cGroup.eContents().get(1);
37 private final RuleCall cCommandsCommandParserRuleCall_1_0 = (RuleCall)cCommandsAssignment_1.eContents().get(0); 37 private final RuleCall cCommandsCommandParserRuleCall_1_0 = (RuleCall)cCommandsAssignment_1.eContents().get(0);
38 38
39 //ConfigurationScript: 39 //ConfigurationScript:
40 // imports+=Import* 40 // imports+=Import*
41 // commands+=Command*; 41 // commands+=Command*;
42 @Override public ParserRule getRule() { return rule; } 42 @Override public ParserRule getRule() { return rule; }
43 43
44 //imports+=Import* commands+=Command* 44 //imports+=Import* commands+=Command*
45 public Group getGroup() { return cGroup; } 45 public Group getGroup() { return cGroup; }
46 46
47 //imports+=Import* 47 //imports+=Import*
48 public Assignment getImportsAssignment_0() { return cImportsAssignment_0; } 48 public Assignment getImportsAssignment_0() { return cImportsAssignment_0; }
49 49
50 //Import 50 //Import
51 public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; } 51 public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; }
52 52
53 //commands+=Command* 53 //commands+=Command*
54 public Assignment getCommandsAssignment_1() { return cCommandsAssignment_1; } 54 public Assignment getCommandsAssignment_1() { return cCommandsAssignment_1; }
55 55
56 //Command 56 //Command
57 public RuleCall getCommandsCommandParserRuleCall_1_0() { return cCommandsCommandParserRuleCall_1_0; } 57 public RuleCall getCommandsCommandParserRuleCall_1_0() { return cCommandsCommandParserRuleCall_1_0; }
58 } 58 }
59 public class CommandElements extends AbstractParserRuleElementFinder { 59 public class CommandElements extends AbstractParserRuleElementFinder {
60 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");
61 private final Alternatives cAlternatives = (Alternatives)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); 62 private final RuleCall cDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
63 private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 63 private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
64 64
65 //Command: 65 //Command:
66 // Declaration | Task; 66 // Declaration | Task;
67 @Override public ParserRule getRule() { return rule; } 67 @Override public ParserRule getRule() { return rule; }
68 68
69 //Declaration | Task 69 //Declaration | Task
70 public Alternatives getAlternatives() { return cAlternatives; } 70 public Alternatives getAlternatives() { return cAlternatives; }
71 71
72 //Declaration 72 //Declaration
73 public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; } 73 public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; }
74 74
75 //Task 75 //Task
76 public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; } 76 public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; }
77 } 77 }
78 public class QualifiedNameElements extends AbstractParserRuleElementFinder { 78 public class QualifiedNameElements extends AbstractParserRuleElementFinder {
79 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName"); 79 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName");
80 private final Group cGroup = (Group)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); 81 private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
82 private final Group cGroup_1 = (Group)cGroup.eContents().get(1); 82 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
83 private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); 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); 84 private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
85 85
86 //QualifiedName: 86 //QualifiedName:
87 // ID ('.' ID)*; 87 // ID ('.' ID)*;
88 @Override public ParserRule getRule() { return rule; } 88 @Override public ParserRule getRule() { return rule; }
89 89
90 //ID ('.' ID)* 90 //ID ('.' ID)*
91 public Group getGroup() { return cGroup; } 91 public Group getGroup() { return cGroup; }
92 92
93 //ID 93 //ID
94 public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } 94 public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; }
95 95
96 //('.' ID)* 96 //('.' ID)*
97 public Group getGroup_1() { return cGroup_1; } 97 public Group getGroup_1() { return cGroup_1; }
98 98
99 //'.' 99 //'.'
100 public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } 100 public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
101 101
102 //ID 102 //ID
103 public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } 103 public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
104 } 104 }
105 public class REALLiteralElements extends AbstractParserRuleElementFinder { 105 public class REALLiteralElements extends AbstractParserRuleElementFinder {
106 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral"); 106 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.REALLiteral");
107 private final Group cGroup = (Group)rule.eContents().get(1); 107 private final Group cGroup = (Group)rule.eContents().get(1);
108 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); 108 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
109 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); 109 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
110 private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); 110 private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
111 private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); 111 private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3);
112 112
113 //REALLiteral ecore::EBigDecimal: 113 //REALLiteral ecore::EBigDecimal:
114 // '-'? INT '.' INT; 114 // '-'? INT '.' INT;
115 @Override public ParserRule getRule() { return rule; } 115 @Override public ParserRule getRule() { return rule; }
116 116
117 //'-'? INT '.' INT 117 //'-'? INT '.' INT
118 public Group getGroup() { return cGroup; } 118 public Group getGroup() { return cGroup; }
119 119
120 //'-'? 120 //'-'?
121 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } 121 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
122 122
123 //INT 123 //INT
124 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } 124 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
125 125
126 //'.' 126 //'.'
127 public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; } 127 public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
128 128
129 //INT 129 //INT
130 public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; } 130 public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; }
131 } 131 }
132 public class INTLiteralElements extends AbstractParserRuleElementFinder { 132 public class INTLiteralElements extends AbstractParserRuleElementFinder {
133 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral"); 133 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.INTLiteral");
134 private final Group cGroup = (Group)rule.eContents().get(1); 134 private final Group cGroup = (Group)rule.eContents().get(1);
135 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0); 135 private final Keyword cHyphenMinusKeyword_0 = (Keyword)cGroup.eContents().get(0);
136 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); 136 private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
137 137
138 //INTLiteral ecore::EInt: 138 //INTLiteral ecore::EInt:
139 // '-'? INT; 139 // '-'? INT;
140 @Override public ParserRule getRule() { return rule; } 140 @Override public ParserRule getRule() { return rule; }
141 141
142 //'-'? INT 142 //'-'? INT
143 public Group getGroup() { return cGroup; } 143 public Group getGroup() { return cGroup; }
144 144
145 //'-'? 145 //'-'?
146 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; } 146 public Keyword getHyphenMinusKeyword_0() { return cHyphenMinusKeyword_0; }
147 147
148 //INT 148 //INT
149 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } 149 public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
150 } 150 }
151 public class ImportElements extends AbstractParserRuleElementFinder { 151 public class ImportElements extends AbstractParserRuleElementFinder {
152 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 152 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
153 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 153 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
154 private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 154 private final RuleCall cEPackageImportParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
155 private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 155 private final RuleCall cViatraImportParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
156 156 private final RuleCall cCftImportParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
157 ///////////////////////////////////////////////////// 157
158 //// Imports 158 /////////////////////////////////////////////////////
159 ///////////////////////////////////////////////////// 159 //// Imports
160 //Import: 160 /////////////////////////////////////////////////////
161 // EPackageImport | ViatraImport; 161 //Import:
162 @Override public ParserRule getRule() { return rule; } 162 // EPackageImport | ViatraImport | CftImport;
163 163 @Override public ParserRule getRule() { return rule; }
164 //EPackageImport | ViatraImport 164
165 public Alternatives getAlternatives() { return cAlternatives; } 165 //EPackageImport | ViatraImport | CftImport
166 166 public Alternatives getAlternatives() { return cAlternatives; }
167 //EPackageImport 167
168 public RuleCall getEPackageImportParserRuleCall_0() { return cEPackageImportParserRuleCall_0; } 168 //EPackageImport
169 169 public RuleCall getEPackageImportParserRuleCall_0() { return cEPackageImportParserRuleCall_0; }
170 //ViatraImport 170
171 public RuleCall getViatraImportParserRuleCall_1() { return cViatraImportParserRuleCall_1; } 171 //ViatraImport
172 } 172 public RuleCall getViatraImportParserRuleCall_1() { return cViatraImportParserRuleCall_1; }
173 public class EPackageImportElements extends AbstractParserRuleElementFinder { 173
174 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.EPackageImport"); 174 //CftImport
175 private final Group cGroup = (Group)rule.eContents().get(1); 175 public RuleCall getCftImportParserRuleCall_2() { return cCftImportParserRuleCall_2; }
176 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); 176 }
177 private final Keyword cEpackageKeyword_1 = (Keyword)cGroup.eContents().get(1); 177 public class EPackageImportElements extends AbstractParserRuleElementFinder {
178 private final Assignment cImportedPackageAssignment_2 = (Assignment)cGroup.eContents().get(2); 178 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.EPackageImport");
179 private final CrossReference cImportedPackageEPackageCrossReference_2_0 = (CrossReference)cImportedPackageAssignment_2.eContents().get(0); 179 private final Group cGroup = (Group)rule.eContents().get(1);
180 private final RuleCall cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedPackageEPackageCrossReference_2_0.eContents().get(1); 180 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
181 181 private final Keyword cEpackageKeyword_1 = (Keyword)cGroup.eContents().get(1);
182 //EPackageImport: 182 private final Assignment cImportedPackageAssignment_2 = (Assignment)cGroup.eContents().get(2);
183 // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; 183 private final CrossReference cImportedPackageEPackageCrossReference_2_0 = (CrossReference)cImportedPackageAssignment_2.eContents().get(0);
184 @Override public ParserRule getRule() { return rule; } 184 private final RuleCall cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedPackageEPackageCrossReference_2_0.eContents().get(1);
185 185
186 //"import" "epackage" importedPackage=[ecore::EPackage|STRING] 186 //EPackageImport:
187 public Group getGroup() { return cGroup; } 187 // "import" "epackage" importedPackage=[ecore::EPackage|STRING];
188 188 @Override public ParserRule getRule() { return rule; }
189 //"import" 189
190 public Keyword getImportKeyword_0() { return cImportKeyword_0; } 190 //"import" "epackage" importedPackage=[ecore::EPackage|STRING]
191 191 public Group getGroup() { return cGroup; }
192 //"epackage" 192
193 public Keyword getEpackageKeyword_1() { return cEpackageKeyword_1; } 193 //"import"
194 194 public Keyword getImportKeyword_0() { return cImportKeyword_0; }
195 //importedPackage=[ecore::EPackage|STRING] 195
196 public Assignment getImportedPackageAssignment_2() { return cImportedPackageAssignment_2; } 196 //"epackage"
197 197 public Keyword getEpackageKeyword_1() { return cEpackageKeyword_1; }
198 //[ecore::EPackage|STRING] 198
199 public CrossReference getImportedPackageEPackageCrossReference_2_0() { return cImportedPackageEPackageCrossReference_2_0; } 199 //importedPackage=[ecore::EPackage|STRING]
200 200 public Assignment getImportedPackageAssignment_2() { return cImportedPackageAssignment_2; }
201 //STRING 201
202 public RuleCall getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1() { return cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1; } 202 //[ecore::EPackage|STRING]
203 } 203 public CrossReference getImportedPackageEPackageCrossReference_2_0() { return cImportedPackageEPackageCrossReference_2_0; }
204 public class ViatraImportElements extends AbstractParserRuleElementFinder { 204
205 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ViatraImport"); 205 //STRING
206 private final Group cGroup = (Group)rule.eContents().get(1); 206 public RuleCall getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1() { return cImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1; }
207 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); 207 }
208 private final Keyword cViatraKeyword_1 = (Keyword)cGroup.eContents().get(1); 208 public class ViatraImportElements extends AbstractParserRuleElementFinder {
209 private final Assignment cImportedViatraAssignment_2 = (Assignment)cGroup.eContents().get(2); 209 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ViatraImport");
210 private final CrossReference cImportedViatraPatternModelCrossReference_2_0 = (CrossReference)cImportedViatraAssignment_2.eContents().get(0); 210 private final Group cGroup = (Group)rule.eContents().get(1);
211 private final RuleCall cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedViatraPatternModelCrossReference_2_0.eContents().get(1); 211 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
212 212 private final Keyword cViatraKeyword_1 = (Keyword)cGroup.eContents().get(1);
213 //ViatraImport: 213 private final Assignment cImportedViatraAssignment_2 = (Assignment)cGroup.eContents().get(2);
214 // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; 214 private final CrossReference cImportedViatraPatternModelCrossReference_2_0 = (CrossReference)cImportedViatraAssignment_2.eContents().get(0);
215 @Override public ParserRule getRule() { return rule; } 215 private final RuleCall cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedViatraPatternModelCrossReference_2_0.eContents().get(1);
216 216
217 //"import" "viatra" importedViatra=[viatra::PatternModel|STRING] 217 //ViatraImport:
218 public Group getGroup() { return cGroup; } 218 // "import" "viatra" importedViatra=[viatra::PatternModel|STRING];
219 219 @Override public ParserRule getRule() { return rule; }
220 //"import" 220
221 public Keyword getImportKeyword_0() { return cImportKeyword_0; } 221 //"import" "viatra" importedViatra=[viatra::PatternModel|STRING]
222 222 public Group getGroup() { return cGroup; }
223 //"viatra" 223
224 public Keyword getViatraKeyword_1() { return cViatraKeyword_1; } 224 //"import"
225 225 public Keyword getImportKeyword_0() { return cImportKeyword_0; }
226 //importedViatra=[viatra::PatternModel|STRING] 226
227 public Assignment getImportedViatraAssignment_2() { return cImportedViatraAssignment_2; } 227 //"viatra"
228 228 public Keyword getViatraKeyword_1() { return cViatraKeyword_1; }
229 //[viatra::PatternModel|STRING] 229
230 public CrossReference getImportedViatraPatternModelCrossReference_2_0() { return cImportedViatraPatternModelCrossReference_2_0; } 230 //importedViatra=[viatra::PatternModel|STRING]
231 231 public Assignment getImportedViatraAssignment_2() { return cImportedViatraAssignment_2; }
232 //STRING 232
233 public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } 233 //[viatra::PatternModel|STRING]
234 } 234 public CrossReference getImportedViatraPatternModelCrossReference_2_0() { return cImportedViatraPatternModelCrossReference_2_0; }
235 public class DeclarationElements extends AbstractParserRuleElementFinder { 235
236 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); 236 //STRING
237 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 237 public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; }
238 private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 238 }
239 private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 239 public class CftImportElements extends AbstractParserRuleElementFinder {
240 private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); 240 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CftImport");
241 private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); 241 private final Group cGroup = (Group)rule.eContents().get(1);
242 private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); 242 private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
243 private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); 243 private final Keyword cReliabilityKeyword_1 = (Keyword)cGroup.eContents().get(1);
244 244 private final Assignment cImportedCftAssignment_2 = (Assignment)cGroup.eContents().get(2);
245 ///////////////////////////////////////////////////// 245 private final CrossReference cImportedCftCftModelCrossReference_2_0 = (CrossReference)cImportedCftAssignment_2.eContents().get(0);
246 //// Declaration 246 private final RuleCall cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1 = (RuleCall)cImportedCftCftModelCrossReference_2_0.eContents().get(1);
247 ///////////////////////////////////////////////////// 247
248 //Declaration: 248 //CftImport:
249 // FileDeclaration 249 // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING];
250 // | MetamodelDeclaration 250 @Override public ParserRule getRule() { return rule; }
251 // | PartialModelDeclaration 251
252 // | GraphPatternDeclaration 252 //"import" "reliability" importedCft=[cftLanguage::CftModel|STRING]
253 // | ConfigDeclaration 253 public Group getGroup() { return cGroup; }
254 // | ScopeDeclaration; 254
255 @Override public ParserRule getRule() { return rule; } 255 //"import"
256 256 public Keyword getImportKeyword_0() { return cImportKeyword_0; }
257 //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration | 257
258 //ScopeDeclaration 258 //"reliability"
259 public Alternatives getAlternatives() { return cAlternatives; } 259 public Keyword getReliabilityKeyword_1() { return cReliabilityKeyword_1; }
260 260
261 //FileDeclaration 261 //importedCft=[cftLanguage::CftModel|STRING]
262 public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; } 262 public Assignment getImportedCftAssignment_2() { return cImportedCftAssignment_2; }
263 263
264 //MetamodelDeclaration 264 //[cftLanguage::CftModel|STRING]
265 public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; } 265 public CrossReference getImportedCftCftModelCrossReference_2_0() { return cImportedCftCftModelCrossReference_2_0; }
266 266
267 //PartialModelDeclaration 267 //STRING
268 public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; } 268 public RuleCall getImportedCftCftModelSTRINGTerminalRuleCall_2_0_1() { return cImportedCftCftModelSTRINGTerminalRuleCall_2_0_1; }
269 269 }
270 //GraphPatternDeclaration 270 public class DeclarationElements extends AbstractParserRuleElementFinder {
271 public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; } 271 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration");
272 272 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
273 //ConfigDeclaration 273 private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
274 public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; } 274 private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
275 275 private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
276 //ScopeDeclaration 276 private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
277 public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; } 277 private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
278 } 278 private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5);
279 public class FileSpecificationElements extends AbstractParserRuleElementFinder { 279 private final RuleCall cObjectiveDeclarationParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6);
280 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); 280
281 private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); 281 /////////////////////////////////////////////////////
282 private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); 282 //// Declaration
283 283 /////////////////////////////////////////////////////
284 ///////////////////////////////////////////////////// 284 //Declaration:
285 //// Files and Folders 285 // FileDeclaration
286 ///////////////////////////////////////////////////// 286 // | MetamodelDeclaration
287 //FileSpecification: 287 // | PartialModelDeclaration
288 // path=STRING; 288 // | GraphPatternDeclaration
289 @Override public ParserRule getRule() { return rule; } 289 // | ConfigDeclaration
290 290 // | ScopeDeclaration
291 //path=STRING 291 // | ObjectiveDeclaration;
292 public Assignment getPathAssignment() { return cPathAssignment; } 292 @Override public ParserRule getRule() { return rule; }
293 293
294 //STRING 294 //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration |
295 public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; } 295 //ScopeDeclaration | ObjectiveDeclaration
296 } 296 public Alternatives getAlternatives() { return cAlternatives; }
297 public class FileDeclarationElements extends AbstractParserRuleElementFinder { 297
298 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration"); 298 //FileDeclaration
299 private final Group cGroup = (Group)rule.eContents().get(1); 299 public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; }
300 private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0); 300
301 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 301 //MetamodelDeclaration
302 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 302 public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; }
303 private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); 303
304 private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); 304 //PartialModelDeclaration
305 private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); 305 public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; }
306 306
307 //FileDeclaration: 307 //GraphPatternDeclaration
308 // 'file' name=ID '=' specification=FileSpecification; 308 public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; }
309 @Override public ParserRule getRule() { return rule; } 309
310 310 //ConfigDeclaration
311 //'file' name=ID '=' specification=FileSpecification 311 public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; }
312 public Group getGroup() { return cGroup; } 312
313 313 //ScopeDeclaration
314 //'file' 314 public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; }
315 public Keyword getFileKeyword_0() { return cFileKeyword_0; } 315
316 316 //ObjectiveDeclaration
317 //name=ID 317 public RuleCall getObjectiveDeclarationParserRuleCall_6() { return cObjectiveDeclarationParserRuleCall_6; }
318 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 318 }
319 319 public class FileSpecificationElements extends AbstractParserRuleElementFinder {
320 //ID 320 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
321 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 321 private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1);
322 322 private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0);
323 //'=' 323
324 public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } 324 /////////////////////////////////////////////////////
325 325 //// Files and Folders
326 //specification=FileSpecification 326 /////////////////////////////////////////////////////
327 public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } 327 //FileSpecification:
328 328 // path=STRING;
329 //FileSpecification 329 @Override public ParserRule getRule() { return rule; }
330 public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; } 330
331 } 331 //path=STRING
332 public class FileReferenceElements extends AbstractParserRuleElementFinder { 332 public Assignment getPathAssignment() { return cPathAssignment; }
333 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference"); 333
334 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); 334 //STRING
335 private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); 335 public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; }
336 private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1); 336 }
337 337 public class FileDeclarationElements extends AbstractParserRuleElementFinder {
338 //FileReference: 338 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration");
339 // referred=[FileDeclaration]; 339 private final Group cGroup = (Group)rule.eContents().get(1);
340 @Override public ParserRule getRule() { return rule; } 340 private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0);
341 341 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
342 //referred=[FileDeclaration] 342 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
343 public Assignment getReferredAssignment() { return cReferredAssignment; } 343 private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2);
344 344 private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3);
345 //[FileDeclaration] 345 private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0);
346 public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; } 346
347 347 //FileDeclaration:
348 //ID 348 // 'file' name=ID '=' specification=FileSpecification;
349 public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; } 349 @Override public ParserRule getRule() { return rule; }
350 } 350
351 public class FileElements extends AbstractParserRuleElementFinder { 351 //'file' name=ID '=' specification=FileSpecification
352 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); 352 public Group getGroup() { return cGroup; }
353 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 353
354 private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 354 //'file'
355 private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 355 public Keyword getFileKeyword_0() { return cFileKeyword_0; }
356 356
357 //File: 357 //name=ID
358 // FileSpecification | FileReference; 358 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
359 @Override public ParserRule getRule() { return rule; } 359
360 360 //ID
361 //FileSpecification | FileReference 361 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
362 public Alternatives getAlternatives() { return cAlternatives; } 362
363 363 //'='
364 //FileSpecification 364 public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; }
365 public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; } 365
366 366 //specification=FileSpecification
367 //FileReference 367 public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; }
368 public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; } 368
369 } 369 //FileSpecification
370 public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { 370 public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; }
371 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 371 }
372 private final Group cGroup = (Group)rule.eContents().get(1); 372 public class FileReferenceElements extends AbstractParserRuleElementFinder {
373 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); 373 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference");
374 private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); 374 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
375 private final RuleCall cEntriesMetamodelEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); 375 private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
376 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 376 private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1);
377 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 377
378 private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); 378 //FileReference:
379 private final RuleCall cEntriesMetamodelEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); 379 // referred=[FileDeclaration];
380 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 380 @Override public ParserRule getRule() { return rule; }
381 381
382 ///////////////////////////////////////////////////// 382 //referred=[FileDeclaration]
383 //// Metamodel 383 public Assignment getReferredAssignment() { return cReferredAssignment; }
384 ///////////////////////////////////////////////////// 384
385 //MetamodelSpecification: 385 //[FileDeclaration]
386 // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; 386 public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; }
387 @Override public ParserRule getRule() { return rule; } 387
388 388 //ID
389 //'{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}' 389 public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; }
390 public Group getGroup() { return cGroup; } 390 }
391 391 public class FileElements extends AbstractParserRuleElementFinder {
392 //'{' 392 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
393 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } 393 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
394 394 private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
395 //entries+=MetamodelEntry 395 private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
396 public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } 396
397 397 //File:
398 //MetamodelEntry 398 // FileSpecification | FileReference;
399 public RuleCall getEntriesMetamodelEntryParserRuleCall_1_0() { return cEntriesMetamodelEntryParserRuleCall_1_0; } 399 @Override public ParserRule getRule() { return rule; }
400 400
401 //(',' entries+=MetamodelEntry)* 401 //FileSpecification | FileReference
402 public Group getGroup_2() { return cGroup_2; } 402 public Alternatives getAlternatives() { return cAlternatives; }
403 403
404 //',' 404 //FileSpecification
405 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } 405 public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; }
406 406
407 //entries+=MetamodelEntry 407 //FileReference
408 public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } 408 public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; }
409 409 }
410 //MetamodelEntry 410 public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder {
411 public RuleCall getEntriesMetamodelEntryParserRuleCall_2_1_0() { return cEntriesMetamodelEntryParserRuleCall_2_1_0; } 411 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
412 412 private final Group cGroup = (Group)rule.eContents().get(1);
413 //'}' 413 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
414 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 414 private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1);
415 } 415 private final RuleCall cEntriesMetamodelEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0);
416 public class MetamodelEntryElements extends AbstractParserRuleElementFinder { 416 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
417 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 417 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
418 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 418 private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
419 private final RuleCall cMetamodelElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 419 private final RuleCall cEntriesMetamodelEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0);
420 private final RuleCall cAllPackageEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 420 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
421 421
422 //MetamodelEntry: 422 /////////////////////////////////////////////////////
423 // MetamodelElement | AllPackageEntry; 423 //// Metamodel
424 @Override public ParserRule getRule() { return rule; } 424 /////////////////////////////////////////////////////
425 425 //MetamodelSpecification:
426 //MetamodelElement | AllPackageEntry 426 // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}';
427 public Alternatives getAlternatives() { return cAlternatives; } 427 @Override public ParserRule getRule() { return rule; }
428 428
429 //MetamodelElement 429 //'{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'
430 public RuleCall getMetamodelElementParserRuleCall_0() { return cMetamodelElementParserRuleCall_0; } 430 public Group getGroup() { return cGroup; }
431 431
432 //AllPackageEntry 432 //'{'
433 public RuleCall getAllPackageEntryParserRuleCall_1() { return cAllPackageEntryParserRuleCall_1; } 433 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
434 } 434
435 public class AllPackageEntryElements extends AbstractParserRuleElementFinder { 435 //entries+=MetamodelEntry
436 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPackageEntry"); 436 public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; }
437 private final Group cGroup = (Group)rule.eContents().get(1); 437
438 private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); 438 //MetamodelEntry
439 private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); 439 public RuleCall getEntriesMetamodelEntryParserRuleCall_1_0() { return cEntriesMetamodelEntryParserRuleCall_1_0; }
440 private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); 440
441 private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); 441 //(',' entries+=MetamodelEntry)*
442 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 442 public Group getGroup_2() { return cGroup_2; }
443 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 443
444 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); 444 //','
445 private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); 445 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; }
446 private final RuleCall cExclusionMetamodelElementParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); 446
447 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); 447 //entries+=MetamodelEntry
448 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); 448 public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; }
449 private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); 449
450 private final RuleCall cExclusionMetamodelElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); 450 //MetamodelEntry
451 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); 451 public RuleCall getEntriesMetamodelEntryParserRuleCall_2_1_0() { return cEntriesMetamodelEntryParserRuleCall_2_1_0; }
452 452
453 //AllPackageEntry: 453 //'}'
454 // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' 454 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
455 // exclusion+=MetamodelElement)* '}')?; 455 }
456 @Override public ParserRule getRule() { return rule; } 456 public class MetamodelEntryElements extends AbstractParserRuleElementFinder {
457 457 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
458 //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' 458 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
459 //exclusion+=MetamodelElement)* '}')? 459 private final RuleCall cMetamodelElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
460 public Group getGroup() { return cGroup; } 460 private final RuleCall cAllPackageEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
461 461
462 //"package" 462 //MetamodelEntry:
463 public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } 463 // MetamodelElement | AllPackageEntry;
464 464 @Override public ParserRule getRule() { return rule; }
465 //package=[ecore::EPackage|QualifiedName] 465
466 public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } 466 //MetamodelElement | AllPackageEntry
467 467 public Alternatives getAlternatives() { return cAlternatives; }
468 //[ecore::EPackage|QualifiedName] 468
469 public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } 469 //MetamodelElement
470 470 public RuleCall getMetamodelElementParserRuleCall_0() { return cMetamodelElementParserRuleCall_0; }
471 //QualifiedName 471
472 public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; } 472 //AllPackageEntry
473 473 public RuleCall getAllPackageEntryParserRuleCall_1() { return cAllPackageEntryParserRuleCall_1; }
474 //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? 474 }
475 public Group getGroup_2() { return cGroup_2; } 475 public class AllPackageEntryElements extends AbstractParserRuleElementFinder {
476 476 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPackageEntry");
477 //"excluding" 477 private final Group cGroup = (Group)rule.eContents().get(1);
478 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } 478 private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0);
479 479 private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1);
480 //'{' 480 private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0);
481 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } 481 private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1);
482 482 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
483 //exclusion+=MetamodelElement 483 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
484 public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } 484 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
485 485 private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
486 //MetamodelElement 486 private final RuleCall cExclusionMetamodelElementParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0);
487 public RuleCall getExclusionMetamodelElementParserRuleCall_2_2_0() { return cExclusionMetamodelElementParserRuleCall_2_2_0; } 487 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3);
488 488 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0);
489 //(',' exclusion+=MetamodelElement)* 489 private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1);
490 public Group getGroup_2_3() { return cGroup_2_3; } 490 private final RuleCall cExclusionMetamodelElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0);
491 491 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4);
492 //',' 492
493 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } 493 //AllPackageEntry:
494 494 // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (','
495 //exclusion+=MetamodelElement 495 // exclusion+=MetamodelElement)* '}')?;
496 public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } 496 @Override public ParserRule getRule() { return rule; }
497 497
498 //MetamodelElement 498 //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (','
499 public RuleCall getExclusionMetamodelElementParserRuleCall_2_3_1_0() { return cExclusionMetamodelElementParserRuleCall_2_3_1_0; } 499 //exclusion+=MetamodelElement)* '}')?
500 500 public Group getGroup() { return cGroup; }
501 //'}' 501
502 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } 502 //"package"
503 } 503 public Keyword getPackageKeyword_0() { return cPackageKeyword_0; }
504 public class MetamodelElementElements extends AbstractParserRuleElementFinder { 504
505 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 505 //package=[ecore::EPackage|QualifiedName]
506 private final Group cGroup = (Group)rule.eContents().get(1); 506 public Assignment getPackageAssignment_1() { return cPackageAssignment_1; }
507 private final Group cGroup_0 = (Group)cGroup.eContents().get(0); 507
508 private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); 508 //[ecore::EPackage|QualifiedName]
509 private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); 509 public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; }
510 private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); 510
511 private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); 511 //QualifiedName
512 private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); 512 public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; }
513 private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); 513
514 private final RuleCall cClassifierEClassifierIDTerminalRuleCall_1_0_1 = (RuleCall)cClassifierEClassifierCrossReference_1_0.eContents().get(1); 514 //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')?
515 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 515 public Group getGroup_2() { return cGroup_2; }
516 private final Keyword cFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 516
517 private final Assignment cFeatureAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); 517 //"excluding"
518 private final CrossReference cFeatureENamedElementCrossReference_2_1_0 = (CrossReference)cFeatureAssignment_2_1.eContents().get(0); 518 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; }
519 private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); 519
520 520 //'{'
521 //MetamodelElement: 521 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; }
522 // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' 522
523 // feature=[ecore::ENamedElement])?; 523 //exclusion+=MetamodelElement
524 @Override public ParserRule getRule() { return rule; } 524 public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; }
525 525
526 //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? 526 //MetamodelElement
527 public Group getGroup() { return cGroup; } 527 public RuleCall getExclusionMetamodelElementParserRuleCall_2_2_0() { return cExclusionMetamodelElementParserRuleCall_2_2_0; }
528 528
529 //(package=[ecore::EPackage|QualifiedName] '::')? 529 //(',' exclusion+=MetamodelElement)*
530 public Group getGroup_0() { return cGroup_0; } 530 public Group getGroup_2_3() { return cGroup_2_3; }
531 531
532 //package=[ecore::EPackage|QualifiedName] 532 //','
533 public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } 533 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; }
534 534
535 //[ecore::EPackage|QualifiedName] 535 //exclusion+=MetamodelElement
536 public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } 536 public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; }
537 537
538 //QualifiedName 538 //MetamodelElement
539 public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; } 539 public RuleCall getExclusionMetamodelElementParserRuleCall_2_3_1_0() { return cExclusionMetamodelElementParserRuleCall_2_3_1_0; }
540 540
541 //'::' 541 //'}'
542 public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } 542 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; }
543 543 }
544 //classifier=[ecore::EClassifier] 544 public class MetamodelElementElements extends AbstractParserRuleElementFinder {
545 public Assignment getClassifierAssignment_1() { return cClassifierAssignment_1; } 545 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
546 546 private final Group cGroup = (Group)rule.eContents().get(1);
547 //[ecore::EClassifier] 547 private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
548 public CrossReference getClassifierEClassifierCrossReference_1_0() { return cClassifierEClassifierCrossReference_1_0; } 548 private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
549 549 private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0);
550 //ID 550 private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1);
551 public RuleCall getClassifierEClassifierIDTerminalRuleCall_1_0_1() { return cClassifierEClassifierIDTerminalRuleCall_1_0_1; } 551 private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
552 552 private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1);
553 //('.' feature=[ecore::ENamedElement])? 553 private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0);
554 public Group getGroup_2() { return cGroup_2; } 554 private final RuleCall cClassifierEClassifierIDTerminalRuleCall_1_0_1 = (RuleCall)cClassifierEClassifierCrossReference_1_0.eContents().get(1);
555 555 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
556 //'.' 556 private final Keyword cFullStopKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
557 public Keyword getFullStopKeyword_2_0() { return cFullStopKeyword_2_0; } 557 private final Assignment cFeatureAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
558 558 private final CrossReference cFeatureENamedElementCrossReference_2_1_0 = (CrossReference)cFeatureAssignment_2_1.eContents().get(0);
559 //feature=[ecore::ENamedElement] 559 private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1);
560 public Assignment getFeatureAssignment_2_1() { return cFeatureAssignment_2_1; } 560
561 561 //MetamodelElement:
562 //[ecore::ENamedElement] 562 // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?;
563 public CrossReference getFeatureENamedElementCrossReference_2_1_0() { return cFeatureENamedElementCrossReference_2_1_0; } 563 @Override public ParserRule getRule() { return rule; }
564 564
565 //ID 565 //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?
566 public RuleCall getFeatureENamedElementIDTerminalRuleCall_2_1_0_1() { return cFeatureENamedElementIDTerminalRuleCall_2_1_0_1; } 566 public Group getGroup() { return cGroup; }
567 } 567
568 public class MetamodelDeclarationElements extends AbstractParserRuleElementFinder { 568 //(package=[ecore::EPackage|QualifiedName] '::')?
569 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelDeclaration"); 569 public Group getGroup_0() { return cGroup_0; }
570 private final Group cGroup = (Group)rule.eContents().get(1); 570
571 private final Keyword cMetamodelKeyword_0 = (Keyword)cGroup.eContents().get(0); 571 //package=[ecore::EPackage|QualifiedName]
572 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 572 public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; }
573 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 573
574 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); 574 //[ecore::EPackage|QualifiedName]
575 private final RuleCall cSpecificationMetamodelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); 575 public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; }
576 576
577 //MetamodelDeclaration: 577 //QualifiedName
578 // 'metamodel' name=ID specification=MetamodelSpecification; 578 public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; }
579 @Override public ParserRule getRule() { return rule; } 579
580 580 //'::'
581 //'metamodel' name=ID specification=MetamodelSpecification 581 public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; }
582 public Group getGroup() { return cGroup; } 582
583 583 //classifier=[ecore::EClassifier]
584 //'metamodel' 584 public Assignment getClassifierAssignment_1() { return cClassifierAssignment_1; }
585 public Keyword getMetamodelKeyword_0() { return cMetamodelKeyword_0; } 585
586 586 //[ecore::EClassifier]
587 //name=ID 587 public CrossReference getClassifierEClassifierCrossReference_1_0() { return cClassifierEClassifierCrossReference_1_0; }
588 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 588
589 589 //ID
590 //ID 590 public RuleCall getClassifierEClassifierIDTerminalRuleCall_1_0_1() { return cClassifierEClassifierIDTerminalRuleCall_1_0_1; }
591 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 591
592 592 //('.' feature=[ecore::ENamedElement])?
593 //specification=MetamodelSpecification 593 public Group getGroup_2() { return cGroup_2; }
594 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } 594
595 595 //'.'
596 //MetamodelSpecification 596 public Keyword getFullStopKeyword_2_0() { return cFullStopKeyword_2_0; }
597 public RuleCall getSpecificationMetamodelSpecificationParserRuleCall_2_0() { return cSpecificationMetamodelSpecificationParserRuleCall_2_0; } 597
598 } 598 //feature=[ecore::ENamedElement]
599 public class MetamodelReferenceElements extends AbstractParserRuleElementFinder { 599 public Assignment getFeatureAssignment_2_1() { return cFeatureAssignment_2_1; }
600 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelReference"); 600
601 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); 601 //[ecore::ENamedElement]
602 private final CrossReference cReferredMetamodelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); 602 public CrossReference getFeatureENamedElementCrossReference_2_1_0() { return cFeatureENamedElementCrossReference_2_1_0; }
603 private final RuleCall cReferredMetamodelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredMetamodelDeclarationCrossReference_0.eContents().get(1); 603
604 604 //ID
605 //MetamodelReference: 605 public RuleCall getFeatureENamedElementIDTerminalRuleCall_2_1_0_1() { return cFeatureENamedElementIDTerminalRuleCall_2_1_0_1; }
606 // referred=[MetamodelDeclaration]; 606 }
607 @Override public ParserRule getRule() { return rule; } 607 public class MetamodelDeclarationElements extends AbstractParserRuleElementFinder {
608 608 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelDeclaration");
609 //referred=[MetamodelDeclaration] 609 private final Group cGroup = (Group)rule.eContents().get(1);
610 public Assignment getReferredAssignment() { return cReferredAssignment; } 610 private final Keyword cMetamodelKeyword_0 = (Keyword)cGroup.eContents().get(0);
611 611 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
612 //[MetamodelDeclaration] 612 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
613 public CrossReference getReferredMetamodelDeclarationCrossReference_0() { return cReferredMetamodelDeclarationCrossReference_0; } 613 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
614 614 private final RuleCall cSpecificationMetamodelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
615 //ID 615
616 public RuleCall getReferredMetamodelDeclarationIDTerminalRuleCall_0_1() { return cReferredMetamodelDeclarationIDTerminalRuleCall_0_1; } 616 //MetamodelDeclaration:
617 } 617 // 'metamodel' name=ID specification=MetamodelSpecification;
618 public class MetamodelElements extends AbstractParserRuleElementFinder { 618 @Override public ParserRule getRule() { return rule; }
619 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); 619
620 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 620 //'metamodel' name=ID specification=MetamodelSpecification
621 private final RuleCall cMetamodelReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 621 public Group getGroup() { return cGroup; }
622 private final RuleCall cMetamodelSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 622
623 623 //'metamodel'
624 //Metamodel: 624 public Keyword getMetamodelKeyword_0() { return cMetamodelKeyword_0; }
625 // MetamodelReference | MetamodelSpecification; 625
626 @Override public ParserRule getRule() { return rule; } 626 //name=ID
627 627 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
628 //MetamodelReference | MetamodelSpecification 628
629 public Alternatives getAlternatives() { return cAlternatives; } 629 //ID
630 630 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
631 //MetamodelReference 631
632 public RuleCall getMetamodelReferenceParserRuleCall_0() { return cMetamodelReferenceParserRuleCall_0; } 632 //specification=MetamodelSpecification
633 633 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
634 //MetamodelSpecification 634
635 public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } 635 //MetamodelSpecification
636 } 636 public RuleCall getSpecificationMetamodelSpecificationParserRuleCall_2_0() { return cSpecificationMetamodelSpecificationParserRuleCall_2_0; }
637 public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder { 637 }
638 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); 638 public class MetamodelReferenceElements extends AbstractParserRuleElementFinder {
639 private final Group cGroup = (Group)rule.eContents().get(1); 639 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelReference");
640 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); 640 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
641 private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); 641 private final CrossReference cReferredMetamodelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
642 private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0); 642 private final RuleCall cReferredMetamodelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredMetamodelDeclarationCrossReference_0.eContents().get(1);
643 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 643
644 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 644 //MetamodelReference:
645 private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); 645 // referred=[MetamodelDeclaration];
646 private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0); 646 @Override public ParserRule getRule() { return rule; }
647 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 647
648 648 //referred=[MetamodelDeclaration]
649 ///////////////////////////////////////////////////// 649 public Assignment getReferredAssignment() { return cReferredAssignment; }
650 //// Partial Model 650
651 ///////////////////////////////////////////////////// 651 //[MetamodelDeclaration]
652 //PartialModelSpecification: 652 public CrossReference getReferredMetamodelDeclarationCrossReference_0() { return cReferredMetamodelDeclarationCrossReference_0; }
653 // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; 653
654 @Override public ParserRule getRule() { return rule; } 654 //ID
655 655 public RuleCall getReferredMetamodelDeclarationIDTerminalRuleCall_0_1() { return cReferredMetamodelDeclarationIDTerminalRuleCall_0_1; }
656 //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}' 656 }
657 public Group getGroup() { return cGroup; } 657 public class MetamodelElements extends AbstractParserRuleElementFinder {
658 658 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
659 //'{' 659 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
660 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } 660 private final RuleCall cMetamodelReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
661 661 private final RuleCall cMetamodelSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
662 //entry+=PartialModelEntry 662
663 public Assignment getEntryAssignment_1() { return cEntryAssignment_1; } 663 //Metamodel:
664 664 // MetamodelReference | MetamodelSpecification;
665 //PartialModelEntry 665 @Override public ParserRule getRule() { return rule; }
666 public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; } 666
667 667 //MetamodelReference | MetamodelSpecification
668 //(',' entry+=PartialModelEntry)? 668 public Alternatives getAlternatives() { return cAlternatives; }
669 public Group getGroup_2() { return cGroup_2; } 669
670 670 //MetamodelReference
671 //',' 671 public RuleCall getMetamodelReferenceParserRuleCall_0() { return cMetamodelReferenceParserRuleCall_0; }
672 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } 672
673 673 //MetamodelSpecification
674 //entry+=PartialModelEntry 674 public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; }
675 public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; } 675 }
676 676 public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder {
677 //PartialModelEntry 677 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
678 public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; } 678 private final Group cGroup = (Group)rule.eContents().get(1);
679 679 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
680 //'}' 680 private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1);
681 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 681 private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0);
682 } 682 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
683 public class PartialModelEntryElements extends AbstractParserRuleElementFinder { 683 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
684 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); 684 private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
685 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 685 private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0);
686 private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 686 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
687 private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 687
688 688 /////////////////////////////////////////////////////
689 //PartialModelEntry: 689 //// Partial Model
690 // ModelEntry | FolderEntry; 690 /////////////////////////////////////////////////////
691 @Override public ParserRule getRule() { return rule; } 691 //PartialModelSpecification:
692 692 // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}';
693 //ModelEntry | FolderEntry 693 @Override public ParserRule getRule() { return rule; }
694 public Alternatives getAlternatives() { return cAlternatives; } 694
695 695 //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'
696 //ModelEntry 696 public Group getGroup() { return cGroup; }
697 public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; } 697
698 698 //'{'
699 //FolderEntry 699 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
700 public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; } 700
701 } 701 //entry+=PartialModelEntry
702 public class ModelEntryElements extends AbstractParserRuleElementFinder { 702 public Assignment getEntryAssignment_1() { return cEntryAssignment_1; }
703 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); 703
704 private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); 704 //PartialModelEntry
705 private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); 705 public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; }
706 706
707 //ModelEntry: 707 //(',' entry+=PartialModelEntry)?
708 // path=File; 708 public Group getGroup_2() { return cGroup_2; }
709 @Override public ParserRule getRule() { return rule; } 709
710 710 //','
711 //path=File 711 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; }
712 public Assignment getPathAssignment() { return cPathAssignment; } 712
713 713 //entry+=PartialModelEntry
714 //File 714 public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; }
715 public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; } 715
716 } 716 //PartialModelEntry
717 public class FolderEntryElements extends AbstractParserRuleElementFinder { 717 public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; }
718 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry"); 718
719 private final Group cGroup = (Group)rule.eContents().get(1); 719 //'}'
720 private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0); 720 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
721 private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1); 721 }
722 private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0); 722 public class PartialModelEntryElements extends AbstractParserRuleElementFinder {
723 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 723 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
724 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 724 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
725 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); 725 private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
726 private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); 726 private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
727 private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); 727
728 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); 728 //PartialModelEntry:
729 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); 729 // ModelEntry | FolderEntry;
730 private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); 730 @Override public ParserRule getRule() { return rule; }
731 private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); 731
732 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); 732 //ModelEntry | FolderEntry
733 733 public Alternatives getAlternatives() { return cAlternatives; }
734 //FolderEntry: 734
735 // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; 735 //ModelEntry
736 @Override public ParserRule getRule() { return rule; } 736 public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; }
737 737
738 //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? 738 //FolderEntry
739 public Group getGroup() { return cGroup; } 739 public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; }
740 740 }
741 //"folder" 741 public class ModelEntryElements extends AbstractParserRuleElementFinder {
742 public Keyword getFolderKeyword_0() { return cFolderKeyword_0; } 742 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
743 743 private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1);
744 //path=File 744 private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0);
745 public Assignment getPathAssignment_1() { return cPathAssignment_1; } 745
746 746 //ModelEntry:
747 //File 747 // path=File;
748 public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; } 748 @Override public ParserRule getRule() { return rule; }
749 749
750 //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? 750 //path=File
751 public Group getGroup_2() { return cGroup_2; } 751 public Assignment getPathAssignment() { return cPathAssignment; }
752 752
753 //"excluding" 753 //File
754 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } 754 public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; }
755 755 }
756 //"{" 756 public class FolderEntryElements extends AbstractParserRuleElementFinder {
757 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } 757 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry");
758 758 private final Group cGroup = (Group)rule.eContents().get(1);
759 //exclusion+=ModelEntry 759 private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0);
760 public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } 760 private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1);
761 761 private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0);
762 //ModelEntry 762 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
763 public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; } 763 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
764 764 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
765 //("," exclusion+=ModelEntry)* 765 private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
766 public Group getGroup_2_3() { return cGroup_2_3; } 766 private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0);
767 767 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3);
768 //"," 768 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0);
769 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } 769 private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1);
770 770 private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0);
771 //exclusion+=ModelEntry 771 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4);
772 public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } 772
773 773 //FolderEntry:
774 //ModelEntry 774 // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?;
775 public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; } 775 @Override public ParserRule getRule() { return rule; }
776 776
777 //"}" 777 //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?
778 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } 778 public Group getGroup() { return cGroup; }
779 } 779
780 public class PartialModelDeclarationElements extends AbstractParserRuleElementFinder { 780 //"folder"
781 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelDeclaration"); 781 public Keyword getFolderKeyword_0() { return cFolderKeyword_0; }
782 private final Group cGroup = (Group)rule.eContents().get(1); 782
783 private final Keyword cModelsKeyword_0 = (Keyword)cGroup.eContents().get(0); 783 //path=File
784 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 784 public Assignment getPathAssignment_1() { return cPathAssignment_1; }
785 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 785
786 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); 786 //File
787 private final RuleCall cSpecificationPartialModelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); 787 public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; }
788 788
789 //PartialModelDeclaration: 789 //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?
790 // 'models' name=ID specification=PartialModelSpecification; 790 public Group getGroup_2() { return cGroup_2; }
791 @Override public ParserRule getRule() { return rule; } 791
792 792 //"excluding"
793 //'models' name=ID specification=PartialModelSpecification 793 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; }
794 public Group getGroup() { return cGroup; } 794
795 795 //"{"
796 //'models' 796 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; }
797 public Keyword getModelsKeyword_0() { return cModelsKeyword_0; } 797
798 798 //exclusion+=ModelEntry
799 //name=ID 799 public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; }
800 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 800
801 801 //ModelEntry
802 //ID 802 public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; }
803 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 803
804 804 //("," exclusion+=ModelEntry)*
805 //specification=PartialModelSpecification 805 public Group getGroup_2_3() { return cGroup_2_3; }
806 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } 806
807 807 //","
808 //PartialModelSpecification 808 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; }
809 public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; } 809
810 } 810 //exclusion+=ModelEntry
811 public class PartialModelReferenceElements extends AbstractParserRuleElementFinder { 811 public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; }
812 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference"); 812
813 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); 813 //ModelEntry
814 private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); 814 public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; }
815 private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1); 815
816 816 //"}"
817 //PartialModelReference: 817 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; }
818 // referred=[PartialModelDeclaration]; 818 }
819 @Override public ParserRule getRule() { return rule; } 819 public class PartialModelDeclarationElements extends AbstractParserRuleElementFinder {
820 820 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelDeclaration");
821 //referred=[PartialModelDeclaration] 821 private final Group cGroup = (Group)rule.eContents().get(1);
822 public Assignment getReferredAssignment() { return cReferredAssignment; } 822 private final Keyword cModelsKeyword_0 = (Keyword)cGroup.eContents().get(0);
823 823 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
824 //[PartialModelDeclaration] 824 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
825 public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; } 825 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
826 826 private final RuleCall cSpecificationPartialModelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
827 //ID 827
828 public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; } 828 //PartialModelDeclaration:
829 } 829 // 'models' name=ID specification=PartialModelSpecification;
830 public class PartialModelElements extends AbstractParserRuleElementFinder { 830 @Override public ParserRule getRule() { return rule; }
831 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); 831
832 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 832 //'models' name=ID specification=PartialModelSpecification
833 private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 833 public Group getGroup() { return cGroup; }
834 private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 834
835 835 //'models'
836 //PartialModel: 836 public Keyword getModelsKeyword_0() { return cModelsKeyword_0; }
837 // PartialModelSpecification | PartialModelReference; 837
838 @Override public ParserRule getRule() { return rule; } 838 //name=ID
839 839 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
840 //PartialModelSpecification | PartialModelReference 840
841 public Alternatives getAlternatives() { return cAlternatives; } 841 //ID
842 842 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
843 //PartialModelSpecification 843
844 public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; } 844 //specification=PartialModelSpecification
845 845 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
846 //PartialModelReference 846
847 public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; } 847 //PartialModelSpecification
848 } 848 public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; }
849 public class PatternSpecificationElements extends AbstractParserRuleElementFinder { 849 }
850 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); 850 public class PartialModelReferenceElements extends AbstractParserRuleElementFinder {
851 private final Group cGroup = (Group)rule.eContents().get(1); 851 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference");
852 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); 852 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
853 private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); 853 private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
854 private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); 854 private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1);
855 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 855
856 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 856 //PartialModelReference:
857 private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); 857 // referred=[PartialModelDeclaration];
858 private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); 858 @Override public ParserRule getRule() { return rule; }
859 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 859
860 860 //referred=[PartialModelDeclaration]
861 ///////////////////////////////////////////////////// 861 public Assignment getReferredAssignment() { return cReferredAssignment; }
862 //// Patterns 862
863 ///////////////////////////////////////////////////// 863 //[PartialModelDeclaration]
864 //PatternSpecification: 864 public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; }
865 // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; 865
866 @Override public ParserRule getRule() { return rule; } 866 //ID
867 867 public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; }
868 //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}' 868 }
869 public Group getGroup() { return cGroup; } 869 public class PartialModelElements extends AbstractParserRuleElementFinder {
870 870 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
871 //'{' 871 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
872 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } 872 private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
873 873 private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
874 //entries+=PatternEntry 874
875 public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } 875 //PartialModel:
876 876 // PartialModelSpecification | PartialModelReference;
877 //PatternEntry 877 @Override public ParserRule getRule() { return rule; }
878 public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; } 878
879 879 //PartialModelSpecification | PartialModelReference
880 //(',' entries+=PatternEntry)* 880 public Alternatives getAlternatives() { return cAlternatives; }
881 public Group getGroup_2() { return cGroup_2; } 881
882 882 //PartialModelSpecification
883 //',' 883 public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; }
884 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } 884
885 885 //PartialModelReference
886 //entries+=PatternEntry 886 public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; }
887 public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } 887 }
888 888 public class PatternSpecificationElements extends AbstractParserRuleElementFinder {
889 //PatternEntry 889 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
890 public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; } 890 private final Group cGroup = (Group)rule.eContents().get(1);
891 891 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
892 //'}' 892 private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1);
893 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 893 private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0);
894 } 894 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
895 public class PatternEntryElements extends AbstractParserRuleElementFinder { 895 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
896 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); 896 private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
897 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 897 private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0);
898 private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 898 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
899 private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 899
900 900 /////////////////////////////////////////////////////
901 //PatternEntry: 901 //// Patterns
902 // PatternElement | AllPatternEntry; 902 /////////////////////////////////////////////////////
903 @Override public ParserRule getRule() { return rule; } 903 //PatternSpecification:
904 904 // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}';
905 //PatternElement | AllPatternEntry 905 @Override public ParserRule getRule() { return rule; }
906 public Alternatives getAlternatives() { return cAlternatives; } 906
907 907 //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'
908 //PatternElement 908 public Group getGroup() { return cGroup; }
909 public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; } 909
910 910 //'{'
911 //AllPatternEntry 911 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
912 public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; } 912
913 } 913 //entries+=PatternEntry
914 public class AllPatternEntryElements extends AbstractParserRuleElementFinder { 914 public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; }
915 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry"); 915
916 private final Group cGroup = (Group)rule.eContents().get(1); 916 //PatternEntry
917 private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); 917 public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; }
918 private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); 918
919 private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); 919 //(',' entries+=PatternEntry)*
920 private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1); 920 public Group getGroup_2() { return cGroup_2; }
921 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 921
922 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); 922 //','
923 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); 923 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; }
924 private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); 924
925 private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0); 925 //entries+=PatternEntry
926 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); 926 public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; }
927 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); 927
928 private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); 928 //PatternEntry
929 private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0); 929 public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; }
930 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); 930
931 931 //'}'
932 //AllPatternEntry: 932 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
933 // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' 933 }
934 // exclusuion+=PatternElement)* '}')?; 934 public class PatternEntryElements extends AbstractParserRuleElementFinder {
935 @Override public ParserRule getRule() { return rule; } 935 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
936 936 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
937 //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' 937 private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
938 //exclusuion+=PatternElement)* '}')? 938 private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
939 public Group getGroup() { return cGroup; } 939
940 940 //PatternEntry:
941 //'package' 941 // PatternElement | AllPatternEntry;
942 public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } 942 @Override public ParserRule getRule() { return rule; }
943 943
944 //package=[viatra::PatternModel|QualifiedName] 944 //PatternElement | AllPatternEntry
945 public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } 945 public Alternatives getAlternatives() { return cAlternatives; }
946 946
947 //[viatra::PatternModel|QualifiedName] 947 //PatternElement
948 public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; } 948 public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; }
949 949
950 //QualifiedName 950 //AllPatternEntry
951 public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; } 951 public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; }
952 952 }
953 //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')? 953 public class AllPatternEntryElements extends AbstractParserRuleElementFinder {
954 public Group getGroup_2() { return cGroup_2; } 954 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry");
955 955 private final Group cGroup = (Group)rule.eContents().get(1);
956 //'excluding' 956 private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0);
957 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } 957 private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1);
958 958 private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0);
959 //'{' 959 private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1);
960 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } 960 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
961 961 private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
962 //exclusuion+=PatternElement 962 private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
963 public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; } 963 private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
964 964 private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0);
965 //PatternElement 965 private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3);
966 public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; } 966 private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0);
967 967 private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1);
968 //(',' exclusuion+=PatternElement)* 968 private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0);
969 public Group getGroup_2_3() { return cGroup_2_3; } 969 private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4);
970 970
971 //',' 971 //AllPatternEntry:
972 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } 972 // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (','
973 973 // exclusuion+=PatternElement)* '}')?;
974 //exclusuion+=PatternElement 974 @Override public ParserRule getRule() { return rule; }
975 public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; } 975
976 976 //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (','
977 //PatternElement 977 //exclusuion+=PatternElement)* '}')?
978 public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; } 978 public Group getGroup() { return cGroup; }
979 979
980 //'}' 980 //'package'
981 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } 981 public Keyword getPackageKeyword_0() { return cPackageKeyword_0; }
982 } 982
983 public class PatternElementElements extends AbstractParserRuleElementFinder { 983 //package=[viatra::PatternModel|QualifiedName]
984 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); 984 public Assignment getPackageAssignment_1() { return cPackageAssignment_1; }
985 private final Group cGroup = (Group)rule.eContents().get(1); 985
986 private final Group cGroup_0 = (Group)cGroup.eContents().get(0); 986 //[viatra::PatternModel|QualifiedName]
987 private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); 987 public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; }
988 private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); 988
989 private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1); 989 //QualifiedName
990 private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); 990 public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; }
991 private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1); 991
992 private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0); 992 //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')?
993 private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1); 993 public Group getGroup_2() { return cGroup_2; }
994 994
995 //PatternElement: 995 //'excluding'
996 // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; 996 public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; }
997 @Override public ParserRule getRule() { return rule; } 997
998 998 //'{'
999 //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern] 999 public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; }
1000 public Group getGroup() { return cGroup; } 1000
1001 1001 //exclusuion+=PatternElement
1002 //(package=[viatra::PatternModel|QualifiedName] '::')? 1002 public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; }
1003 public Group getGroup_0() { return cGroup_0; } 1003
1004 1004 //PatternElement
1005 //package=[viatra::PatternModel|QualifiedName] 1005 public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; }
1006 public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } 1006
1007 1007 //(',' exclusuion+=PatternElement)*
1008 //[viatra::PatternModel|QualifiedName] 1008 public Group getGroup_2_3() { return cGroup_2_3; }
1009 public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; } 1009
1010 1010 //','
1011 //QualifiedName 1011 public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; }
1012 public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; } 1012
1013 1013 //exclusuion+=PatternElement
1014 //'::' 1014 public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; }
1015 public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } 1015
1016 1016 //PatternElement
1017 //pattern=[viatra::Pattern] 1017 public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; }
1018 public Assignment getPatternAssignment_1() { return cPatternAssignment_1; } 1018
1019 1019 //'}'
1020 //[viatra::Pattern] 1020 public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; }
1021 public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; } 1021 }
1022 1022 public class PatternElementElements extends AbstractParserRuleElementFinder {
1023 //ID 1023 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
1024 public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; } 1024 private final Group cGroup = (Group)rule.eContents().get(1);
1025 } 1025 private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
1026 public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder { 1026 private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
1027 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration"); 1027 private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0);
1028 private final Group cGroup = (Group)rule.eContents().get(1); 1028 private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1);
1029 private final Keyword cConstraintsKeyword_0 = (Keyword)cGroup.eContents().get(0); 1029 private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
1030 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 1030 private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1);
1031 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 1031 private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0);
1032 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); 1032 private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1);
1033 private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); 1033
1034 1034 //PatternElement:
1035 //GraphPatternDeclaration: 1035 // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern];
1036 // 'constraints' name=ID specification=PatternSpecification; 1036 @Override public ParserRule getRule() { return rule; }
1037 @Override public ParserRule getRule() { return rule; } 1037
1038 1038 //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]
1039 //'constraints' name=ID specification=PatternSpecification 1039 public Group getGroup() { return cGroup; }
1040 public Group getGroup() { return cGroup; } 1040
1041 1041 //(package=[viatra::PatternModel|QualifiedName] '::')?
1042 //'constraints' 1042 public Group getGroup_0() { return cGroup_0; }
1043 public Keyword getConstraintsKeyword_0() { return cConstraintsKeyword_0; } 1043
1044 1044 //package=[viatra::PatternModel|QualifiedName]
1045 //name=ID 1045 public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; }
1046 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 1046
1047 1047 //[viatra::PatternModel|QualifiedName]
1048 //ID 1048 public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; }
1049 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 1049
1050 1050 //QualifiedName
1051 //specification=PatternSpecification 1051 public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; }
1052 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } 1052
1053 1053 //'::'
1054 //PatternSpecification 1054 public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; }
1055 public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; } 1055
1056 } 1056 //pattern=[viatra::Pattern]
1057 public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder { 1057 public Assignment getPatternAssignment_1() { return cPatternAssignment_1; }
1058 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference"); 1058
1059 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); 1059 //[viatra::Pattern]
1060 private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); 1060 public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; }
1061 private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1); 1061
1062 1062 //ID
1063 //GraphPatternReference: 1063 public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; }
1064 // referred=[GraphPatternDeclaration]; 1064 }
1065 @Override public ParserRule getRule() { return rule; } 1065 public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder {
1066 1066 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration");
1067 //referred=[GraphPatternDeclaration] 1067 private final Group cGroup = (Group)rule.eContents().get(1);
1068 public Assignment getReferredAssignment() { return cReferredAssignment; } 1068 private final Keyword cConstraintsKeyword_0 = (Keyword)cGroup.eContents().get(0);
1069 1069 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
1070 //[GraphPatternDeclaration] 1070 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
1071 public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; } 1071 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
1072 1072 private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
1073 //ID 1073
1074 public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; } 1074 //GraphPatternDeclaration:
1075 } 1075 // 'constraints' name=ID specification=PatternSpecification;
1076 public class GraphPatternElements extends AbstractParserRuleElementFinder { 1076 @Override public ParserRule getRule() { return rule; }
1077 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); 1077
1078 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1078 //'constraints' name=ID specification=PatternSpecification
1079 private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1079 public Group getGroup() { return cGroup; }
1080 private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1080
1081 1081 //'constraints'
1082 //GraphPattern: 1082 public Keyword getConstraintsKeyword_0() { return cConstraintsKeyword_0; }
1083 // GraphPatternReference | PatternSpecification; 1083
1084 @Override public ParserRule getRule() { return rule; } 1084 //name=ID
1085 1085 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
1086 //GraphPatternReference | PatternSpecification 1086
1087 public Alternatives getAlternatives() { return cAlternatives; } 1087 //ID
1088 1088 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
1089 //GraphPatternReference 1089
1090 public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; } 1090 //specification=PatternSpecification
1091 1091 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
1092 //PatternSpecification 1092
1093 public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; } 1093 //PatternSpecification
1094 } 1094 public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; }
1095 public class ConfigSpecificationElements extends AbstractParserRuleElementFinder { 1095 }
1096 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); 1096 public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder {
1097 private final Group cGroup = (Group)rule.eContents().get(1); 1097 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference");
1098 private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0); 1098 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
1099 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 1099 private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
1100 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 1100 private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1);
1101 private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 1101
1102 private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0); 1102 //GraphPatternReference:
1103 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 1103 // referred=[GraphPatternDeclaration];
1104 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 1104 @Override public ParserRule getRule() { return rule; }
1105 private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 1105
1106 private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0); 1106 //referred=[GraphPatternDeclaration]
1107 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 1107 public Assignment getReferredAssignment() { return cReferredAssignment; }
1108 1108
1109 ///////////////////////////////////////////////////// 1109 //[GraphPatternDeclaration]
1110 //// SolverConfig 1110 public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; }
1111 ///////////////////////////////////////////////////// 1111
1112 //ConfigSpecification: 1112 //ID
1113 // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? 1113 public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; }
1114 // '}'; 1114 }
1115 @Override public ParserRule getRule() { return rule; } 1115 public class GraphPatternElements extends AbstractParserRuleElementFinder {
1116 1116 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
1117 //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}' 1117 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1118 public Group getGroup() { return cGroup; } 1118 private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1119 1119 private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1120 //{ConfigSpecification} 1120
1121 public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; } 1121 //GraphPattern:
1122 1122 // GraphPatternReference | PatternSpecification;
1123 //'{' 1123 @Override public ParserRule getRule() { return rule; }
1124 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 1124
1125 1125 //GraphPatternReference | PatternSpecification
1126 //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)? 1126 public Alternatives getAlternatives() { return cAlternatives; }
1127 public Group getGroup_2() { return cGroup_2; } 1127
1128 1128 //GraphPatternReference
1129 //entries+=ConfigEntry 1129 public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; }
1130 public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; } 1130
1131 1131 //PatternSpecification
1132 //ConfigEntry 1132 public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; }
1133 public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; } 1133 }
1134 1134 public class ObjectiveSpecificationElements extends AbstractParserRuleElementFinder {
1135 //("," entries+=ConfigEntry)* 1135 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveSpecification");
1136 public Group getGroup_2_1() { return cGroup_2_1; } 1136 private final Group cGroup = (Group)rule.eContents().get(1);
1137 1137 private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
1138 //"," 1138 private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1);
1139 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 1139 private final RuleCall cEntriesObjectiveEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0);
1140 1140 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
1141 //entries+=ConfigEntry 1141 private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
1142 public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; } 1142 private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
1143 1143 private final RuleCall cEntriesObjectiveEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0);
1144 //ConfigEntry 1144 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1145 public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; } 1145
1146 1146 /////////////////////////////////////////////////////
1147 //'}' 1147 //// Objectives
1148 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 1148 /////////////////////////////////////////////////////
1149 } 1149 //ObjectiveSpecification:
1150 public class ConfigDeclarationElements extends AbstractParserRuleElementFinder { 1150 // '{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}';
1151 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration"); 1151 @Override public ParserRule getRule() { return rule; }
1152 private final Group cGroup = (Group)rule.eContents().get(1); 1152
1153 private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0); 1153 //'{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}'
1154 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 1154 public Group getGroup() { return cGroup; }
1155 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 1155
1156 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); 1156 //'{'
1157 private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); 1157 public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
1158 1158
1159 //ConfigDeclaration: 1159 //entries+=ObjectiveEntry
1160 // 'config' name=ID specification=ConfigSpecification; 1160 public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; }
1161 @Override public ParserRule getRule() { return rule; } 1161
1162 1162 //ObjectiveEntry
1163 //'config' name=ID specification=ConfigSpecification 1163 public RuleCall getEntriesObjectiveEntryParserRuleCall_1_0() { return cEntriesObjectiveEntryParserRuleCall_1_0; }
1164 public Group getGroup() { return cGroup; } 1164
1165 1165 //(',' entries+=ObjectiveEntry)*
1166 //'config' 1166 public Group getGroup_2() { return cGroup_2; }
1167 public Keyword getConfigKeyword_0() { return cConfigKeyword_0; } 1167
1168 1168 //','
1169 //name=ID 1169 public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; }
1170 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 1170
1171 1171 //entries+=ObjectiveEntry
1172 //ID 1172 public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; }
1173 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 1173
1174 1174 //ObjectiveEntry
1175 //specification=ConfigSpecification 1175 public RuleCall getEntriesObjectiveEntryParserRuleCall_2_1_0() { return cEntriesObjectiveEntryParserRuleCall_2_1_0; }
1176 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } 1176
1177 1177 //'}'
1178 //ConfigSpecification 1178 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
1179 public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; } 1179 }
1180 } 1180 public class ObjectiveEntryElements extends AbstractParserRuleElementFinder {
1181 public class ConfigEntryElements extends AbstractParserRuleElementFinder { 1181 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveEntry");
1182 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); 1182 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1183 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1183 private final RuleCall cOptimizationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1184 private final RuleCall cDocumentationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1184 private final RuleCall cThresholdEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1185 private final RuleCall cRuntimeEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1185
1186 private final RuleCall cMemoryEntryParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); 1186 //ObjectiveEntry:
1187 private final RuleCall cCustomEntryParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); 1187 // OptimizationEntry | ThresholdEntry;
1188 1188 @Override public ParserRule getRule() { return rule; }
1189 //ConfigEntry: 1189
1190 // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; 1190 //OptimizationEntry | ThresholdEntry
1191 @Override public ParserRule getRule() { return rule; } 1191 public Alternatives getAlternatives() { return cAlternatives; }
1192 1192
1193 //DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry 1193 //OptimizationEntry
1194 public Alternatives getAlternatives() { return cAlternatives; } 1194 public RuleCall getOptimizationEntryParserRuleCall_0() { return cOptimizationEntryParserRuleCall_0; }
1195 1195
1196 //DocumentationEntry 1196 //ThresholdEntry
1197 public RuleCall getDocumentationEntryParserRuleCall_0() { return cDocumentationEntryParserRuleCall_0; } 1197 public RuleCall getThresholdEntryParserRuleCall_1() { return cThresholdEntryParserRuleCall_1; }
1198 1198 }
1199 //RuntimeEntry 1199 public class OptimizationEntryElements extends AbstractParserRuleElementFinder {
1200 public RuleCall getRuntimeEntryParserRuleCall_1() { return cRuntimeEntryParserRuleCall_1; } 1200 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationEntry");
1201 1201 private final Group cGroup = (Group)rule.eContents().get(1);
1202 //MemoryEntry 1202 private final Assignment cDirectionAssignment_0 = (Assignment)cGroup.eContents().get(0);
1203 public RuleCall getMemoryEntryParserRuleCall_2() { return cMemoryEntryParserRuleCall_2; } 1203 private final RuleCall cDirectionOptimizationDirectionEnumRuleCall_0_0 = (RuleCall)cDirectionAssignment_0.eContents().get(0);
1204 1204 private final Assignment cFunctionAssignment_1 = (Assignment)cGroup.eContents().get(1);
1205 //CustomEntry 1205 private final RuleCall cFunctionObjectiveFunctionParserRuleCall_1_0 = (RuleCall)cFunctionAssignment_1.eContents().get(0);
1206 public RuleCall getCustomEntryParserRuleCall_3() { return cCustomEntryParserRuleCall_3; } 1206
1207 } 1207 //OptimizationEntry:
1208 public class DocumentationEntryElements extends AbstractParserRuleElementFinder { 1208 // direction=OptimizationDirection function=ObjectiveFunction;
1209 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentationEntry"); 1209 @Override public ParserRule getRule() { return rule; }
1210 private final Group cGroup = (Group)rule.eContents().get(1); 1210
1211 private final Keyword cLogLevelKeyword_0 = (Keyword)cGroup.eContents().get(0); 1211 //direction=OptimizationDirection function=ObjectiveFunction
1212 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); 1212 public Group getGroup() { return cGroup; }
1213 private final Assignment cLevelAssignment_2 = (Assignment)cGroup.eContents().get(2); 1213
1214 private final RuleCall cLevelDocumentLevelSpecificationEnumRuleCall_2_0 = (RuleCall)cLevelAssignment_2.eContents().get(0); 1214 //direction=OptimizationDirection
1215 1215 public Assignment getDirectionAssignment_0() { return cDirectionAssignment_0; }
1216 //DocumentationEntry: 1216
1217 // "log-level" '=' level=DocumentLevelSpecification; 1217 //OptimizationDirection
1218 @Override public ParserRule getRule() { return rule; } 1218 public RuleCall getDirectionOptimizationDirectionEnumRuleCall_0_0() { return cDirectionOptimizationDirectionEnumRuleCall_0_0; }
1219 1219
1220 //"log-level" '=' level=DocumentLevelSpecification 1220 //function=ObjectiveFunction
1221 public Group getGroup() { return cGroup; } 1221 public Assignment getFunctionAssignment_1() { return cFunctionAssignment_1; }
1222 1222
1223 //"log-level" 1223 //ObjectiveFunction
1224 public Keyword getLogLevelKeyword_0() { return cLogLevelKeyword_0; } 1224 public RuleCall getFunctionObjectiveFunctionParserRuleCall_1_0() { return cFunctionObjectiveFunctionParserRuleCall_1_0; }
1225 1225 }
1226 //'=' 1226 public class ThresholdEntryElements extends AbstractParserRuleElementFinder {
1227 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } 1227 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ThresholdEntry");
1228 1228 private final Group cGroup = (Group)rule.eContents().get(1);
1229 //level=DocumentLevelSpecification 1229 private final Assignment cFunctionAssignment_0 = (Assignment)cGroup.eContents().get(0);
1230 public Assignment getLevelAssignment_2() { return cLevelAssignment_2; } 1230 private final RuleCall cFunctionObjectiveFunctionParserRuleCall_0_0 = (RuleCall)cFunctionAssignment_0.eContents().get(0);
1231 1231 private final Assignment cOperatorAssignment_1 = (Assignment)cGroup.eContents().get(1);
1232 //DocumentLevelSpecification 1232 private final RuleCall cOperatorComparisonOperatorEnumRuleCall_1_0 = (RuleCall)cOperatorAssignment_1.eContents().get(0);
1233 public RuleCall getLevelDocumentLevelSpecificationEnumRuleCall_2_0() { return cLevelDocumentLevelSpecificationEnumRuleCall_2_0; } 1233 private final Assignment cThresholdAssignment_2 = (Assignment)cGroup.eContents().get(2);
1234 } 1234 private final RuleCall cThresholdREALLiteralParserRuleCall_2_0 = (RuleCall)cThresholdAssignment_2.eContents().get(0);
1235 public class RuntimeEntryElements extends AbstractParserRuleElementFinder { 1235
1236 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RuntimeEntry"); 1236 //ThresholdEntry:
1237 private final Group cGroup = (Group)rule.eContents().get(1); 1237 // function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral;
1238 private final Keyword cRuntimeKeyword_0 = (Keyword)cGroup.eContents().get(0); 1238 @Override public ParserRule getRule() { return rule; }
1239 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); 1239
1240 private final Assignment cMillisecLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); 1240 //function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral
1241 private final RuleCall cMillisecLimitINTTerminalRuleCall_2_0 = (RuleCall)cMillisecLimitAssignment_2.eContents().get(0); 1241 public Group getGroup() { return cGroup; }
1242 1242
1243 //RuntimeEntry: 1243 //function=ObjectiveFunction
1244 // "runtime" "=" millisecLimit=INT; 1244 public Assignment getFunctionAssignment_0() { return cFunctionAssignment_0; }
1245 @Override public ParserRule getRule() { return rule; } 1245
1246 1246 //ObjectiveFunction
1247 //"runtime" "=" millisecLimit=INT 1247 public RuleCall getFunctionObjectiveFunctionParserRuleCall_0_0() { return cFunctionObjectiveFunctionParserRuleCall_0_0; }
1248 public Group getGroup() { return cGroup; } 1248
1249 1249 //operator=ComparisonOperator
1250 //"runtime" 1250 public Assignment getOperatorAssignment_1() { return cOperatorAssignment_1; }
1251 public Keyword getRuntimeKeyword_0() { return cRuntimeKeyword_0; } 1251
1252 1252 //ComparisonOperator
1253 //"=" 1253 public RuleCall getOperatorComparisonOperatorEnumRuleCall_1_0() { return cOperatorComparisonOperatorEnumRuleCall_1_0; }
1254 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } 1254
1255 1255 //threshold=REALLiteral
1256 //millisecLimit=INT 1256 public Assignment getThresholdAssignment_2() { return cThresholdAssignment_2; }
1257 public Assignment getMillisecLimitAssignment_2() { return cMillisecLimitAssignment_2; } 1257
1258 1258 //REALLiteral
1259 //INT 1259 public RuleCall getThresholdREALLiteralParserRuleCall_2_0() { return cThresholdREALLiteralParserRuleCall_2_0; }
1260 public RuleCall getMillisecLimitINTTerminalRuleCall_2_0() { return cMillisecLimitINTTerminalRuleCall_2_0; } 1260 }
1261 } 1261 public class ObjectiveFunctionElements extends AbstractParserRuleElementFinder {
1262 public class MemoryEntryElements extends AbstractParserRuleElementFinder { 1262 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveFunction");
1263 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MemoryEntry"); 1263 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1264 private final Group cGroup = (Group)rule.eContents().get(1); 1264 private final RuleCall cCostObjectiveFunctionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1265 private final Keyword cMemoryKeyword_0 = (Keyword)cGroup.eContents().get(0); 1265 private final RuleCall cReliabilityObjectiveFunctionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1266 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); 1266
1267 private final Assignment cMegabyteLimitAssignment_2 = (Assignment)cGroup.eContents().get(2); 1267 //ObjectiveFunction:
1268 private final RuleCall cMegabyteLimitINTTerminalRuleCall_2_0 = (RuleCall)cMegabyteLimitAssignment_2.eContents().get(0); 1268 // CostObjectiveFunction | ReliabilityObjectiveFunction;
1269 1269 @Override public ParserRule getRule() { return rule; }
1270 //MemoryEntry: 1270
1271 // "memory" "=" megabyteLimit=INT; 1271 //CostObjectiveFunction | ReliabilityObjectiveFunction
1272 @Override public ParserRule getRule() { return rule; } 1272 public Alternatives getAlternatives() { return cAlternatives; }
1273 1273
1274 //"memory" "=" megabyteLimit=INT 1274 //CostObjectiveFunction
1275 public Group getGroup() { return cGroup; } 1275 public RuleCall getCostObjectiveFunctionParserRuleCall_0() { return cCostObjectiveFunctionParserRuleCall_0; }
1276 1276
1277 //"memory" 1277 //ReliabilityObjectiveFunction
1278 public Keyword getMemoryKeyword_0() { return cMemoryKeyword_0; } 1278 public RuleCall getReliabilityObjectiveFunctionParserRuleCall_1() { return cReliabilityObjectiveFunctionParserRuleCall_1; }
1279 1279 }
1280 //"=" 1280 public class CostObjectiveFunctionElements extends AbstractParserRuleElementFinder {
1281 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } 1281 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostObjectiveFunction");
1282 1282 private final Group cGroup = (Group)rule.eContents().get(1);
1283 //megabyteLimit=INT 1283 private final Keyword cCostKeyword_0 = (Keyword)cGroup.eContents().get(0);
1284 public Assignment getMegabyteLimitAssignment_2() { return cMegabyteLimitAssignment_2; } 1284 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
1285 1285 private final Assignment cEntriesAssignment_2 = (Assignment)cGroup.eContents().get(2);
1286 //INT 1286 private final RuleCall cEntriesCostEntryParserRuleCall_2_0 = (RuleCall)cEntriesAssignment_2.eContents().get(0);
1287 public RuleCall getMegabyteLimitINTTerminalRuleCall_2_0() { return cMegabyteLimitINTTerminalRuleCall_2_0; } 1287 private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
1288 } 1288 private final Keyword cCommaKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
1289 public class CustomEntryElements extends AbstractParserRuleElementFinder { 1289 private final Assignment cEntriesAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
1290 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CustomEntry"); 1290 private final RuleCall cEntriesCostEntryParserRuleCall_3_1_0 = (RuleCall)cEntriesAssignment_3_1.eContents().get(0);
1291 private final Group cGroup = (Group)rule.eContents().get(1); 1291 private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
1292 private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); 1292
1293 private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); 1293 //CostObjectiveFunction:
1294 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); 1294 // 'cost' '{' entries+=CostEntry (',' entries+=CostEntry)* '}';
1295 private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); 1295 @Override public ParserRule getRule() { return rule; }
1296 private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); 1296
1297 1297 //'cost' '{' entries+=CostEntry (',' entries+=CostEntry)* '}'
1298 //CustomEntry: 1298 public Group getGroup() { return cGroup; }
1299 // key=STRING "=" value=STRING; 1299
1300 @Override public ParserRule getRule() { return rule; } 1300 //'cost'
1301 1301 public Keyword getCostKeyword_0() { return cCostKeyword_0; }
1302 //key=STRING "=" value=STRING 1302
1303 public Group getGroup() { return cGroup; } 1303 //'{'
1304 1304 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
1305 //key=STRING 1305
1306 public Assignment getKeyAssignment_0() { return cKeyAssignment_0; } 1306 //entries+=CostEntry
1307 1307 public Assignment getEntriesAssignment_2() { return cEntriesAssignment_2; }
1308 //STRING 1308
1309 public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; } 1309 //CostEntry
1310 1310 public RuleCall getEntriesCostEntryParserRuleCall_2_0() { return cEntriesCostEntryParserRuleCall_2_0; }
1311 //"=" 1311
1312 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } 1312 //(',' entries+=CostEntry)*
1313 1313 public Group getGroup_3() { return cGroup_3; }
1314 //value=STRING 1314
1315 public Assignment getValueAssignment_2() { return cValueAssignment_2; } 1315 //','
1316 1316 public Keyword getCommaKeyword_3_0() { return cCommaKeyword_3_0; }
1317 //STRING 1317
1318 public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } 1318 //entries+=CostEntry
1319 } 1319 public Assignment getEntriesAssignment_3_1() { return cEntriesAssignment_3_1; }
1320 public class ConfigReferenceElements extends AbstractParserRuleElementFinder { 1320
1321 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference"); 1321 //CostEntry
1322 private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1); 1322 public RuleCall getEntriesCostEntryParserRuleCall_3_1_0() { return cEntriesCostEntryParserRuleCall_3_1_0; }
1323 private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0); 1323
1324 private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1); 1324 //'}'
1325 1325 public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
1326 //ConfigReference: 1326 }
1327 // config=[ConfigDeclaration]; 1327 public class CostEntryElements extends AbstractParserRuleElementFinder {
1328 @Override public ParserRule getRule() { return rule; } 1328 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CostEntry");
1329 1329 private final Group cGroup = (Group)rule.eContents().get(1);
1330 //config=[ConfigDeclaration] 1330 private final Assignment cPatternElementAssignment_0 = (Assignment)cGroup.eContents().get(0);
1331 public Assignment getConfigAssignment() { return cConfigAssignment; } 1331 private final RuleCall cPatternElementPatternElementParserRuleCall_0_0 = (RuleCall)cPatternElementAssignment_0.eContents().get(0);
1332 1332 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
1333 //[ConfigDeclaration] 1333 private final Assignment cWeightAssignment_2 = (Assignment)cGroup.eContents().get(2);
1334 public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; } 1334 private final RuleCall cWeightINTLiteralParserRuleCall_2_0 = (RuleCall)cWeightAssignment_2.eContents().get(0);
1335 1335
1336 //ID 1336 //CostEntry:
1337 public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; } 1337 // patternElement=PatternElement '=' weight=INTLiteral;
1338 } 1338 @Override public ParserRule getRule() { return rule; }
1339 public class ConfigElements extends AbstractParserRuleElementFinder { 1339
1340 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); 1340 //patternElement=PatternElement '=' weight=INTLiteral
1341 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1341 public Group getGroup() { return cGroup; }
1342 private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1342
1343 private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1343 //patternElement=PatternElement
1344 1344 public Assignment getPatternElementAssignment_0() { return cPatternElementAssignment_0; }
1345 //Config: 1345
1346 // ConfigSpecification | ConfigReference; 1346 //PatternElement
1347 @Override public ParserRule getRule() { return rule; } 1347 public RuleCall getPatternElementPatternElementParserRuleCall_0_0() { return cPatternElementPatternElementParserRuleCall_0_0; }
1348 1348
1349 //ConfigSpecification | ConfigReference 1349 //'='
1350 public Alternatives getAlternatives() { return cAlternatives; } 1350 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
1351 1351
1352 //ConfigSpecification 1352 //weight=INTLiteral
1353 public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; } 1353 public Assignment getWeightAssignment_2() { return cWeightAssignment_2; }
1354 1354
1355 //ConfigReference 1355 //INTLiteral
1356 public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; } 1356 public RuleCall getWeightINTLiteralParserRuleCall_2_0() { return cWeightINTLiteralParserRuleCall_2_0; }
1357 } 1357 }
1358 public class ScopeSpecificationElements extends AbstractParserRuleElementFinder { 1358 public class ReliabilityObjectiveFunctionElements extends AbstractParserRuleElementFinder {
1359 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); 1359 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabilityObjectiveFunction");
1360 private final Group cGroup = (Group)rule.eContents().get(1); 1360 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1361 private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0); 1361 private final RuleCall cReliabiltiyProbabilityParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1362 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 1362 private final RuleCall cMtffParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1363 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 1363
1364 private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 1364 //ReliabilityObjectiveFunction:
1365 private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0); 1365 // ReliabiltiyProbability | Mtff;
1366 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 1366 @Override public ParserRule getRule() { return rule; }
1367 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 1367
1368 private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 1368 //ReliabiltiyProbability | Mtff
1369 private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0); 1369 public Alternatives getAlternatives() { return cAlternatives; }
1370 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 1370
1371 1371 //ReliabiltiyProbability
1372 //ScopeSpecification: 1372 public RuleCall getReliabiltiyProbabilityParserRuleCall_0() { return cReliabiltiyProbabilityParserRuleCall_0; }
1373 // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? 1373
1374 // '}'; 1374 //Mtff
1375 @Override public ParserRule getRule() { return rule; } 1375 public RuleCall getMtffParserRuleCall_1() { return cMtffParserRuleCall_1; }
1376 1376 }
1377 //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}' 1377 public class ReliabiltiyProbabilityElements extends AbstractParserRuleElementFinder {
1378 public Group getGroup() { return cGroup; } 1378 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ReliabiltiyProbability");
1379 1379 private final Group cGroup = (Group)rule.eContents().get(1);
1380 //{ScopeSpecification} 1380 private final Keyword cReliabilityKeyword_0 = (Keyword)cGroup.eContents().get(0);
1381 public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; } 1381 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1382 1382 private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
1383 //'{' 1383 private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0);
1384 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 1384 private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1);
1385 1385 private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1386 //(scopes+=TypeScope (',' scopes+=TypeScope)*)? 1386 private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2);
1387 public Group getGroup_2() { return cGroup_2; } 1387 private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0);
1388 1388 private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1);
1389 //scopes+=TypeScope 1389 private final Keyword cAtKeyword_3 = (Keyword)cGroup.eContents().get(3);
1390 public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; } 1390 private final Assignment cTimeAssignment_4 = (Assignment)cGroup.eContents().get(4);
1391 1391 private final RuleCall cTimeREALLiteralParserRuleCall_4_0 = (RuleCall)cTimeAssignment_4.eContents().get(0);
1392 //TypeScope 1392
1393 public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; } 1393 //ReliabiltiyProbability:
1394 1394 // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')?
1395 //(',' scopes+=TypeScope)* 1395 // transformation=[cftLanguage::TransformationDefinition]
1396 public Group getGroup_2_1() { return cGroup_2_1; } 1396 // 'at' time=REALLiteral;
1397 1397 @Override public ParserRule getRule() { return rule; }
1398 //',' 1398
1399 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 1399 //'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')?
1400 1400 //transformation=[cftLanguage::TransformationDefinition] 'at' time=REALLiteral
1401 //scopes+=TypeScope 1401 public Group getGroup() { return cGroup; }
1402 public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; } 1402
1403 1403 //'reliability'
1404 //TypeScope 1404 public Keyword getReliabilityKeyword_0() { return cReliabilityKeyword_0; }
1405 public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; } 1405
1406 1406 //(package=[cftLanguage::CftModel|QualifiedName] '::')?
1407 //'}' 1407 public Group getGroup_1() { return cGroup_1; }
1408 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 1408
1409 } 1409 //package=[cftLanguage::CftModel|QualifiedName]
1410 public class TypeScopeElements extends AbstractParserRuleElementFinder { 1410 public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; }
1411 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); 1411
1412 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1412 //[cftLanguage::CftModel|QualifiedName]
1413 private final RuleCall cClassTypeScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1413 public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; }
1414 private final RuleCall cObjectTypeScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1414
1415 private final RuleCall cIntegerTypeScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); 1415 //QualifiedName
1416 private final RuleCall cRealTypeScopeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); 1416 public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; }
1417 private final RuleCall cStringTypeScopeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); 1417
1418 1418 //'::'
1419 //TypeScope: 1419 public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; }
1420 // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; 1420
1421 @Override public ParserRule getRule() { return rule; } 1421 //transformation=[cftLanguage::TransformationDefinition]
1422 1422 public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; }
1423 //ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope 1423
1424 public Alternatives getAlternatives() { return cAlternatives; } 1424 //[cftLanguage::TransformationDefinition]
1425 1425 public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; }
1426 //ClassTypeScope 1426
1427 public RuleCall getClassTypeScopeParserRuleCall_0() { return cClassTypeScopeParserRuleCall_0; } 1427 //ID
1428 1428 public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; }
1429 //ObjectTypeScope 1429
1430 public RuleCall getObjectTypeScopeParserRuleCall_1() { return cObjectTypeScopeParserRuleCall_1; } 1430 //'at'
1431 1431 public Keyword getAtKeyword_3() { return cAtKeyword_3; }
1432 //IntegerTypeScope 1432
1433 public RuleCall getIntegerTypeScopeParserRuleCall_2() { return cIntegerTypeScopeParserRuleCall_2; } 1433 //time=REALLiteral
1434 1434 public Assignment getTimeAssignment_4() { return cTimeAssignment_4; }
1435 //RealTypeScope 1435
1436 public RuleCall getRealTypeScopeParserRuleCall_3() { return cRealTypeScopeParserRuleCall_3; } 1436 //REALLiteral
1437 1437 public RuleCall getTimeREALLiteralParserRuleCall_4_0() { return cTimeREALLiteralParserRuleCall_4_0; }
1438 //StringTypeScope 1438 }
1439 public RuleCall getStringTypeScopeParserRuleCall_4() { return cStringTypeScopeParserRuleCall_4; } 1439 public class MtffElements extends AbstractParserRuleElementFinder {
1440 } 1440 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Mtff");
1441 public class ClassTypeScopeElements extends AbstractParserRuleElementFinder { 1441 private final Group cGroup = (Group)rule.eContents().get(1);
1442 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassTypeScope"); 1442 private final Keyword cMtffKeyword_0 = (Keyword)cGroup.eContents().get(0);
1443 private final Group cGroup = (Group)rule.eContents().get(1); 1443 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
1444 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1444 private final Assignment cPackageAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
1445 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); 1445 private final CrossReference cPackageCftModelCrossReference_1_0_0 = (CrossReference)cPackageAssignment_1_0.eContents().get(0);
1446 private final RuleCall cTypeClassReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); 1446 private final RuleCall cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1 = (RuleCall)cPackageCftModelCrossReference_1_0_0.eContents().get(1);
1447 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1447 private final Keyword cColonColonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
1448 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1448 private final Assignment cTransformationAssignment_2 = (Assignment)cGroup.eContents().get(2);
1449 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); 1449 private final CrossReference cTransformationTransformationDefinitionCrossReference_2_0 = (CrossReference)cTransformationAssignment_2.eContents().get(0);
1450 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1450 private final RuleCall cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1 = (RuleCall)cTransformationTransformationDefinitionCrossReference_2_0.eContents().get(1);
1451 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); 1451
1452 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 1452 //Mtff:
1453 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 1453 // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition];
1454 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); 1454 @Override public ParserRule getRule() { return rule; }
1455 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 1455
1456 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); 1456 //'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition]
1457 1457 public Group getGroup() { return cGroup; }
1458 //ClassTypeScope: 1458
1459 // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); 1459 //'mtff'
1460 @Override public ParserRule getRule() { return rule; } 1460 public Keyword getMtffKeyword_0() { return cMtffKeyword_0; }
1461 1461
1462 //'#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) 1462 //(package=[cftLanguage::CftModel|QualifiedName] '::')?
1463 public Group getGroup() { return cGroup; } 1463 public Group getGroup_1() { return cGroup_1; }
1464 1464
1465 //'#' 1465 //package=[cftLanguage::CftModel|QualifiedName]
1466 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 1466 public Assignment getPackageAssignment_1_0() { return cPackageAssignment_1_0; }
1467 1467
1468 //type=ClassReference 1468 //[cftLanguage::CftModel|QualifiedName]
1469 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } 1469 public CrossReference getPackageCftModelCrossReference_1_0_0() { return cPackageCftModelCrossReference_1_0_0; }
1470 1470
1471 //ClassReference 1471 //QualifiedName
1472 public RuleCall getTypeClassReferenceParserRuleCall_1_0() { return cTypeClassReferenceParserRuleCall_1_0; } 1472 public RuleCall getPackageCftModelQualifiedNameParserRuleCall_1_0_0_1() { return cPackageCftModelQualifiedNameParserRuleCall_1_0_0_1; }
1473 1473
1474 //setsNew?='+=' | setsSum?='=' 1474 //'::'
1475 public Alternatives getAlternatives_2() { return cAlternatives_2; } 1475 public Keyword getColonColonKeyword_1_1() { return cColonColonKeyword_1_1; }
1476 1476
1477 //setsNew?='+=' 1477 //transformation=[cftLanguage::TransformationDefinition]
1478 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } 1478 public Assignment getTransformationAssignment_2() { return cTransformationAssignment_2; }
1479 1479
1480 //'+=' 1480 //[cftLanguage::TransformationDefinition]
1481 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } 1481 public CrossReference getTransformationTransformationDefinitionCrossReference_2_0() { return cTransformationTransformationDefinitionCrossReference_2_0; }
1482 1482
1483 //setsSum?='=' 1483 //ID
1484 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } 1484 public RuleCall getTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1() { return cTransformationTransformationDefinitionIDTerminalRuleCall_2_0_1; }
1485 1485 }
1486 //'=' 1486 public class ObjectiveDeclarationElements extends AbstractParserRuleElementFinder {
1487 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } 1487 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveDeclaration");
1488 1488 private final Group cGroup = (Group)rule.eContents().get(1);
1489 //number=ExactNumber | number=IntervallNumber 1489 private final Keyword cObjectivesKeyword_0 = (Keyword)cGroup.eContents().get(0);
1490 public Alternatives getAlternatives_3() { return cAlternatives_3; } 1490 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
1491 1491 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
1492 //number=ExactNumber 1492 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
1493 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } 1493 private final RuleCall cSpecificationObjectiveSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
1494 1494
1495 //ExactNumber 1495 //ObjectiveDeclaration:
1496 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } 1496 // 'objectives' name=ID specification=ObjectiveSpecification;
1497 1497 @Override public ParserRule getRule() { return rule; }
1498 //number=IntervallNumber 1498
1499 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } 1499 //'objectives' name=ID specification=ObjectiveSpecification
1500 1500 public Group getGroup() { return cGroup; }
1501 //IntervallNumber 1501
1502 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } 1502 //'objectives'
1503 } 1503 public Keyword getObjectivesKeyword_0() { return cObjectivesKeyword_0; }
1504 public class ObjectTypeScopeElements extends AbstractParserRuleElementFinder { 1504
1505 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectTypeScope"); 1505 //name=ID
1506 private final Group cGroup = (Group)rule.eContents().get(1); 1506 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
1507 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1507
1508 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); 1508 //ID
1509 private final RuleCall cTypeObjectReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); 1509 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
1510 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1510
1511 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1511 //specification=ObjectiveSpecification
1512 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); 1512 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
1513 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1513
1514 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); 1514 //ObjectiveSpecification
1515 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 1515 public RuleCall getSpecificationObjectiveSpecificationParserRuleCall_2_0() { return cSpecificationObjectiveSpecificationParserRuleCall_2_0; }
1516 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 1516 }
1517 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); 1517 public class ObjectiveReferenceElements extends AbstractParserRuleElementFinder {
1518 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 1518 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectiveReference");
1519 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); 1519 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
1520 1520 private final CrossReference cReferredObjectiveDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
1521 //ObjectTypeScope: 1521 private final RuleCall cReferredObjectiveDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredObjectiveDeclarationCrossReference_0.eContents().get(1);
1522 // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); 1522
1523 @Override public ParserRule getRule() { return rule; } 1523 //ObjectiveReference:
1524 1524 // referred=[ObjectiveDeclaration];
1525 //'#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber) 1525 @Override public ParserRule getRule() { return rule; }
1526 public Group getGroup() { return cGroup; } 1526
1527 1527 //referred=[ObjectiveDeclaration]
1528 //'#' 1528 public Assignment getReferredAssignment() { return cReferredAssignment; }
1529 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 1529
1530 1530 //[ObjectiveDeclaration]
1531 //type=ObjectReference 1531 public CrossReference getReferredObjectiveDeclarationCrossReference_0() { return cReferredObjectiveDeclarationCrossReference_0; }
1532 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } 1532
1533 1533 //ID
1534 //ObjectReference 1534 public RuleCall getReferredObjectiveDeclarationIDTerminalRuleCall_0_1() { return cReferredObjectiveDeclarationIDTerminalRuleCall_0_1; }
1535 public RuleCall getTypeObjectReferenceParserRuleCall_1_0() { return cTypeObjectReferenceParserRuleCall_1_0; } 1535 }
1536 1536 public class ObjectiveElements extends AbstractParserRuleElementFinder {
1537 //setsNew?='+=' | setsSum?='=' 1537 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Objective");
1538 public Alternatives getAlternatives_2() { return cAlternatives_2; } 1538 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1539 1539 private final RuleCall cObjectiveReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1540 //setsNew?='+=' 1540 private final RuleCall cObjectiveSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1541 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } 1541
1542 1542 //Objective:
1543 //'+=' 1543 // ObjectiveReference | ObjectiveSpecification;
1544 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } 1544 @Override public ParserRule getRule() { return rule; }
1545 1545
1546 //setsSum?='=' 1546 //ObjectiveReference | ObjectiveSpecification
1547 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } 1547 public Alternatives getAlternatives() { return cAlternatives; }
1548 1548
1549 //'=' 1549 //ObjectiveReference
1550 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } 1550 public RuleCall getObjectiveReferenceParserRuleCall_0() { return cObjectiveReferenceParserRuleCall_0; }
1551 1551
1552 //number=ExactNumber | number=IntervallNumber 1552 //ObjectiveSpecification
1553 public Alternatives getAlternatives_3() { return cAlternatives_3; } 1553 public RuleCall getObjectiveSpecificationParserRuleCall_1() { return cObjectiveSpecificationParserRuleCall_1; }
1554 1554 }
1555 //number=ExactNumber 1555 public class ConfigSpecificationElements extends AbstractParserRuleElementFinder {
1556 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } 1556 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
1557 1557 private final Group cGroup = (Group)rule.eContents().get(1);
1558 //ExactNumber 1558 private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0);
1559 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } 1559 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
1560 1560 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
1561 //number=IntervallNumber 1561 private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
1562 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } 1562 private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0);
1563 1563 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
1564 //IntervallNumber 1564 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
1565 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } 1565 private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
1566 } 1566 private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0);
1567 public class IntegerTypeScopeElements extends AbstractParserRuleElementFinder { 1567 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1568 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerTypeScope"); 1568
1569 private final Group cGroup = (Group)rule.eContents().get(1); 1569 /////////////////////////////////////////////////////
1570 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1570 //// SolverConfig
1571 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); 1571 /////////////////////////////////////////////////////
1572 private final RuleCall cTypeIntegerReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); 1572 //ConfigSpecification:
1573 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1573 // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)?
1574 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1574 // '}';
1575 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); 1575 @Override public ParserRule getRule() { return rule; }
1576 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1576
1577 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); 1577 //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}'
1578 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 1578 public Group getGroup() { return cGroup; }
1579 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 1579
1580 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); 1580 //{ConfigSpecification}
1581 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 1581 public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; }
1582 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); 1582
1583 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); 1583 //'{'
1584 private final RuleCall cNumberIntEnumberationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); 1584 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
1585 1585
1586 //IntegerTypeScope: 1586 //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)?
1587 // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1587 public Group getGroup_2() { return cGroup_2; }
1588 // number=IntEnumberation); 1588
1589 @Override public ParserRule getRule() { return rule; } 1589 //entries+=ConfigEntry
1590 1590 public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; }
1591 //'#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1591
1592 //number=IntEnumberation) 1592 //ConfigEntry
1593 public Group getGroup() { return cGroup; } 1593 public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; }
1594 1594
1595 //'#' 1595 //("," entries+=ConfigEntry)*
1596 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 1596 public Group getGroup_2_1() { return cGroup_2_1; }
1597 1597
1598 //type=IntegerReference 1598 //","
1599 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } 1599 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
1600 1600
1601 //IntegerReference 1601 //entries+=ConfigEntry
1602 public RuleCall getTypeIntegerReferenceParserRuleCall_1_0() { return cTypeIntegerReferenceParserRuleCall_1_0; } 1602 public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; }
1603 1603
1604 //setsNew?='+=' | setsSum?='=' 1604 //ConfigEntry
1605 public Alternatives getAlternatives_2() { return cAlternatives_2; } 1605 public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; }
1606 1606
1607 //setsNew?='+=' 1607 //'}'
1608 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } 1608 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
1609 1609 }
1610 //'+=' 1610 public class ConfigDeclarationElements extends AbstractParserRuleElementFinder {
1611 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } 1611 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration");
1612 1612 private final Group cGroup = (Group)rule.eContents().get(1);
1613 //setsSum?='=' 1613 private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
1614 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } 1614 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
1615 1615 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
1616 //'=' 1616 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
1617 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } 1617 private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
1618 1618
1619 //number=ExactNumber | number=IntervallNumber | number=IntEnumberation 1619 //ConfigDeclaration:
1620 public Alternatives getAlternatives_3() { return cAlternatives_3; } 1620 // 'config' name=ID specification=ConfigSpecification;
1621 1621 @Override public ParserRule getRule() { return rule; }
1622 //number=ExactNumber 1622
1623 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } 1623 //'config' name=ID specification=ConfigSpecification
1624 1624 public Group getGroup() { return cGroup; }
1625 //ExactNumber 1625
1626 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } 1626 //'config'
1627 1627 public Keyword getConfigKeyword_0() { return cConfigKeyword_0; }
1628 //number=IntervallNumber 1628
1629 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } 1629 //name=ID
1630 1630 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
1631 //IntervallNumber 1631
1632 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } 1632 //ID
1633 1633 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
1634 //number=IntEnumberation 1634
1635 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } 1635 //specification=ConfigSpecification
1636 1636 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
1637 //IntEnumberation 1637
1638 public RuleCall getNumberIntEnumberationParserRuleCall_3_2_0() { return cNumberIntEnumberationParserRuleCall_3_2_0; } 1638 //ConfigSpecification
1639 } 1639 public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; }
1640 public class RealTypeScopeElements extends AbstractParserRuleElementFinder { 1640 }
1641 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealTypeScope"); 1641 public class ConfigEntryElements extends AbstractParserRuleElementFinder {
1642 private final Group cGroup = (Group)rule.eContents().get(1); 1642 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
1643 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1643 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1644 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); 1644 private final RuleCall cDocumentationEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1645 private final RuleCall cTypeRealReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); 1645 private final RuleCall cRuntimeEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1646 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1646 private final RuleCall cMemoryEntryParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
1647 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1647 private final RuleCall cCustomEntryParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
1648 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); 1648
1649 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1649 //ConfigEntry:
1650 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); 1650 // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry;
1651 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 1651 @Override public ParserRule getRule() { return rule; }
1652 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 1652
1653 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); 1653 //DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry
1654 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 1654 public Alternatives getAlternatives() { return cAlternatives; }
1655 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); 1655
1656 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); 1656 //DocumentationEntry
1657 private final RuleCall cNumberRealEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); 1657 public RuleCall getDocumentationEntryParserRuleCall_0() { return cDocumentationEntryParserRuleCall_0; }
1658 1658
1659 //RealTypeScope: 1659 //RuntimeEntry
1660 // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1660 public RuleCall getRuntimeEntryParserRuleCall_1() { return cRuntimeEntryParserRuleCall_1; }
1661 // number=RealEnumeration); 1661
1662 @Override public ParserRule getRule() { return rule; } 1662 //MemoryEntry
1663 1663 public RuleCall getMemoryEntryParserRuleCall_2() { return cMemoryEntryParserRuleCall_2; }
1664 //'#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1664
1665 //number=RealEnumeration) 1665 //CustomEntry
1666 public Group getGroup() { return cGroup; } 1666 public RuleCall getCustomEntryParserRuleCall_3() { return cCustomEntryParserRuleCall_3; }
1667 1667 }
1668 //'#' 1668 public class DocumentationEntryElements extends AbstractParserRuleElementFinder {
1669 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 1669 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentationEntry");
1670 1670 private final Group cGroup = (Group)rule.eContents().get(1);
1671 //type=RealReference 1671 private final Keyword cLogLevelKeyword_0 = (Keyword)cGroup.eContents().get(0);
1672 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } 1672 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
1673 1673 private final Assignment cLevelAssignment_2 = (Assignment)cGroup.eContents().get(2);
1674 //RealReference 1674 private final RuleCall cLevelDocumentLevelSpecificationEnumRuleCall_2_0 = (RuleCall)cLevelAssignment_2.eContents().get(0);
1675 public RuleCall getTypeRealReferenceParserRuleCall_1_0() { return cTypeRealReferenceParserRuleCall_1_0; } 1675
1676 1676 //DocumentationEntry:
1677 //setsNew?='+=' | setsSum?='=' 1677 // "log-level" '=' level=DocumentLevelSpecification;
1678 public Alternatives getAlternatives_2() { return cAlternatives_2; } 1678 @Override public ParserRule getRule() { return rule; }
1679 1679
1680 //setsNew?='+=' 1680 //"log-level" '=' level=DocumentLevelSpecification
1681 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } 1681 public Group getGroup() { return cGroup; }
1682 1682
1683 //'+=' 1683 //"log-level"
1684 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } 1684 public Keyword getLogLevelKeyword_0() { return cLogLevelKeyword_0; }
1685 1685
1686 //setsSum?='=' 1686 //'='
1687 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } 1687 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
1688 1688
1689 //'=' 1689 //level=DocumentLevelSpecification
1690 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } 1690 public Assignment getLevelAssignment_2() { return cLevelAssignment_2; }
1691 1691
1692 //number=ExactNumber | number=IntervallNumber | number=RealEnumeration 1692 //DocumentLevelSpecification
1693 public Alternatives getAlternatives_3() { return cAlternatives_3; } 1693 public RuleCall getLevelDocumentLevelSpecificationEnumRuleCall_2_0() { return cLevelDocumentLevelSpecificationEnumRuleCall_2_0; }
1694 1694 }
1695 //number=ExactNumber 1695 public class RuntimeEntryElements extends AbstractParserRuleElementFinder {
1696 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } 1696 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RuntimeEntry");
1697 1697 private final Group cGroup = (Group)rule.eContents().get(1);
1698 //ExactNumber 1698 private final Keyword cRuntimeKeyword_0 = (Keyword)cGroup.eContents().get(0);
1699 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } 1699 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
1700 1700 private final Assignment cMillisecLimitAssignment_2 = (Assignment)cGroup.eContents().get(2);
1701 //number=IntervallNumber 1701 private final RuleCall cMillisecLimitINTTerminalRuleCall_2_0 = (RuleCall)cMillisecLimitAssignment_2.eContents().get(0);
1702 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } 1702
1703 1703 //RuntimeEntry:
1704 //IntervallNumber 1704 // "runtime" "=" millisecLimit=INT;
1705 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } 1705 @Override public ParserRule getRule() { return rule; }
1706 1706
1707 //number=RealEnumeration 1707 //"runtime" "=" millisecLimit=INT
1708 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } 1708 public Group getGroup() { return cGroup; }
1709 1709
1710 //RealEnumeration 1710 //"runtime"
1711 public RuleCall getNumberRealEnumerationParserRuleCall_3_2_0() { return cNumberRealEnumerationParserRuleCall_3_2_0; } 1711 public Keyword getRuntimeKeyword_0() { return cRuntimeKeyword_0; }
1712 } 1712
1713 public class StringTypeScopeElements extends AbstractParserRuleElementFinder { 1713 //"="
1714 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringTypeScope"); 1714 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
1715 private final Group cGroup = (Group)rule.eContents().get(1); 1715
1716 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1716 //millisecLimit=INT
1717 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); 1717 public Assignment getMillisecLimitAssignment_2() { return cMillisecLimitAssignment_2; }
1718 private final RuleCall cTypeStringReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); 1718
1719 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1719 //INT
1720 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1720 public RuleCall getMillisecLimitINTTerminalRuleCall_2_0() { return cMillisecLimitINTTerminalRuleCall_2_0; }
1721 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); 1721 }
1722 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1722 public class MemoryEntryElements extends AbstractParserRuleElementFinder {
1723 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); 1723 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MemoryEntry");
1724 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); 1724 private final Group cGroup = (Group)rule.eContents().get(1);
1725 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0); 1725 private final Keyword cMemoryKeyword_0 = (Keyword)cGroup.eContents().get(0);
1726 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0); 1726 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
1727 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1); 1727 private final Assignment cMegabyteLimitAssignment_2 = (Assignment)cGroup.eContents().get(2);
1728 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0); 1728 private final RuleCall cMegabyteLimitINTTerminalRuleCall_2_0 = (RuleCall)cMegabyteLimitAssignment_2.eContents().get(0);
1729 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2); 1729
1730 private final RuleCall cNumberStringEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0); 1730 //MemoryEntry:
1731 1731 // "memory" "=" megabyteLimit=INT;
1732 //StringTypeScope: 1732 @Override public ParserRule getRule() { return rule; }
1733 // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1733
1734 // number=StringEnumeration); 1734 //"memory" "=" megabyteLimit=INT
1735 @Override public ParserRule getRule() { return rule; } 1735 public Group getGroup() { return cGroup; }
1736 1736
1737 //'#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 1737 //"memory"
1738 //number=StringEnumeration) 1738 public Keyword getMemoryKeyword_0() { return cMemoryKeyword_0; }
1739 public Group getGroup() { return cGroup; } 1739
1740 1740 //"="
1741 //'#' 1741 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
1742 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } 1742
1743 1743 //megabyteLimit=INT
1744 //type=StringReference 1744 public Assignment getMegabyteLimitAssignment_2() { return cMegabyteLimitAssignment_2; }
1745 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } 1745
1746 1746 //INT
1747 //StringReference 1747 public RuleCall getMegabyteLimitINTTerminalRuleCall_2_0() { return cMegabyteLimitINTTerminalRuleCall_2_0; }
1748 public RuleCall getTypeStringReferenceParserRuleCall_1_0() { return cTypeStringReferenceParserRuleCall_1_0; } 1748 }
1749 1749 public class CustomEntryElements extends AbstractParserRuleElementFinder {
1750 //setsNew?='+=' | setsSum?='=' 1750 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.CustomEntry");
1751 public Alternatives getAlternatives_2() { return cAlternatives_2; } 1751 private final Group cGroup = (Group)rule.eContents().get(1);
1752 1752 private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0);
1753 //setsNew?='+=' 1753 private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0);
1754 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } 1754 private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1);
1755 1755 private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2);
1756 //'+=' 1756 private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0);
1757 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } 1757
1758 1758 //CustomEntry:
1759 //setsSum?='=' 1759 // key=STRING "=" value=STRING;
1760 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } 1760 @Override public ParserRule getRule() { return rule; }
1761 1761
1762 //'=' 1762 //key=STRING "=" value=STRING
1763 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } 1763 public Group getGroup() { return cGroup; }
1764 1764
1765 //number=ExactNumber | number=IntervallNumber | number=StringEnumeration 1765 //key=STRING
1766 public Alternatives getAlternatives_3() { return cAlternatives_3; } 1766 public Assignment getKeyAssignment_0() { return cKeyAssignment_0; }
1767 1767
1768 //number=ExactNumber 1768 //STRING
1769 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; } 1769 public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; }
1770 1770
1771 //ExactNumber 1771 //"="
1772 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; } 1772 public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; }
1773 1773
1774 //number=IntervallNumber 1774 //value=STRING
1775 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; } 1775 public Assignment getValueAssignment_2() { return cValueAssignment_2; }
1776 1776
1777 //IntervallNumber 1777 //STRING
1778 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; } 1778 public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; }
1779 1779 }
1780 //number=StringEnumeration 1780 public class ConfigReferenceElements extends AbstractParserRuleElementFinder {
1781 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; } 1781 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference");
1782 1782 private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1);
1783 //StringEnumeration 1783 private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0);
1784 public RuleCall getNumberStringEnumerationParserRuleCall_3_2_0() { return cNumberStringEnumerationParserRuleCall_3_2_0; } 1784 private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1);
1785 } 1785
1786 public class TypeReferenceElements extends AbstractParserRuleElementFinder { 1786 //ConfigReference:
1787 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); 1787 // config=[ConfigDeclaration];
1788 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1788 @Override public ParserRule getRule() { return rule; }
1789 private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1789
1790 private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1790 //config=[ConfigDeclaration]
1791 private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); 1791 public Assignment getConfigAssignment() { return cConfigAssignment; }
1792 private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); 1792
1793 private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); 1793 //[ConfigDeclaration]
1794 1794 public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; }
1795 //TypeReference: 1795
1796 // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; 1796 //ID
1797 @Override public ParserRule getRule() { return rule; } 1797 public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; }
1798 1798 }
1799 //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference 1799 public class ConfigElements extends AbstractParserRuleElementFinder {
1800 public Alternatives getAlternatives() { return cAlternatives; } 1800 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
1801 1801 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1802 //ClassReference 1802 private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1803 public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; } 1803 private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1804 1804
1805 //ObjectReference 1805 //Config:
1806 public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; } 1806 // ConfigSpecification | ConfigReference;
1807 1807 @Override public ParserRule getRule() { return rule; }
1808 //IntegerReference 1808
1809 public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; } 1809 //ConfigSpecification | ConfigReference
1810 1810 public Alternatives getAlternatives() { return cAlternatives; }
1811 //RealReference 1811
1812 public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; } 1812 //ConfigSpecification
1813 1813 public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; }
1814 //StringReference 1814
1815 public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; } 1815 //ConfigReference
1816 } 1816 public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; }
1817 public class ClassReferenceElements extends AbstractParserRuleElementFinder { 1817 }
1818 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); 1818 public class ScopeSpecificationElements extends AbstractParserRuleElementFinder {
1819 private final Group cGroup = (Group)rule.eContents().get(1); 1819 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
1820 private final Keyword cLessThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0); 1820 private final Group cGroup = (Group)rule.eContents().get(1);
1821 private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1); 1821 private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0);
1822 private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0); 1822 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
1823 private final Keyword cGreaterThanSignKeyword_2 = (Keyword)cGroup.eContents().get(2); 1823 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
1824 1824 private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
1825 //ClassReference: 1825 private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0);
1826 // '<' element=MetamodelElement '>'; 1826 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
1827 @Override public ParserRule getRule() { return rule; } 1827 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
1828 1828 private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
1829 //'<' element=MetamodelElement '>' 1829 private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0);
1830 public Group getGroup() { return cGroup; } 1830 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
1831 1831
1832 //'<' 1832 //ScopeSpecification:
1833 public Keyword getLessThanSignKeyword_0() { return cLessThanSignKeyword_0; } 1833 // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)?
1834 1834 // '}';
1835 //element=MetamodelElement 1835 @Override public ParserRule getRule() { return rule; }
1836 public Assignment getElementAssignment_1() { return cElementAssignment_1; } 1836
1837 1837 //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}'
1838 //MetamodelElement 1838 public Group getGroup() { return cGroup; }
1839 public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; } 1839
1840 1840 //{ScopeSpecification}
1841 //'>' 1841 public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; }
1842 public Keyword getGreaterThanSignKeyword_2() { return cGreaterThanSignKeyword_2; } 1842
1843 } 1843 //'{'
1844 public class ObjectReferenceElements extends AbstractParserRuleElementFinder { 1844 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
1845 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); 1845
1846 private final Group cGroup = (Group)rule.eContents().get(1); 1846 //(scopes+=TypeScope (',' scopes+=TypeScope)*)?
1847 private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); 1847 public Group getGroup_2() { return cGroup_2; }
1848 private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1); 1848
1849 1849 //scopes+=TypeScope
1850 //ObjectReference: 1850 public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; }
1851 // {ObjectReference} 'node'; 1851
1852 @Override public ParserRule getRule() { return rule; } 1852 //TypeScope
1853 1853 public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; }
1854 //{ObjectReference} 'node' 1854
1855 public Group getGroup() { return cGroup; } 1855 //(',' scopes+=TypeScope)*
1856 1856 public Group getGroup_2_1() { return cGroup_2_1; }
1857 //{ObjectReference} 1857
1858 public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } 1858 //','
1859 1859 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
1860 //'node' 1860
1861 public Keyword getNodeKeyword_1() { return cNodeKeyword_1; } 1861 //scopes+=TypeScope
1862 } 1862 public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; }
1863 public class IntegerReferenceElements extends AbstractParserRuleElementFinder { 1863
1864 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); 1864 //TypeScope
1865 private final Group cGroup = (Group)rule.eContents().get(1); 1865 public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; }
1866 private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0); 1866
1867 private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); 1867 //'}'
1868 1868 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
1869 //IntegerReference: 1869 }
1870 // {IntegerScope} 'int'; 1870 public class TypeScopeElements extends AbstractParserRuleElementFinder {
1871 @Override public ParserRule getRule() { return rule; } 1871 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
1872 1872 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
1873 //{IntegerScope} 'int' 1873 private final RuleCall cClassTypeScopeParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
1874 public Group getGroup() { return cGroup; } 1874 private final RuleCall cObjectTypeScopeParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
1875 1875 private final RuleCall cIntegerTypeScopeParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
1876 //{IntegerScope} 1876 private final RuleCall cRealTypeScopeParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
1877 public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; } 1877 private final RuleCall cStringTypeScopeParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
1878 1878
1879 //'int' 1879 //TypeScope:
1880 public Keyword getIntKeyword_1() { return cIntKeyword_1; } 1880 // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope;
1881 } 1881 @Override public ParserRule getRule() { return rule; }
1882 public class RealReferenceElements extends AbstractParserRuleElementFinder { 1882
1883 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); 1883 //ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope
1884 private final Group cGroup = (Group)rule.eContents().get(1); 1884 public Alternatives getAlternatives() { return cAlternatives; }
1885 private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0); 1885
1886 private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1); 1886 //ClassTypeScope
1887 1887 public RuleCall getClassTypeScopeParserRuleCall_0() { return cClassTypeScopeParserRuleCall_0; }
1888 //RealReference: 1888
1889 // {RealScope} 'real'; 1889 //ObjectTypeScope
1890 @Override public ParserRule getRule() { return rule; } 1890 public RuleCall getObjectTypeScopeParserRuleCall_1() { return cObjectTypeScopeParserRuleCall_1; }
1891 1891
1892 //{RealScope} 'real' 1892 //IntegerTypeScope
1893 public Group getGroup() { return cGroup; } 1893 public RuleCall getIntegerTypeScopeParserRuleCall_2() { return cIntegerTypeScopeParserRuleCall_2; }
1894 1894
1895 //{RealScope} 1895 //RealTypeScope
1896 public Action getRealScopeAction_0() { return cRealScopeAction_0; } 1896 public RuleCall getRealTypeScopeParserRuleCall_3() { return cRealTypeScopeParserRuleCall_3; }
1897 1897
1898 //'real' 1898 //StringTypeScope
1899 public Keyword getRealKeyword_1() { return cRealKeyword_1; } 1899 public RuleCall getStringTypeScopeParserRuleCall_4() { return cStringTypeScopeParserRuleCall_4; }
1900 } 1900 }
1901 public class StringReferenceElements extends AbstractParserRuleElementFinder { 1901 public class ClassTypeScopeElements extends AbstractParserRuleElementFinder {
1902 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); 1902 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassTypeScope");
1903 private final Group cGroup = (Group)rule.eContents().get(1); 1903 private final Group cGroup = (Group)rule.eContents().get(1);
1904 private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0); 1904 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
1905 private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1); 1905 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
1906 1906 private final RuleCall cTypeClassReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0);
1907 //StringReference: 1907 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
1908 // {StringScope} 'string'; 1908 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
1909 @Override public ParserRule getRule() { return rule; } 1909 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0);
1910 1910 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
1911 //{StringScope} 'string' 1911 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0);
1912 public Group getGroup() { return cGroup; } 1912 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
1913 1913 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
1914 //{StringScope} 1914 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0);
1915 public Action getStringScopeAction_0() { return cStringScopeAction_0; } 1915 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
1916 1916 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0);
1917 //'string' 1917
1918 public Keyword getStringKeyword_1() { return cStringKeyword_1; } 1918 //ClassTypeScope:
1919 } 1919 // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber);
1920 public class NumberSpecificationElements extends AbstractParserRuleElementFinder { 1920 @Override public ParserRule getRule() { return rule; }
1921 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.NumberSpecification"); 1921
1922 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1922 //'#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)
1923 private final RuleCall cExactNumberParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 1923 public Group getGroup() { return cGroup; }
1924 private final RuleCall cIntervallNumberParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 1924
1925 private final RuleCall cIntEnumberationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); 1925 //'#'
1926 private final RuleCall cRealEnumerationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); 1926 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; }
1927 private final RuleCall cStringEnumerationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); 1927
1928 1928 //type=ClassReference
1929 //NumberSpecification: 1929 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
1930 // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; 1930
1931 @Override public ParserRule getRule() { return rule; } 1931 //ClassReference
1932 1932 public RuleCall getTypeClassReferenceParserRuleCall_1_0() { return cTypeClassReferenceParserRuleCall_1_0; }
1933 //ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration 1933
1934 public Alternatives getAlternatives() { return cAlternatives; } 1934 //setsNew?='+=' | setsSum?='='
1935 1935 public Alternatives getAlternatives_2() { return cAlternatives_2; }
1936 //ExactNumber 1936
1937 public RuleCall getExactNumberParserRuleCall_0() { return cExactNumberParserRuleCall_0; } 1937 //setsNew?='+='
1938 1938 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; }
1939 //IntervallNumber 1939
1940 public RuleCall getIntervallNumberParserRuleCall_1() { return cIntervallNumberParserRuleCall_1; } 1940 //'+='
1941 1941 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; }
1942 //IntEnumberation 1942
1943 public RuleCall getIntEnumberationParserRuleCall_2() { return cIntEnumberationParserRuleCall_2; } 1943 //setsSum?='='
1944 1944 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; }
1945 //RealEnumeration 1945
1946 public RuleCall getRealEnumerationParserRuleCall_3() { return cRealEnumerationParserRuleCall_3; } 1946 //'='
1947 1947 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; }
1948 //StringEnumeration 1948
1949 public RuleCall getStringEnumerationParserRuleCall_4() { return cStringEnumerationParserRuleCall_4; } 1949 //number=ExactNumber | number=IntervallNumber
1950 } 1950 public Alternatives getAlternatives_3() { return cAlternatives_3; }
1951 public class ExactNumberElements extends AbstractParserRuleElementFinder { 1951
1952 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber"); 1952 //number=ExactNumber
1953 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 1953 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; }
1954 private final Assignment cExactNumberAssignment_0 = (Assignment)cAlternatives.eContents().get(0); 1954
1955 private final RuleCall cExactNumberINTTerminalRuleCall_0_0 = (RuleCall)cExactNumberAssignment_0.eContents().get(0); 1955 //ExactNumber
1956 private final Assignment cExactUnlimitedAssignment_1 = (Assignment)cAlternatives.eContents().get(1); 1956 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; }
1957 private final Keyword cExactUnlimitedAsteriskKeyword_1_0 = (Keyword)cExactUnlimitedAssignment_1.eContents().get(0); 1957
1958 1958 //number=IntervallNumber
1959 //ExactNumber: 1959 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; }
1960 // exactNumber=INT | exactUnlimited?='*'; 1960
1961 @Override public ParserRule getRule() { return rule; } 1961 //IntervallNumber
1962 1962 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; }
1963 //exactNumber=INT | exactUnlimited?='*' 1963 }
1964 public Alternatives getAlternatives() { return cAlternatives; } 1964 public class ObjectTypeScopeElements extends AbstractParserRuleElementFinder {
1965 1965 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectTypeScope");
1966 //exactNumber=INT 1966 private final Group cGroup = (Group)rule.eContents().get(1);
1967 public Assignment getExactNumberAssignment_0() { return cExactNumberAssignment_0; } 1967 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
1968 1968 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
1969 //INT 1969 private final RuleCall cTypeObjectReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0);
1970 public RuleCall getExactNumberINTTerminalRuleCall_0_0() { return cExactNumberINTTerminalRuleCall_0_0; } 1970 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
1971 1971 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
1972 //exactUnlimited?='*' 1972 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0);
1973 public Assignment getExactUnlimitedAssignment_1() { return cExactUnlimitedAssignment_1; } 1973 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
1974 1974 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0);
1975 //'*' 1975 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
1976 public Keyword getExactUnlimitedAsteriskKeyword_1_0() { return cExactUnlimitedAsteriskKeyword_1_0; } 1976 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
1977 } 1977 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0);
1978 public class IntervallNumberElements extends AbstractParserRuleElementFinder { 1978 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
1979 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber"); 1979 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0);
1980 private final Group cGroup = (Group)rule.eContents().get(1); 1980
1981 private final Assignment cMinAssignment_0 = (Assignment)cGroup.eContents().get(0); 1981 //ObjectTypeScope:
1982 private final RuleCall cMinINTTerminalRuleCall_0_0 = (RuleCall)cMinAssignment_0.eContents().get(0); 1982 // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber);
1983 private final Keyword cFullStopFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1); 1983 @Override public ParserRule getRule() { return rule; }
1984 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); 1984
1985 private final Assignment cMaxNumberAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); 1985 //'#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber)
1986 private final RuleCall cMaxNumberINTTerminalRuleCall_2_0_0 = (RuleCall)cMaxNumberAssignment_2_0.eContents().get(0); 1986 public Group getGroup() { return cGroup; }
1987 private final Assignment cMaxUnlimitedAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); 1987
1988 private final Keyword cMaxUnlimitedAsteriskKeyword_2_1_0 = (Keyword)cMaxUnlimitedAssignment_2_1.eContents().get(0); 1988 //'#'
1989 1989 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; }
1990 //IntervallNumber: 1990
1991 // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); 1991 //type=ObjectReference
1992 @Override public ParserRule getRule() { return rule; } 1992 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
1993 1993
1994 //min=INT '..' (maxNumber=INT | maxUnlimited?='*') 1994 //ObjectReference
1995 public Group getGroup() { return cGroup; } 1995 public RuleCall getTypeObjectReferenceParserRuleCall_1_0() { return cTypeObjectReferenceParserRuleCall_1_0; }
1996 1996
1997 //min=INT 1997 //setsNew?='+=' | setsSum?='='
1998 public Assignment getMinAssignment_0() { return cMinAssignment_0; } 1998 public Alternatives getAlternatives_2() { return cAlternatives_2; }
1999 1999
2000 //INT 2000 //setsNew?='+='
2001 public RuleCall getMinINTTerminalRuleCall_0_0() { return cMinINTTerminalRuleCall_0_0; } 2001 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; }
2002 2002
2003 //'..' 2003 //'+='
2004 public Keyword getFullStopFullStopKeyword_1() { return cFullStopFullStopKeyword_1; } 2004 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; }
2005 2005
2006 //maxNumber=INT | maxUnlimited?='*' 2006 //setsSum?='='
2007 public Alternatives getAlternatives_2() { return cAlternatives_2; } 2007 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; }
2008 2008
2009 //maxNumber=INT 2009 //'='
2010 public Assignment getMaxNumberAssignment_2_0() { return cMaxNumberAssignment_2_0; } 2010 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; }
2011 2011
2012 //INT 2012 //number=ExactNumber | number=IntervallNumber
2013 public RuleCall getMaxNumberINTTerminalRuleCall_2_0_0() { return cMaxNumberINTTerminalRuleCall_2_0_0; } 2013 public Alternatives getAlternatives_3() { return cAlternatives_3; }
2014 2014
2015 //maxUnlimited?='*' 2015 //number=ExactNumber
2016 public Assignment getMaxUnlimitedAssignment_2_1() { return cMaxUnlimitedAssignment_2_1; } 2016 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; }
2017 2017
2018 //'*' 2018 //ExactNumber
2019 public Keyword getMaxUnlimitedAsteriskKeyword_2_1_0() { return cMaxUnlimitedAsteriskKeyword_2_1_0; } 2019 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; }
2020 } 2020
2021 public class IntEnumberationElements extends AbstractParserRuleElementFinder { 2021 //number=IntervallNumber
2022 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation"); 2022 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; }
2023 private final Group cGroup = (Group)rule.eContents().get(1); 2023
2024 private final Action cIntEnumberationAction_0 = (Action)cGroup.eContents().get(0); 2024 //IntervallNumber
2025 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 2025 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; }
2026 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 2026 }
2027 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 2027 public class IntegerTypeScopeElements extends AbstractParserRuleElementFinder {
2028 private final RuleCall cEntryINTLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); 2028 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerTypeScope");
2029 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 2029 private final Group cGroup = (Group)rule.eContents().get(1);
2030 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 2030 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
2031 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 2031 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
2032 private final RuleCall cEntryINTLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); 2032 private final RuleCall cTypeIntegerReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0);
2033 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 2033 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
2034 2034 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
2035 //IntEnumberation: 2035 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0);
2036 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; 2036 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
2037 @Override public ParserRule getRule() { return rule; } 2037 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0);
2038 2038 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
2039 //{IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}' 2039 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
2040 public Group getGroup() { return cGroup; } 2040 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0);
2041 2041 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
2042 //{IntEnumberation} 2042 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0);
2043 public Action getIntEnumberationAction_0() { return cIntEnumberationAction_0; } 2043 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2);
2044 2044 private final RuleCall cNumberIntEnumberationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0);
2045 //'{' 2045
2046 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 2046 //IntegerTypeScope:
2047 2047 // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2048 //(entry+=INTLiteral (',' entry+=INTLiteral)*)? 2048 // number=IntEnumberation);
2049 public Group getGroup_2() { return cGroup_2; } 2049 @Override public ParserRule getRule() { return rule; }
2050 2050
2051 //entry+=INTLiteral 2051 //'#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2052 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } 2052 //number=IntEnumberation)
2053 2053 public Group getGroup() { return cGroup; }
2054 //INTLiteral 2054
2055 public RuleCall getEntryINTLiteralParserRuleCall_2_0_0() { return cEntryINTLiteralParserRuleCall_2_0_0; } 2055 //'#'
2056 2056 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; }
2057 //(',' entry+=INTLiteral)* 2057
2058 public Group getGroup_2_1() { return cGroup_2_1; } 2058 //type=IntegerReference
2059 2059 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
2060 //',' 2060
2061 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 2061 //IntegerReference
2062 2062 public RuleCall getTypeIntegerReferenceParserRuleCall_1_0() { return cTypeIntegerReferenceParserRuleCall_1_0; }
2063 //entry+=INTLiteral 2063
2064 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } 2064 //setsNew?='+=' | setsSum?='='
2065 2065 public Alternatives getAlternatives_2() { return cAlternatives_2; }
2066 //INTLiteral 2066
2067 public RuleCall getEntryINTLiteralParserRuleCall_2_1_1_0() { return cEntryINTLiteralParserRuleCall_2_1_1_0; } 2067 //setsNew?='+='
2068 2068 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; }
2069 //'}' 2069
2070 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 2070 //'+='
2071 } 2071 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; }
2072 public class RealEnumerationElements extends AbstractParserRuleElementFinder { 2072
2073 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration"); 2073 //setsSum?='='
2074 private final Group cGroup = (Group)rule.eContents().get(1); 2074 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; }
2075 private final Action cRealEnumerationAction_0 = (Action)cGroup.eContents().get(0); 2075
2076 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 2076 //'='
2077 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 2077 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; }
2078 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 2078
2079 private final RuleCall cEntryREALLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); 2079 //number=ExactNumber | number=IntervallNumber | number=IntEnumberation
2080 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 2080 public Alternatives getAlternatives_3() { return cAlternatives_3; }
2081 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 2081
2082 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 2082 //number=ExactNumber
2083 private final RuleCall cEntryREALLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); 2083 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; }
2084 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 2084
2085 2085 //ExactNumber
2086 //RealEnumeration: 2086 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; }
2087 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; 2087
2088 @Override public ParserRule getRule() { return rule; } 2088 //number=IntervallNumber
2089 2089 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; }
2090 //{RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}' 2090
2091 public Group getGroup() { return cGroup; } 2091 //IntervallNumber
2092 2092 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; }
2093 //{RealEnumeration} 2093
2094 public Action getRealEnumerationAction_0() { return cRealEnumerationAction_0; } 2094 //number=IntEnumberation
2095 2095 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; }
2096 //'{' 2096
2097 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 2097 //IntEnumberation
2098 2098 public RuleCall getNumberIntEnumberationParserRuleCall_3_2_0() { return cNumberIntEnumberationParserRuleCall_3_2_0; }
2099 //(entry+=REALLiteral (',' entry+=REALLiteral)*)? 2099 }
2100 public Group getGroup_2() { return cGroup_2; } 2100 public class RealTypeScopeElements extends AbstractParserRuleElementFinder {
2101 2101 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealTypeScope");
2102 //entry+=REALLiteral 2102 private final Group cGroup = (Group)rule.eContents().get(1);
2103 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } 2103 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
2104 2104 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
2105 //REALLiteral 2105 private final RuleCall cTypeRealReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0);
2106 public RuleCall getEntryREALLiteralParserRuleCall_2_0_0() { return cEntryREALLiteralParserRuleCall_2_0_0; } 2106 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
2107 2107 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
2108 //(',' entry+=REALLiteral)* 2108 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0);
2109 public Group getGroup_2_1() { return cGroup_2_1; } 2109 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
2110 2110 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0);
2111 //',' 2111 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
2112 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 2112 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
2113 2113 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0);
2114 //entry+=REALLiteral 2114 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
2115 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } 2115 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0);
2116 2116 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2);
2117 //REALLiteral 2117 private final RuleCall cNumberRealEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0);
2118 public RuleCall getEntryREALLiteralParserRuleCall_2_1_1_0() { return cEntryREALLiteralParserRuleCall_2_1_1_0; } 2118
2119 2119 //RealTypeScope:
2120 //'}' 2120 // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2121 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 2121 // number=RealEnumeration);
2122 } 2122 @Override public ParserRule getRule() { return rule; }
2123 public class StringEnumerationElements extends AbstractParserRuleElementFinder { 2123
2124 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration"); 2124 //'#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2125 private final Group cGroup = (Group)rule.eContents().get(1); 2125 //number=RealEnumeration)
2126 private final Action cStringEnumerationAction_0 = (Action)cGroup.eContents().get(0); 2126 public Group getGroup() { return cGroup; }
2127 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); 2127
2128 private final Group cGroup_2 = (Group)cGroup.eContents().get(2); 2128 //'#'
2129 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); 2129 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; }
2130 private final RuleCall cEntrySTRINGTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0); 2130
2131 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); 2131 //type=RealReference
2132 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); 2132 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
2133 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); 2133
2134 private final RuleCall cEntrySTRINGTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0); 2134 //RealReference
2135 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 2135 public RuleCall getTypeRealReferenceParserRuleCall_1_0() { return cTypeRealReferenceParserRuleCall_1_0; }
2136 2136
2137 //StringEnumeration: 2137 //setsNew?='+=' | setsSum?='='
2138 // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; 2138 public Alternatives getAlternatives_2() { return cAlternatives_2; }
2139 @Override public ParserRule getRule() { return rule; } 2139
2140 2140 //setsNew?='+='
2141 //{StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}' 2141 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; }
2142 public Group getGroup() { return cGroup; } 2142
2143 2143 //'+='
2144 //{StringEnumeration} 2144 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; }
2145 public Action getStringEnumerationAction_0() { return cStringEnumerationAction_0; } 2145
2146 2146 //setsSum?='='
2147 //'{' 2147 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; }
2148 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } 2148
2149 2149 //'='
2150 //(entry+=STRING (',' entry+=STRING)*)? 2150 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; }
2151 public Group getGroup_2() { return cGroup_2; } 2151
2152 2152 //number=ExactNumber | number=IntervallNumber | number=RealEnumeration
2153 //entry+=STRING 2153 public Alternatives getAlternatives_3() { return cAlternatives_3; }
2154 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; } 2154
2155 2155 //number=ExactNumber
2156 //STRING 2156 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; }
2157 public RuleCall getEntrySTRINGTerminalRuleCall_2_0_0() { return cEntrySTRINGTerminalRuleCall_2_0_0; } 2157
2158 2158 //ExactNumber
2159 //(',' entry+=STRING)* 2159 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; }
2160 public Group getGroup_2_1() { return cGroup_2_1; } 2160
2161 2161 //number=IntervallNumber
2162 //',' 2162 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; }
2163 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } 2163
2164 2164 //IntervallNumber
2165 //entry+=STRING 2165 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; }
2166 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; } 2166
2167 2167 //number=RealEnumeration
2168 //STRING 2168 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; }
2169 public RuleCall getEntrySTRINGTerminalRuleCall_2_1_1_0() { return cEntrySTRINGTerminalRuleCall_2_1_1_0; } 2169
2170 2170 //RealEnumeration
2171 //'}' 2171 public RuleCall getNumberRealEnumerationParserRuleCall_3_2_0() { return cNumberRealEnumerationParserRuleCall_3_2_0; }
2172 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } 2172 }
2173 } 2173 public class StringTypeScopeElements extends AbstractParserRuleElementFinder {
2174 public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { 2174 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringTypeScope");
2175 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); 2175 private final Group cGroup = (Group)rule.eContents().get(1);
2176 private final Group cGroup = (Group)rule.eContents().get(1); 2176 private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
2177 private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); 2177 private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1);
2178 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); 2178 private final RuleCall cTypeStringReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0);
2179 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); 2179 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
2180 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); 2180 private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
2181 private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); 2181 private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0);
2182 2182 private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
2183 //ScopeDeclaration: 2183 private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0);
2184 // 'scope' name=ID specification=ScopeSpecification; 2184 private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3);
2185 @Override public ParserRule getRule() { return rule; } 2185 private final Assignment cNumberAssignment_3_0 = (Assignment)cAlternatives_3.eContents().get(0);
2186 2186 private final RuleCall cNumberExactNumberParserRuleCall_3_0_0 = (RuleCall)cNumberAssignment_3_0.eContents().get(0);
2187 //'scope' name=ID specification=ScopeSpecification 2187 private final Assignment cNumberAssignment_3_1 = (Assignment)cAlternatives_3.eContents().get(1);
2188 public Group getGroup() { return cGroup; } 2188 private final RuleCall cNumberIntervallNumberParserRuleCall_3_1_0 = (RuleCall)cNumberAssignment_3_1.eContents().get(0);
2189 2189 private final Assignment cNumberAssignment_3_2 = (Assignment)cAlternatives_3.eContents().get(2);
2190 //'scope' 2190 private final RuleCall cNumberStringEnumerationParserRuleCall_3_2_0 = (RuleCall)cNumberAssignment_3_2.eContents().get(0);
2191 public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } 2191
2192 2192 //StringTypeScope:
2193 //name=ID 2193 // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2194 public Assignment getNameAssignment_1() { return cNameAssignment_1; } 2194 // number=StringEnumeration);
2195 2195 @Override public ParserRule getRule() { return rule; }
2196 //ID 2196
2197 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } 2197 //'#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
2198 2198 //number=StringEnumeration)
2199 //specification=ScopeSpecification 2199 public Group getGroup() { return cGroup; }
2200 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } 2200
2201 2201 //'#'
2202 //ScopeSpecification 2202 public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; }
2203 public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; } 2203
2204 } 2204 //type=StringReference
2205 public class ScopeReferenceElements extends AbstractParserRuleElementFinder { 2205 public Assignment getTypeAssignment_1() { return cTypeAssignment_1; }
2206 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference"); 2206
2207 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); 2207 //StringReference
2208 private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); 2208 public RuleCall getTypeStringReferenceParserRuleCall_1_0() { return cTypeStringReferenceParserRuleCall_1_0; }
2209 private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1); 2209
2210 2210 //setsNew?='+=' | setsSum?='='
2211 //ScopeReference: 2211 public Alternatives getAlternatives_2() { return cAlternatives_2; }
2212 // referred=[ScopeDeclaration]; 2212
2213 @Override public ParserRule getRule() { return rule; } 2213 //setsNew?='+='
2214 2214 public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; }
2215 //referred=[ScopeDeclaration] 2215
2216 public Assignment getReferredAssignment() { return cReferredAssignment; } 2216 //'+='
2217 2217 public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; }
2218 //[ScopeDeclaration] 2218
2219 public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; } 2219 //setsSum?='='
2220 2220 public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; }
2221 //ID 2221
2222 public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; } 2222 //'='
2223 } 2223 public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; }
2224 public class ScopeElements extends AbstractParserRuleElementFinder { 2224
2225 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); 2225 //number=ExactNumber | number=IntervallNumber | number=StringEnumeration
2226 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 2226 public Alternatives getAlternatives_3() { return cAlternatives_3; }
2227 private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); 2227
2228 private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); 2228 //number=ExactNumber
2229 2229 public Assignment getNumberAssignment_3_0() { return cNumberAssignment_3_0; }
2230 //Scope: 2230
2231 // ScopeSpecification | ScopeReference; 2231 //ExactNumber
2232 @Override public ParserRule getRule() { return rule; } 2232 public RuleCall getNumberExactNumberParserRuleCall_3_0_0() { return cNumberExactNumberParserRuleCall_3_0_0; }
2233 2233
2234 //ScopeSpecification | ScopeReference 2234 //number=IntervallNumber
2235 public Alternatives getAlternatives() { return cAlternatives; } 2235 public Assignment getNumberAssignment_3_1() { return cNumberAssignment_3_1; }
2236 2236
2237 //ScopeSpecification 2237 //IntervallNumber
2238 public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; } 2238 public RuleCall getNumberIntervallNumberParserRuleCall_3_1_0() { return cNumberIntervallNumberParserRuleCall_3_1_0; }
2239 2239
2240 //ScopeReference 2240 //number=StringEnumeration
2241 public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; } 2241 public Assignment getNumberAssignment_3_2() { return cNumberAssignment_3_2; }
2242 } 2242
2243 public class TaskElements extends AbstractParserRuleElementFinder { 2243 //StringEnumeration
2244 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task"); 2244 public RuleCall getNumberStringEnumerationParserRuleCall_3_2_0() { return cNumberStringEnumerationParserRuleCall_3_2_0; }
2245 private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); 2245 }
2246 2246 public class TypeReferenceElements extends AbstractParserRuleElementFinder {
2247 //Task: 2247 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference");
2248 // GenerationTask /*| CoverageCalculation | ValidationTask*/; 2248 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2249 @Override public ParserRule getRule() { return rule; } 2249 private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
2250 2250 private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
2251 //GenerationTask 2251 private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
2252 public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; } 2252 private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
2253 } 2253 private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
2254 public class GenerationTaskElements extends AbstractParserRuleElementFinder { 2254
2255 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask"); 2255 //TypeReference:
2256 private final Group cGroup = (Group)rule.eContents().get(1); 2256 // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference;
2257 private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0); 2257 @Override public ParserRule getRule() { return rule; }
2258 private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1); 2258
2259 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); 2259 //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference
2260 private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); 2260 public Alternatives getAlternatives() { return cAlternatives; }
2261 private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); 2261
2262 private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); 2262 //ClassReference
2263 private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); 2263 public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; }
2264 private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); 2264
2265 private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0); 2265 //ObjectReference
2266 private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); 2266 public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; }
2267 private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); 2267
2268 private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); 2268 //IntegerReference
2269 private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); 2269 public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; }
2270 private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0); 2270
2271 private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); 2271 //RealReference
2272 private final Keyword cConstraintsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); 2272 public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; }
2273 private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); 2273
2274 private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2); 2274 //StringReference
2275 private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0); 2275 public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; }
2276 private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); 2276 }
2277 private final Keyword cScopeKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); 2277 public class ClassReferenceElements extends AbstractParserRuleElementFinder {
2278 private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); 2278 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference");
2279 private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); 2279 private final Group cGroup = (Group)rule.eContents().get(1);
2280 private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); 2280 private final Keyword cLessThanSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
2281 private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); 2281 private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1);
2282 private final Assignment cNumberSpecifiedAssignment_3_4_0 = (Assignment)cGroup_3_4.eContents().get(0); 2282 private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0);
2283 private final Keyword cNumberSpecifiedNumberKeyword_3_4_0_0 = (Keyword)cNumberSpecifiedAssignment_3_4_0.eContents().get(0); 2283 private final Keyword cGreaterThanSignKeyword_2 = (Keyword)cGroup.eContents().get(2);
2284 private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); 2284
2285 private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); 2285 //ClassReference:
2286 private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); 2286 // '<' element=MetamodelElement '>';
2287 private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); 2287 @Override public ParserRule getRule() { return rule; }
2288 private final Assignment cRunSpecifiedAssignment_3_5_0 = (Assignment)cGroup_3_5.eContents().get(0); 2288
2289 private final Keyword cRunSpecifiedRunsKeyword_3_5_0_0 = (Keyword)cRunSpecifiedAssignment_3_5_0.eContents().get(0); 2289 //'<' element=MetamodelElement '>'
2290 private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); 2290 public Group getGroup() { return cGroup; }
2291 private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); 2291
2292 private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); 2292 //'<'
2293 private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); 2293 public Keyword getLessThanSignKeyword_0() { return cLessThanSignKeyword_0; }
2294 private final Keyword cSolverKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); 2294
2295 private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1); 2295 //element=MetamodelElement
2296 private final Assignment cSolverAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2); 2296 public Assignment getElementAssignment_1() { return cElementAssignment_1; }
2297 private final RuleCall cSolverSolverEnumRuleCall_3_6_2_0 = (RuleCall)cSolverAssignment_3_6_2.eContents().get(0); 2297
2298 private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); 2298 //MetamodelElement
2299 private final Keyword cConfigKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); 2299 public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; }
2300 private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1); 2300
2301 private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); 2301 //'>'
2302 private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); 2302 public Keyword getGreaterThanSignKeyword_2() { return cGreaterThanSignKeyword_2; }
2303 private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); 2303 }
2304 private final Keyword cDebugKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); 2304 public class ObjectReferenceElements extends AbstractParserRuleElementFinder {
2305 private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); 2305 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference");
2306 private final Assignment cDebugFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); 2306 private final Group cGroup = (Group)rule.eContents().get(1);
2307 private final RuleCall cDebugFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cDebugFolderAssignment_3_8_2.eContents().get(0); 2307 private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0);
2308 private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); 2308 private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1);
2309 private final Keyword cLogKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); 2309
2310 private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); 2310 //ObjectReference:
2311 private final Assignment cTargetLogFileAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); 2311 // {ObjectReference} 'node';
2312 private final RuleCall cTargetLogFileFileParserRuleCall_3_9_2_0 = (RuleCall)cTargetLogFileAssignment_3_9_2.eContents().get(0); 2312 @Override public ParserRule getRule() { return rule; }
2313 private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); 2313
2314 private final Keyword cStatisticsKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); 2314 //{ObjectReference} 'node'
2315 private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); 2315 public Group getGroup() { return cGroup; }
2316 private final Assignment cTargetStatisticsFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); 2316
2317 private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_10_2.eContents().get(0); 2317 //{ObjectReference}
2318 private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); 2318 public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; }
2319 private final Keyword cOutputKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); 2319
2320 private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); 2320 //'node'
2321 private final Assignment cTagetFolderAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); 2321 public Keyword getNodeKeyword_1() { return cNodeKeyword_1; }
2322 private final RuleCall cTagetFolderFileParserRuleCall_3_11_2_0 = (RuleCall)cTagetFolderAssignment_3_11_2.eContents().get(0); 2322 }
2323 private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); 2323 public class IntegerReferenceElements extends AbstractParserRuleElementFinder {
2324 2324 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference");
2325 //GenerationTask: 2325 private final Group cGroup = (Group)rule.eContents().get(1);
2326 // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' 2326 private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0);
2327 // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & 2327 private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1);
2328 // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & 2328
2329 // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' 2329 //IntegerReference:
2330 // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; 2330 // {IntegerScope} 'int';
2331 @Override public ParserRule getRule() { return rule; } 2331 @Override public ParserRule getRule() { return rule; }
2332 2332
2333 //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' 2333 //{IntegerScope} 'int'
2334 //partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & 2334 public Group getGroup() { return cGroup; }
2335 //(numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & 2335
2336 //('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' 2336 //{IntegerScope}
2337 //targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}' 2337 public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; }
2338 public Group getGroup() { return cGroup; } 2338
2339 2339 //'int'
2340 //'generate' 2340 public Keyword getIntKeyword_1() { return cIntKeyword_1; }
2341 public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; } 2341 }
2342 2342 public class RealReferenceElements extends AbstractParserRuleElementFinder {
2343 //{GenerationTask} 2343 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference");
2344 public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; } 2344 private final Group cGroup = (Group)rule.eContents().get(1);
2345 2345 private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0);
2346 //'{' 2346 private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1);
2347 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } 2347
2348 2348 //RealReference:
2349 //('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('constraints' '=' 2349 // {RealScope} 'real';
2350 //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & 2350 @Override public ParserRule getRule() { return rule; }
2351 //(runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' 2351
2352 //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' 2352 //{RealScope} 'real'
2353 //tagetFolder=File)? 2353 public Group getGroup() { return cGroup; }
2354 public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } 2354
2355 2355 //{RealScope}
2356 //('metamodel' '=' metamodel=Metamodel)? 2356 public Action getRealScopeAction_0() { return cRealScopeAction_0; }
2357 public Group getGroup_3_0() { return cGroup_3_0; } 2357
2358 2358 //'real'
2359 //'metamodel' 2359 public Keyword getRealKeyword_1() { return cRealKeyword_1; }
2360 public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; } 2360 }
2361 2361 public class StringReferenceElements extends AbstractParserRuleElementFinder {
2362 //'=' 2362 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference");
2363 public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } 2363 private final Group cGroup = (Group)rule.eContents().get(1);
2364 2364 private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0);
2365 //metamodel=Metamodel 2365 private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1);
2366 public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; } 2366
2367 2367 //StringReference:
2368 //Metamodel 2368 // {StringScope} 'string';
2369 public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; } 2369 @Override public ParserRule getRule() { return rule; }
2370 2370
2371 //('partial-model' '=' partialModel=PartialModel)? 2371 //{StringScope} 'string'
2372 public Group getGroup_3_1() { return cGroup_3_1; } 2372 public Group getGroup() { return cGroup; }
2373 2373
2374 //'partial-model' 2374 //{StringScope}
2375 public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; } 2375 public Action getStringScopeAction_0() { return cStringScopeAction_0; }
2376 2376
2377 //'=' 2377 //'string'
2378 public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; } 2378 public Keyword getStringKeyword_1() { return cStringKeyword_1; }
2379 2379 }
2380 //partialModel=PartialModel 2380 public class NumberSpecificationElements extends AbstractParserRuleElementFinder {
2381 public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; } 2381 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.NumberSpecification");
2382 2382 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2383 //PartialModel 2383 private final RuleCall cExactNumberParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
2384 public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; } 2384 private final RuleCall cIntervallNumberParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
2385 2385 private final RuleCall cIntEnumberationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
2386 //('constraints' '=' patterns=GraphPattern)? 2386 private final RuleCall cRealEnumerationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
2387 public Group getGroup_3_2() { return cGroup_3_2; } 2387 private final RuleCall cStringEnumerationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4);
2388 2388
2389 //'constraints' 2389 //NumberSpecification:
2390 public Keyword getConstraintsKeyword_3_2_0() { return cConstraintsKeyword_3_2_0; } 2390 // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration;
2391 2391 @Override public ParserRule getRule() { return rule; }
2392 //'=' 2392
2393 public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; } 2393 //ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration
2394 2394 public Alternatives getAlternatives() { return cAlternatives; }
2395 //patterns=GraphPattern 2395
2396 public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; } 2396 //ExactNumber
2397 2397 public RuleCall getExactNumberParserRuleCall_0() { return cExactNumberParserRuleCall_0; }
2398 //GraphPattern 2398
2399 public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; } 2399 //IntervallNumber
2400 2400 public RuleCall getIntervallNumberParserRuleCall_1() { return cIntervallNumberParserRuleCall_1; }
2401 //('scope' '=' scope=Scope)? 2401
2402 public Group getGroup_3_3() { return cGroup_3_3; } 2402 //IntEnumberation
2403 2403 public RuleCall getIntEnumberationParserRuleCall_2() { return cIntEnumberationParserRuleCall_2; }
2404 //'scope' 2404
2405 public Keyword getScopeKeyword_3_3_0() { return cScopeKeyword_3_3_0; } 2405 //RealEnumeration
2406 2406 public RuleCall getRealEnumerationParserRuleCall_3() { return cRealEnumerationParserRuleCall_3; }
2407 //'=' 2407
2408 public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; } 2408 //StringEnumeration
2409 2409 public RuleCall getStringEnumerationParserRuleCall_4() { return cStringEnumerationParserRuleCall_4; }
2410 //scope=Scope 2410 }
2411 public Assignment getScopeAssignment_3_3_2() { return cScopeAssignment_3_3_2; } 2411 public class ExactNumberElements extends AbstractParserRuleElementFinder {
2412 2412 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ExactNumber");
2413 //Scope 2413 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2414 public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } 2414 private final Assignment cExactNumberAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
2415 2415 private final RuleCall cExactNumberINTTerminalRuleCall_0_0 = (RuleCall)cExactNumberAssignment_0.eContents().get(0);
2416 //(numberSpecified?='number' '=' number=INT)? 2416 private final Assignment cExactUnlimitedAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
2417 public Group getGroup_3_4() { return cGroup_3_4; } 2417 private final Keyword cExactUnlimitedAsteriskKeyword_1_0 = (Keyword)cExactUnlimitedAssignment_1.eContents().get(0);
2418 2418
2419 //numberSpecified?='number' 2419 //ExactNumber:
2420 public Assignment getNumberSpecifiedAssignment_3_4_0() { return cNumberSpecifiedAssignment_3_4_0; } 2420 // exactNumber=INT | exactUnlimited?='*';
2421 2421 @Override public ParserRule getRule() { return rule; }
2422 //'number' 2422
2423 public Keyword getNumberSpecifiedNumberKeyword_3_4_0_0() { return cNumberSpecifiedNumberKeyword_3_4_0_0; } 2423 //exactNumber=INT | exactUnlimited?='*'
2424 2424 public Alternatives getAlternatives() { return cAlternatives; }
2425 //'=' 2425
2426 public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } 2426 //exactNumber=INT
2427 2427 public Assignment getExactNumberAssignment_0() { return cExactNumberAssignment_0; }
2428 //number=INT 2428
2429 public Assignment getNumberAssignment_3_4_2() { return cNumberAssignment_3_4_2; } 2429 //INT
2430 2430 public RuleCall getExactNumberINTTerminalRuleCall_0_0() { return cExactNumberINTTerminalRuleCall_0_0; }
2431 //INT 2431
2432 public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } 2432 //exactUnlimited?='*'
2433 2433 public Assignment getExactUnlimitedAssignment_1() { return cExactUnlimitedAssignment_1; }
2434 //(runSpecified?='runs' '=' runs=INT)? 2434
2435 public Group getGroup_3_5() { return cGroup_3_5; } 2435 //'*'
2436 2436 public Keyword getExactUnlimitedAsteriskKeyword_1_0() { return cExactUnlimitedAsteriskKeyword_1_0; }
2437 //runSpecified?='runs' 2437 }
2438 public Assignment getRunSpecifiedAssignment_3_5_0() { return cRunSpecifiedAssignment_3_5_0; } 2438 public class IntervallNumberElements extends AbstractParserRuleElementFinder {
2439 2439 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntervallNumber");
2440 //'runs' 2440 private final Group cGroup = (Group)rule.eContents().get(1);
2441 public Keyword getRunSpecifiedRunsKeyword_3_5_0_0() { return cRunSpecifiedRunsKeyword_3_5_0_0; } 2441 private final Assignment cMinAssignment_0 = (Assignment)cGroup.eContents().get(0);
2442 2442 private final RuleCall cMinINTTerminalRuleCall_0_0 = (RuleCall)cMinAssignment_0.eContents().get(0);
2443 //'=' 2443 private final Keyword cFullStopFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1);
2444 public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } 2444 private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2);
2445 2445 private final Assignment cMaxNumberAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0);
2446 //runs=INT 2446 private final RuleCall cMaxNumberINTTerminalRuleCall_2_0_0 = (RuleCall)cMaxNumberAssignment_2_0.eContents().get(0);
2447 public Assignment getRunsAssignment_3_5_2() { return cRunsAssignment_3_5_2; } 2447 private final Assignment cMaxUnlimitedAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1);
2448 2448 private final Keyword cMaxUnlimitedAsteriskKeyword_2_1_0 = (Keyword)cMaxUnlimitedAssignment_2_1.eContents().get(0);
2449 //INT 2449
2450 public RuleCall getRunsINTTerminalRuleCall_3_5_2_0() { return cRunsINTTerminalRuleCall_3_5_2_0; } 2450 //IntervallNumber:
2451 2451 // min=INT '..' (maxNumber=INT | maxUnlimited?='*');
2452 //('solver' '=' solver=Solver)? 2452 @Override public ParserRule getRule() { return rule; }
2453 public Group getGroup_3_6() { return cGroup_3_6; } 2453
2454 2454 //min=INT '..' (maxNumber=INT | maxUnlimited?='*')
2455 //'solver' 2455 public Group getGroup() { return cGroup; }
2456 public Keyword getSolverKeyword_3_6_0() { return cSolverKeyword_3_6_0; } 2456
2457 2457 //min=INT
2458 //'=' 2458 public Assignment getMinAssignment_0() { return cMinAssignment_0; }
2459 public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; } 2459
2460 2460 //INT
2461 //solver=Solver 2461 public RuleCall getMinINTTerminalRuleCall_0_0() { return cMinINTTerminalRuleCall_0_0; }
2462 public Assignment getSolverAssignment_3_6_2() { return cSolverAssignment_3_6_2; } 2462
2463 2463 //'..'
2464 //Solver 2464 public Keyword getFullStopFullStopKeyword_1() { return cFullStopFullStopKeyword_1; }
2465 public RuleCall getSolverSolverEnumRuleCall_3_6_2_0() { return cSolverSolverEnumRuleCall_3_6_2_0; } 2465
2466 2466 //maxNumber=INT | maxUnlimited?='*'
2467 //('config' '=' config=Config)? 2467 public Alternatives getAlternatives_2() { return cAlternatives_2; }
2468 public Group getGroup_3_7() { return cGroup_3_7; } 2468
2469 2469 //maxNumber=INT
2470 //'config' 2470 public Assignment getMaxNumberAssignment_2_0() { return cMaxNumberAssignment_2_0; }
2471 public Keyword getConfigKeyword_3_7_0() { return cConfigKeyword_3_7_0; } 2471
2472 2472 //INT
2473 //'=' 2473 public RuleCall getMaxNumberINTTerminalRuleCall_2_0_0() { return cMaxNumberINTTerminalRuleCall_2_0_0; }
2474 public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; } 2474
2475 2475 //maxUnlimited?='*'
2476 //config=Config 2476 public Assignment getMaxUnlimitedAssignment_2_1() { return cMaxUnlimitedAssignment_2_1; }
2477 public Assignment getConfigAssignment_3_7_2() { return cConfigAssignment_3_7_2; } 2477
2478 2478 //'*'
2479 //Config 2479 public Keyword getMaxUnlimitedAsteriskKeyword_2_1_0() { return cMaxUnlimitedAsteriskKeyword_2_1_0; }
2480 public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } 2480 }
2481 2481 public class IntEnumberationElements extends AbstractParserRuleElementFinder {
2482 //('debug' '=' debugFolder=File)? 2482 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntEnumberation");
2483 public Group getGroup_3_8() { return cGroup_3_8; } 2483 private final Group cGroup = (Group)rule.eContents().get(1);
2484 2484 private final Action cIntEnumberationAction_0 = (Action)cGroup.eContents().get(0);
2485 //'debug' 2485 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
2486 public Keyword getDebugKeyword_3_8_0() { return cDebugKeyword_3_8_0; } 2486 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
2487 2487 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
2488 //'=' 2488 private final RuleCall cEntryINTLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0);
2489 public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } 2489 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
2490 2490 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
2491 //debugFolder=File 2491 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
2492 public Assignment getDebugFolderAssignment_3_8_2() { return cDebugFolderAssignment_3_8_2; } 2492 private final RuleCall cEntryINTLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0);
2493 2493 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
2494 //File 2494
2495 public RuleCall getDebugFolderFileParserRuleCall_3_8_2_0() { return cDebugFolderFileParserRuleCall_3_8_2_0; } 2495 //IntEnumberation:
2496 2496 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}';
2497 //('log' '=' targetLogFile=File)? 2497 @Override public ParserRule getRule() { return rule; }
2498 public Group getGroup_3_9() { return cGroup_3_9; } 2498
2499 2499 //{IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'
2500 //'log' 2500 public Group getGroup() { return cGroup; }
2501 public Keyword getLogKeyword_3_9_0() { return cLogKeyword_3_9_0; } 2501
2502 2502 //{IntEnumberation}
2503 //'=' 2503 public Action getIntEnumberationAction_0() { return cIntEnumberationAction_0; }
2504 public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } 2504
2505 2505 //'{'
2506 //targetLogFile=File 2506 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
2507 public Assignment getTargetLogFileAssignment_3_9_2() { return cTargetLogFileAssignment_3_9_2; } 2507
2508 2508 //(entry+=INTLiteral (',' entry+=INTLiteral)*)?
2509 //File 2509 public Group getGroup_2() { return cGroup_2; }
2510 public RuleCall getTargetLogFileFileParserRuleCall_3_9_2_0() { return cTargetLogFileFileParserRuleCall_3_9_2_0; } 2510
2511 2511 //entry+=INTLiteral
2512 //('statistics' '=' targetStatisticsFile=File)? 2512 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; }
2513 public Group getGroup_3_10() { return cGroup_3_10; } 2513
2514 2514 //INTLiteral
2515 //'statistics' 2515 public RuleCall getEntryINTLiteralParserRuleCall_2_0_0() { return cEntryINTLiteralParserRuleCall_2_0_0; }
2516 public Keyword getStatisticsKeyword_3_10_0() { return cStatisticsKeyword_3_10_0; } 2516
2517 2517 //(',' entry+=INTLiteral)*
2518 //'=' 2518 public Group getGroup_2_1() { return cGroup_2_1; }
2519 public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } 2519
2520 2520 //','
2521 //targetStatisticsFile=File 2521 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
2522 public Assignment getTargetStatisticsFileAssignment_3_10_2() { return cTargetStatisticsFileAssignment_3_10_2; } 2522
2523 2523 //entry+=INTLiteral
2524 //File 2524 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; }
2525 public RuleCall getTargetStatisticsFileFileParserRuleCall_3_10_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_10_2_0; } 2525
2526 2526 //INTLiteral
2527 //('output' '=' tagetFolder=File)? 2527 public RuleCall getEntryINTLiteralParserRuleCall_2_1_1_0() { return cEntryINTLiteralParserRuleCall_2_1_1_0; }
2528 public Group getGroup_3_11() { return cGroup_3_11; } 2528
2529 2529 //'}'
2530 //'output' 2530 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
2531 public Keyword getOutputKeyword_3_11_0() { return cOutputKeyword_3_11_0; } 2531 }
2532 2532 public class RealEnumerationElements extends AbstractParserRuleElementFinder {
2533 //'=' 2533 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealEnumeration");
2534 public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } 2534 private final Group cGroup = (Group)rule.eContents().get(1);
2535 2535 private final Action cRealEnumerationAction_0 = (Action)cGroup.eContents().get(0);
2536 //tagetFolder=File 2536 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
2537 public Assignment getTagetFolderAssignment_3_11_2() { return cTagetFolderAssignment_3_11_2; } 2537 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
2538 2538 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
2539 //File 2539 private final RuleCall cEntryREALLiteralParserRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0);
2540 public RuleCall getTagetFolderFileParserRuleCall_3_11_2_0() { return cTagetFolderFileParserRuleCall_3_11_2_0; } 2540 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
2541 2541 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
2542 //'}' 2542 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
2543 public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } 2543 private final RuleCall cEntryREALLiteralParserRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0);
2544 } 2544 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
2545 2545
2546 public class DocumentLevelSpecificationElements extends AbstractEnumRuleElementFinder { 2546 //RealEnumeration:
2547 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification"); 2547 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}';
2548 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 2548 @Override public ParserRule getRule() { return rule; }
2549 private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); 2549
2550 private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0); 2550 //{RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'
2551 private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); 2551 public Group getGroup() { return cGroup; }
2552 private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0); 2552
2553 private final EnumLiteralDeclaration cFullEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); 2553 //{RealEnumeration}
2554 private final Keyword cFullFullKeyword_2_0 = (Keyword)cFullEnumLiteralDeclaration_2.eContents().get(0); 2554 public Action getRealEnumerationAction_0() { return cRealEnumerationAction_0; }
2555 2555
2556 //enum DocumentLevelSpecification: 2556 //'{'
2557 // none | normal | full; 2557 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
2558 public EnumRule getRule() { return rule; } 2558
2559 2559 //(entry+=REALLiteral (',' entry+=REALLiteral)*)?
2560 //none | normal | full 2560 public Group getGroup_2() { return cGroup_2; }
2561 public Alternatives getAlternatives() { return cAlternatives; } 2561
2562 2562 //entry+=REALLiteral
2563 //none 2563 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; }
2564 public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; } 2564
2565 2565 //REALLiteral
2566 //"none" 2566 public RuleCall getEntryREALLiteralParserRuleCall_2_0_0() { return cEntryREALLiteralParserRuleCall_2_0_0; }
2567 public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; } 2567
2568 2568 //(',' entry+=REALLiteral)*
2569 //normal 2569 public Group getGroup_2_1() { return cGroup_2_1; }
2570 public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; } 2570
2571 2571 //','
2572 //"normal" 2572 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
2573 public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; } 2573
2574 2574 //entry+=REALLiteral
2575 //full 2575 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; }
2576 public EnumLiteralDeclaration getFullEnumLiteralDeclaration_2() { return cFullEnumLiteralDeclaration_2; } 2576
2577 2577 //REALLiteral
2578 //"full" 2578 public RuleCall getEntryREALLiteralParserRuleCall_2_1_1_0() { return cEntryREALLiteralParserRuleCall_2_1_1_0; }
2579 public Keyword getFullFullKeyword_2_0() { return cFullFullKeyword_2_0; } 2579
2580 } 2580 //'}'
2581 public class SolverElements extends AbstractEnumRuleElementFinder { 2581 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
2582 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); 2582 }
2583 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 2583 public class StringEnumerationElements extends AbstractParserRuleElementFinder {
2584 private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); 2584 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringEnumeration");
2585 private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0); 2585 private final Group cGroup = (Group)rule.eContents().get(1);
2586 private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); 2586 private final Action cStringEnumerationAction_0 = (Action)cGroup.eContents().get(0);
2587 private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0); 2587 private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
2588 private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); 2588 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
2589 private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0); 2589 private final Assignment cEntryAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
2590 2590 private final RuleCall cEntrySTRINGTerminalRuleCall_2_0_0 = (RuleCall)cEntryAssignment_2_0.eContents().get(0);
2591 //enum Solver: 2591 private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1);
2592 // SMTSolver | AlloySolver | ViatraSolver; 2592 private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
2593 public EnumRule getRule() { return rule; } 2593 private final Assignment cEntryAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
2594 2594 private final RuleCall cEntrySTRINGTerminalRuleCall_2_1_1_0 = (RuleCall)cEntryAssignment_2_1_1.eContents().get(0);
2595 //SMTSolver | AlloySolver | ViatraSolver 2595 private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
2596 public Alternatives getAlternatives() { return cAlternatives; } 2596
2597 2597 //StringEnumeration:
2598 //SMTSolver 2598 // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}';
2599 public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; } 2599 @Override public ParserRule getRule() { return rule; }
2600 2600
2601 //"SMTSolver" 2601 //{StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'
2602 public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; } 2602 public Group getGroup() { return cGroup; }
2603 2603
2604 //AlloySolver 2604 //{StringEnumeration}
2605 public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; } 2605 public Action getStringEnumerationAction_0() { return cStringEnumerationAction_0; }
2606 2606
2607 //"AlloySolver" 2607 //'{'
2608 public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; } 2608 public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
2609 2609
2610 //ViatraSolver 2610 //(entry+=STRING (',' entry+=STRING)*)?
2611 public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; } 2611 public Group getGroup_2() { return cGroup_2; }
2612 2612
2613 //"ViatraSolver" 2613 //entry+=STRING
2614 public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; } 2614 public Assignment getEntryAssignment_2_0() { return cEntryAssignment_2_0; }
2615 } 2615
2616 2616 //STRING
2617 private final ConfigurationScriptElements pConfigurationScript; 2617 public RuleCall getEntrySTRINGTerminalRuleCall_2_0_0() { return cEntrySTRINGTerminalRuleCall_2_0_0; }
2618 private final CommandElements pCommand; 2618
2619 private final QualifiedNameElements pQualifiedName; 2619 //(',' entry+=STRING)*
2620 private final REALLiteralElements pREALLiteral; 2620 public Group getGroup_2_1() { return cGroup_2_1; }
2621 private final INTLiteralElements pINTLiteral; 2621
2622 private final ImportElements pImport; 2622 //','
2623 private final EPackageImportElements pEPackageImport; 2623 public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; }
2624 private final ViatraImportElements pViatraImport; 2624
2625 private final DeclarationElements pDeclaration; 2625 //entry+=STRING
2626 private final FileSpecificationElements pFileSpecification; 2626 public Assignment getEntryAssignment_2_1_1() { return cEntryAssignment_2_1_1; }
2627 private final FileDeclarationElements pFileDeclaration; 2627
2628 private final FileReferenceElements pFileReference; 2628 //STRING
2629 private final FileElements pFile; 2629 public RuleCall getEntrySTRINGTerminalRuleCall_2_1_1_0() { return cEntrySTRINGTerminalRuleCall_2_1_1_0; }
2630 private final MetamodelSpecificationElements pMetamodelSpecification; 2630
2631 private final MetamodelEntryElements pMetamodelEntry; 2631 //'}'
2632 private final AllPackageEntryElements pAllPackageEntry; 2632 public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
2633 private final MetamodelElementElements pMetamodelElement; 2633 }
2634 private final MetamodelDeclarationElements pMetamodelDeclaration; 2634 public class ScopeDeclarationElements extends AbstractParserRuleElementFinder {
2635 private final MetamodelReferenceElements pMetamodelReference; 2635 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration");
2636 private final MetamodelElements pMetamodel; 2636 private final Group cGroup = (Group)rule.eContents().get(1);
2637 private final PartialModelSpecificationElements pPartialModelSpecification; 2637 private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0);
2638 private final PartialModelEntryElements pPartialModelEntry; 2638 private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
2639 private final ModelEntryElements pModelEntry; 2639 private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
2640 private final FolderEntryElements pFolderEntry; 2640 private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2);
2641 private final PartialModelDeclarationElements pPartialModelDeclaration; 2641 private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0);
2642 private final PartialModelReferenceElements pPartialModelReference; 2642
2643 private final PartialModelElements pPartialModel; 2643 //ScopeDeclaration:
2644 private final PatternSpecificationElements pPatternSpecification; 2644 // 'scope' name=ID specification=ScopeSpecification;
2645 private final PatternEntryElements pPatternEntry; 2645 @Override public ParserRule getRule() { return rule; }
2646 private final AllPatternEntryElements pAllPatternEntry; 2646
2647 private final PatternElementElements pPatternElement; 2647 //'scope' name=ID specification=ScopeSpecification
2648 private final GraphPatternDeclarationElements pGraphPatternDeclaration; 2648 public Group getGroup() { return cGroup; }
2649 private final GraphPatternReferenceElements pGraphPatternReference; 2649
2650 private final GraphPatternElements pGraphPattern; 2650 //'scope'
2651 private final ConfigSpecificationElements pConfigSpecification; 2651 public Keyword getScopeKeyword_0() { return cScopeKeyword_0; }
2652 private final ConfigDeclarationElements pConfigDeclaration; 2652
2653 private final ConfigEntryElements pConfigEntry; 2653 //name=ID
2654 private final DocumentationEntryElements pDocumentationEntry; 2654 public Assignment getNameAssignment_1() { return cNameAssignment_1; }
2655 private final DocumentLevelSpecificationElements eDocumentLevelSpecification; 2655
2656 private final RuntimeEntryElements pRuntimeEntry; 2656 //ID
2657 private final MemoryEntryElements pMemoryEntry; 2657 public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
2658 private final CustomEntryElements pCustomEntry; 2658
2659 private final ConfigReferenceElements pConfigReference; 2659 //specification=ScopeSpecification
2660 private final ConfigElements pConfig; 2660 public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; }
2661 private final SolverElements eSolver; 2661
2662 private final ScopeSpecificationElements pScopeSpecification; 2662 //ScopeSpecification
2663 private final TypeScopeElements pTypeScope; 2663 public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; }
2664 private final ClassTypeScopeElements pClassTypeScope; 2664 }
2665 private final ObjectTypeScopeElements pObjectTypeScope; 2665 public class ScopeReferenceElements extends AbstractParserRuleElementFinder {
2666 private final IntegerTypeScopeElements pIntegerTypeScope; 2666 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference");
2667 private final RealTypeScopeElements pRealTypeScope; 2667 private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1);
2668 private final StringTypeScopeElements pStringTypeScope; 2668 private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0);
2669 private final TypeReferenceElements pTypeReference; 2669 private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1);
2670 private final ClassReferenceElements pClassReference; 2670
2671 private final ObjectReferenceElements pObjectReference; 2671 //ScopeReference:
2672 private final IntegerReferenceElements pIntegerReference; 2672 // referred=[ScopeDeclaration];
2673 private final RealReferenceElements pRealReference; 2673 @Override public ParserRule getRule() { return rule; }
2674 private final StringReferenceElements pStringReference; 2674
2675 private final NumberSpecificationElements pNumberSpecification; 2675 //referred=[ScopeDeclaration]
2676 private final ExactNumberElements pExactNumber; 2676 public Assignment getReferredAssignment() { return cReferredAssignment; }
2677 private final IntervallNumberElements pIntervallNumber; 2677
2678 private final IntEnumberationElements pIntEnumberation; 2678 //[ScopeDeclaration]
2679 private final RealEnumerationElements pRealEnumeration; 2679 public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; }
2680 private final StringEnumerationElements pStringEnumeration; 2680
2681 private final ScopeDeclarationElements pScopeDeclaration; 2681 //ID
2682 private final ScopeReferenceElements pScopeReference; 2682 public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; }
2683 private final ScopeElements pScope; 2683 }
2684 private final TaskElements pTask; 2684 public class ScopeElements extends AbstractParserRuleElementFinder {
2685 private final GenerationTaskElements pGenerationTask; 2685 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
2686 2686 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
2687 private final Grammar grammar; 2687 private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
2688 2688 private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
2689 private final TerminalsGrammarAccess gaTerminals; 2689
2690 2690 //Scope:
2691 @Inject 2691 // ScopeSpecification | ScopeReference;
2692 public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider, 2692 @Override public ParserRule getRule() { return rule; }
2693 TerminalsGrammarAccess gaTerminals) { 2693
2694 this.grammar = internalFindGrammar(grammarProvider); 2694 //ScopeSpecification | ScopeReference
2695 this.gaTerminals = gaTerminals; 2695 public Alternatives getAlternatives() { return cAlternatives; }
2696 this.pConfigurationScript = new ConfigurationScriptElements(); 2696
2697 this.pCommand = new CommandElements(); 2697 //ScopeSpecification
2698 this.pQualifiedName = new QualifiedNameElements(); 2698 public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; }
2699 this.pREALLiteral = new REALLiteralElements(); 2699
2700 this.pINTLiteral = new INTLiteralElements(); 2700 //ScopeReference
2701 this.pImport = new ImportElements(); 2701 public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; }
2702 this.pEPackageImport = new EPackageImportElements(); 2702 }
2703 this.pViatraImport = new ViatraImportElements(); 2703 public class TaskElements extends AbstractParserRuleElementFinder {
2704 this.pDeclaration = new DeclarationElements(); 2704 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task");
2705 this.pFileSpecification = new FileSpecificationElements(); 2705 private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1);
2706 this.pFileDeclaration = new FileDeclarationElements(); 2706
2707 this.pFileReference = new FileReferenceElements(); 2707 //Task:
2708 this.pFile = new FileElements(); 2708 // GenerationTask /*| CoverageCalculation | ValidationTask*/;
2709 this.pMetamodelSpecification = new MetamodelSpecificationElements(); 2709 @Override public ParserRule getRule() { return rule; }
2710 this.pMetamodelEntry = new MetamodelEntryElements(); 2710
2711 this.pAllPackageEntry = new AllPackageEntryElements(); 2711 //GenerationTask
2712 this.pMetamodelElement = new MetamodelElementElements(); 2712 public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; }
2713 this.pMetamodelDeclaration = new MetamodelDeclarationElements(); 2713 }
2714 this.pMetamodelReference = new MetamodelReferenceElements(); 2714 public class GenerationTaskElements extends AbstractParserRuleElementFinder {
2715 this.pMetamodel = new MetamodelElements(); 2715 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask");
2716 this.pPartialModelSpecification = new PartialModelSpecificationElements(); 2716 private final Group cGroup = (Group)rule.eContents().get(1);
2717 this.pPartialModelEntry = new PartialModelEntryElements(); 2717 private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0);
2718 this.pModelEntry = new ModelEntryElements(); 2718 private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1);
2719 this.pFolderEntry = new FolderEntryElements(); 2719 private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
2720 this.pPartialModelDeclaration = new PartialModelDeclarationElements(); 2720 private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
2721 this.pPartialModelReference = new PartialModelReferenceElements(); 2721 private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
2722 this.pPartialModel = new PartialModelElements(); 2722 private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
2723 this.pPatternSpecification = new PatternSpecificationElements(); 2723 private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1);
2724 this.pPatternEntry = new PatternEntryElements(); 2724 private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2);
2725 this.pAllPatternEntry = new AllPatternEntryElements(); 2725 private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0);
2726 this.pPatternElement = new PatternElementElements(); 2726 private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
2727 this.pGraphPatternDeclaration = new GraphPatternDeclarationElements(); 2727 private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
2728 this.pGraphPatternReference = new GraphPatternReferenceElements(); 2728 private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1);
2729 this.pGraphPattern = new GraphPatternElements(); 2729 private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2);
2730 this.pConfigSpecification = new ConfigSpecificationElements(); 2730 private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0);
2731 this.pConfigDeclaration = new ConfigDeclarationElements(); 2731 private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2);
2732 this.pConfigEntry = new ConfigEntryElements(); 2732 private final Keyword cConstraintsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0);
2733 this.pDocumentationEntry = new DocumentationEntryElements(); 2733 private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1);
2734 this.eDocumentLevelSpecification = new DocumentLevelSpecificationElements(); 2734 private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2);
2735 this.pRuntimeEntry = new RuntimeEntryElements(); 2735 private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0);
2736 this.pMemoryEntry = new MemoryEntryElements(); 2736 private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3);
2737 this.pCustomEntry = new CustomEntryElements(); 2737 private final Keyword cObjectivesKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0);
2738 this.pConfigReference = new ConfigReferenceElements(); 2738 private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1);
2739 this.pConfig = new ConfigElements(); 2739 private final Assignment cObjectivesAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2);
2740 this.eSolver = new SolverElements(); 2740 private final RuleCall cObjectivesObjectiveParserRuleCall_3_3_2_0 = (RuleCall)cObjectivesAssignment_3_3_2.eContents().get(0);
2741 this.pScopeSpecification = new ScopeSpecificationElements(); 2741 private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4);
2742 this.pTypeScope = new TypeScopeElements(); 2742 private final Keyword cScopeKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0);
2743 this.pClassTypeScope = new ClassTypeScopeElements(); 2743 private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1);
2744 this.pObjectTypeScope = new ObjectTypeScopeElements(); 2744 private final Assignment cScopeAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2);
2745 this.pIntegerTypeScope = new IntegerTypeScopeElements(); 2745 private final RuleCall cScopeScopeParserRuleCall_3_4_2_0 = (RuleCall)cScopeAssignment_3_4_2.eContents().get(0);
2746 this.pRealTypeScope = new RealTypeScopeElements(); 2746 private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5);
2747 this.pStringTypeScope = new StringTypeScopeElements(); 2747 private final Assignment cNumberSpecifiedAssignment_3_5_0 = (Assignment)cGroup_3_5.eContents().get(0);
2748 this.pTypeReference = new TypeReferenceElements(); 2748 private final Keyword cNumberSpecifiedNumberKeyword_3_5_0_0 = (Keyword)cNumberSpecifiedAssignment_3_5_0.eContents().get(0);
2749 this.pClassReference = new ClassReferenceElements(); 2749 private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1);
2750 this.pObjectReference = new ObjectReferenceElements(); 2750 private final Assignment cNumberAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2);
2751 this.pIntegerReference = new IntegerReferenceElements(); 2751 private final RuleCall cNumberINTTerminalRuleCall_3_5_2_0 = (RuleCall)cNumberAssignment_3_5_2.eContents().get(0);
2752 this.pRealReference = new RealReferenceElements(); 2752 private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6);
2753 this.pStringReference = new StringReferenceElements(); 2753 private final Assignment cRunSpecifiedAssignment_3_6_0 = (Assignment)cGroup_3_6.eContents().get(0);
2754 this.pNumberSpecification = new NumberSpecificationElements(); 2754 private final Keyword cRunSpecifiedRunsKeyword_3_6_0_0 = (Keyword)cRunSpecifiedAssignment_3_6_0.eContents().get(0);
2755 this.pExactNumber = new ExactNumberElements(); 2755 private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1);
2756 this.pIntervallNumber = new IntervallNumberElements(); 2756 private final Assignment cRunsAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2);
2757 this.pIntEnumberation = new IntEnumberationElements(); 2757 private final RuleCall cRunsINTTerminalRuleCall_3_6_2_0 = (RuleCall)cRunsAssignment_3_6_2.eContents().get(0);
2758 this.pRealEnumeration = new RealEnumerationElements(); 2758 private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7);
2759 this.pStringEnumeration = new StringEnumerationElements(); 2759 private final Keyword cSolverKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0);
2760 this.pScopeDeclaration = new ScopeDeclarationElements(); 2760 private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1);
2761 this.pScopeReference = new ScopeReferenceElements(); 2761 private final Assignment cSolverAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2);
2762 this.pScope = new ScopeElements(); 2762 private final RuleCall cSolverSolverEnumRuleCall_3_7_2_0 = (RuleCall)cSolverAssignment_3_7_2.eContents().get(0);
2763 this.pTask = new TaskElements(); 2763 private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8);
2764 this.pGenerationTask = new GenerationTaskElements(); 2764 private final Keyword cConfigKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0);
2765 } 2765 private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1);
2766 2766 private final Assignment cConfigAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2);
2767 protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { 2767 private final RuleCall cConfigConfigParserRuleCall_3_8_2_0 = (RuleCall)cConfigAssignment_3_8_2.eContents().get(0);
2768 Grammar grammar = grammarProvider.getGrammar(this); 2768 private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9);
2769 while (grammar != null) { 2769 private final Keyword cDebugKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0);
2770 if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) { 2770 private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1);
2771 return grammar; 2771 private final Assignment cDebugFolderAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2);
2772 } 2772 private final RuleCall cDebugFolderFileParserRuleCall_3_9_2_0 = (RuleCall)cDebugFolderAssignment_3_9_2.eContents().get(0);
2773 List<Grammar> grammars = grammar.getUsedGrammars(); 2773 private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10);
2774 if (!grammars.isEmpty()) { 2774 private final Keyword cLogKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0);
2775 grammar = grammars.iterator().next(); 2775 private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1);
2776 } else { 2776 private final Assignment cTargetLogFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2);
2777 return null; 2777 private final RuleCall cTargetLogFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetLogFileAssignment_3_10_2.eContents().get(0);
2778 } 2778 private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11);
2779 } 2779 private final Keyword cStatisticsKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0);
2780 return grammar; 2780 private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1);
2781 } 2781 private final Assignment cTargetStatisticsFileAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2);
2782 2782 private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_11_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_11_2.eContents().get(0);
2783 @Override 2783 private final Group cGroup_3_12 = (Group)cUnorderedGroup_3.eContents().get(12);
2784 public Grammar getGrammar() { 2784 private final Keyword cOutputKeyword_3_12_0 = (Keyword)cGroup_3_12.eContents().get(0);
2785 return grammar; 2785 private final Keyword cEqualsSignKeyword_3_12_1 = (Keyword)cGroup_3_12.eContents().get(1);
2786 } 2786 private final Assignment cTagetFolderAssignment_3_12_2 = (Assignment)cGroup_3_12.eContents().get(2);
2787 2787 private final RuleCall cTagetFolderFileParserRuleCall_3_12_2_0 = (RuleCall)cTagetFolderAssignment_3_12_2.eContents().get(0);
2788 2788 private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
2789 public TerminalsGrammarAccess getTerminalsGrammarAccess() { 2789
2790 return gaTerminals; 2790 //GenerationTask:
2791 } 2791 // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '='
2792 2792 // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? &
2793 2793 // ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? &
2794 //ConfigurationScript: 2794 // ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '='
2795 // imports+=Import* 2795 // targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}';
2796 // commands+=Command*; 2796 @Override public ParserRule getRule() { return rule; }
2797 public ConfigurationScriptElements getConfigurationScriptAccess() { 2797
2798 return pConfigurationScript; 2798 //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '='
2799 } 2799 //partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? &
2800 2800 //('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? &
2801 public ParserRule getConfigurationScriptRule() { 2801 //('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '='
2802 return getConfigurationScriptAccess().getRule(); 2802 //targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'
2803 } 2803 public Group getGroup() { return cGroup; }
2804 2804
2805 //Command: 2805 //'generate'
2806 // Declaration | Task; 2806 public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; }
2807 public CommandElements getCommandAccess() { 2807
2808 return pCommand; 2808 //{GenerationTask}
2809 } 2809 public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; }
2810 2810
2811 public ParserRule getCommandRule() { 2811 //'{'
2812 return getCommandAccess().getRule(); 2812 public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
2813 } 2813
2814 2814 //('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('constraints' '='
2815 //QualifiedName: 2815 //patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? & ('scope' '=' scope=Scope)? &
2816 // ID ('.' ID)*; 2816 //(numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? &
2817 public QualifiedNameElements getQualifiedNameAccess() { 2817 //('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '='
2818 return pQualifiedName; 2818 //targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?
2819 } 2819 public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
2820 2820
2821 public ParserRule getQualifiedNameRule() { 2821 //('metamodel' '=' metamodel=Metamodel)?
2822 return getQualifiedNameAccess().getRule(); 2822 public Group getGroup_3_0() { return cGroup_3_0; }
2823 } 2823
2824 2824 //'metamodel'
2825 //REALLiteral ecore::EBigDecimal: 2825 public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; }
2826 // '-'? INT '.' INT; 2826
2827 public REALLiteralElements getREALLiteralAccess() { 2827 //'='
2828 return pREALLiteral; 2828 public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; }
2829 } 2829
2830 2830 //metamodel=Metamodel
2831 public ParserRule getREALLiteralRule() { 2831 public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; }
2832 return getREALLiteralAccess().getRule(); 2832
2833 } 2833 //Metamodel
2834 2834 public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; }
2835 //INTLiteral ecore::EInt: 2835
2836 // '-'? INT; 2836 //('partial-model' '=' partialModel=PartialModel)?
2837 public INTLiteralElements getINTLiteralAccess() { 2837 public Group getGroup_3_1() { return cGroup_3_1; }
2838 return pINTLiteral; 2838
2839 } 2839 //'partial-model'
2840 2840 public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; }
2841 public ParserRule getINTLiteralRule() { 2841
2842 return getINTLiteralAccess().getRule(); 2842 //'='
2843 } 2843 public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; }
2844 2844
2845 ///////////////////////////////////////////////////// 2845 //partialModel=PartialModel
2846 //// Imports 2846 public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; }
2847 ///////////////////////////////////////////////////// 2847
2848 //Import: 2848 //PartialModel
2849 // EPackageImport | ViatraImport; 2849 public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; }
2850 public ImportElements getImportAccess() { 2850
2851 return pImport; 2851 //('constraints' '=' patterns=GraphPattern)?
2852 } 2852 public Group getGroup_3_2() { return cGroup_3_2; }
2853 2853
2854 public ParserRule getImportRule() { 2854 //'constraints'
2855 return getImportAccess().getRule(); 2855 public Keyword getConstraintsKeyword_3_2_0() { return cConstraintsKeyword_3_2_0; }
2856 } 2856
2857 2857 //'='
2858 //EPackageImport: 2858 public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; }
2859 // "import" "epackage" importedPackage=[ecore::EPackage|STRING]; 2859
2860 public EPackageImportElements getEPackageImportAccess() { 2860 //patterns=GraphPattern
2861 return pEPackageImport; 2861 public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; }
2862 } 2862
2863 2863 //GraphPattern
2864 public ParserRule getEPackageImportRule() { 2864 public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; }
2865 return getEPackageImportAccess().getRule(); 2865
2866 } 2866 //('objectives' '=' objectives=Objective)?
2867 2867 public Group getGroup_3_3() { return cGroup_3_3; }
2868 //ViatraImport: 2868
2869 // "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; 2869 //'objectives'
2870 public ViatraImportElements getViatraImportAccess() { 2870 public Keyword getObjectivesKeyword_3_3_0() { return cObjectivesKeyword_3_3_0; }
2871 return pViatraImport; 2871
2872 } 2872 //'='
2873 2873 public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; }
2874 public ParserRule getViatraImportRule() { 2874
2875 return getViatraImportAccess().getRule(); 2875 //objectives=Objective
2876 } 2876 public Assignment getObjectivesAssignment_3_3_2() { return cObjectivesAssignment_3_3_2; }
2877 2877
2878 ///////////////////////////////////////////////////// 2878 //Objective
2879 //// Declaration 2879 public RuleCall getObjectivesObjectiveParserRuleCall_3_3_2_0() { return cObjectivesObjectiveParserRuleCall_3_3_2_0; }
2880 ///////////////////////////////////////////////////// 2880
2881 //Declaration: 2881 //('scope' '=' scope=Scope)?
2882 // FileDeclaration 2882 public Group getGroup_3_4() { return cGroup_3_4; }
2883 // | MetamodelDeclaration 2883
2884 // | PartialModelDeclaration 2884 //'scope'
2885 // | GraphPatternDeclaration 2885 public Keyword getScopeKeyword_3_4_0() { return cScopeKeyword_3_4_0; }
2886 // | ConfigDeclaration 2886
2887 // | ScopeDeclaration; 2887 //'='
2888 public DeclarationElements getDeclarationAccess() { 2888 public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; }
2889 return pDeclaration; 2889
2890 } 2890 //scope=Scope
2891 2891 public Assignment getScopeAssignment_3_4_2() { return cScopeAssignment_3_4_2; }
2892 public ParserRule getDeclarationRule() { 2892
2893 return getDeclarationAccess().getRule(); 2893 //Scope
2894 } 2894 public RuleCall getScopeScopeParserRuleCall_3_4_2_0() { return cScopeScopeParserRuleCall_3_4_2_0; }
2895 2895
2896 ///////////////////////////////////////////////////// 2896 //(numberSpecified?='number' '=' number=INT)?
2897 //// Files and Folders 2897 public Group getGroup_3_5() { return cGroup_3_5; }
2898 ///////////////////////////////////////////////////// 2898
2899 //FileSpecification: 2899 //numberSpecified?='number'
2900 // path=STRING; 2900 public Assignment getNumberSpecifiedAssignment_3_5_0() { return cNumberSpecifiedAssignment_3_5_0; }
2901 public FileSpecificationElements getFileSpecificationAccess() { 2901
2902 return pFileSpecification; 2902 //'number'
2903 } 2903 public Keyword getNumberSpecifiedNumberKeyword_3_5_0_0() { return cNumberSpecifiedNumberKeyword_3_5_0_0; }
2904 2904
2905 public ParserRule getFileSpecificationRule() { 2905 //'='
2906 return getFileSpecificationAccess().getRule(); 2906 public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; }
2907 } 2907
2908 2908 //number=INT
2909 //FileDeclaration: 2909 public Assignment getNumberAssignment_3_5_2() { return cNumberAssignment_3_5_2; }
2910 // 'file' name=ID '=' specification=FileSpecification; 2910
2911 public FileDeclarationElements getFileDeclarationAccess() { 2911 //INT
2912 return pFileDeclaration; 2912 public RuleCall getNumberINTTerminalRuleCall_3_5_2_0() { return cNumberINTTerminalRuleCall_3_5_2_0; }
2913 } 2913
2914 2914 //(runSpecified?='runs' '=' runs=INT)?
2915 public ParserRule getFileDeclarationRule() { 2915 public Group getGroup_3_6() { return cGroup_3_6; }
2916 return getFileDeclarationAccess().getRule(); 2916
2917 } 2917 //runSpecified?='runs'
2918 2918 public Assignment getRunSpecifiedAssignment_3_6_0() { return cRunSpecifiedAssignment_3_6_0; }
2919 //FileReference: 2919
2920 // referred=[FileDeclaration]; 2920 //'runs'
2921 public FileReferenceElements getFileReferenceAccess() { 2921 public Keyword getRunSpecifiedRunsKeyword_3_6_0_0() { return cRunSpecifiedRunsKeyword_3_6_0_0; }
2922 return pFileReference; 2922
2923 } 2923 //'='
2924 2924 public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; }
2925 public ParserRule getFileReferenceRule() { 2925
2926 return getFileReferenceAccess().getRule(); 2926 //runs=INT
2927 } 2927 public Assignment getRunsAssignment_3_6_2() { return cRunsAssignment_3_6_2; }
2928 2928
2929 //File: 2929 //INT
2930 // FileSpecification | FileReference; 2930 public RuleCall getRunsINTTerminalRuleCall_3_6_2_0() { return cRunsINTTerminalRuleCall_3_6_2_0; }
2931 public FileElements getFileAccess() { 2931
2932 return pFile; 2932 //('solver' '=' solver=Solver)?
2933 } 2933 public Group getGroup_3_7() { return cGroup_3_7; }
2934 2934
2935 public ParserRule getFileRule() { 2935 //'solver'
2936 return getFileAccess().getRule(); 2936 public Keyword getSolverKeyword_3_7_0() { return cSolverKeyword_3_7_0; }
2937 } 2937
2938 2938 //'='
2939 ///////////////////////////////////////////////////// 2939 public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; }
2940 //// Metamodel 2940
2941 ///////////////////////////////////////////////////// 2941 //solver=Solver
2942 //MetamodelSpecification: 2942 public Assignment getSolverAssignment_3_7_2() { return cSolverAssignment_3_7_2; }
2943 // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}'; 2943
2944 public MetamodelSpecificationElements getMetamodelSpecificationAccess() { 2944 //Solver
2945 return pMetamodelSpecification; 2945 public RuleCall getSolverSolverEnumRuleCall_3_7_2_0() { return cSolverSolverEnumRuleCall_3_7_2_0; }
2946 } 2946
2947 2947 //('config' '=' config=Config)?
2948 public ParserRule getMetamodelSpecificationRule() { 2948 public Group getGroup_3_8() { return cGroup_3_8; }
2949 return getMetamodelSpecificationAccess().getRule(); 2949
2950 } 2950 //'config'
2951 2951 public Keyword getConfigKeyword_3_8_0() { return cConfigKeyword_3_8_0; }
2952 //MetamodelEntry: 2952
2953 // MetamodelElement | AllPackageEntry; 2953 //'='
2954 public MetamodelEntryElements getMetamodelEntryAccess() { 2954 public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; }
2955 return pMetamodelEntry; 2955
2956 } 2956 //config=Config
2957 2957 public Assignment getConfigAssignment_3_8_2() { return cConfigAssignment_3_8_2; }
2958 public ParserRule getMetamodelEntryRule() { 2958
2959 return getMetamodelEntryAccess().getRule(); 2959 //Config
2960 } 2960 public RuleCall getConfigConfigParserRuleCall_3_8_2_0() { return cConfigConfigParserRuleCall_3_8_2_0; }
2961 2961
2962 //AllPackageEntry: 2962 //('debug' '=' debugFolder=File)?
2963 // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' 2963 public Group getGroup_3_9() { return cGroup_3_9; }
2964 // exclusion+=MetamodelElement)* '}')?; 2964
2965 public AllPackageEntryElements getAllPackageEntryAccess() { 2965 //'debug'
2966 return pAllPackageEntry; 2966 public Keyword getDebugKeyword_3_9_0() { return cDebugKeyword_3_9_0; }
2967 } 2967
2968 2968 //'='
2969 public ParserRule getAllPackageEntryRule() { 2969 public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; }
2970 return getAllPackageEntryAccess().getRule(); 2970
2971 } 2971 //debugFolder=File
2972 2972 public Assignment getDebugFolderAssignment_3_9_2() { return cDebugFolderAssignment_3_9_2; }
2973 //MetamodelElement: 2973
2974 // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' 2974 //File
2975 // feature=[ecore::ENamedElement])?; 2975 public RuleCall getDebugFolderFileParserRuleCall_3_9_2_0() { return cDebugFolderFileParserRuleCall_3_9_2_0; }
2976 public MetamodelElementElements getMetamodelElementAccess() { 2976
2977 return pMetamodelElement; 2977 //('log' '=' targetLogFile=File)?
2978 } 2978 public Group getGroup_3_10() { return cGroup_3_10; }
2979 2979
2980 public ParserRule getMetamodelElementRule() { 2980 //'log'
2981 return getMetamodelElementAccess().getRule(); 2981 public Keyword getLogKeyword_3_10_0() { return cLogKeyword_3_10_0; }
2982 } 2982
2983 2983 //'='
2984 //MetamodelDeclaration: 2984 public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; }
2985 // 'metamodel' name=ID specification=MetamodelSpecification; 2985
2986 public MetamodelDeclarationElements getMetamodelDeclarationAccess() { 2986 //targetLogFile=File
2987 return pMetamodelDeclaration; 2987 public Assignment getTargetLogFileAssignment_3_10_2() { return cTargetLogFileAssignment_3_10_2; }
2988 } 2988
2989 2989 //File
2990 public ParserRule getMetamodelDeclarationRule() { 2990 public RuleCall getTargetLogFileFileParserRuleCall_3_10_2_0() { return cTargetLogFileFileParserRuleCall_3_10_2_0; }
2991 return getMetamodelDeclarationAccess().getRule(); 2991
2992 } 2992 //('statistics' '=' targetStatisticsFile=File)?
2993 2993 public Group getGroup_3_11() { return cGroup_3_11; }
2994 //MetamodelReference: 2994
2995 // referred=[MetamodelDeclaration]; 2995 //'statistics'
2996 public MetamodelReferenceElements getMetamodelReferenceAccess() { 2996 public Keyword getStatisticsKeyword_3_11_0() { return cStatisticsKeyword_3_11_0; }
2997 return pMetamodelReference; 2997
2998 } 2998 //'='
2999 2999 public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; }
3000 public ParserRule getMetamodelReferenceRule() { 3000
3001 return getMetamodelReferenceAccess().getRule(); 3001 //targetStatisticsFile=File
3002 } 3002 public Assignment getTargetStatisticsFileAssignment_3_11_2() { return cTargetStatisticsFileAssignment_3_11_2; }
3003 3003
3004 //Metamodel: 3004 //File
3005 // MetamodelReference | MetamodelSpecification; 3005 public RuleCall getTargetStatisticsFileFileParserRuleCall_3_11_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_11_2_0; }
3006 public MetamodelElements getMetamodelAccess() { 3006
3007 return pMetamodel; 3007 //('output' '=' tagetFolder=File)?
3008 } 3008 public Group getGroup_3_12() { return cGroup_3_12; }
3009 3009
3010 public ParserRule getMetamodelRule() { 3010 //'output'
3011 return getMetamodelAccess().getRule(); 3011 public Keyword getOutputKeyword_3_12_0() { return cOutputKeyword_3_12_0; }
3012 } 3012
3013 3013 //'='
3014 ///////////////////////////////////////////////////// 3014 public Keyword getEqualsSignKeyword_3_12_1() { return cEqualsSignKeyword_3_12_1; }
3015 //// Partial Model 3015
3016 ///////////////////////////////////////////////////// 3016 //tagetFolder=File
3017 //PartialModelSpecification: 3017 public Assignment getTagetFolderAssignment_3_12_2() { return cTagetFolderAssignment_3_12_2; }
3018 // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; 3018
3019 public PartialModelSpecificationElements getPartialModelSpecificationAccess() { 3019 //File
3020 return pPartialModelSpecification; 3020 public RuleCall getTagetFolderFileParserRuleCall_3_12_2_0() { return cTagetFolderFileParserRuleCall_3_12_2_0; }
3021 } 3021
3022 3022 //'}'
3023 public ParserRule getPartialModelSpecificationRule() { 3023 public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
3024 return getPartialModelSpecificationAccess().getRule(); 3024 }
3025 } 3025
3026 3026 public class OptimizationDirectionElements extends AbstractEnumRuleElementFinder {
3027 //PartialModelEntry: 3027 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.OptimizationDirection");
3028 // ModelEntry | FolderEntry; 3028 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
3029 public PartialModelEntryElements getPartialModelEntryAccess() { 3029 private final EnumLiteralDeclaration cMINIMIZEEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
3030 return pPartialModelEntry; 3030 private final Keyword cMINIMIZEMinimizeKeyword_0_0 = (Keyword)cMINIMIZEEnumLiteralDeclaration_0.eContents().get(0);
3031 } 3031 private final EnumLiteralDeclaration cMAXIMIZEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
3032 3032 private final Keyword cMAXIMIZEMaximizeKeyword_1_0 = (Keyword)cMAXIMIZEEnumLiteralDeclaration_1.eContents().get(0);
3033 public ParserRule getPartialModelEntryRule() { 3033
3034 return getPartialModelEntryAccess().getRule(); 3034 //enum OptimizationDirection:
3035 } 3035 // MINIMIZE='minimize' | MAXIMIZE='maximize';
3036 3036 public EnumRule getRule() { return rule; }
3037 //ModelEntry: 3037
3038 // path=File; 3038 //MINIMIZE='minimize' | MAXIMIZE='maximize'
3039 public ModelEntryElements getModelEntryAccess() { 3039 public Alternatives getAlternatives() { return cAlternatives; }
3040 return pModelEntry; 3040
3041 } 3041 //MINIMIZE='minimize'
3042 3042 public EnumLiteralDeclaration getMINIMIZEEnumLiteralDeclaration_0() { return cMINIMIZEEnumLiteralDeclaration_0; }
3043 public ParserRule getModelEntryRule() { 3043
3044 return getModelEntryAccess().getRule(); 3044 //'minimize'
3045 } 3045 public Keyword getMINIMIZEMinimizeKeyword_0_0() { return cMINIMIZEMinimizeKeyword_0_0; }
3046 3046
3047 //FolderEntry: 3047 //MAXIMIZE='maximize'
3048 // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; 3048 public EnumLiteralDeclaration getMAXIMIZEEnumLiteralDeclaration_1() { return cMAXIMIZEEnumLiteralDeclaration_1; }
3049 public FolderEntryElements getFolderEntryAccess() { 3049
3050 return pFolderEntry; 3050 //'maximize'
3051 } 3051 public Keyword getMAXIMIZEMaximizeKeyword_1_0() { return cMAXIMIZEMaximizeKeyword_1_0; }
3052 3052 }
3053 public ParserRule getFolderEntryRule() { 3053 public class ComparisonOperatorElements extends AbstractEnumRuleElementFinder {
3054 return getFolderEntryAccess().getRule(); 3054 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ComparisonOperator");
3055 } 3055 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
3056 3056 private final EnumLiteralDeclaration cLESSEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
3057 //PartialModelDeclaration: 3057 private final Keyword cLESSLessThanSignKeyword_0_0 = (Keyword)cLESSEnumLiteralDeclaration_0.eContents().get(0);
3058 // 'models' name=ID specification=PartialModelSpecification; 3058 private final EnumLiteralDeclaration cGREATEREnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
3059 public PartialModelDeclarationElements getPartialModelDeclarationAccess() { 3059 private final Keyword cGREATERGreaterThanSignKeyword_1_0 = (Keyword)cGREATEREnumLiteralDeclaration_1.eContents().get(0);
3060 return pPartialModelDeclaration; 3060 private final EnumLiteralDeclaration cLESS_EQUALSEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
3061 } 3061 private final Keyword cLESS_EQUALSLessThanSignEqualsSignKeyword_2_0 = (Keyword)cLESS_EQUALSEnumLiteralDeclaration_2.eContents().get(0);
3062 3062 private final EnumLiteralDeclaration cGREATER_EQUALSEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
3063 public ParserRule getPartialModelDeclarationRule() { 3063 private final Keyword cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_3_0 = (Keyword)cGREATER_EQUALSEnumLiteralDeclaration_3.eContents().get(0);
3064 return getPartialModelDeclarationAccess().getRule(); 3064
3065 } 3065 //enum ComparisonOperator:
3066 3066 // LESS='<' | GREATER='>' | LESS_EQUALS='<=' | GREATER_EQUALS='>=';
3067 //PartialModelReference: 3067 public EnumRule getRule() { return rule; }
3068 // referred=[PartialModelDeclaration]; 3068
3069 public PartialModelReferenceElements getPartialModelReferenceAccess() { 3069 //LESS='<' | GREATER='>' | LESS_EQUALS='<=' | GREATER_EQUALS='>='
3070 return pPartialModelReference; 3070 public Alternatives getAlternatives() { return cAlternatives; }
3071 } 3071
3072 3072 //LESS='<'
3073 public ParserRule getPartialModelReferenceRule() { 3073 public EnumLiteralDeclaration getLESSEnumLiteralDeclaration_0() { return cLESSEnumLiteralDeclaration_0; }
3074 return getPartialModelReferenceAccess().getRule(); 3074
3075 } 3075 //'<'
3076 3076 public Keyword getLESSLessThanSignKeyword_0_0() { return cLESSLessThanSignKeyword_0_0; }
3077 //PartialModel: 3077
3078 // PartialModelSpecification | PartialModelReference; 3078 //GREATER='>'
3079 public PartialModelElements getPartialModelAccess() { 3079 public EnumLiteralDeclaration getGREATEREnumLiteralDeclaration_1() { return cGREATEREnumLiteralDeclaration_1; }
3080 return pPartialModel; 3080
3081 } 3081 //'>'
3082 3082 public Keyword getGREATERGreaterThanSignKeyword_1_0() { return cGREATERGreaterThanSignKeyword_1_0; }
3083 public ParserRule getPartialModelRule() { 3083
3084 return getPartialModelAccess().getRule(); 3084 //LESS_EQUALS='<='
3085 } 3085 public EnumLiteralDeclaration getLESS_EQUALSEnumLiteralDeclaration_2() { return cLESS_EQUALSEnumLiteralDeclaration_2; }
3086 3086
3087 ///////////////////////////////////////////////////// 3087 //'<='
3088 //// Patterns 3088 public Keyword getLESS_EQUALSLessThanSignEqualsSignKeyword_2_0() { return cLESS_EQUALSLessThanSignEqualsSignKeyword_2_0; }
3089 ///////////////////////////////////////////////////// 3089
3090 //PatternSpecification: 3090 //GREATER_EQUALS='>='
3091 // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; 3091 public EnumLiteralDeclaration getGREATER_EQUALSEnumLiteralDeclaration_3() { return cGREATER_EQUALSEnumLiteralDeclaration_3; }
3092 public PatternSpecificationElements getPatternSpecificationAccess() { 3092
3093 return pPatternSpecification; 3093 //'>='
3094 } 3094 public Keyword getGREATER_EQUALSGreaterThanSignEqualsSignKeyword_3_0() { return cGREATER_EQUALSGreaterThanSignEqualsSignKeyword_3_0; }
3095 3095 }
3096 public ParserRule getPatternSpecificationRule() { 3096 public class DocumentLevelSpecificationElements extends AbstractEnumRuleElementFinder {
3097 return getPatternSpecificationAccess().getRule(); 3097 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.DocumentLevelSpecification");
3098 } 3098 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
3099 3099 private final EnumLiteralDeclaration cNoneEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
3100 //PatternEntry: 3100 private final Keyword cNoneNoneKeyword_0_0 = (Keyword)cNoneEnumLiteralDeclaration_0.eContents().get(0);
3101 // PatternElement | AllPatternEntry; 3101 private final EnumLiteralDeclaration cNormalEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
3102 public PatternEntryElements getPatternEntryAccess() { 3102 private final Keyword cNormalNormalKeyword_1_0 = (Keyword)cNormalEnumLiteralDeclaration_1.eContents().get(0);
3103 return pPatternEntry; 3103 private final EnumLiteralDeclaration cFullEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
3104 } 3104 private final Keyword cFullFullKeyword_2_0 = (Keyword)cFullEnumLiteralDeclaration_2.eContents().get(0);
3105 3105
3106 public ParserRule getPatternEntryRule() { 3106 //enum DocumentLevelSpecification:
3107 return getPatternEntryAccess().getRule(); 3107 // none | normal | full;
3108 } 3108 public EnumRule getRule() { return rule; }
3109 3109
3110 //AllPatternEntry: 3110 //none | normal | full
3111 // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' 3111 public Alternatives getAlternatives() { return cAlternatives; }
3112 // exclusuion+=PatternElement)* '}')?; 3112
3113 public AllPatternEntryElements getAllPatternEntryAccess() { 3113 //none
3114 return pAllPatternEntry; 3114 public EnumLiteralDeclaration getNoneEnumLiteralDeclaration_0() { return cNoneEnumLiteralDeclaration_0; }
3115 } 3115
3116 3116 //"none"
3117 public ParserRule getAllPatternEntryRule() { 3117 public Keyword getNoneNoneKeyword_0_0() { return cNoneNoneKeyword_0_0; }
3118 return getAllPatternEntryAccess().getRule(); 3118
3119 } 3119 //normal
3120 3120 public EnumLiteralDeclaration getNormalEnumLiteralDeclaration_1() { return cNormalEnumLiteralDeclaration_1; }
3121 //PatternElement: 3121
3122 // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; 3122 //"normal"
3123 public PatternElementElements getPatternElementAccess() { 3123 public Keyword getNormalNormalKeyword_1_0() { return cNormalNormalKeyword_1_0; }
3124 return pPatternElement; 3124
3125 } 3125 //full
3126 3126 public EnumLiteralDeclaration getFullEnumLiteralDeclaration_2() { return cFullEnumLiteralDeclaration_2; }
3127 public ParserRule getPatternElementRule() { 3127
3128 return getPatternElementAccess().getRule(); 3128 //"full"
3129 } 3129 public Keyword getFullFullKeyword_2_0() { return cFullFullKeyword_2_0; }
3130 3130 }
3131 //GraphPatternDeclaration: 3131 public class SolverElements extends AbstractEnumRuleElementFinder {
3132 // 'constraints' name=ID specification=PatternSpecification; 3132 private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
3133 public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() { 3133 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
3134 return pGraphPatternDeclaration; 3134 private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
3135 } 3135 private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0);
3136 3136 private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
3137 public ParserRule getGraphPatternDeclarationRule() { 3137 private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0);
3138 return getGraphPatternDeclarationAccess().getRule(); 3138 private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
3139 } 3139 private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0);
3140 3140
3141 //GraphPatternReference: 3141 //enum Solver:
3142 // referred=[GraphPatternDeclaration]; 3142 // SMTSolver | AlloySolver | ViatraSolver;
3143 public GraphPatternReferenceElements getGraphPatternReferenceAccess() { 3143 public EnumRule getRule() { return rule; }
3144 return pGraphPatternReference; 3144
3145 } 3145 //SMTSolver | AlloySolver | ViatraSolver
3146 3146 public Alternatives getAlternatives() { return cAlternatives; }
3147 public ParserRule getGraphPatternReferenceRule() { 3147
3148 return getGraphPatternReferenceAccess().getRule(); 3148 //SMTSolver
3149 } 3149 public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; }
3150 3150
3151 //GraphPattern: 3151 //"SMTSolver"
3152 // GraphPatternReference | PatternSpecification; 3152 public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; }
3153 public GraphPatternElements getGraphPatternAccess() { 3153
3154 return pGraphPattern; 3154 //AlloySolver
3155 } 3155 public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; }
3156 3156
3157 public ParserRule getGraphPatternRule() { 3157 //"AlloySolver"
3158 return getGraphPatternAccess().getRule(); 3158 public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; }
3159 } 3159
3160 3160 //ViatraSolver
3161 ///////////////////////////////////////////////////// 3161 public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; }
3162 //// SolverConfig 3162
3163 ///////////////////////////////////////////////////// 3163 //"ViatraSolver"
3164 //ConfigSpecification: 3164 public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; }
3165 // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? 3165 }
3166 // '}'; 3166
3167 public ConfigSpecificationElements getConfigSpecificationAccess() { 3167 private final ConfigurationScriptElements pConfigurationScript;
3168 return pConfigSpecification; 3168 private final CommandElements pCommand;
3169 } 3169 private final QualifiedNameElements pQualifiedName;
3170 3170 private final REALLiteralElements pREALLiteral;
3171 public ParserRule getConfigSpecificationRule() { 3171 private final INTLiteralElements pINTLiteral;
3172 return getConfigSpecificationAccess().getRule(); 3172 private final ImportElements pImport;
3173 } 3173 private final EPackageImportElements pEPackageImport;
3174 3174 private final ViatraImportElements pViatraImport;
3175 //ConfigDeclaration: 3175 private final CftImportElements pCftImport;
3176 // 'config' name=ID specification=ConfigSpecification; 3176 private final DeclarationElements pDeclaration;
3177 public ConfigDeclarationElements getConfigDeclarationAccess() { 3177 private final FileSpecificationElements pFileSpecification;
3178 return pConfigDeclaration; 3178 private final FileDeclarationElements pFileDeclaration;
3179 } 3179 private final FileReferenceElements pFileReference;
3180 3180 private final FileElements pFile;
3181 public ParserRule getConfigDeclarationRule() { 3181 private final MetamodelSpecificationElements pMetamodelSpecification;
3182 return getConfigDeclarationAccess().getRule(); 3182 private final MetamodelEntryElements pMetamodelEntry;
3183 } 3183 private final AllPackageEntryElements pAllPackageEntry;
3184 3184 private final MetamodelElementElements pMetamodelElement;
3185 //ConfigEntry: 3185 private final MetamodelDeclarationElements pMetamodelDeclaration;
3186 // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry; 3186 private final MetamodelReferenceElements pMetamodelReference;
3187 public ConfigEntryElements getConfigEntryAccess() { 3187 private final MetamodelElements pMetamodel;
3188 return pConfigEntry; 3188 private final PartialModelSpecificationElements pPartialModelSpecification;
3189 } 3189 private final PartialModelEntryElements pPartialModelEntry;
3190 3190 private final ModelEntryElements pModelEntry;
3191 public ParserRule getConfigEntryRule() { 3191 private final FolderEntryElements pFolderEntry;
3192 return getConfigEntryAccess().getRule(); 3192 private final PartialModelDeclarationElements pPartialModelDeclaration;
3193 } 3193 private final PartialModelReferenceElements pPartialModelReference;
3194 3194 private final PartialModelElements pPartialModel;
3195 //DocumentationEntry: 3195 private final PatternSpecificationElements pPatternSpecification;
3196 // "log-level" '=' level=DocumentLevelSpecification; 3196 private final PatternEntryElements pPatternEntry;
3197 public DocumentationEntryElements getDocumentationEntryAccess() { 3197 private final AllPatternEntryElements pAllPatternEntry;
3198 return pDocumentationEntry; 3198 private final PatternElementElements pPatternElement;
3199 } 3199 private final GraphPatternDeclarationElements pGraphPatternDeclaration;
3200 3200 private final GraphPatternReferenceElements pGraphPatternReference;
3201 public ParserRule getDocumentationEntryRule() { 3201 private final GraphPatternElements pGraphPattern;
3202 return getDocumentationEntryAccess().getRule(); 3202 private final ObjectiveSpecificationElements pObjectiveSpecification;
3203 } 3203 private final ObjectiveEntryElements pObjectiveEntry;
3204 3204 private final OptimizationDirectionElements eOptimizationDirection;
3205 //enum DocumentLevelSpecification: 3205 private final OptimizationEntryElements pOptimizationEntry;
3206 // none | normal | full; 3206 private final ComparisonOperatorElements eComparisonOperator;
3207 public DocumentLevelSpecificationElements getDocumentLevelSpecificationAccess() { 3207 private final ThresholdEntryElements pThresholdEntry;
3208 return eDocumentLevelSpecification; 3208 private final ObjectiveFunctionElements pObjectiveFunction;
3209 } 3209 private final CostObjectiveFunctionElements pCostObjectiveFunction;
3210 3210 private final CostEntryElements pCostEntry;
3211 public EnumRule getDocumentLevelSpecificationRule() { 3211 private final ReliabilityObjectiveFunctionElements pReliabilityObjectiveFunction;
3212 return getDocumentLevelSpecificationAccess().getRule(); 3212 private final ReliabiltiyProbabilityElements pReliabiltiyProbability;
3213 } 3213 private final MtffElements pMtff;
3214 3214 private final ObjectiveDeclarationElements pObjectiveDeclaration;
3215 //RuntimeEntry: 3215 private final ObjectiveReferenceElements pObjectiveReference;
3216 // "runtime" "=" millisecLimit=INT; 3216 private final ObjectiveElements pObjective;
3217 public RuntimeEntryElements getRuntimeEntryAccess() { 3217 private final ConfigSpecificationElements pConfigSpecification;
3218 return pRuntimeEntry; 3218 private final ConfigDeclarationElements pConfigDeclaration;
3219 } 3219 private final ConfigEntryElements pConfigEntry;
3220 3220 private final DocumentationEntryElements pDocumentationEntry;
3221 public ParserRule getRuntimeEntryRule() { 3221 private final DocumentLevelSpecificationElements eDocumentLevelSpecification;
3222 return getRuntimeEntryAccess().getRule(); 3222 private final RuntimeEntryElements pRuntimeEntry;
3223 } 3223 private final MemoryEntryElements pMemoryEntry;
3224 3224 private final CustomEntryElements pCustomEntry;
3225 //MemoryEntry: 3225 private final ConfigReferenceElements pConfigReference;
3226 // "memory" "=" megabyteLimit=INT; 3226 private final ConfigElements pConfig;
3227 public MemoryEntryElements getMemoryEntryAccess() { 3227 private final SolverElements eSolver;
3228 return pMemoryEntry; 3228 private final ScopeSpecificationElements pScopeSpecification;
3229 } 3229 private final TypeScopeElements pTypeScope;
3230 3230 private final ClassTypeScopeElements pClassTypeScope;
3231 public ParserRule getMemoryEntryRule() { 3231 private final ObjectTypeScopeElements pObjectTypeScope;
3232 return getMemoryEntryAccess().getRule(); 3232 private final IntegerTypeScopeElements pIntegerTypeScope;
3233 } 3233 private final RealTypeScopeElements pRealTypeScope;
3234 3234 private final StringTypeScopeElements pStringTypeScope;
3235 //CustomEntry: 3235 private final TypeReferenceElements pTypeReference;
3236 // key=STRING "=" value=STRING; 3236 private final ClassReferenceElements pClassReference;
3237 public CustomEntryElements getCustomEntryAccess() { 3237 private final ObjectReferenceElements pObjectReference;
3238 return pCustomEntry; 3238 private final IntegerReferenceElements pIntegerReference;
3239 } 3239 private final RealReferenceElements pRealReference;
3240 3240 private final StringReferenceElements pStringReference;
3241 public ParserRule getCustomEntryRule() { 3241 private final NumberSpecificationElements pNumberSpecification;
3242 return getCustomEntryAccess().getRule(); 3242 private final ExactNumberElements pExactNumber;
3243 } 3243 private final IntervallNumberElements pIntervallNumber;
3244 3244 private final IntEnumberationElements pIntEnumberation;
3245 //ConfigReference: 3245 private final RealEnumerationElements pRealEnumeration;
3246 // config=[ConfigDeclaration]; 3246 private final StringEnumerationElements pStringEnumeration;
3247 public ConfigReferenceElements getConfigReferenceAccess() { 3247 private final ScopeDeclarationElements pScopeDeclaration;
3248 return pConfigReference; 3248 private final ScopeReferenceElements pScopeReference;
3249 } 3249 private final ScopeElements pScope;
3250 3250 private final TaskElements pTask;
3251 public ParserRule getConfigReferenceRule() { 3251 private final GenerationTaskElements pGenerationTask;
3252 return getConfigReferenceAccess().getRule(); 3252
3253 } 3253 private final Grammar grammar;
3254 3254
3255 //Config: 3255 private final TerminalsGrammarAccess gaTerminals;
3256 // ConfigSpecification | ConfigReference; 3256
3257 public ConfigElements getConfigAccess() { 3257 @Inject
3258 return pConfig; 3258 public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider,
3259 } 3259 TerminalsGrammarAccess gaTerminals) {
3260 3260 this.grammar = internalFindGrammar(grammarProvider);
3261 public ParserRule getConfigRule() { 3261 this.gaTerminals = gaTerminals;
3262 return getConfigAccess().getRule(); 3262 this.pConfigurationScript = new ConfigurationScriptElements();
3263 } 3263 this.pCommand = new CommandElements();
3264 3264 this.pQualifiedName = new QualifiedNameElements();
3265 //enum Solver: 3265 this.pREALLiteral = new REALLiteralElements();
3266 // SMTSolver | AlloySolver | ViatraSolver; 3266 this.pINTLiteral = new INTLiteralElements();
3267 public SolverElements getSolverAccess() { 3267 this.pImport = new ImportElements();
3268 return eSolver; 3268 this.pEPackageImport = new EPackageImportElements();
3269 } 3269 this.pViatraImport = new ViatraImportElements();
3270 3270 this.pCftImport = new CftImportElements();
3271 public EnumRule getSolverRule() { 3271 this.pDeclaration = new DeclarationElements();
3272 return getSolverAccess().getRule(); 3272 this.pFileSpecification = new FileSpecificationElements();
3273 } 3273 this.pFileDeclaration = new FileDeclarationElements();
3274 3274 this.pFileReference = new FileReferenceElements();
3275 //ScopeSpecification: 3275 this.pFile = new FileElements();
3276 // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? 3276 this.pMetamodelSpecification = new MetamodelSpecificationElements();
3277 // '}'; 3277 this.pMetamodelEntry = new MetamodelEntryElements();
3278 public ScopeSpecificationElements getScopeSpecificationAccess() { 3278 this.pAllPackageEntry = new AllPackageEntryElements();
3279 return pScopeSpecification; 3279 this.pMetamodelElement = new MetamodelElementElements();
3280 } 3280 this.pMetamodelDeclaration = new MetamodelDeclarationElements();
3281 3281 this.pMetamodelReference = new MetamodelReferenceElements();
3282 public ParserRule getScopeSpecificationRule() { 3282 this.pMetamodel = new MetamodelElements();
3283 return getScopeSpecificationAccess().getRule(); 3283 this.pPartialModelSpecification = new PartialModelSpecificationElements();
3284 } 3284 this.pPartialModelEntry = new PartialModelEntryElements();
3285 3285 this.pModelEntry = new ModelEntryElements();
3286 //TypeScope: 3286 this.pFolderEntry = new FolderEntryElements();
3287 // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope; 3287 this.pPartialModelDeclaration = new PartialModelDeclarationElements();
3288 public TypeScopeElements getTypeScopeAccess() { 3288 this.pPartialModelReference = new PartialModelReferenceElements();
3289 return pTypeScope; 3289 this.pPartialModel = new PartialModelElements();
3290 } 3290 this.pPatternSpecification = new PatternSpecificationElements();
3291 3291 this.pPatternEntry = new PatternEntryElements();
3292 public ParserRule getTypeScopeRule() { 3292 this.pAllPatternEntry = new AllPatternEntryElements();
3293 return getTypeScopeAccess().getRule(); 3293 this.pPatternElement = new PatternElementElements();
3294 } 3294 this.pGraphPatternDeclaration = new GraphPatternDeclarationElements();
3295 3295 this.pGraphPatternReference = new GraphPatternReferenceElements();
3296 //ClassTypeScope: 3296 this.pGraphPattern = new GraphPatternElements();
3297 // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); 3297 this.pObjectiveSpecification = new ObjectiveSpecificationElements();
3298 public ClassTypeScopeElements getClassTypeScopeAccess() { 3298 this.pObjectiveEntry = new ObjectiveEntryElements();
3299 return pClassTypeScope; 3299 this.eOptimizationDirection = new OptimizationDirectionElements();
3300 } 3300 this.pOptimizationEntry = new OptimizationEntryElements();
3301 3301 this.eComparisonOperator = new ComparisonOperatorElements();
3302 public ParserRule getClassTypeScopeRule() { 3302 this.pThresholdEntry = new ThresholdEntryElements();
3303 return getClassTypeScopeAccess().getRule(); 3303 this.pObjectiveFunction = new ObjectiveFunctionElements();
3304 } 3304 this.pCostObjectiveFunction = new CostObjectiveFunctionElements();
3305 3305 this.pCostEntry = new CostEntryElements();
3306 //ObjectTypeScope: 3306 this.pReliabilityObjectiveFunction = new ReliabilityObjectiveFunctionElements();
3307 // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber); 3307 this.pReliabiltiyProbability = new ReliabiltiyProbabilityElements();
3308 public ObjectTypeScopeElements getObjectTypeScopeAccess() { 3308 this.pMtff = new MtffElements();
3309 return pObjectTypeScope; 3309 this.pObjectiveDeclaration = new ObjectiveDeclarationElements();
3310 } 3310 this.pObjectiveReference = new ObjectiveReferenceElements();
3311 3311 this.pObjective = new ObjectiveElements();
3312 public ParserRule getObjectTypeScopeRule() { 3312 this.pConfigSpecification = new ConfigSpecificationElements();
3313 return getObjectTypeScopeAccess().getRule(); 3313 this.pConfigDeclaration = new ConfigDeclarationElements();
3314 } 3314 this.pConfigEntry = new ConfigEntryElements();
3315 3315 this.pDocumentationEntry = new DocumentationEntryElements();
3316 //IntegerTypeScope: 3316 this.eDocumentLevelSpecification = new DocumentLevelSpecificationElements();
3317 // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 3317 this.pRuntimeEntry = new RuntimeEntryElements();
3318 // number=IntEnumberation); 3318 this.pMemoryEntry = new MemoryEntryElements();
3319 public IntegerTypeScopeElements getIntegerTypeScopeAccess() { 3319 this.pCustomEntry = new CustomEntryElements();
3320 return pIntegerTypeScope; 3320 this.pConfigReference = new ConfigReferenceElements();
3321 } 3321 this.pConfig = new ConfigElements();
3322 3322 this.eSolver = new SolverElements();
3323 public ParserRule getIntegerTypeScopeRule() { 3323 this.pScopeSpecification = new ScopeSpecificationElements();
3324 return getIntegerTypeScopeAccess().getRule(); 3324 this.pTypeScope = new TypeScopeElements();
3325 } 3325 this.pClassTypeScope = new ClassTypeScopeElements();
3326 3326 this.pObjectTypeScope = new ObjectTypeScopeElements();
3327 //RealTypeScope: 3327 this.pIntegerTypeScope = new IntegerTypeScopeElements();
3328 // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 3328 this.pRealTypeScope = new RealTypeScopeElements();
3329 // number=RealEnumeration); 3329 this.pStringTypeScope = new StringTypeScopeElements();
3330 public RealTypeScopeElements getRealTypeScopeAccess() { 3330 this.pTypeReference = new TypeReferenceElements();
3331 return pRealTypeScope; 3331 this.pClassReference = new ClassReferenceElements();
3332 } 3332 this.pObjectReference = new ObjectReferenceElements();
3333 3333 this.pIntegerReference = new IntegerReferenceElements();
3334 public ParserRule getRealTypeScopeRule() { 3334 this.pRealReference = new RealReferenceElements();
3335 return getRealTypeScopeAccess().getRule(); 3335 this.pStringReference = new StringReferenceElements();
3336 } 3336 this.pNumberSpecification = new NumberSpecificationElements();
3337 3337 this.pExactNumber = new ExactNumberElements();
3338 //StringTypeScope: 3338 this.pIntervallNumber = new IntervallNumberElements();
3339 // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber | 3339 this.pIntEnumberation = new IntEnumberationElements();
3340 // number=StringEnumeration); 3340 this.pRealEnumeration = new RealEnumerationElements();
3341 public StringTypeScopeElements getStringTypeScopeAccess() { 3341 this.pStringEnumeration = new StringEnumerationElements();
3342 return pStringTypeScope; 3342 this.pScopeDeclaration = new ScopeDeclarationElements();
3343 } 3343 this.pScopeReference = new ScopeReferenceElements();
3344 3344 this.pScope = new ScopeElements();
3345 public ParserRule getStringTypeScopeRule() { 3345 this.pTask = new TaskElements();
3346 return getStringTypeScopeAccess().getRule(); 3346 this.pGenerationTask = new GenerationTaskElements();
3347 } 3347 }
3348 3348
3349 //TypeReference: 3349 protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
3350 // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; 3350 Grammar grammar = grammarProvider.getGrammar(this);
3351 public TypeReferenceElements getTypeReferenceAccess() { 3351 while (grammar != null) {
3352 return pTypeReference; 3352 if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) {
3353 } 3353 return grammar;
3354 3354 }
3355 public ParserRule getTypeReferenceRule() { 3355 List<Grammar> grammars = grammar.getUsedGrammars();
3356 return getTypeReferenceAccess().getRule(); 3356 if (!grammars.isEmpty()) {
3357 } 3357 grammar = grammars.iterator().next();
3358 3358 } else {
3359 //ClassReference: 3359 return null;
3360 // '<' element=MetamodelElement '>'; 3360 }
3361 public ClassReferenceElements getClassReferenceAccess() { 3361 }
3362 return pClassReference; 3362 return grammar;
3363 } 3363 }
3364 3364
3365 public ParserRule getClassReferenceRule() { 3365 @Override
3366 return getClassReferenceAccess().getRule(); 3366 public Grammar getGrammar() {
3367 } 3367 return grammar;
3368 3368 }
3369 //ObjectReference: 3369
3370 // {ObjectReference} 'node'; 3370
3371 public ObjectReferenceElements getObjectReferenceAccess() { 3371 public TerminalsGrammarAccess getTerminalsGrammarAccess() {
3372 return pObjectReference; 3372 return gaTerminals;
3373 } 3373 }
3374 3374
3375 public ParserRule getObjectReferenceRule() { 3375
3376 return getObjectReferenceAccess().getRule(); 3376 //ConfigurationScript:
3377 } 3377 // imports+=Import*
3378 3378 // commands+=Command*;
3379 //IntegerReference: 3379 public ConfigurationScriptElements getConfigurationScriptAccess() {
3380 // {IntegerScope} 'int'; 3380 return pConfigurationScript;
3381 public IntegerReferenceElements getIntegerReferenceAccess() { 3381 }
3382 return pIntegerReference; 3382
3383 } 3383 public ParserRule getConfigurationScriptRule() {
3384 3384 return getConfigurationScriptAccess().getRule();
3385 public ParserRule getIntegerReferenceRule() { 3385 }
3386 return getIntegerReferenceAccess().getRule(); 3386
3387 } 3387 //Command:
3388 3388 // Declaration | Task;
3389 //RealReference: 3389 public CommandElements getCommandAccess() {
3390 // {RealScope} 'real'; 3390 return pCommand;
3391 public RealReferenceElements getRealReferenceAccess() { 3391 }
3392 return pRealReference; 3392
3393 } 3393 public ParserRule getCommandRule() {
3394 3394 return getCommandAccess().getRule();
3395 public ParserRule getRealReferenceRule() { 3395 }
3396 return getRealReferenceAccess().getRule(); 3396
3397 } 3397 //QualifiedName:
3398 3398 // ID ('.' ID)*;
3399 //StringReference: 3399 public QualifiedNameElements getQualifiedNameAccess() {
3400 // {StringScope} 'string'; 3400 return pQualifiedName;
3401 public StringReferenceElements getStringReferenceAccess() { 3401 }
3402 return pStringReference; 3402
3403 } 3403 public ParserRule getQualifiedNameRule() {
3404 3404 return getQualifiedNameAccess().getRule();
3405 public ParserRule getStringReferenceRule() { 3405 }
3406 return getStringReferenceAccess().getRule(); 3406
3407 } 3407 //REALLiteral ecore::EBigDecimal:
3408 3408 // '-'? INT '.' INT;
3409 //NumberSpecification: 3409 public REALLiteralElements getREALLiteralAccess() {
3410 // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration; 3410 return pREALLiteral;
3411 public NumberSpecificationElements getNumberSpecificationAccess() { 3411 }
3412 return pNumberSpecification; 3412
3413 } 3413 public ParserRule getREALLiteralRule() {
3414 3414 return getREALLiteralAccess().getRule();
3415 public ParserRule getNumberSpecificationRule() { 3415 }
3416 return getNumberSpecificationAccess().getRule(); 3416
3417 } 3417 //INTLiteral ecore::EInt:
3418 3418 // '-'? INT;
3419 //ExactNumber: 3419 public INTLiteralElements getINTLiteralAccess() {
3420 // exactNumber=INT | exactUnlimited?='*'; 3420 return pINTLiteral;
3421 public ExactNumberElements getExactNumberAccess() { 3421 }
3422 return pExactNumber; 3422
3423 } 3423 public ParserRule getINTLiteralRule() {
3424 3424 return getINTLiteralAccess().getRule();
3425 public ParserRule getExactNumberRule() { 3425 }
3426 return getExactNumberAccess().getRule(); 3426
3427 } 3427 /////////////////////////////////////////////////////
3428 3428 //// Imports
3429 //IntervallNumber: 3429 /////////////////////////////////////////////////////
3430 // min=INT '..' (maxNumber=INT | maxUnlimited?='*'); 3430 //Import:
3431 public IntervallNumberElements getIntervallNumberAccess() { 3431 // EPackageImport | ViatraImport | CftImport;
3432 return pIntervallNumber; 3432 public ImportElements getImportAccess() {
3433 } 3433 return pImport;
3434 3434 }
3435 public ParserRule getIntervallNumberRule() { 3435
3436 return getIntervallNumberAccess().getRule(); 3436 public ParserRule getImportRule() {
3437 } 3437 return getImportAccess().getRule();
3438 3438 }
3439 //IntEnumberation: 3439
3440 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}'; 3440 //EPackageImport:
3441 public IntEnumberationElements getIntEnumberationAccess() { 3441 // "import" "epackage" importedPackage=[ecore::EPackage|STRING];
3442 return pIntEnumberation; 3442 public EPackageImportElements getEPackageImportAccess() {
3443 } 3443 return pEPackageImport;
3444 3444 }
3445 public ParserRule getIntEnumberationRule() { 3445
3446 return getIntEnumberationAccess().getRule(); 3446 public ParserRule getEPackageImportRule() {
3447 } 3447 return getEPackageImportAccess().getRule();
3448 3448 }
3449 //RealEnumeration: 3449
3450 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}'; 3450 //ViatraImport:
3451 public RealEnumerationElements getRealEnumerationAccess() { 3451 // "import" "viatra" importedViatra=[viatra::PatternModel|STRING];
3452 return pRealEnumeration; 3452 public ViatraImportElements getViatraImportAccess() {
3453 } 3453 return pViatraImport;
3454 3454 }
3455 public ParserRule getRealEnumerationRule() { 3455
3456 return getRealEnumerationAccess().getRule(); 3456 public ParserRule getViatraImportRule() {
3457 } 3457 return getViatraImportAccess().getRule();
3458 3458 }
3459 //StringEnumeration: 3459
3460 // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}'; 3460 //CftImport:
3461 public StringEnumerationElements getStringEnumerationAccess() { 3461 // "import" "reliability" importedCft=[cftLanguage::CftModel|STRING];
3462 return pStringEnumeration; 3462 public CftImportElements getCftImportAccess() {
3463 } 3463 return pCftImport;
3464 3464 }
3465 public ParserRule getStringEnumerationRule() { 3465
3466 return getStringEnumerationAccess().getRule(); 3466 public ParserRule getCftImportRule() {
3467 } 3467 return getCftImportAccess().getRule();
3468 3468 }
3469 //ScopeDeclaration: 3469
3470 // 'scope' name=ID specification=ScopeSpecification; 3470 /////////////////////////////////////////////////////
3471 public ScopeDeclarationElements getScopeDeclarationAccess() { 3471 //// Declaration
3472 return pScopeDeclaration; 3472 /////////////////////////////////////////////////////
3473 } 3473 //Declaration:
3474 3474 // FileDeclaration
3475 public ParserRule getScopeDeclarationRule() { 3475 // | MetamodelDeclaration
3476 return getScopeDeclarationAccess().getRule(); 3476 // | PartialModelDeclaration
3477 } 3477 // | GraphPatternDeclaration
3478 3478 // | ConfigDeclaration
3479 //ScopeReference: 3479 // | ScopeDeclaration
3480 // referred=[ScopeDeclaration]; 3480 // | ObjectiveDeclaration;
3481 public ScopeReferenceElements getScopeReferenceAccess() { 3481 public DeclarationElements getDeclarationAccess() {
3482 return pScopeReference; 3482 return pDeclaration;
3483 } 3483 }
3484 3484
3485 public ParserRule getScopeReferenceRule() { 3485 public ParserRule getDeclarationRule() {
3486 return getScopeReferenceAccess().getRule(); 3486 return getDeclarationAccess().getRule();
3487 } 3487 }
3488 3488
3489 //Scope: 3489 /////////////////////////////////////////////////////
3490 // ScopeSpecification | ScopeReference; 3490 //// Files and Folders
3491 public ScopeElements getScopeAccess() { 3491 /////////////////////////////////////////////////////
3492 return pScope; 3492 //FileSpecification:
3493 } 3493 // path=STRING;
3494 3494 public FileSpecificationElements getFileSpecificationAccess() {
3495 public ParserRule getScopeRule() { 3495 return pFileSpecification;
3496 return getScopeAccess().getRule(); 3496 }
3497 } 3497
3498 3498 public ParserRule getFileSpecificationRule() {
3499 //Task: 3499 return getFileSpecificationAccess().getRule();
3500 // GenerationTask /*| CoverageCalculation | ValidationTask*/; 3500 }
3501 public TaskElements getTaskAccess() { 3501
3502 return pTask; 3502 //FileDeclaration:
3503 } 3503 // 'file' name=ID '=' specification=FileSpecification;
3504 3504 public FileDeclarationElements getFileDeclarationAccess() {
3505 public ParserRule getTaskRule() { 3505 return pFileDeclaration;
3506 return getTaskAccess().getRule(); 3506 }
3507 } 3507
3508 3508 public ParserRule getFileDeclarationRule() {
3509 //GenerationTask: 3509 return getFileDeclarationAccess().getRule();
3510 // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' 3510 }
3511 // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & 3511
3512 // (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & 3512 //FileReference:
3513 // ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' 3513 // referred=[FileDeclaration];
3514 // targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}'; 3514 public FileReferenceElements getFileReferenceAccess() {
3515 public GenerationTaskElements getGenerationTaskAccess() { 3515 return pFileReference;
3516 return pGenerationTask; 3516 }
3517 } 3517
3518 3518 public ParserRule getFileReferenceRule() {
3519 public ParserRule getGenerationTaskRule() { 3519 return getFileReferenceAccess().getRule();
3520 return getGenerationTaskAccess().getRule(); 3520 }
3521 } 3521
3522 3522 //File:
3523 //terminal ID: 3523 // FileSpecification | FileReference;
3524 // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; 3524 public FileElements getFileAccess() {
3525 public TerminalRule getIDRule() { 3525 return pFile;
3526 return gaTerminals.getIDRule(); 3526 }
3527 } 3527
3528 3528 public ParserRule getFileRule() {
3529 //terminal INT returns ecore::EInt: 3529 return getFileAccess().getRule();
3530 // '0'..'9'+; 3530 }
3531 public TerminalRule getINTRule() { 3531
3532 return gaTerminals.getINTRule(); 3532 /////////////////////////////////////////////////////
3533 } 3533 //// Metamodel
3534 3534 /////////////////////////////////////////////////////
3535 //terminal STRING: 3535 //MetamodelSpecification:
3536 // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'"; 3536 // '{' entries+=MetamodelEntry (',' entries+=MetamodelEntry)* '}';
3537 public TerminalRule getSTRINGRule() { 3537 public MetamodelSpecificationElements getMetamodelSpecificationAccess() {
3538 return gaTerminals.getSTRINGRule(); 3538 return pMetamodelSpecification;
3539 } 3539 }
3540 3540
3541 //terminal ML_COMMENT: 3541 public ParserRule getMetamodelSpecificationRule() {
3542 // '/*'->'*/'; 3542 return getMetamodelSpecificationAccess().getRule();
3543 public TerminalRule getML_COMMENTRule() { 3543 }
3544 return gaTerminals.getML_COMMENTRule(); 3544
3545 } 3545 //MetamodelEntry:
3546 3546 // MetamodelElement | AllPackageEntry;
3547 //terminal SL_COMMENT: 3547 public MetamodelEntryElements getMetamodelEntryAccess() {
3548 // '//' !('\n' | '\r')* ('\r'? '\n')?; 3548 return pMetamodelEntry;
3549 public TerminalRule getSL_COMMENTRule() { 3549 }
3550 return gaTerminals.getSL_COMMENTRule(); 3550
3551 } 3551 public ParserRule getMetamodelEntryRule() {
3552 3552 return getMetamodelEntryAccess().getRule();
3553 //terminal WS: 3553 }
3554 // ' ' | '\t' | '\r' | '\n'+; 3554
3555 public TerminalRule getWSRule() { 3555 //AllPackageEntry:
3556 return gaTerminals.getWSRule(); 3556 // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (','
3557 } 3557 // exclusion+=MetamodelElement)* '}')?;
3558 3558 public AllPackageEntryElements getAllPackageEntryAccess() {
3559 //terminal ANY_OTHER: 3559 return pAllPackageEntry;
3560 // .; 3560 }
3561 public TerminalRule getANY_OTHERRule() { 3561
3562 return gaTerminals.getANY_OTHERRule(); 3562 public ParserRule getAllPackageEntryRule() {
3563 } 3563 return getAllPackageEntryAccess().getRule();
3564} 3564 }
3565
3566 //MetamodelElement:
3567 // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?;
3568 public MetamodelElementElements getMetamodelElementAccess() {
3569 return pMetamodelElement;
3570 }
3571
3572 public ParserRule getMetamodelElementRule() {
3573 return getMetamodelElementAccess().getRule();
3574 }
3575
3576 //MetamodelDeclaration:
3577 // 'metamodel' name=ID specification=MetamodelSpecification;
3578 public MetamodelDeclarationElements getMetamodelDeclarationAccess() {
3579 return pMetamodelDeclaration;
3580 }
3581
3582 public ParserRule getMetamodelDeclarationRule() {
3583 return getMetamodelDeclarationAccess().getRule();
3584 }
3585
3586 //MetamodelReference:
3587 // referred=[MetamodelDeclaration];
3588 public MetamodelReferenceElements getMetamodelReferenceAccess() {
3589 return pMetamodelReference;
3590 }
3591
3592 public ParserRule getMetamodelReferenceRule() {
3593 return getMetamodelReferenceAccess().getRule();
3594 }
3595
3596 //Metamodel:
3597 // MetamodelReference | MetamodelSpecification;
3598 public MetamodelElements getMetamodelAccess() {
3599 return pMetamodel;
3600 }
3601
3602 public ParserRule getMetamodelRule() {
3603 return getMetamodelAccess().getRule();
3604 }
3605
3606 /////////////////////////////////////////////////////
3607 //// Partial Model
3608 /////////////////////////////////////////////////////
3609 //PartialModelSpecification:
3610 // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}';
3611 public PartialModelSpecificationElements getPartialModelSpecificationAccess() {
3612 return pPartialModelSpecification;
3613 }
3614
3615 public ParserRule getPartialModelSpecificationRule() {
3616 return getPartialModelSpecificationAccess().getRule();
3617 }
3618
3619 //PartialModelEntry:
3620 // ModelEntry | FolderEntry;
3621 public PartialModelEntryElements getPartialModelEntryAccess() {
3622 return pPartialModelEntry;
3623 }
3624
3625 public ParserRule getPartialModelEntryRule() {
3626 return getPartialModelEntryAccess().getRule();
3627 }
3628
3629 //ModelEntry:
3630 // path=File;
3631 public ModelEntryElements getModelEntryAccess() {
3632 return pModelEntry;
3633 }
3634
3635 public ParserRule getModelEntryRule() {
3636 return getModelEntryAccess().getRule();
3637 }
3638
3639 //FolderEntry:
3640 // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?;
3641 public FolderEntryElements getFolderEntryAccess() {
3642 return pFolderEntry;
3643 }
3644
3645 public ParserRule getFolderEntryRule() {
3646 return getFolderEntryAccess().getRule();
3647 }
3648
3649 //PartialModelDeclaration:
3650 // 'models' name=ID specification=PartialModelSpecification;
3651 public PartialModelDeclarationElements getPartialModelDeclarationAccess() {
3652 return pPartialModelDeclaration;
3653 }
3654
3655 public ParserRule getPartialModelDeclarationRule() {
3656 return getPartialModelDeclarationAccess().getRule();
3657 }
3658
3659 //PartialModelReference:
3660 // referred=[PartialModelDeclaration];
3661 public PartialModelReferenceElements getPartialModelReferenceAccess() {
3662 return pPartialModelReference;
3663 }
3664
3665 public ParserRule getPartialModelReferenceRule() {
3666 return getPartialModelReferenceAccess().getRule();
3667 }
3668
3669 //PartialModel:
3670 // PartialModelSpecification | PartialModelReference;
3671 public PartialModelElements getPartialModelAccess() {
3672 return pPartialModel;
3673 }
3674
3675 public ParserRule getPartialModelRule() {
3676 return getPartialModelAccess().getRule();
3677 }
3678
3679 /////////////////////////////////////////////////////
3680 //// Patterns
3681 /////////////////////////////////////////////////////
3682 //PatternSpecification:
3683 // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}';
3684 public PatternSpecificationElements getPatternSpecificationAccess() {
3685 return pPatternSpecification;
3686 }
3687
3688 public ParserRule getPatternSpecificationRule() {
3689 return getPatternSpecificationAccess().getRule();
3690 }
3691
3692 //PatternEntry:
3693 // PatternElement | AllPatternEntry;
3694 public PatternEntryElements getPatternEntryAccess() {
3695 return pPatternEntry;
3696 }
3697
3698 public ParserRule getPatternEntryRule() {
3699 return getPatternEntryAccess().getRule();
3700 }
3701
3702 //AllPatternEntry:
3703 // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (','
3704 // exclusuion+=PatternElement)* '}')?;
3705 public AllPatternEntryElements getAllPatternEntryAccess() {
3706 return pAllPatternEntry;
3707 }
3708
3709 public ParserRule getAllPatternEntryRule() {
3710 return getAllPatternEntryAccess().getRule();
3711 }
3712
3713 //PatternElement:
3714 // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern];
3715 public PatternElementElements getPatternElementAccess() {
3716 return pPatternElement;
3717 }
3718
3719 public ParserRule getPatternElementRule() {
3720 return getPatternElementAccess().getRule();
3721 }
3722
3723 //GraphPatternDeclaration:
3724 // 'constraints' name=ID specification=PatternSpecification;
3725 public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() {
3726 return pGraphPatternDeclaration;
3727 }
3728
3729 public ParserRule getGraphPatternDeclarationRule() {
3730 return getGraphPatternDeclarationAccess().getRule();
3731 }
3732
3733 //GraphPatternReference:
3734 // referred=[GraphPatternDeclaration];
3735 public GraphPatternReferenceElements getGraphPatternReferenceAccess() {
3736 return pGraphPatternReference;
3737 }
3738
3739 public ParserRule getGraphPatternReferenceRule() {
3740 return getGraphPatternReferenceAccess().getRule();
3741 }
3742
3743 //GraphPattern:
3744 // GraphPatternReference | PatternSpecification;
3745 public GraphPatternElements getGraphPatternAccess() {
3746 return pGraphPattern;
3747 }
3748
3749 public ParserRule getGraphPatternRule() {
3750 return getGraphPatternAccess().getRule();
3751 }
3752
3753 /////////////////////////////////////////////////////
3754 //// Objectives
3755 /////////////////////////////////////////////////////
3756 //ObjectiveSpecification:
3757 // '{' entries+=ObjectiveEntry (',' entries+=ObjectiveEntry)* '}';
3758 public ObjectiveSpecificationElements getObjectiveSpecificationAccess() {
3759 return pObjectiveSpecification;
3760 }
3761
3762 public ParserRule getObjectiveSpecificationRule() {
3763 return getObjectiveSpecificationAccess().getRule();
3764 }
3765
3766 //ObjectiveEntry:
3767 // OptimizationEntry | ThresholdEntry;
3768 public ObjectiveEntryElements getObjectiveEntryAccess() {
3769 return pObjectiveEntry;
3770 }
3771
3772 public ParserRule getObjectiveEntryRule() {
3773 return getObjectiveEntryAccess().getRule();
3774 }
3775
3776 //enum OptimizationDirection:
3777 // MINIMIZE='minimize' | MAXIMIZE='maximize';
3778 public OptimizationDirectionElements getOptimizationDirectionAccess() {
3779 return eOptimizationDirection;
3780 }
3781
3782 public EnumRule getOptimizationDirectionRule() {
3783 return getOptimizationDirectionAccess().getRule();
3784 }
3785
3786 //OptimizationEntry:
3787 // direction=OptimizationDirection function=ObjectiveFunction;
3788 public OptimizationEntryElements getOptimizationEntryAccess() {
3789 return pOptimizationEntry;
3790 }
3791
3792 public ParserRule getOptimizationEntryRule() {
3793 return getOptimizationEntryAccess().getRule();
3794 }
3795
3796 //enum ComparisonOperator:
3797 // LESS='<' | GREATER='>' | LESS_EQUALS='<=' | GREATER_EQUALS='>=';
3798 public ComparisonOperatorElements getComparisonOperatorAccess() {
3799 return eComparisonOperator;
3800 }
3801
3802 public EnumRule getComparisonOperatorRule() {
3803 return getComparisonOperatorAccess().getRule();
3804 }
3805
3806 //ThresholdEntry:
3807 // function=ObjectiveFunction operator=ComparisonOperator threshold=REALLiteral;
3808 public ThresholdEntryElements getThresholdEntryAccess() {
3809 return pThresholdEntry;
3810 }
3811
3812 public ParserRule getThresholdEntryRule() {
3813 return getThresholdEntryAccess().getRule();
3814 }
3815
3816 //ObjectiveFunction:
3817 // CostObjectiveFunction | ReliabilityObjectiveFunction;
3818 public ObjectiveFunctionElements getObjectiveFunctionAccess() {
3819 return pObjectiveFunction;
3820 }
3821
3822 public ParserRule getObjectiveFunctionRule() {
3823 return getObjectiveFunctionAccess().getRule();
3824 }
3825
3826 //CostObjectiveFunction:
3827 // 'cost' '{' entries+=CostEntry (',' entries+=CostEntry)* '}';
3828 public CostObjectiveFunctionElements getCostObjectiveFunctionAccess() {
3829 return pCostObjectiveFunction;
3830 }
3831
3832 public ParserRule getCostObjectiveFunctionRule() {
3833 return getCostObjectiveFunctionAccess().getRule();
3834 }
3835
3836 //CostEntry:
3837 // patternElement=PatternElement '=' weight=INTLiteral;
3838 public CostEntryElements getCostEntryAccess() {
3839 return pCostEntry;
3840 }
3841
3842 public ParserRule getCostEntryRule() {
3843 return getCostEntryAccess().getRule();
3844 }
3845
3846 //ReliabilityObjectiveFunction:
3847 // ReliabiltiyProbability | Mtff;
3848 public ReliabilityObjectiveFunctionElements getReliabilityObjectiveFunctionAccess() {
3849 return pReliabilityObjectiveFunction;
3850 }
3851
3852 public ParserRule getReliabilityObjectiveFunctionRule() {
3853 return getReliabilityObjectiveFunctionAccess().getRule();
3854 }
3855
3856 //ReliabiltiyProbability:
3857 // 'reliability' (package=[cftLanguage::CftModel|QualifiedName] '::')?
3858 // transformation=[cftLanguage::TransformationDefinition]
3859 // 'at' time=REALLiteral;
3860 public ReliabiltiyProbabilityElements getReliabiltiyProbabilityAccess() {
3861 return pReliabiltiyProbability;
3862 }
3863
3864 public ParserRule getReliabiltiyProbabilityRule() {
3865 return getReliabiltiyProbabilityAccess().getRule();
3866 }
3867
3868 //Mtff:
3869 // 'mtff' (package=[cftLanguage::CftModel|QualifiedName] '::')? transformation=[cftLanguage::TransformationDefinition];
3870 public MtffElements getMtffAccess() {
3871 return pMtff;
3872 }
3873
3874 public ParserRule getMtffRule() {
3875 return getMtffAccess().getRule();
3876 }
3877
3878 //ObjectiveDeclaration:
3879 // 'objectives' name=ID specification=ObjectiveSpecification;
3880 public ObjectiveDeclarationElements getObjectiveDeclarationAccess() {
3881 return pObjectiveDeclaration;
3882 }
3883
3884 public ParserRule getObjectiveDeclarationRule() {
3885 return getObjectiveDeclarationAccess().getRule();
3886 }
3887
3888 //ObjectiveReference:
3889 // referred=[ObjectiveDeclaration];
3890 public ObjectiveReferenceElements getObjectiveReferenceAccess() {
3891 return pObjectiveReference;
3892 }
3893
3894 public ParserRule getObjectiveReferenceRule() {
3895 return getObjectiveReferenceAccess().getRule();
3896 }
3897
3898 //Objective:
3899 // ObjectiveReference | ObjectiveSpecification;
3900 public ObjectiveElements getObjectiveAccess() {
3901 return pObjective;
3902 }
3903
3904 public ParserRule getObjectiveRule() {
3905 return getObjectiveAccess().getRule();
3906 }
3907
3908 /////////////////////////////////////////////////////
3909 //// SolverConfig
3910 /////////////////////////////////////////////////////
3911 //ConfigSpecification:
3912 // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)?
3913 // '}';
3914 public ConfigSpecificationElements getConfigSpecificationAccess() {
3915 return pConfigSpecification;
3916 }
3917
3918 public ParserRule getConfigSpecificationRule() {
3919 return getConfigSpecificationAccess().getRule();
3920 }
3921
3922 //ConfigDeclaration:
3923 // 'config' name=ID specification=ConfigSpecification;
3924 public ConfigDeclarationElements getConfigDeclarationAccess() {
3925 return pConfigDeclaration;
3926 }
3927
3928 public ParserRule getConfigDeclarationRule() {
3929 return getConfigDeclarationAccess().getRule();
3930 }
3931
3932 //ConfigEntry:
3933 // DocumentationEntry | RuntimeEntry | MemoryEntry | CustomEntry;
3934 public ConfigEntryElements getConfigEntryAccess() {
3935 return pConfigEntry;
3936 }
3937
3938 public ParserRule getConfigEntryRule() {
3939 return getConfigEntryAccess().getRule();
3940 }
3941
3942 //DocumentationEntry:
3943 // "log-level" '=' level=DocumentLevelSpecification;
3944 public DocumentationEntryElements getDocumentationEntryAccess() {
3945 return pDocumentationEntry;
3946 }
3947
3948 public ParserRule getDocumentationEntryRule() {
3949 return getDocumentationEntryAccess().getRule();
3950 }
3951
3952 //enum DocumentLevelSpecification:
3953 // none | normal | full;
3954 public DocumentLevelSpecificationElements getDocumentLevelSpecificationAccess() {
3955 return eDocumentLevelSpecification;
3956 }
3957
3958 public EnumRule getDocumentLevelSpecificationRule() {
3959 return getDocumentLevelSpecificationAccess().getRule();
3960 }
3961
3962 //RuntimeEntry:
3963 // "runtime" "=" millisecLimit=INT;
3964 public RuntimeEntryElements getRuntimeEntryAccess() {
3965 return pRuntimeEntry;
3966 }
3967
3968 public ParserRule getRuntimeEntryRule() {
3969 return getRuntimeEntryAccess().getRule();
3970 }
3971
3972 //MemoryEntry:
3973 // "memory" "=" megabyteLimit=INT;
3974 public MemoryEntryElements getMemoryEntryAccess() {
3975 return pMemoryEntry;
3976 }
3977
3978 public ParserRule getMemoryEntryRule() {
3979 return getMemoryEntryAccess().getRule();
3980 }
3981
3982 //CustomEntry:
3983 // key=STRING "=" value=STRING;
3984 public CustomEntryElements getCustomEntryAccess() {
3985 return pCustomEntry;
3986 }
3987
3988 public ParserRule getCustomEntryRule() {
3989 return getCustomEntryAccess().getRule();
3990 }
3991
3992 //ConfigReference:
3993 // config=[ConfigDeclaration];
3994 public ConfigReferenceElements getConfigReferenceAccess() {
3995 return pConfigReference;
3996 }
3997
3998 public ParserRule getConfigReferenceRule() {
3999 return getConfigReferenceAccess().getRule();
4000 }
4001
4002 //Config:
4003 // ConfigSpecification | ConfigReference;
4004 public ConfigElements getConfigAccess() {
4005 return pConfig;
4006 }
4007
4008 public ParserRule getConfigRule() {
4009 return getConfigAccess().getRule();
4010 }
4011
4012 //enum Solver:
4013 // SMTSolver | AlloySolver | ViatraSolver;
4014 public SolverElements getSolverAccess() {
4015 return eSolver;
4016 }
4017
4018 public EnumRule getSolverRule() {
4019 return getSolverAccess().getRule();
4020 }
4021
4022 //ScopeSpecification:
4023 // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)?
4024 // '}';
4025 public ScopeSpecificationElements getScopeSpecificationAccess() {
4026 return pScopeSpecification;
4027 }
4028
4029 public ParserRule getScopeSpecificationRule() {
4030 return getScopeSpecificationAccess().getRule();
4031 }
4032
4033 //TypeScope:
4034 // ClassTypeScope | ObjectTypeScope | IntegerTypeScope | RealTypeScope | StringTypeScope;
4035 public TypeScopeElements getTypeScopeAccess() {
4036 return pTypeScope;
4037 }
4038
4039 public ParserRule getTypeScopeRule() {
4040 return getTypeScopeAccess().getRule();
4041 }
4042
4043 //ClassTypeScope:
4044 // '#' type=ClassReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber);
4045 public ClassTypeScopeElements getClassTypeScopeAccess() {
4046 return pClassTypeScope;
4047 }
4048
4049 public ParserRule getClassTypeScopeRule() {
4050 return getClassTypeScopeAccess().getRule();
4051 }
4052
4053 //ObjectTypeScope:
4054 // '#' type=ObjectReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber);
4055 public ObjectTypeScopeElements getObjectTypeScopeAccess() {
4056 return pObjectTypeScope;
4057 }
4058
4059 public ParserRule getObjectTypeScopeRule() {
4060 return getObjectTypeScopeAccess().getRule();
4061 }
4062
4063 //IntegerTypeScope:
4064 // '#' type=IntegerReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
4065 // number=IntEnumberation);
4066 public IntegerTypeScopeElements getIntegerTypeScopeAccess() {
4067 return pIntegerTypeScope;
4068 }
4069
4070 public ParserRule getIntegerTypeScopeRule() {
4071 return getIntegerTypeScopeAccess().getRule();
4072 }
4073
4074 //RealTypeScope:
4075 // '#' type=RealReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
4076 // number=RealEnumeration);
4077 public RealTypeScopeElements getRealTypeScopeAccess() {
4078 return pRealTypeScope;
4079 }
4080
4081 public ParserRule getRealTypeScopeRule() {
4082 return getRealTypeScopeAccess().getRule();
4083 }
4084
4085 //StringTypeScope:
4086 // '#' type=StringReference (setsNew?='+=' | setsSum?='=') (number=ExactNumber | number=IntervallNumber |
4087 // number=StringEnumeration);
4088 public StringTypeScopeElements getStringTypeScopeAccess() {
4089 return pStringTypeScope;
4090 }
4091
4092 public ParserRule getStringTypeScopeRule() {
4093 return getStringTypeScopeAccess().getRule();
4094 }
4095
4096 //TypeReference:
4097 // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference;
4098 public TypeReferenceElements getTypeReferenceAccess() {
4099 return pTypeReference;
4100 }
4101
4102 public ParserRule getTypeReferenceRule() {
4103 return getTypeReferenceAccess().getRule();
4104 }
4105
4106 //ClassReference:
4107 // '<' element=MetamodelElement '>';
4108 public ClassReferenceElements getClassReferenceAccess() {
4109 return pClassReference;
4110 }
4111
4112 public ParserRule getClassReferenceRule() {
4113 return getClassReferenceAccess().getRule();
4114 }
4115
4116 //ObjectReference:
4117 // {ObjectReference} 'node';
4118 public ObjectReferenceElements getObjectReferenceAccess() {
4119 return pObjectReference;
4120 }
4121
4122 public ParserRule getObjectReferenceRule() {
4123 return getObjectReferenceAccess().getRule();
4124 }
4125
4126 //IntegerReference:
4127 // {IntegerScope} 'int';
4128 public IntegerReferenceElements getIntegerReferenceAccess() {
4129 return pIntegerReference;
4130 }
4131
4132 public ParserRule getIntegerReferenceRule() {
4133 return getIntegerReferenceAccess().getRule();
4134 }
4135
4136 //RealReference:
4137 // {RealScope} 'real';
4138 public RealReferenceElements getRealReferenceAccess() {
4139 return pRealReference;
4140 }
4141
4142 public ParserRule getRealReferenceRule() {
4143 return getRealReferenceAccess().getRule();
4144 }
4145
4146 //StringReference:
4147 // {StringScope} 'string';
4148 public StringReferenceElements getStringReferenceAccess() {
4149 return pStringReference;
4150 }
4151
4152 public ParserRule getStringReferenceRule() {
4153 return getStringReferenceAccess().getRule();
4154 }
4155
4156 //NumberSpecification:
4157 // ExactNumber | IntervallNumber | IntEnumberation | RealEnumeration | StringEnumeration;
4158 public NumberSpecificationElements getNumberSpecificationAccess() {
4159 return pNumberSpecification;
4160 }
4161
4162 public ParserRule getNumberSpecificationRule() {
4163 return getNumberSpecificationAccess().getRule();
4164 }
4165
4166 //ExactNumber:
4167 // exactNumber=INT | exactUnlimited?='*';
4168 public ExactNumberElements getExactNumberAccess() {
4169 return pExactNumber;
4170 }
4171
4172 public ParserRule getExactNumberRule() {
4173 return getExactNumberAccess().getRule();
4174 }
4175
4176 //IntervallNumber:
4177 // min=INT '..' (maxNumber=INT | maxUnlimited?='*');
4178 public IntervallNumberElements getIntervallNumberAccess() {
4179 return pIntervallNumber;
4180 }
4181
4182 public ParserRule getIntervallNumberRule() {
4183 return getIntervallNumberAccess().getRule();
4184 }
4185
4186 //IntEnumberation:
4187 // {IntEnumberation} '{' (entry+=INTLiteral (',' entry+=INTLiteral)*)? '}';
4188 public IntEnumberationElements getIntEnumberationAccess() {
4189 return pIntEnumberation;
4190 }
4191
4192 public ParserRule getIntEnumberationRule() {
4193 return getIntEnumberationAccess().getRule();
4194 }
4195
4196 //RealEnumeration:
4197 // {RealEnumeration} '{' (entry+=REALLiteral (',' entry+=REALLiteral)*)? '}';
4198 public RealEnumerationElements getRealEnumerationAccess() {
4199 return pRealEnumeration;
4200 }
4201
4202 public ParserRule getRealEnumerationRule() {
4203 return getRealEnumerationAccess().getRule();
4204 }
4205
4206 //StringEnumeration:
4207 // {StringEnumeration} '{' (entry+=STRING (',' entry+=STRING)*)? '}';
4208 public StringEnumerationElements getStringEnumerationAccess() {
4209 return pStringEnumeration;
4210 }
4211
4212 public ParserRule getStringEnumerationRule() {
4213 return getStringEnumerationAccess().getRule();
4214 }
4215
4216 //ScopeDeclaration:
4217 // 'scope' name=ID specification=ScopeSpecification;
4218 public ScopeDeclarationElements getScopeDeclarationAccess() {
4219 return pScopeDeclaration;
4220 }
4221
4222 public ParserRule getScopeDeclarationRule() {
4223 return getScopeDeclarationAccess().getRule();
4224 }
4225
4226 //ScopeReference:
4227 // referred=[ScopeDeclaration];
4228 public ScopeReferenceElements getScopeReferenceAccess() {
4229 return pScopeReference;
4230 }
4231
4232 public ParserRule getScopeReferenceRule() {
4233 return getScopeReferenceAccess().getRule();
4234 }
4235
4236 //Scope:
4237 // ScopeSpecification | ScopeReference;
4238 public ScopeElements getScopeAccess() {
4239 return pScope;
4240 }
4241
4242 public ParserRule getScopeRule() {
4243 return getScopeAccess().getRule();
4244 }
4245
4246 //Task:
4247 // GenerationTask /*| CoverageCalculation | ValidationTask*/;
4248 public TaskElements getTaskAccess() {
4249 return pTask;
4250 }
4251
4252 public ParserRule getTaskRule() {
4253 return getTaskAccess().getRule();
4254 }
4255
4256 //GenerationTask:
4257 // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '='
4258 // partialModel=PartialModel)? & ('constraints' '=' patterns=GraphPattern)? & ('objectives' '=' objectives=Objective)? &
4259 // ('scope' '=' scope=Scope)? & (numberSpecified?='number' '=' number=INT)? & (runSpecified?='runs' '=' runs=INT)? &
4260 // ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('debug' '=' debugFolder=File)? & ('log' '='
4261 // targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)? & ('output' '=' tagetFolder=File)?) '}';
4262 public GenerationTaskElements getGenerationTaskAccess() {
4263 return pGenerationTask;
4264 }
4265
4266 public ParserRule getGenerationTaskRule() {
4267 return getGenerationTaskAccess().getRule();
4268 }
4269
4270 //terminal ID:
4271 // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
4272 public TerminalRule getIDRule() {
4273 return gaTerminals.getIDRule();
4274 }
4275
4276 //terminal INT returns ecore::EInt:
4277 // '0'..'9'+;
4278 public TerminalRule getINTRule() {
4279 return gaTerminals.getINTRule();
4280 }
4281
4282 //terminal STRING:
4283 // '"' ('\\' . | !('\\' | '"'))* '"' |
4284 // "'" ('\\' . | !('\\' | "'"))* "'";
4285 public TerminalRule getSTRINGRule() {
4286 return gaTerminals.getSTRINGRule();
4287 }
4288
4289 //terminal ML_COMMENT:
4290 // '/*'->'*/';
4291 public TerminalRule getML_COMMENTRule() {
4292 return gaTerminals.getML_COMMENTRule();
4293 }
4294
4295 //terminal SL_COMMENT:
4296 // '//' !('\n' | '\r')* ('\r'? '\n')?;
4297 public TerminalRule getSL_COMMENTRule() {
4298 return gaTerminals.getSL_COMMENTRule();
4299 }
4300
4301 //terminal WS:
4302 // ' ' | '\t' | '\r' | '\n'+;
4303 public TerminalRule getWSRule() {
4304 return gaTerminals.getWSRule();
4305 }
4306
4307 //terminal ANY_OTHER:
4308 // .;
4309 public TerminalRule getANY_OTHERRule() {
4310 return gaTerminals.getANY_OTHERRule();
4311 }
4312}