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