source: default/v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/services/EbnfGrammarAccess.java @ 88

Last change on this file since 88 was 88, checked in by phdmakk, 9 years ago

+ generated resources

  • Property svn:mime-type set to text/plain
File size: 60.3 KB
Line 
1/*
2* generated by Xtext
3*/
4package de.ugoe.cs.swe.bnftools.services;
5
6import com.google.inject.Singleton;
7import com.google.inject.Inject;
8
9import java.util.List;
10
11import org.eclipse.xtext.*;
12import org.eclipse.xtext.service.GrammarProvider;
13import org.eclipse.xtext.service.AbstractElementFinder.*;
14
15
16@Singleton
17public class EbnfGrammarAccess extends AbstractGrammarElementFinder {
18       
19       
20        public class EtsiBnfElements extends AbstractParserRuleElementFinder {
21                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EtsiBnf");
22                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
23                private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
24                private final Keyword cGrammarKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
25                private final Assignment cNameAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
26                private final RuleCall cNameIDTerminalRuleCall_0_1_0 = (RuleCall)cNameAssignment_0_1.eContents().get(0);
27                private final Group cGroup_0_2 = (Group)cGroup_0.eContents().get(2);
28                private final Assignment cTypeAssignment_0_2_0 = (Assignment)cGroup_0_2.eContents().get(0);
29                private final Keyword cTypeBnfKeyword_0_2_0_0 = (Keyword)cTypeAssignment_0_2_0.eContents().get(0);
30                private final Keyword cSemicolonKeyword_0_2_1 = (Keyword)cGroup_0_2.eContents().get(1);
31                private final Assignment cImportSectionAssignment_0_2_2 = (Assignment)cGroup_0_2.eContents().get(2);
32                private final RuleCall cImportSectionImportSectionParserRuleCall_0_2_2_0 = (RuleCall)cImportSectionAssignment_0_2_2.eContents().get(0);
33                private final Assignment cBnfEntryAssignment_0_2_3 = (Assignment)cGroup_0_2.eContents().get(3);
34                private final RuleCall cBnfEntryBnfEntryParserRuleCall_0_2_3_0 = (RuleCall)cBnfEntryAssignment_0_2_3.eContents().get(0);
35                private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
36                private final Assignment cTypeAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
37                private final Keyword cTypeDeltaKeyword_1_0_0 = (Keyword)cTypeAssignment_1_0.eContents().get(0);
38                private final Keyword cSemicolonKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
39                private final Assignment cImportSectionAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
40                private final RuleCall cImportSectionImportSectionParserRuleCall_1_2_0 = (RuleCall)cImportSectionAssignment_1_2.eContents().get(0);
41                private final Assignment cDeltaEntryAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3);
42                private final RuleCall cDeltaEntryDeltaEntryParserRuleCall_1_3_0 = (RuleCall)cDeltaEntryAssignment_1_3.eContents().get(0);
43                private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
44                private final Assignment cTypeAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0);
45                private final Keyword cTypeMergeKeyword_2_0_0 = (Keyword)cTypeAssignment_2_0.eContents().get(0);
46                private final Keyword cSemicolonKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
47                private final Assignment cImportSectionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2);
48                private final RuleCall cImportSectionImportSectionParserRuleCall_2_2_0 = (RuleCall)cImportSectionAssignment_2_2.eContents().get(0);
49                private final Assignment cMergeEntryAssignment_2_3 = (Assignment)cGroup_2.eContents().get(3);
50                private final RuleCall cMergeEntryMergeEntryParserRuleCall_2_3_0 = (RuleCall)cMergeEntryAssignment_2_3.eContents().get(0);
51               
52                //// -----------------------------------------------------------------------------------------------
53                //// Parser Rules
54                //// -----------------------------------------------------------------------------------------------
55                //EtsiBnf:
56                //      "grammar" name=ID (type="/bnf"? ";" importSection=ImportSection? bnfEntry+=BnfEntry+) | type="/delta" ";"
57                //      importSection=ImportSection? deltaEntry+=DeltaEntry* | type="/merge" ";" importSection=ImportSection?
58                //      mergeEntry+=MergeEntry*;
59                public ParserRule getRule() { return rule; }
60
61                //"grammar" name=ID (type="/bnf"? ";" importSection=ImportSection? bnfEntry+=BnfEntry+) | type="/delta" ";"
62                //importSection=ImportSection? deltaEntry+=DeltaEntry* | type="/merge" ";" importSection=ImportSection?
63                //mergeEntry+=MergeEntry*
64                public Alternatives getAlternatives() { return cAlternatives; }
65
66                //"grammar" name=ID (type="/bnf"? ";" importSection=ImportSection? bnfEntry+=BnfEntry+)
67                public Group getGroup_0() { return cGroup_0; }
68
69                //"grammar"
70                public Keyword getGrammarKeyword_0_0() { return cGrammarKeyword_0_0; }
71
72                //name=ID
73                public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; }
74
75                //ID
76                public RuleCall getNameIDTerminalRuleCall_0_1_0() { return cNameIDTerminalRuleCall_0_1_0; }
77
78                //type="/bnf"? ";" importSection=ImportSection? bnfEntry+=BnfEntry+
79                public Group getGroup_0_2() { return cGroup_0_2; }
80
81                //type="/bnf"?
82                public Assignment getTypeAssignment_0_2_0() { return cTypeAssignment_0_2_0; }
83
84                //"/bnf"
85                public Keyword getTypeBnfKeyword_0_2_0_0() { return cTypeBnfKeyword_0_2_0_0; }
86
87                //";"
88                public Keyword getSemicolonKeyword_0_2_1() { return cSemicolonKeyword_0_2_1; }
89
90                //importSection=ImportSection?
91                public Assignment getImportSectionAssignment_0_2_2() { return cImportSectionAssignment_0_2_2; }
92
93                //ImportSection
94                public RuleCall getImportSectionImportSectionParserRuleCall_0_2_2_0() { return cImportSectionImportSectionParserRuleCall_0_2_2_0; }
95
96                //bnfEntry+=BnfEntry+
97                public Assignment getBnfEntryAssignment_0_2_3() { return cBnfEntryAssignment_0_2_3; }
98
99                //BnfEntry
100                public RuleCall getBnfEntryBnfEntryParserRuleCall_0_2_3_0() { return cBnfEntryBnfEntryParserRuleCall_0_2_3_0; }
101
102                //type="/delta" ";" importSection=ImportSection? deltaEntry+=DeltaEntry*
103                public Group getGroup_1() { return cGroup_1; }
104
105                //type="/delta"
106                public Assignment getTypeAssignment_1_0() { return cTypeAssignment_1_0; }
107
108                //"/delta"
109                public Keyword getTypeDeltaKeyword_1_0_0() { return cTypeDeltaKeyword_1_0_0; }
110
111                //";"
112                public Keyword getSemicolonKeyword_1_1() { return cSemicolonKeyword_1_1; }
113
114                //importSection=ImportSection?
115                public Assignment getImportSectionAssignment_1_2() { return cImportSectionAssignment_1_2; }
116
117                //ImportSection
118                public RuleCall getImportSectionImportSectionParserRuleCall_1_2_0() { return cImportSectionImportSectionParserRuleCall_1_2_0; }
119
120                //deltaEntry+=DeltaEntry*
121                public Assignment getDeltaEntryAssignment_1_3() { return cDeltaEntryAssignment_1_3; }
122
123                //DeltaEntry
124                public RuleCall getDeltaEntryDeltaEntryParserRuleCall_1_3_0() { return cDeltaEntryDeltaEntryParserRuleCall_1_3_0; }
125
126                //type="/merge" ";" importSection=ImportSection? mergeEntry+=MergeEntry*
127                public Group getGroup_2() { return cGroup_2; }
128
129                //type="/merge"
130                public Assignment getTypeAssignment_2_0() { return cTypeAssignment_2_0; }
131
132                //"/merge"
133                public Keyword getTypeMergeKeyword_2_0_0() { return cTypeMergeKeyword_2_0_0; }
134
135                //";"
136                public Keyword getSemicolonKeyword_2_1() { return cSemicolonKeyword_2_1; }
137
138                //importSection=ImportSection?
139                public Assignment getImportSectionAssignment_2_2() { return cImportSectionAssignment_2_2; }
140
141                //ImportSection
142                public RuleCall getImportSectionImportSectionParserRuleCall_2_2_0() { return cImportSectionImportSectionParserRuleCall_2_2_0; }
143
144                //mergeEntry+=MergeEntry*
145                public Assignment getMergeEntryAssignment_2_3() { return cMergeEntryAssignment_2_3; }
146
147                //MergeEntry
148                public RuleCall getMergeEntryMergeEntryParserRuleCall_2_3_0() { return cMergeEntryMergeEntryParserRuleCall_2_3_0; }
149        }
150
151        public class ImportSectionElements extends AbstractParserRuleElementFinder {
152                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportSection");
153                private final Assignment cImportsAssignment = (Assignment)rule.eContents().get(1);
154                private final RuleCall cImportsImportParserRuleCall_0 = (RuleCall)cImportsAssignment.eContents().get(0);
155               
156                //ImportSection:
157                //      imports+=Import+;
158                public ParserRule getRule() { return rule; }
159
160                //imports+=Import+
161                public Assignment getImportsAssignment() { return cImportsAssignment; }
162
163                //Import
164                public RuleCall getImportsImportParserRuleCall_0() { return cImportsImportParserRuleCall_0; }
165        }
166
167        public class BnfEntryElements extends AbstractParserRuleElementFinder {
168                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BnfEntry");
169                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
170                private final Assignment cSectionheaderAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
171                private final RuleCall cSectionheaderSectionHeadingParserRuleCall_0_0 = (RuleCall)cSectionheaderAssignment_0.eContents().get(0);
172                private final Assignment cRuleAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
173                private final RuleCall cRuleRuleParserRuleCall_1_0 = (RuleCall)cRuleAssignment_1.eContents().get(0);
174               
175                //BnfEntry:
176                //      sectionheader=SectionHeading | rule=Rule;
177                public ParserRule getRule() { return rule; }
178
179                //sectionheader=SectionHeading | rule=Rule
180                public Alternatives getAlternatives() { return cAlternatives; }
181
182                //sectionheader=SectionHeading
183                public Assignment getSectionheaderAssignment_0() { return cSectionheaderAssignment_0; }
184
185                //SectionHeading
186                public RuleCall getSectionheaderSectionHeadingParserRuleCall_0_0() { return cSectionheaderSectionHeadingParserRuleCall_0_0; }
187
188                //rule=Rule
189                public Assignment getRuleAssignment_1() { return cRuleAssignment_1; }
190
191                //Rule
192                public RuleCall getRuleRuleParserRuleCall_1_0() { return cRuleRuleParserRuleCall_1_0; }
193        }
194
195        public class DeltaEntryElements extends AbstractParserRuleElementFinder {
196                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DeltaEntry");
197                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
198                private final Assignment cRuleAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
199                private final RuleCall cRuleRuleParserRuleCall_0_0 = (RuleCall)cRuleAssignment_0.eContents().get(0);
200                private final Assignment cSectionheaderAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
201                private final RuleCall cSectionheaderSectionHeadingParserRuleCall_1_0 = (RuleCall)cSectionheaderAssignment_1.eContents().get(0);
202                private final Assignment cExtRuleAssignment_2 = (Assignment)cAlternatives.eContents().get(2);
203                private final RuleCall cExtRuleExtRuleParserRuleCall_2_0 = (RuleCall)cExtRuleAssignment_2.eContents().get(0);
204               
205                //DeltaEntry:
206                //      rule=Rule | sectionheader=SectionHeading | extRule=ExtRule;
207                public ParserRule getRule() { return rule; }
208
209                //rule=Rule | sectionheader=SectionHeading | extRule=ExtRule
210                public Alternatives getAlternatives() { return cAlternatives; }
211
212                //rule=Rule
213                public Assignment getRuleAssignment_0() { return cRuleAssignment_0; }
214
215                //Rule
216                public RuleCall getRuleRuleParserRuleCall_0_0() { return cRuleRuleParserRuleCall_0_0; }
217
218                //sectionheader=SectionHeading
219                public Assignment getSectionheaderAssignment_1() { return cSectionheaderAssignment_1; }
220
221                //SectionHeading
222                public RuleCall getSectionheaderSectionHeadingParserRuleCall_1_0() { return cSectionheaderSectionHeadingParserRuleCall_1_0; }
223
224                //extRule=ExtRule
225                public Assignment getExtRuleAssignment_2() { return cExtRuleAssignment_2; }
226
227                //ExtRule
228                public RuleCall getExtRuleExtRuleParserRuleCall_2_0() { return cExtRuleExtRuleParserRuleCall_2_0; }
229        }
230
231        public class MergeEntryElements extends AbstractParserRuleElementFinder {
232                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MergeEntry");
233                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
234                private final Assignment cSectionheaderAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
235                private final RuleCall cSectionheaderSectionHeadingParserRuleCall_0_0 = (RuleCall)cSectionheaderAssignment_0.eContents().get(0);
236                private final Assignment cMergeRuleAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
237                private final RuleCall cMergeRuleMergeRuleParserRuleCall_1_0 = (RuleCall)cMergeRuleAssignment_1.eContents().get(0);
238               
239                //MergeEntry:
240                //      sectionheader=SectionHeading | mergeRule=MergeRule;
241                public ParserRule getRule() { return rule; }
242
243                //sectionheader=SectionHeading | mergeRule=MergeRule
244                public Alternatives getAlternatives() { return cAlternatives; }
245
246                //sectionheader=SectionHeading
247                public Assignment getSectionheaderAssignment_0() { return cSectionheaderAssignment_0; }
248
249                //SectionHeading
250                public RuleCall getSectionheaderSectionHeadingParserRuleCall_0_0() { return cSectionheaderSectionHeadingParserRuleCall_0_0; }
251
252                //mergeRule=MergeRule
253                public Assignment getMergeRuleAssignment_1() { return cMergeRuleAssignment_1; }
254
255                //MergeRule
256                public RuleCall getMergeRuleMergeRuleParserRuleCall_1_0() { return cMergeRuleMergeRuleParserRuleCall_1_0; }
257        }
258
259        public class SectionHeadingElements extends AbstractParserRuleElementFinder {
260                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SectionHeading");
261                private final Group cGroup = (Group)rule.eContents().get(1);
262                private final Action cSectionHeadingAction_0 = (Action)cGroup.eContents().get(0);
263                private final Assignment cSectionHeaderAssignment_1 = (Assignment)cGroup.eContents().get(1);
264                private final RuleCall cSectionHeaderSECTIONHEADERTerminalRuleCall_1_0 = (RuleCall)cSectionHeaderAssignment_1.eContents().get(0);
265               
266                //SectionHeading:
267                //      {SectionHeading} sectionHeader=SECTIONHEADER;
268                public ParserRule getRule() { return rule; }
269
270                //{SectionHeading} sectionHeader=SECTIONHEADER
271                public Group getGroup() { return cGroup; }
272
273                //{SectionHeading}
274                public Action getSectionHeadingAction_0() { return cSectionHeadingAction_0; }
275
276                //sectionHeader=SECTIONHEADER
277                public Assignment getSectionHeaderAssignment_1() { return cSectionHeaderAssignment_1; }
278
279                //SECTIONHEADER
280                public RuleCall getSectionHeaderSECTIONHEADERTerminalRuleCall_1_0() { return cSectionHeaderSECTIONHEADERTerminalRuleCall_1_0; }
281        }
282
283        public class ImportElements extends AbstractParserRuleElementFinder {
284                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import");
285                private final Group cGroup = (Group)rule.eContents().get(1);
286                private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
287                private final Assignment cImportURIAssignment_1 = (Assignment)cGroup.eContents().get(1);
288                private final RuleCall cImportURISTRINGTerminalRuleCall_1_0 = (RuleCall)cImportURIAssignment_1.eContents().get(0);
289                private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
290                private final Keyword cSolidusKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
291                private final Alternatives cAlternatives_2_1 = (Alternatives)cGroup_2.eContents().get(1);
292                private final Assignment cGrammarTypeAssignment_2_1_0 = (Assignment)cAlternatives_2_1.eContents().get(0);
293                private final Keyword cGrammarTypeCoreKeyword_2_1_0_0 = (Keyword)cGrammarTypeAssignment_2_1_0.eContents().get(0);
294                private final Assignment cGrammarTypeAssignment_2_1_1 = (Assignment)cAlternatives_2_1.eContents().get(1);
295                private final Keyword cGrammarTypePackageKeyword_2_1_1_0 = (Keyword)cGrammarTypeAssignment_2_1_1.eContents().get(0);
296                private final Assignment cGrammarTypeAssignment_2_1_2 = (Assignment)cAlternatives_2_1.eContents().get(2);
297                private final Keyword cGrammarTypeUpdateKeyword_2_1_2_0 = (Keyword)cGrammarTypeAssignment_2_1_2.eContents().get(0);
298                private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
299                private final Keyword cLabelKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
300                private final Assignment cLabelAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
301                private final RuleCall cLabelIDTerminalRuleCall_3_1_0 = (RuleCall)cLabelAssignment_3_1.eContents().get(0);
302                private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
303               
304                //Import:
305                //      "import" importURI=STRING ("/" (grammarType="core" | grammarType="package" | grammarType="update"))? ("label:"
306                //      label=ID)? ";";
307                public ParserRule getRule() { return rule; }
308
309                //"import" importURI=STRING ("/" (grammarType="core" | grammarType="package" | grammarType="update"))? ("label:"
310                //label=ID)? ";"
311                public Group getGroup() { return cGroup; }
312
313                //"import"
314                public Keyword getImportKeyword_0() { return cImportKeyword_0; }
315
316                //importURI=STRING
317                public Assignment getImportURIAssignment_1() { return cImportURIAssignment_1; }
318
319                //STRING
320                public RuleCall getImportURISTRINGTerminalRuleCall_1_0() { return cImportURISTRINGTerminalRuleCall_1_0; }
321
322                //("/" (grammarType="core" | grammarType="package" | grammarType="update"))?
323                public Group getGroup_2() { return cGroup_2; }
324
325                //"/"
326                public Keyword getSolidusKeyword_2_0() { return cSolidusKeyword_2_0; }
327
328                //grammarType="core" | grammarType="package" | grammarType="update"
329                public Alternatives getAlternatives_2_1() { return cAlternatives_2_1; }
330
331                //grammarType="core"
332                public Assignment getGrammarTypeAssignment_2_1_0() { return cGrammarTypeAssignment_2_1_0; }
333
334                //"core"
335                public Keyword getGrammarTypeCoreKeyword_2_1_0_0() { return cGrammarTypeCoreKeyword_2_1_0_0; }
336
337                //grammarType="package"
338                public Assignment getGrammarTypeAssignment_2_1_1() { return cGrammarTypeAssignment_2_1_1; }
339
340                //"package"
341                public Keyword getGrammarTypePackageKeyword_2_1_1_0() { return cGrammarTypePackageKeyword_2_1_1_0; }
342
343                //grammarType="update"
344                public Assignment getGrammarTypeAssignment_2_1_2() { return cGrammarTypeAssignment_2_1_2; }
345
346                //"update"
347                public Keyword getGrammarTypeUpdateKeyword_2_1_2_0() { return cGrammarTypeUpdateKeyword_2_1_2_0; }
348
349                //("label:" label=ID)?
350                public Group getGroup_3() { return cGroup_3; }
351
352                //"label:"
353                public Keyword getLabelKeyword_3_0() { return cLabelKeyword_3_0; }
354
355                //label=ID
356                public Assignment getLabelAssignment_3_1() { return cLabelAssignment_3_1; }
357
358                //ID
359                public RuleCall getLabelIDTerminalRuleCall_3_1_0() { return cLabelIDTerminalRuleCall_3_1_0; }
360
361                //";"
362                public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
363        }
364
365        public class RuleElements extends AbstractParserRuleElementFinder {
366                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Rule");
367                private final Group cGroup = (Group)rule.eContents().get(1);
368                private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
369                private final Assignment cRulenumberAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
370                private final RuleCall cRulenumberINTTerminalRuleCall_0_0_0 = (RuleCall)cRulenumberAssignment_0_0.eContents().get(0);
371                private final Assignment cRulevariantAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
372                private final RuleCall cRulevariantIDTerminalRuleCall_0_1_0 = (RuleCall)cRulevariantAssignment_0_1.eContents().get(0);
373                private final Keyword cFullStopKeyword_0_2 = (Keyword)cGroup_0.eContents().get(2);
374                private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
375                private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
376                private final Keyword cColonColonEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2);
377                private final Assignment cDefinitionListAssignment_3 = (Assignment)cGroup.eContents().get(3);
378                private final RuleCall cDefinitionListDefinitionListParserRuleCall_3_0 = (RuleCall)cDefinitionListAssignment_3.eContents().get(0);
379                private final Keyword cSemicolonKeyword_4 = (Keyword)cGroup.eContents().get(4);
380               
381                ////Import: 'import' importedNamespace=FqnWithWildCard;
382                ////FqnWithWildCard: Fqn('.*')? ';';
383                ////Fqn:ID('.'ID)*;
384                //Rule:
385                //      (rulenumber=INT rulevariant=ID? ".")? name=ID "::=" definitionList=DefinitionList? ";"?;
386                public ParserRule getRule() { return rule; }
387
388                //(rulenumber=INT rulevariant=ID? ".")? name=ID "::=" definitionList=DefinitionList? ";"?
389                public Group getGroup() { return cGroup; }
390
391                //(rulenumber=INT rulevariant=ID? ".")?
392                public Group getGroup_0() { return cGroup_0; }
393
394                //rulenumber=INT
395                public Assignment getRulenumberAssignment_0_0() { return cRulenumberAssignment_0_0; }
396
397                //INT
398                public RuleCall getRulenumberINTTerminalRuleCall_0_0_0() { return cRulenumberINTTerminalRuleCall_0_0_0; }
399
400                //rulevariant=ID?
401                public Assignment getRulevariantAssignment_0_1() { return cRulevariantAssignment_0_1; }
402
403                //ID
404                public RuleCall getRulevariantIDTerminalRuleCall_0_1_0() { return cRulevariantIDTerminalRuleCall_0_1_0; }
405
406                //"."
407                public Keyword getFullStopKeyword_0_2() { return cFullStopKeyword_0_2; }
408
409                //name=ID
410                public Assignment getNameAssignment_1() { return cNameAssignment_1; }
411
412                //ID
413                public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
414
415                //"::="
416                public Keyword getColonColonEqualsSignKeyword_2() { return cColonColonEqualsSignKeyword_2; }
417
418                //definitionList=DefinitionList?
419                public Assignment getDefinitionListAssignment_3() { return cDefinitionListAssignment_3; }
420
421                //DefinitionList
422                public RuleCall getDefinitionListDefinitionListParserRuleCall_3_0() { return cDefinitionListDefinitionListParserRuleCall_3_0; }
423
424                //";"?
425                public Keyword getSemicolonKeyword_4() { return cSemicolonKeyword_4; }
426        }
427
428        public class ExtRuleElements extends AbstractParserRuleElementFinder {
429                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ExtRule");
430                private final Group cGroup = (Group)rule.eContents().get(1);
431                private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
432                private final Assignment cRulenumberAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0);
433                private final RuleCall cRulenumberINTTerminalRuleCall_0_0_0 = (RuleCall)cRulenumberAssignment_0_0.eContents().get(0);
434                private final Assignment cRulevariantAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
435                private final RuleCall cRulevariantIDTerminalRuleCall_0_1_0 = (RuleCall)cRulevariantAssignment_0_1.eContents().get(0);
436                private final Keyword cFullStopKeyword_0_2 = (Keyword)cGroup_0.eContents().get(2);
437                private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
438                private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0);
439                private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
440                private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
441                private final Assignment cRuleextAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
442                private final RuleCall cRuleextINTTerminalRuleCall_2_1_0 = (RuleCall)cRuleextAssignment_2_1.eContents().get(0);
443                private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2);
444                private final Keyword cLessThanSignHyphenMinusKeyword_3 = (Keyword)cGroup.eContents().get(3);
445                private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4);
446                private final Assignment cElementsAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0);
447                private final RuleCall cElementsAtomParserRuleCall_4_0_0 = (RuleCall)cElementsAssignment_4_0.eContents().get(0);
448                private final Keyword cRightParenthesisKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1);
449                private final Keyword cRightSquareBracketKeyword_4_2 = (Keyword)cAlternatives_4.eContents().get(2);
450                private final Keyword cRightCurlyBracketKeyword_4_3 = (Keyword)cAlternatives_4.eContents().get(3);
451                private final Keyword cVerticalLineKeyword_4_4 = (Keyword)cAlternatives_4.eContents().get(4);
452                private final Keyword cLeftParenthesisKeyword_4_5 = (Keyword)cAlternatives_4.eContents().get(5);
453                private final Keyword cLeftSquareBracketKeyword_4_6 = (Keyword)cAlternatives_4.eContents().get(6);
454                private final Keyword cLeftCurlyBracketKeyword_4_7 = (Keyword)cAlternatives_4.eContents().get(7);
455                private final Keyword cAsteriskKeyword_4_8 = (Keyword)cAlternatives_4.eContents().get(8);
456                private final Keyword cPlusSignKeyword_4_9 = (Keyword)cAlternatives_4.eContents().get(9);
457                private final Keyword cSemicolonKeyword_5 = (Keyword)cGroup.eContents().get(5);
458               
459                //ExtRule:
460                //      (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | "("
461                //      | "[" | "{" | "*" | "+")* ";"?;
462                public ParserRule getRule() { return rule; }
463
464                //(rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | "(" |
465                //"[" | "{" | "*" | "+")* ";"?
466                public Group getGroup() { return cGroup; }
467
468                //(rulenumber=INT rulevariant=ID? ".")?
469                public Group getGroup_0() { return cGroup_0; }
470
471                //rulenumber=INT
472                public Assignment getRulenumberAssignment_0_0() { return cRulenumberAssignment_0_0; }
473
474                //INT
475                public RuleCall getRulenumberINTTerminalRuleCall_0_0_0() { return cRulenumberINTTerminalRuleCall_0_0_0; }
476
477                //rulevariant=ID?
478                public Assignment getRulevariantAssignment_0_1() { return cRulevariantAssignment_0_1; }
479
480                //ID
481                public RuleCall getRulevariantIDTerminalRuleCall_0_1_0() { return cRulevariantIDTerminalRuleCall_0_1_0; }
482
483                //"."
484                public Keyword getFullStopKeyword_0_2() { return cFullStopKeyword_0_2; }
485
486                //name=ID
487                public Assignment getNameAssignment_1() { return cNameAssignment_1; }
488
489                //ID
490                public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
491
492                //"(" ruleext=INT ")"
493                public Group getGroup_2() { return cGroup_2; }
494
495                //"("
496                public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; }
497
498                //ruleext=INT
499                public Assignment getRuleextAssignment_2_1() { return cRuleextAssignment_2_1; }
500
501                //INT
502                public RuleCall getRuleextINTTerminalRuleCall_2_1_0() { return cRuleextINTTerminalRuleCall_2_1_0; }
503
504                //")"
505                public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; }
506
507                //"<-"
508                public Keyword getLessThanSignHyphenMinusKeyword_3() { return cLessThanSignHyphenMinusKeyword_3; }
509
510                //(elements+=Atom | ")" | "]" | "}" | "|" | "(" | "[" | "{" | "*" | "+")*
511                public Alternatives getAlternatives_4() { return cAlternatives_4; }
512
513                //elements+=Atom
514                public Assignment getElementsAssignment_4_0() { return cElementsAssignment_4_0; }
515
516                //Atom
517                public RuleCall getElementsAtomParserRuleCall_4_0_0() { return cElementsAtomParserRuleCall_4_0_0; }
518
519                //")"
520                public Keyword getRightParenthesisKeyword_4_1() { return cRightParenthesisKeyword_4_1; }
521
522                //"]"
523                public Keyword getRightSquareBracketKeyword_4_2() { return cRightSquareBracketKeyword_4_2; }
524
525                //"}"
526                public Keyword getRightCurlyBracketKeyword_4_3() { return cRightCurlyBracketKeyword_4_3; }
527
528                //"|"
529                public Keyword getVerticalLineKeyword_4_4() { return cVerticalLineKeyword_4_4; }
530
531                //"("
532                public Keyword getLeftParenthesisKeyword_4_5() { return cLeftParenthesisKeyword_4_5; }
533
534                //"["
535                public Keyword getLeftSquareBracketKeyword_4_6() { return cLeftSquareBracketKeyword_4_6; }
536
537                //"{"
538                public Keyword getLeftCurlyBracketKeyword_4_7() { return cLeftCurlyBracketKeyword_4_7; }
539
540                //"*"
541                public Keyword getAsteriskKeyword_4_8() { return cAsteriskKeyword_4_8; }
542
543                //"+"
544                public Keyword getPlusSignKeyword_4_9() { return cPlusSignKeyword_4_9; }
545
546                //";"?
547                public Keyword getSemicolonKeyword_5() { return cSemicolonKeyword_5; }
548        }
549
550        public class MergeRuleElements extends AbstractParserRuleElementFinder {
551                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MergeRule");
552                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
553                private final RuleCall cGlobalCombinatorParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
554                private final RuleCall cRuleCombinatorParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
555                private final RuleCall cHookCombinatorParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
556               
557                //MergeRule:
558                //      GlobalCombinator | RuleCombinator | HookCombinator;
559                public ParserRule getRule() { return rule; }
560
561                //GlobalCombinator | RuleCombinator | HookCombinator
562                public Alternatives getAlternatives() { return cAlternatives; }
563
564                //GlobalCombinator
565                public RuleCall getGlobalCombinatorParserRuleCall_0() { return cGlobalCombinatorParserRuleCall_0; }
566
567                //RuleCombinator
568                public RuleCall getRuleCombinatorParserRuleCall_1() { return cRuleCombinatorParserRuleCall_1; }
569
570                //HookCombinator
571                public RuleCall getHookCombinatorParserRuleCall_2() { return cHookCombinatorParserRuleCall_2; }
572        }
573
574        public class GlobalCombinatorElements extends AbstractParserRuleElementFinder {
575                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "GlobalCombinator");
576                private final Group cGroup = (Group)rule.eContents().get(1);
577                private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
578                private final Keyword cGlobalKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
579                private final Keyword cCombinatorKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
580                private final Assignment cLogicAssignment_1 = (Assignment)cGroup.eContents().get(1);
581                private final RuleCall cLogicLOGICTerminalRuleCall_1_0 = (RuleCall)cLogicAssignment_1.eContents().get(0);
582                private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
583               
584                //GlobalCombinator:
585                //      ("global" "combinator:") logic=LOGIC ";"?;
586                public ParserRule getRule() { return rule; }
587
588                //("global" "combinator:") logic=LOGIC ";"?
589                public Group getGroup() { return cGroup; }
590
591                //"global" "combinator:"
592                public Group getGroup_0() { return cGroup_0; }
593
594                //"global"
595                public Keyword getGlobalKeyword_0_0() { return cGlobalKeyword_0_0; }
596
597                //"combinator:"
598                public Keyword getCombinatorKeyword_0_1() { return cCombinatorKeyword_0_1; }
599
600                //logic=LOGIC
601                public Assignment getLogicAssignment_1() { return cLogicAssignment_1; }
602
603                //LOGIC
604                public RuleCall getLogicLOGICTerminalRuleCall_1_0() { return cLogicLOGICTerminalRuleCall_1_0; }
605
606                //";"?
607                public Keyword getSemicolonKeyword_2() { return cSemicolonKeyword_2; }
608        }
609
610        public class RuleCombinatorElements extends AbstractParserRuleElementFinder {
611                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RuleCombinator");
612                private final Group cGroup = (Group)rule.eContents().get(1);
613                private final Group cGroup_0 = (Group)cGroup.eContents().get(0);
614                private final Keyword cRuleKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
615                private final Keyword cCombinatorKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
616                private final Assignment cNameAssignment_0_2 = (Assignment)cGroup_0.eContents().get(2);
617                private final RuleCall cNameIDTerminalRuleCall_0_2_0 = (RuleCall)cNameAssignment_0_2.eContents().get(0);
618                private final Assignment cLogicAssignment_1 = (Assignment)cGroup.eContents().get(1);
619                private final RuleCall cLogicLOGICTerminalRuleCall_1_0 = (RuleCall)cLogicAssignment_1.eContents().get(0);
620                private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
621                private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
622                private final Assignment cLABELAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
623                private final RuleCall cLABELSTRINGTerminalRuleCall_2_1_0 = (RuleCall)cLABELAssignment_2_1.eContents().get(0);
624                private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2);
625                private final Keyword cSemicolonKeyword_3 = (Keyword)cGroup.eContents().get(3);
626               
627                //RuleCombinator:
628                //      ("rule" "combinator:" name=ID) logic=LOGIC ("(" LABEL+=STRING ")")* ";"?;
629                public ParserRule getRule() { return rule; }
630
631                //("rule" "combinator:" name=ID) logic=LOGIC ("(" LABEL+=STRING ")")* ";"?
632                public Group getGroup() { return cGroup; }
633
634                //"rule" "combinator:" name=ID
635                public Group getGroup_0() { return cGroup_0; }
636
637                //"rule"
638                public Keyword getRuleKeyword_0_0() { return cRuleKeyword_0_0; }
639
640                //"combinator:"
641                public Keyword getCombinatorKeyword_0_1() { return cCombinatorKeyword_0_1; }
642
643                //name=ID
644                public Assignment getNameAssignment_0_2() { return cNameAssignment_0_2; }
645
646                //ID
647                public RuleCall getNameIDTerminalRuleCall_0_2_0() { return cNameIDTerminalRuleCall_0_2_0; }
648
649                //logic=LOGIC
650                public Assignment getLogicAssignment_1() { return cLogicAssignment_1; }
651
652                //LOGIC
653                public RuleCall getLogicLOGICTerminalRuleCall_1_0() { return cLogicLOGICTerminalRuleCall_1_0; }
654
655                //("(" LABEL+=STRING ")")*
656                public Group getGroup_2() { return cGroup_2; }
657
658                //"("
659                public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; }
660
661                //LABEL+=STRING
662                public Assignment getLABELAssignment_2_1() { return cLABELAssignment_2_1; }
663
664                //STRING
665                public RuleCall getLABELSTRINGTerminalRuleCall_2_1_0() { return cLABELSTRINGTerminalRuleCall_2_1_0; }
666
667                //")"
668                public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; }
669
670                //";"?
671                public Keyword getSemicolonKeyword_3() { return cSemicolonKeyword_3; }
672        }
673
674        public class HookCombinatorElements extends AbstractParserRuleElementFinder {
675                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "HookCombinator");
676                private final Group cGroup = (Group)rule.eContents().get(1);
677                private final Keyword cHookKeyword_0 = (Keyword)cGroup.eContents().get(0);
678                private final Keyword cCombinatorKeyword_1 = (Keyword)cGroup.eContents().get(1);
679                private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
680                private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
681                private final Keyword cLeftParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3);
682                private final Assignment cRuleextAssignment_4 = (Assignment)cGroup.eContents().get(4);
683                private final RuleCall cRuleextINTTerminalRuleCall_4_0 = (RuleCall)cRuleextAssignment_4.eContents().get(0);
684                private final Keyword cRightParenthesisKeyword_5 = (Keyword)cGroup.eContents().get(5);
685                private final Assignment cLogicAssignment_6 = (Assignment)cGroup.eContents().get(6);
686                private final RuleCall cLogicLOGICTerminalRuleCall_6_0 = (RuleCall)cLogicAssignment_6.eContents().get(0);
687                private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
688                private final Keyword cLeftParenthesisKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
689                private final Assignment cLABELAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
690                private final RuleCall cLABELSTRINGTerminalRuleCall_7_1_0 = (RuleCall)cLABELAssignment_7_1.eContents().get(0);
691                private final Keyword cRightParenthesisKeyword_7_2 = (Keyword)cGroup_7.eContents().get(2);
692                private final Keyword cSemicolonKeyword_8 = (Keyword)cGroup.eContents().get(8);
693               
694                //HookCombinator:
695                //      "hook" "combinator:" name=ID "(" ruleext=INT ")" logic=LOGIC? ("(" LABEL+=STRING ")")+ ";"?;
696                public ParserRule getRule() { return rule; }
697
698                //"hook" "combinator:" name=ID "(" ruleext=INT ")" logic=LOGIC? ("(" LABEL+=STRING ")")+ ";"?
699                public Group getGroup() { return cGroup; }
700
701                //"hook"
702                public Keyword getHookKeyword_0() { return cHookKeyword_0; }
703
704                //"combinator:"
705                public Keyword getCombinatorKeyword_1() { return cCombinatorKeyword_1; }
706
707                //name=ID
708                public Assignment getNameAssignment_2() { return cNameAssignment_2; }
709
710                //ID
711                public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; }
712
713                //"("
714                public Keyword getLeftParenthesisKeyword_3() { return cLeftParenthesisKeyword_3; }
715
716                //ruleext=INT
717                public Assignment getRuleextAssignment_4() { return cRuleextAssignment_4; }
718
719                //INT
720                public RuleCall getRuleextINTTerminalRuleCall_4_0() { return cRuleextINTTerminalRuleCall_4_0; }
721
722                //")"
723                public Keyword getRightParenthesisKeyword_5() { return cRightParenthesisKeyword_5; }
724
725                //logic=LOGIC?
726                public Assignment getLogicAssignment_6() { return cLogicAssignment_6; }
727
728                //LOGIC
729                public RuleCall getLogicLOGICTerminalRuleCall_6_0() { return cLogicLOGICTerminalRuleCall_6_0; }
730
731                //("(" LABEL+=STRING ")")+
732                public Group getGroup_7() { return cGroup_7; }
733
734                //"("
735                public Keyword getLeftParenthesisKeyword_7_0() { return cLeftParenthesisKeyword_7_0; }
736
737                //LABEL+=STRING
738                public Assignment getLABELAssignment_7_1() { return cLABELAssignment_7_1; }
739
740                //STRING
741                public RuleCall getLABELSTRINGTerminalRuleCall_7_1_0() { return cLABELSTRINGTerminalRuleCall_7_1_0; }
742
743                //")"
744                public Keyword getRightParenthesisKeyword_7_2() { return cRightParenthesisKeyword_7_2; }
745
746                //";"?
747                public Keyword getSemicolonKeyword_8() { return cSemicolonKeyword_8; }
748        }
749
750        public class DefinitionListElements extends AbstractParserRuleElementFinder {
751                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DefinitionList");
752                private final Group cGroup = (Group)rule.eContents().get(1);
753                private final Assignment cSingleDefinitionAssignment_0 = (Assignment)cGroup.eContents().get(0);
754                private final RuleCall cSingleDefinitionSingleDefinitionParserRuleCall_0_0 = (RuleCall)cSingleDefinitionAssignment_0.eContents().get(0);
755                private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
756                private final Keyword cVerticalLineKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
757                private final Assignment cSingleDefinitionAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
758                private final RuleCall cSingleDefinitionSingleDefinitionParserRuleCall_1_1_0 = (RuleCall)cSingleDefinitionAssignment_1_1.eContents().get(0);
759               
760                //DefinitionList:
761                //      singleDefinition+=SingleDefinition ("|" singleDefinition+=SingleDefinition)*;
762                public ParserRule getRule() { return rule; }
763
764                //singleDefinition+=SingleDefinition ("|" singleDefinition+=SingleDefinition)*
765                public Group getGroup() { return cGroup; }
766
767                //singleDefinition+=SingleDefinition
768                public Assignment getSingleDefinitionAssignment_0() { return cSingleDefinitionAssignment_0; }
769
770                //SingleDefinition
771                public RuleCall getSingleDefinitionSingleDefinitionParserRuleCall_0_0() { return cSingleDefinitionSingleDefinitionParserRuleCall_0_0; }
772
773                //("|" singleDefinition+=SingleDefinition)*
774                public Group getGroup_1() { return cGroup_1; }
775
776                //"|"
777                public Keyword getVerticalLineKeyword_1_0() { return cVerticalLineKeyword_1_0; }
778
779                //singleDefinition+=SingleDefinition
780                public Assignment getSingleDefinitionAssignment_1_1() { return cSingleDefinitionAssignment_1_1; }
781
782                //SingleDefinition
783                public RuleCall getSingleDefinitionSingleDefinitionParserRuleCall_1_1_0() { return cSingleDefinitionSingleDefinitionParserRuleCall_1_1_0; }
784        }
785
786        public class SingleDefinitionElements extends AbstractParserRuleElementFinder {
787                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SingleDefinition");
788                private final Assignment cTermsAssignment = (Assignment)rule.eContents().get(1);
789                private final RuleCall cTermsTermParserRuleCall_0 = (RuleCall)cTermsAssignment.eContents().get(0);
790               
791                //SingleDefinition:
792                //      terms+=Term+;
793                public ParserRule getRule() { return rule; }
794
795                //terms+=Term+
796                public Assignment getTermsAssignment() { return cTermsAssignment; }
797
798                //Term
799                public RuleCall getTermsTermParserRuleCall_0() { return cTermsTermParserRuleCall_0; }
800        }
801
802        public class TermElements extends AbstractParserRuleElementFinder {
803                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Term");
804                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
805                private final Assignment cTermAtomAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
806                private final RuleCall cTermAtomAtomParserRuleCall_0_0 = (RuleCall)cTermAtomAssignment_0.eContents().get(0);
807                private final Assignment cTermGroupedSequenceAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
808                private final RuleCall cTermGroupedSequenceGroupedSequenceParserRuleCall_1_0 = (RuleCall)cTermGroupedSequenceAssignment_1.eContents().get(0);
809                private final Assignment cTermOptionalSequenceAssignment_2 = (Assignment)cAlternatives.eContents().get(2);
810                private final RuleCall cTermOptionalSequenceOptionalSequenceParserRuleCall_2_0 = (RuleCall)cTermOptionalSequenceAssignment_2.eContents().get(0);
811                private final Assignment cTermRepeatedSequenceAssignment_3 = (Assignment)cAlternatives.eContents().get(3);
812                private final RuleCall cTermRepeatedSequenceRepeatedSequenceParserRuleCall_3_0 = (RuleCall)cTermRepeatedSequenceAssignment_3.eContents().get(0);
813               
814                //Term:
815                //      termAtom=Atom | termGroupedSequence=GroupedSequence | termOptionalSequence=OptionalSequence |
816                //      termRepeatedSequence=RepeatedSequence;
817                public ParserRule getRule() { return rule; }
818
819                //termAtom=Atom | termGroupedSequence=GroupedSequence | termOptionalSequence=OptionalSequence |
820                //termRepeatedSequence=RepeatedSequence
821                public Alternatives getAlternatives() { return cAlternatives; }
822
823                //termAtom=Atom
824                public Assignment getTermAtomAssignment_0() { return cTermAtomAssignment_0; }
825
826                //Atom
827                public RuleCall getTermAtomAtomParserRuleCall_0_0() { return cTermAtomAtomParserRuleCall_0_0; }
828
829                //termGroupedSequence=GroupedSequence
830                public Assignment getTermGroupedSequenceAssignment_1() { return cTermGroupedSequenceAssignment_1; }
831
832                //GroupedSequence
833                public RuleCall getTermGroupedSequenceGroupedSequenceParserRuleCall_1_0() { return cTermGroupedSequenceGroupedSequenceParserRuleCall_1_0; }
834
835                //termOptionalSequence=OptionalSequence
836                public Assignment getTermOptionalSequenceAssignment_2() { return cTermOptionalSequenceAssignment_2; }
837
838                //OptionalSequence
839                public RuleCall getTermOptionalSequenceOptionalSequenceParserRuleCall_2_0() { return cTermOptionalSequenceOptionalSequenceParserRuleCall_2_0; }
840
841                //termRepeatedSequence=RepeatedSequence
842                public Assignment getTermRepeatedSequenceAssignment_3() { return cTermRepeatedSequenceAssignment_3; }
843
844                //RepeatedSequence
845                public RuleCall getTermRepeatedSequenceRepeatedSequenceParserRuleCall_3_0() { return cTermRepeatedSequenceRepeatedSequenceParserRuleCall_3_0; }
846        }
847
848        public class AtomElements extends AbstractParserRuleElementFinder {
849                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Atom");
850                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
851                private final Assignment cAtomStringRuleAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
852                private final RuleCall cAtomStringRuleStringRuleParserRuleCall_0_0 = (RuleCall)cAtomStringRuleAssignment_0.eContents().get(0);
853                private final Assignment cAtomRuleReferenceAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
854                private final RuleCall cAtomRuleReferenceRuleReferenceParserRuleCall_1_0 = (RuleCall)cAtomRuleReferenceAssignment_1.eContents().get(0);
855               
856                //Atom:
857                //      atomStringRule=StringRule | atomRuleReference=RuleReference;
858                public ParserRule getRule() { return rule; }
859
860                //atomStringRule=StringRule | atomRuleReference=RuleReference
861                public Alternatives getAlternatives() { return cAlternatives; }
862
863                //atomStringRule=StringRule
864                public Assignment getAtomStringRuleAssignment_0() { return cAtomStringRuleAssignment_0; }
865
866                //StringRule
867                public RuleCall getAtomStringRuleStringRuleParserRuleCall_0_0() { return cAtomStringRuleStringRuleParserRuleCall_0_0; }
868
869                //atomRuleReference=RuleReference
870                public Assignment getAtomRuleReferenceAssignment_1() { return cAtomRuleReferenceAssignment_1; }
871
872                //RuleReference
873                public RuleCall getAtomRuleReferenceRuleReferenceParserRuleCall_1_0() { return cAtomRuleReferenceRuleReferenceParserRuleCall_1_0; }
874        }
875
876        public class RuleReferenceElements extends AbstractParserRuleElementFinder {
877                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RuleReference");
878                private final Assignment cRulerefAssignment = (Assignment)rule.eContents().get(1);
879                private final CrossReference cRulerefRuleCrossReference_0 = (CrossReference)cRulerefAssignment.eContents().get(0);
880                private final RuleCall cRulerefRuleIDTerminalRuleCall_0_1 = (RuleCall)cRulerefRuleCrossReference_0.eContents().get(1);
881               
882                //RuleReference:
883                //      ruleref=[Rule];
884                public ParserRule getRule() { return rule; }
885
886                //ruleref=[Rule]
887                public Assignment getRulerefAssignment() { return cRulerefAssignment; }
888
889                //[Rule]
890                public CrossReference getRulerefRuleCrossReference_0() { return cRulerefRuleCrossReference_0; }
891
892                //ID
893                public RuleCall getRulerefRuleIDTerminalRuleCall_0_1() { return cRulerefRuleIDTerminalRuleCall_0_1; }
894        }
895
896        public class StringRuleElements extends AbstractParserRuleElementFinder {
897                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringRule");
898                private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
899                private final Assignment cLiteralAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
900                private final RuleCall cLiteralSTRINGTerminalRuleCall_0_0 = (RuleCall)cLiteralAssignment_0.eContents().get(0);
901                private final Assignment cColonAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
902                private final RuleCall cColonCOLONTerminalRuleCall_1_0 = (RuleCall)cColonAssignment_1.eContents().get(0);
903               
904                //StringRule:
905                //      literal=STRING | colon=COLON;
906                public ParserRule getRule() { return rule; }
907
908                //literal=STRING | colon=COLON
909                public Alternatives getAlternatives() { return cAlternatives; }
910
911                //literal=STRING
912                public Assignment getLiteralAssignment_0() { return cLiteralAssignment_0; }
913
914                //STRING
915                public RuleCall getLiteralSTRINGTerminalRuleCall_0_0() { return cLiteralSTRINGTerminalRuleCall_0_0; }
916
917                //colon=COLON
918                public Assignment getColonAssignment_1() { return cColonAssignment_1; }
919
920                //COLON
921                public RuleCall getColonCOLONTerminalRuleCall_1_0() { return cColonCOLONTerminalRuleCall_1_0; }
922        }
923
924        public class GroupedSequenceElements extends AbstractParserRuleElementFinder {
925                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "GroupedSequence");
926                private final Group cGroup = (Group)rule.eContents().get(1);
927                private final Keyword cLeftParenthesisKeyword_0 = (Keyword)cGroup.eContents().get(0);
928                private final Assignment cDefinitionListAssignment_1 = (Assignment)cGroup.eContents().get(1);
929                private final RuleCall cDefinitionListDefinitionListParserRuleCall_1_0 = (RuleCall)cDefinitionListAssignment_1.eContents().get(0);
930                private final Keyword cRightParenthesisKeyword_2 = (Keyword)cGroup.eContents().get(2);
931               
932                //GroupedSequence:
933                //      "(" definitionList+=DefinitionList ")";
934                public ParserRule getRule() { return rule; }
935
936                //"(" definitionList+=DefinitionList ")"
937                public Group getGroup() { return cGroup; }
938
939                //"("
940                public Keyword getLeftParenthesisKeyword_0() { return cLeftParenthesisKeyword_0; }
941
942                //definitionList+=DefinitionList
943                public Assignment getDefinitionListAssignment_1() { return cDefinitionListAssignment_1; }
944
945                //DefinitionList
946                public RuleCall getDefinitionListDefinitionListParserRuleCall_1_0() { return cDefinitionListDefinitionListParserRuleCall_1_0; }
947
948                //")"
949                public Keyword getRightParenthesisKeyword_2() { return cRightParenthesisKeyword_2; }
950        }
951
952        public class OptionalSequenceElements extends AbstractParserRuleElementFinder {
953                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OptionalSequence");
954                private final Group cGroup = (Group)rule.eContents().get(1);
955                private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
956                private final Assignment cDefinitionListAssignment_1 = (Assignment)cGroup.eContents().get(1);
957                private final RuleCall cDefinitionListDefinitionListParserRuleCall_1_0 = (RuleCall)cDefinitionListAssignment_1.eContents().get(0);
958                private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
959               
960                //OptionalSequence:
961                //      "[" definitionList+=DefinitionList "]";
962                public ParserRule getRule() { return rule; }
963
964                //"[" definitionList+=DefinitionList "]"
965                public Group getGroup() { return cGroup; }
966
967                //"["
968                public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; }
969
970                //definitionList+=DefinitionList
971                public Assignment getDefinitionListAssignment_1() { return cDefinitionListAssignment_1; }
972
973                //DefinitionList
974                public RuleCall getDefinitionListDefinitionListParserRuleCall_1_0() { return cDefinitionListDefinitionListParserRuleCall_1_0; }
975
976                //"]"
977                public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; }
978        }
979
980        public class RepeatedSequenceElements extends AbstractParserRuleElementFinder {
981                private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RepeatedSequence");
982                private final Group cGroup = (Group)rule.eContents().get(1);
983                private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0);
984                private final Assignment cDefinitionsAssignment_1 = (Assignment)cGroup.eContents().get(1);
985                private final RuleCall cDefinitionsDefinitionListParserRuleCall_1_0 = (RuleCall)cDefinitionsAssignment_1.eContents().get(0);
986                private final Keyword cRightCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
987                private final Assignment cMorethanonceAssignment_3 = (Assignment)cGroup.eContents().get(3);
988                private final Keyword cMorethanoncePlusSignKeyword_3_0 = (Keyword)cMorethanonceAssignment_3.eContents().get(0);
989               
990                //RepeatedSequence:
991                //      "{" definitions+=DefinitionList "}" morethanonce?="+"?;
992                public ParserRule getRule() { return rule; }
993
994                //"{" definitions+=DefinitionList "}" morethanonce?="+"?
995                public Group getGroup() { return cGroup; }
996
997                //"{"
998                public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; }
999
1000                //definitions+=DefinitionList
1001                public Assignment getDefinitionsAssignment_1() { return cDefinitionsAssignment_1; }
1002
1003                //DefinitionList
1004                public RuleCall getDefinitionsDefinitionListParserRuleCall_1_0() { return cDefinitionsDefinitionListParserRuleCall_1_0; }
1005
1006                //"}"
1007                public Keyword getRightCurlyBracketKeyword_2() { return cRightCurlyBracketKeyword_2; }
1008
1009                //morethanonce?="+"?
1010                public Assignment getMorethanonceAssignment_3() { return cMorethanonceAssignment_3; }
1011
1012                //"+"
1013                public Keyword getMorethanoncePlusSignKeyword_3_0() { return cMorethanoncePlusSignKeyword_3_0; }
1014        }
1015       
1016       
1017        private EtsiBnfElements pEtsiBnf;
1018        private ImportSectionElements pImportSection;
1019        private BnfEntryElements pBnfEntry;
1020        private DeltaEntryElements pDeltaEntry;
1021        private MergeEntryElements pMergeEntry;
1022        private SectionHeadingElements pSectionHeading;
1023        private ImportElements pImport;
1024        private RuleElements pRule;
1025        private ExtRuleElements pExtRule;
1026        private MergeRuleElements pMergeRule;
1027        private GlobalCombinatorElements pGlobalCombinator;
1028        private RuleCombinatorElements pRuleCombinator;
1029        private HookCombinatorElements pHookCombinator;
1030        private DefinitionListElements pDefinitionList;
1031        private SingleDefinitionElements pSingleDefinition;
1032        private TermElements pTerm;
1033        private AtomElements pAtom;
1034        private RuleReferenceElements pRuleReference;
1035        private StringRuleElements pStringRule;
1036        private GroupedSequenceElements pGroupedSequence;
1037        private OptionalSequenceElements pOptionalSequence;
1038        private RepeatedSequenceElements pRepeatedSequence;
1039        private TerminalRule tID;
1040        private TerminalRule tINT;
1041        private TerminalRule tWS;
1042        private TerminalRule tCOLON;
1043        private TerminalRule tSTRING;
1044        private TerminalRule tSECTIONHEADER;
1045        private TerminalRule tSL_COMMENT;
1046        private TerminalRule tML_COMMENT;
1047        private TerminalRule tLOGIC;
1048       
1049        private final Grammar grammar;
1050
1051        @Inject
1052        public EbnfGrammarAccess(GrammarProvider grammarProvider) {
1053                this.grammar = internalFindGrammar(grammarProvider);
1054        }
1055       
1056        protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
1057                Grammar grammar = grammarProvider.getGrammar(this);
1058                while (grammar != null) {
1059                        if ("de.ugoe.cs.swe.bnftools.Ebnf".equals(grammar.getName())) {
1060                                return grammar;
1061                        }
1062                        List<Grammar> grammars = grammar.getUsedGrammars();
1063                        if (!grammars.isEmpty()) {
1064                                grammar = grammars.iterator().next();
1065                        } else {
1066                                return null;
1067                        }
1068                }
1069                return grammar;
1070        }
1071       
1072       
1073        public Grammar getGrammar() {
1074                return grammar;
1075        }
1076       
1077
1078       
1079        //// -----------------------------------------------------------------------------------------------
1080        //// Parser Rules
1081        //// -----------------------------------------------------------------------------------------------
1082        //EtsiBnf:
1083        //      "grammar" name=ID (type="/bnf"? ";" importSection=ImportSection? bnfEntry+=BnfEntry+) | type="/delta" ";"
1084        //      importSection=ImportSection? deltaEntry+=DeltaEntry* | type="/merge" ";" importSection=ImportSection?
1085        //      mergeEntry+=MergeEntry*;
1086        public EtsiBnfElements getEtsiBnfAccess() {
1087                return (pEtsiBnf != null) ? pEtsiBnf : (pEtsiBnf = new EtsiBnfElements());
1088        }
1089       
1090        public ParserRule getEtsiBnfRule() {
1091                return getEtsiBnfAccess().getRule();
1092        }
1093
1094        //ImportSection:
1095        //      imports+=Import+;
1096        public ImportSectionElements getImportSectionAccess() {
1097                return (pImportSection != null) ? pImportSection : (pImportSection = new ImportSectionElements());
1098        }
1099       
1100        public ParserRule getImportSectionRule() {
1101                return getImportSectionAccess().getRule();
1102        }
1103
1104        //BnfEntry:
1105        //      sectionheader=SectionHeading | rule=Rule;
1106        public BnfEntryElements getBnfEntryAccess() {
1107                return (pBnfEntry != null) ? pBnfEntry : (pBnfEntry = new BnfEntryElements());
1108        }
1109       
1110        public ParserRule getBnfEntryRule() {
1111                return getBnfEntryAccess().getRule();
1112        }
1113
1114        //DeltaEntry:
1115        //      rule=Rule | sectionheader=SectionHeading | extRule=ExtRule;
1116        public DeltaEntryElements getDeltaEntryAccess() {
1117                return (pDeltaEntry != null) ? pDeltaEntry : (pDeltaEntry = new DeltaEntryElements());
1118        }
1119       
1120        public ParserRule getDeltaEntryRule() {
1121                return getDeltaEntryAccess().getRule();
1122        }
1123
1124        //MergeEntry:
1125        //      sectionheader=SectionHeading | mergeRule=MergeRule;
1126        public MergeEntryElements getMergeEntryAccess() {
1127                return (pMergeEntry != null) ? pMergeEntry : (pMergeEntry = new MergeEntryElements());
1128        }
1129       
1130        public ParserRule getMergeEntryRule() {
1131                return getMergeEntryAccess().getRule();
1132        }
1133
1134        //SectionHeading:
1135        //      {SectionHeading} sectionHeader=SECTIONHEADER;
1136        public SectionHeadingElements getSectionHeadingAccess() {
1137                return (pSectionHeading != null) ? pSectionHeading : (pSectionHeading = new SectionHeadingElements());
1138        }
1139       
1140        public ParserRule getSectionHeadingRule() {
1141                return getSectionHeadingAccess().getRule();
1142        }
1143
1144        //Import:
1145        //      "import" importURI=STRING ("/" (grammarType="core" | grammarType="package" | grammarType="update"))? ("label:"
1146        //      label=ID)? ";";
1147        public ImportElements getImportAccess() {
1148                return (pImport != null) ? pImport : (pImport = new ImportElements());
1149        }
1150       
1151        public ParserRule getImportRule() {
1152                return getImportAccess().getRule();
1153        }
1154
1155        ////Import: 'import' importedNamespace=FqnWithWildCard;
1156        ////FqnWithWildCard: Fqn('.*')? ';';
1157        ////Fqn:ID('.'ID)*;
1158        //Rule:
1159        //      (rulenumber=INT rulevariant=ID? ".")? name=ID "::=" definitionList=DefinitionList? ";"?;
1160        public RuleElements getRuleAccess() {
1161                return (pRule != null) ? pRule : (pRule = new RuleElements());
1162        }
1163       
1164        public ParserRule getRuleRule() {
1165                return getRuleAccess().getRule();
1166        }
1167
1168        //ExtRule:
1169        //      (rulenumber=INT rulevariant=ID? ".")? name=ID ("(" ruleext=INT ")") "<-" (elements+=Atom | ")" | "]" | "}" | "|" | "("
1170        //      | "[" | "{" | "*" | "+")* ";"?;
1171        public ExtRuleElements getExtRuleAccess() {
1172                return (pExtRule != null) ? pExtRule : (pExtRule = new ExtRuleElements());
1173        }
1174       
1175        public ParserRule getExtRuleRule() {
1176                return getExtRuleAccess().getRule();
1177        }
1178
1179        //MergeRule:
1180        //      GlobalCombinator | RuleCombinator | HookCombinator;
1181        public MergeRuleElements getMergeRuleAccess() {
1182                return (pMergeRule != null) ? pMergeRule : (pMergeRule = new MergeRuleElements());
1183        }
1184       
1185        public ParserRule getMergeRuleRule() {
1186                return getMergeRuleAccess().getRule();
1187        }
1188
1189        //GlobalCombinator:
1190        //      ("global" "combinator:") logic=LOGIC ";"?;
1191        public GlobalCombinatorElements getGlobalCombinatorAccess() {
1192                return (pGlobalCombinator != null) ? pGlobalCombinator : (pGlobalCombinator = new GlobalCombinatorElements());
1193        }
1194       
1195        public ParserRule getGlobalCombinatorRule() {
1196                return getGlobalCombinatorAccess().getRule();
1197        }
1198
1199        //RuleCombinator:
1200        //      ("rule" "combinator:" name=ID) logic=LOGIC ("(" LABEL+=STRING ")")* ";"?;
1201        public RuleCombinatorElements getRuleCombinatorAccess() {
1202                return (pRuleCombinator != null) ? pRuleCombinator : (pRuleCombinator = new RuleCombinatorElements());
1203        }
1204       
1205        public ParserRule getRuleCombinatorRule() {
1206                return getRuleCombinatorAccess().getRule();
1207        }
1208
1209        //HookCombinator:
1210        //      "hook" "combinator:" name=ID "(" ruleext=INT ")" logic=LOGIC? ("(" LABEL+=STRING ")")+ ";"?;
1211        public HookCombinatorElements getHookCombinatorAccess() {
1212                return (pHookCombinator != null) ? pHookCombinator : (pHookCombinator = new HookCombinatorElements());
1213        }
1214       
1215        public ParserRule getHookCombinatorRule() {
1216                return getHookCombinatorAccess().getRule();
1217        }
1218
1219        //DefinitionList:
1220        //      singleDefinition+=SingleDefinition ("|" singleDefinition+=SingleDefinition)*;
1221        public DefinitionListElements getDefinitionListAccess() {
1222                return (pDefinitionList != null) ? pDefinitionList : (pDefinitionList = new DefinitionListElements());
1223        }
1224       
1225        public ParserRule getDefinitionListRule() {
1226                return getDefinitionListAccess().getRule();
1227        }
1228
1229        //SingleDefinition:
1230        //      terms+=Term+;
1231        public SingleDefinitionElements getSingleDefinitionAccess() {
1232                return (pSingleDefinition != null) ? pSingleDefinition : (pSingleDefinition = new SingleDefinitionElements());
1233        }
1234       
1235        public ParserRule getSingleDefinitionRule() {
1236                return getSingleDefinitionAccess().getRule();
1237        }
1238
1239        //Term:
1240        //      termAtom=Atom | termGroupedSequence=GroupedSequence | termOptionalSequence=OptionalSequence |
1241        //      termRepeatedSequence=RepeatedSequence;
1242        public TermElements getTermAccess() {
1243                return (pTerm != null) ? pTerm : (pTerm = new TermElements());
1244        }
1245       
1246        public ParserRule getTermRule() {
1247                return getTermAccess().getRule();
1248        }
1249
1250        //Atom:
1251        //      atomStringRule=StringRule | atomRuleReference=RuleReference;
1252        public AtomElements getAtomAccess() {
1253                return (pAtom != null) ? pAtom : (pAtom = new AtomElements());
1254        }
1255       
1256        public ParserRule getAtomRule() {
1257                return getAtomAccess().getRule();
1258        }
1259
1260        //RuleReference:
1261        //      ruleref=[Rule];
1262        public RuleReferenceElements getRuleReferenceAccess() {
1263                return (pRuleReference != null) ? pRuleReference : (pRuleReference = new RuleReferenceElements());
1264        }
1265       
1266        public ParserRule getRuleReferenceRule() {
1267                return getRuleReferenceAccess().getRule();
1268        }
1269
1270        //StringRule:
1271        //      literal=STRING | colon=COLON;
1272        public StringRuleElements getStringRuleAccess() {
1273                return (pStringRule != null) ? pStringRule : (pStringRule = new StringRuleElements());
1274        }
1275       
1276        public ParserRule getStringRuleRule() {
1277                return getStringRuleAccess().getRule();
1278        }
1279
1280        //GroupedSequence:
1281        //      "(" definitionList+=DefinitionList ")";
1282        public GroupedSequenceElements getGroupedSequenceAccess() {
1283                return (pGroupedSequence != null) ? pGroupedSequence : (pGroupedSequence = new GroupedSequenceElements());
1284        }
1285       
1286        public ParserRule getGroupedSequenceRule() {
1287                return getGroupedSequenceAccess().getRule();
1288        }
1289
1290        //OptionalSequence:
1291        //      "[" definitionList+=DefinitionList "]";
1292        public OptionalSequenceElements getOptionalSequenceAccess() {
1293                return (pOptionalSequence != null) ? pOptionalSequence : (pOptionalSequence = new OptionalSequenceElements());
1294        }
1295       
1296        public ParserRule getOptionalSequenceRule() {
1297                return getOptionalSequenceAccess().getRule();
1298        }
1299
1300        //RepeatedSequence:
1301        //      "{" definitions+=DefinitionList "}" morethanonce?="+"?;
1302        public RepeatedSequenceElements getRepeatedSequenceAccess() {
1303                return (pRepeatedSequence != null) ? pRepeatedSequence : (pRepeatedSequence = new RepeatedSequenceElements());
1304        }
1305       
1306        public ParserRule getRepeatedSequenceRule() {
1307                return getRepeatedSequenceAccess().getRule();
1308        }
1309
1310        //// -----------------------------------------------------------------------------------------------
1311        //// Lexer Rules
1312        //// -----------------------------------------------------------------------------------------------
1313        //terminal ID:
1314        //      ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "0".."9" | "_")*;
1315        public TerminalRule getIDRule() {
1316                return (tID != null) ? tID : (tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ID"));
1317        }
1318
1319        //terminal INT returns ecore::EInt:
1320        //      "0".."9"+;
1321        public TerminalRule getINTRule() {
1322                return (tINT != null) ? tINT : (tINT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "INT"));
1323        }
1324
1325        //terminal WS:
1326        //      (" " | "\t" | "\r"? "\n")+;
1327        public TerminalRule getWSRule() {
1328                return (tWS != null) ? tWS : (tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "WS"));
1329        }
1330
1331        //terminal COLON:
1332        //      "\"" "\"" "\"";
1333        public TerminalRule getCOLONRule() {
1334                return (tCOLON != null) ? tCOLON : (tCOLON = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "COLON"));
1335        }
1336
1337        //terminal STRING:
1338        //      "\"" !"\""* "\"" | "\'" !"\'"* "\'";
1339        public TerminalRule getSTRINGRule() {
1340                return (tSTRING != null) ? tSTRING : (tSTRING = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "STRING"));
1341        }
1342
1343        //terminal SECTIONHEADER:
1344        //      ("a".."z" | "A".."Z") ("." | "0".."9")+ (" " | "\t") !("\n" | "\r")* "\r"? "\n";
1345        public TerminalRule getSECTIONHEADERRule() {
1346                return (tSECTIONHEADER != null) ? tSECTIONHEADER : (tSECTIONHEADER = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "SECTIONHEADER"));
1347        }
1348
1349        //terminal SL_COMMENT:
1350        //      "//" !("\n" | "\r")* ("\r"? "\n")?;
1351        public TerminalRule getSL_COMMENTRule() {
1352                return (tSL_COMMENT != null) ? tSL_COMMENT : (tSL_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "SL_COMMENT"));
1353        }
1354
1355        //terminal ML_COMMENT:
1356        //      "/ *"->"* /";
1357        public TerminalRule getML_COMMENTRule() {
1358                return (tML_COMMENT != null) ? tML_COMMENT : (tML_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ML_COMMENT"));
1359        }
1360
1361        ////TODO: a more intuitive notation
1362        //terminal LOGIC:
1363        //      "/and" | "/or" | "/andr" | "/orr" | "/any" | "/together";
1364        public TerminalRule getLOGICRule() {
1365                return (tLOGIC != null) ? tLOGIC : (tLOGIC = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "LOGIC"));
1366        }
1367}
Note: See TracBrowser for help on using the repository browser.