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