- The Eclipse Foundation makes available all content in this plug-in
- ("Content"). Unless otherwise indicated below, the Content
- is provided to you under the terms and conditions of the Eclipse
- Public License Version 2.0 ("EPL"). A copy of the EPL is
- available at http://www.eclipse.org/legal/epl-2.0.
- For purposes of the EPL, "Program" will mean the Content.
-
-
-
- If you did not receive this Content directly from the Eclipse
- Foundation, the Content is being redistributed by another party
- ("Redistributor") and different terms and conditions may
- apply to your use of any object code in the Content. Check the
- Redistributor's license that was provided with the Content. If no such
- license exists, contact the Redistributor. Unless otherwise indicated
- below, the terms and conditions of the EPL still apply to any source
- code in the Content and such source code may be obtained at http://www.eclipse.org.
-
-
-
-
\ No newline at end of file
diff --git a/org.eclipse.xtext.generator/build.properties b/org.eclipse.xtext.generator/build.properties
deleted file mode 100644
index 82b10bf1f67..00000000000
--- a/org.eclipse.xtext.generator/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-bin.includes = .,\
- META-INF/,\
- about.html
-source.. = src,\
- src-gen,\
- xtend-gen,\
- packrat
-src.includes = about.html
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/NonTerminalConsumer.xpt b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/NonTerminalConsumer.xpt
deleted file mode 100644
index 80480873d5a..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/NonTerminalConsumer.xpt
+++ /dev/null
@@ -1,769 +0,0 @@
-�REM�
-/*******************************************************************************
- * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- *******************************************************************************/
-�ENDREM�
-
-�IMPORT org::eclipse::xtext�
-
-�EXTENSION org::eclipse::xtext::generator::Naming�
-�EXTENSION org::eclipse::xtext::generator::parser::packrat::PackratParserGen�
-�EXTENSION org::eclipse::xtext::generator::grammarAccess::GrammarAccess�
-�EXTENSION org::eclipse::xtext::EcoreUtils�
-
-�DEFINE root FOR Grammar�
-�EXPAND nonTerminalConsumer FOREACH rules.typeSelect(ParserRule)�
-�EXPAND nonTerminalConsumer FOREACH rules.typeSelect(EnumRule)�
-�ENDDEFINE�
-
-�DEFINE nonTerminalConsumer FOR AbstractRule�
-�FILE this.fullConsumerClassName().asPath()+".java" SRC_GEN-�
-�fileHeader()�
-package �this.consumerPackageName()�;
-
-import org.eclipse.emf.ecore.EClassifier;
-
-import org.eclipse.xtext.AbstractRule;
-�FOREACH allContents().typeSelect(AbstractElement).collect(e|getJavaTypeName(e)).toSet().sortBy(e|e) AS name-�
-import �name�;
-�ENDFOREACH-�
-
-import org.eclipse.xtext.parser.packrat.consumers.IElementConsumer;
-�IF allContents().typeSelect(RuleCall).exists(e|!TerminalRule.isInstance(e.rule))-�
-import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
-�ENDIF-�
-import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumerConfiguration;
-import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
-import org.eclipse.xtext.parser.packrat.consumers.NonTerminalConsumer;
-�IF allDelimited().exists(e|Keyword.isInstance(e))-�
-import org.eclipse.xtext.parser.packrat.matching.ICharacterClass;
-�ENDIF-�
-�IF allDelimited().exists(e|RuleCall.isInstance(e))-�
-import org.eclipse.xtext.parser.packrat.matching.ISequenceMatcher;
-�ENDIF-�
-
-�annotationImports()-�
-import �this.containingGrammar().grammarAccess()�.�name�Elements;
-
-�classAnnotations()�public final class �this.consumerClassName().toSimpleName()� extends NonTerminalConsumer {
-
- private �this.name�Elements rule;
-�FOREACH allCalledRules() AS calledRule-�
-
- private �calledRule.consumerInterfaceName()� �calledRule.consumerFieldName()�;
-�ENDFOREACH-�
-�EXPAND defineConsumerField FOR alternatives-�
-�EXPAND delimiterField FOREACH allDelimited()-�
-�EXPAND defineConsumerClass FOR alternatives-�
-
- public �this.consumerClassName().toSimpleName()�(INonTerminalConsumerConfiguration configuration, ITerminalConsumer[] hiddenTokens) {
- super(configuration, hiddenTokens);
-�EXPAND delimiterFieldInit FOREACH allDelimited()-�
- }
-
- @Override
- protected int doConsume() throws Exception {
- return �alternatives.consumerFieldName()�.consume();
- }
-
- public �this.name�Elements getRule() {
- return rule;
- }
-
- public void setRule(�this.name�Elements rule) {
- this.rule = rule;
-
-�EXPAND assignConsumerField FOR alternatives-�
- }
-
- @Override
- protected AbstractRule getGrammarElement() {
- return getRule().getRule();
- }
-
- @Override
- protected EClassifier getDefaultType() {
- return getGrammarElement().getType().getClassifier();
- }
-
-�FOREACH allCalledRules() AS calledRule-�
- public void �calledRule.consumerSetterName()�(�calledRule.consumerInterfaceName()� �calledRule.consumerFieldName()�) {
- this.�calledRule.consumerFieldName()� = �calledRule.consumerFieldName()�;
- }
-
-�ENDFOREACH-�
-�EXPAND delimiterFieldAccessors FOREACH allDelimited()-�
-}
-�ENDFILE�
-�ENDDEFINE�
-
-�DEFINE delimiterField FOR AbstractElement-�
-�ERROR "delimiterField for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE delimiterField FOR RuleCall-�
-
- private ISequenceMatcher �delimiterFieldName()�;
-�ENDDEFINE�
-
-�DEFINE delimiterField FOR Keyword-�
-
- private ICharacterClass �delimiterFieldName()�;
-�ENDDEFINE�
-
-�DEFINE delimiterFieldInit FOR AbstractElement-�
-�ERROR "delimiterFieldInit for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE delimiterFieldInit FOR RuleCall-�
- �delimiterFieldName()� = ISequenceMatcher.Factory.nullMatcher();
-�ENDDEFINE�
-
-�DEFINE delimiterFieldInit FOR Keyword-�
- �delimiterFieldName()� = ICharacterClass.Factory.nullClass();
-�ENDDEFINE�
-
-�DEFINE delimiterFieldAccessors FOR AbstractElement-�
-�ERROR "delimiterFieldAccessors for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE delimiterFieldAccessors FOR RuleCall-�
- public ISequenceMatcher get�delimiterFieldName().toFirstUpper()�() {
- return �delimiterFieldName()�;
- }
-
- public void set�delimiterFieldName().toFirstUpper()�(ISequenceMatcher matcher) {
- �delimiterFieldName()� = matcher != null ? matcher : ISequenceMatcher.Factory.nullMatcher();
- }
-
-�ENDDEFINE�
-
-�DEFINE delimiterFieldAccessors FOR Keyword-�
- public ICharacterClass get�delimiterFieldName().toFirstUpper()�() {
- return �delimiterFieldName()�;
- }
-
- public void set�delimiterFieldName().toFirstUpper()�(ICharacterClass characterClass) {
- �delimiterFieldName()� = characterClass != null ? characterClass : ICharacterClass.Factory.nullClass();
- }
-
-�ENDDEFINE�
-
-�REM�
- IElementConsumer fields
-�ENDREM�
-
-�DEFINE defineConsumerField FOR AbstractElement-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField FOR Alternatives-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Alternatives parent) FOR AbstractElement-�
-�EXPAND defineConsumerField FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Alternatives parent) FOR Alternatives-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND defineConsumerField FOR this-�
-�ELSE-�
-�EXPAND defineConsumerField(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField FOR Group-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField FOR UnorderedGroup-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Group parent) FOR AbstractElement-�
-�EXPAND defineConsumerField FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Group parent) FOR Group-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND defineConsumerField FOR this-�
-�ELSE-�
-�EXPAND defineConsumerField(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField FOR Assignment-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment) FOR CrossReference-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(assignment, this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment, Alternatives parent) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerField(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment, Alternatives parent) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerField(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment, Alternatives parent) FOR CrossReference-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(assignment, this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment, CrossReference crossRef) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerField(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment, CrossReference parent) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerFieldDeclaration FOR this-�
-�EXPAND defineConsumerField(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment) FOR Action-�
-�ERROR "actions are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE defineConsumerField(Assignment assignment) FOR Group-�
-�ERROR "groups are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE defineConsumerFieldDeclaration FOR AbstractElement-�
-
- private IElementConsumer �consumerFieldName()�;
-�ENDDEFINE�
-
-�REM�
- IElementConsumer implementations
-�ENDREM�
-
-�DEFINE defineConsumerClass FOR AbstractElement-�
-�EXPAND defineConsumerClassDeclaration FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass FOR Alternatives-�
-�EXPAND defineConsumerClassDeclaration FOR this-�
-�EXPAND defineConsumerClass(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Alternatives parent) FOR AbstractElement-�
-�EXPAND defineConsumerClass FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Alternatives parent) FOR Alternatives-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND defineConsumerClass FOR this-�
-�ELSE-�
-�EXPAND defineConsumerClass(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass FOR Group-�
-�EXPAND defineConsumerClassDeclaration FOR this-�
-�EXPAND defineConsumerClass(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Group parent) FOR AbstractElement-�
-�EXPAND defineConsumerClass FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Group parent) FOR Group-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND defineConsumerClass FOR this-�
-�ELSE-�
-�EXPAND defineConsumerClass(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass FOR UnorderedGroup-�
-�EXPAND defineConsumerClassDeclaration FOR this-�
-�EXPAND defineConsumerClass FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass FOR Assignment-�
-�EXPAND defineConsumerClassDeclaration FOR this-�
-�EXPAND defineConsumerClass(this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClassDeclaration(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClassDeclaration(assignment) FOR this-�
-�EXPAND defineConsumerClass(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment) FOR CrossReference-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClassDeclaration(assignment) FOR this-�
-�EXPAND defineConsumerClass(assignment, this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment, CrossReference parent) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClass(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment, CrossReference parent) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClassDeclaration(assignment) FOR this-�
-�EXPAND defineConsumerClass(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment, Alternatives parent) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClass(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment, Alternatives parent) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClass(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment, Alternatives parent) FOR CrossReference-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND defineConsumerClassDeclaration(assignment) FOR this-�
-�EXPAND defineConsumerClass(assignment, this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment) FOR Action-�
-�ERROR "actions are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClass(Assignment assignment) FOR Group-�
-�ERROR "groups are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE defineConsumerClassDeclaration FOR AbstractElement-�
-�EXPAND defineConsumerClassDeclarationImpl-�
-�EXPAND consumerClassBody-�
- }
-�ENDDEFINE�
-
-�DEFINE defineConsumerClassDeclaration(Assignment assignment) FOR AbstractElement-�
-�EXPAND defineConsumerClassDeclarationImpl-�
-�EXPAND consumerClassBody(assignment)-�
- }
-�ENDDEFINE�
-
-�DEFINE defineConsumerClassDeclarationImpl FOR AbstractElement-�
-
- protected class �consumerFieldName().toFirstUpper()� extends �EXPAND parentConsumerClassName-� {
-
- protected �consumerFieldName().toFirstUpper()�(final �getJavaTypeName(this).toSimpleName()� �getJavaTypeName(this).toSimpleName().toFirstLower()�) {
- super(�getJavaTypeName(this).toSimpleName().toFirstLower()�);
- }
-
-�ENDDEFINE�
-
-�DEFINE parentConsumerClassName FOR AbstractElement-�
-�IF isQuestionMark()-�
-Optional�ELSEIF isPlus()-�
-MandatoryLoop�ELSEIF isStar()-�
-Loop�ENDIF-�
-�EXPAND parentConsumerClassNameImpl-�
-�ENDDEFINE�
-
-�DEFINE parentConsumerClassNameImpl FOR AbstractElement-�
-ElementConsumer<�getJavaTypeName(this).toSimpleName()�>�ENDDEFINE�
-
-�DEFINE parentConsumerClassNameImpl FOR Alternatives-�
-AlternativesConsumer�ENDDEFINE�
-
-�DEFINE parentConsumerClassNameImpl FOR Assignment-�
-AssignmentConsumer�ENDDEFINE�
-
-�DEFINE parentConsumerClassNameImpl FOR Group-�
-GroupConsumer�ENDDEFINE�
-
-�DEFINE parentConsumerClassNameImpl FOR UnorderedGroup-�
-UnorderedGroupConsumer�ENDDEFINE�
-
-�REM�
- consumerClassBody for unassigned elements
-�ENDREM�
-
-�DEFINE consumerClassBody FOR AbstractElement-�
- @Override
- protected int doConsume(boolean optional) throws Exception {
-�EXPAND doConsumeBody-�
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody FOR Alternatives-�
- @Override
- protected void doGetConsumers(ConsumerAcceptor acceptor) {
-�EXPAND acceptConsumers-�
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody FOR Assignment-�
- @Override
- protected IElementConsumer getConsumer() {
- return �terminal.consumerFieldName()-�;
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody FOR Group-�
- @Override
- protected void doGetConsumers(ConsumerAcceptor acceptor) {
-�EXPAND acceptConsumers-�
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody FOR UnorderedGroup-�
- @Override
- protected void doGetConsumers(ConsumerAcceptor acceptor) {
-�EXPAND acceptConsumers-�
- }
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR AbstractElement-�
-�ERROR "doConsumeBody is not defined for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR Alternatives-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR Group-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR UnorderedGroup-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR Assignment-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR Action-�
- consumeAction(getElement(), �operator == "+="�);
- return SUCCESS;
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR Keyword-�
- return consumeKeyword(getElement(), null, false, false, get�delimiterFieldName().toFirstUpper()�(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR EnumLiteralDeclaration-�
- return consumeEnum(getElement(), get�literal.delimiterFieldName().toFirstUpper()�());
-�ENDDEFINE�
-
-�DEFINE doConsumeBody FOR RuleCall-�
-�EXPAND doConsumeBody(this) FOR rule-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(RuleCall call) FOR AbstractRule-�
-�ERROR "doConsumeBody for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(RuleCall call) FOR TerminalRule-�
- return consumeTerminal(�consumerFieldName()�, null, false, false, getElement(), get�call.delimiterFieldName().toFirstUpper()�(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(RuleCall call) FOR ParserRule-�
- return consumeNonTerminal(�consumerFieldName()�, null, false, �isDatatypeRule()�, false, getElement(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(RuleCall call) FOR EnumRule-�
- return consumeNonTerminal(�consumerFieldName()�, null, false, false, false, getElement(), optional);
-�ENDDEFINE�
-
-�REM�
- consumerClassBody for assigned elements
-�ENDREM�
-
-�DEFINE consumerClassBody(Assignment assignment) FOR AbstractElement-�
- @Override
- protected int doConsume(boolean optional) throws Exception {
-�EXPAND doConsumeBody(assignment)-�
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody(Assignment assignment) FOR Alternatives-�
- @Override
- protected void doGetConsumers(ConsumerAcceptor acceptor) {
-�EXPAND acceptConsumers-�
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody(Assignment assignment) FOR Assignment-�
- @Override
- protected IElementConsumer getConsumer() {
- return �terminal.consumerFieldName()-�;
- }
-�ENDDEFINE�
-
-�DEFINE consumerClassBody(Assignment assignment) FOR Group-�
- @Override
- protected void doGetConsumers(ConsumerAcceptor acceptor) {
-�EXPAND acceptConsumers-�
- }
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment) FOR AbstractElement-�
-�ERROR "doConsumeBody is not defined for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment) FOR Alternatives-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment) FOR Keyword-�
- return consumeKeyword(getElement(), "�assignment.feature�", �assignment.isMultiple()�, �assignment.isBoolean()�, get�delimiterFieldName().toFirstUpper()�(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment) FOR RuleCall-�
-�EXPAND doConsumeBody(assignment, this) FOR rule-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, RuleCall call) FOR AbstractRule-�
-�ERROR "doConsumeBody for " + metaType.name-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, RuleCall call) FOR TerminalRule-�
- return consumeTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, �assignment.isBoolean()�, getElement(), get�call.delimiterFieldName().toFirstUpper()�(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, RuleCall call) FOR ParserRule-�
- return consumeNonTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, �isDatatypeRule()�, �assignment.isBoolean()�, getElement(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, RuleCall call) FOR EnumRule-�
- return consumeNonTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, false, �assignment.isBoolean()�, getElement(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment) FOR CrossReference-�
-�EXPAND doConsumeBody(assignment, this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference) FOR AbstractElement-�
-�ERROR "doConsumeBody(Assignment, CrossReference) for " + metaType.name�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference) FOR RuleCall-�
-�EXPAND doConsumeBody(assignment, reference, this) FOR rule-�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference) FOR Alternatives-�
- return �consumerFieldName()�.consume();
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference, RuleCall call) FOR AbstractRule-�
-�ERROR "doConsumeBody(Assignment, CrossReference) for " + metaType.name�
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference, RuleCall call) FOR TerminalRule-�
- return consumeTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, �assignment.isBoolean()�, getElement(), get�call.delimiterFieldName().toFirstUpper()�(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference, RuleCall call) FOR ParserRule-�
- return consumeNonTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, �isDatatypeRule()�, �assignment.isBoolean()�, getElement(), optional);
-�ENDDEFINE�
-
-�DEFINE doConsumeBody(Assignment assignment, CrossReference reference, RuleCall call) FOR EnumRule-�
- return consumeNonTerminal(�consumerFieldName()�, "�assignment.feature�", �assignment.isMultiple()�, false, �assignment.isBoolean()�, getElement(), optional);
-�ENDDEFINE�
-
-�REM�
- acceptConsumers
-�ENDREM�
-
-�DEFINE acceptConsumers FOR Alternatives-�
-�EXPAND acceptConsumers(this) FOR this-�
-�ENDDEFINE�
-
-�DEFINE acceptConsumers(Alternatives start) FOR Alternatives-�
-�FOREACH elements AS g-�
-�IF Alternatives.isInstance(g) && !g.isOptionalCardinality() && !g.isMultipleCardinality()-�
-�EXPAND acceptConsumers(start) FOR (Alternatives) g-�
-�ELSE-�
- acceptor.accept(�g.consumerFieldName()�);
-�ENDIF-�
-�ENDFOREACH-�
-�ENDDEFINE�
-
-�DEFINE acceptConsumers FOR Group-�
-�EXPAND acceptConsumers(this) FOR this-�
-�ENDDEFINE�
-
-�DEFINE acceptConsumers(Group start) FOR Group-�
-�FOREACH elements AS token-�
-�IF Group.isInstance(token) && !token.isOptionalCardinality() && !token.isMultipleCardinality()-�
-�EXPAND acceptConsumers(start) FOR (Group)token-�
-�ELSE-�
- acceptor.accept(�token.consumerFieldName()�);
-�ENDIF-�
-�ENDFOREACH-�
-�ENDDEFINE�
-
-�DEFINE acceptConsumers FOR UnorderedGroup-�
-�FOREACH elements AS token-�
- acceptor.accept(�token.consumerFieldName()�);
-�ENDFOREACH-�
-�ENDDEFINE�
-
-�REM�
- IElementConsumer fields
-�ENDREM�
-
-�DEFINE assignConsumerField FOR AbstractElement-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField FOR Alternatives-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�EXPAND assignConsumerField(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Alternatives parent) FOR AbstractElement-�
-�EXPAND assignConsumerField FOR this-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Alternatives parent) FOR Alternatives-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND assignConsumerField FOR this-�
-�ELSE-�
-�EXPAND assignConsumerField(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField FOR Group-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�EXPAND assignConsumerField(this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Group parent) FOR AbstractElement-�
-�EXPAND assignConsumerField FOR this-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Group parent) FOR Group-�
-�IF isOptionalCardinality() || isMultipleCardinality()-�
-�EXPAND assignConsumerField FOR this-�
-�ELSE-�
-�EXPAND assignConsumerField(this) FOREACH elements-�
-�ENDIF-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField FOR UnorderedGroup-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�EXPAND assignConsumerField FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField FOR Assignment-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�EXPAND assignConsumerField(this) FOR terminal-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND assignConsumerFieldImpl FOR this-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND assignConsumerField FOR this-�
-�EXPAND assignConsumerField(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment, Alternatives parent) FOR AbstractElement-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND assignConsumerField(assignment) FOR this-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment, Alternatives parent) FOR Alternatives-�
-�IF isQuestionMark() || isStar() || isPlus()-�
-�ERROR "multiplicities are not supported in assignments"�
-�ENDIF-�
-�EXPAND assignConsumerField(assignment, this) FOREACH elements-�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment) FOR Action-�
-�ERROR "actions are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment) FOR Group-�
-�ERROR "groups are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE assignConsumerField(Assignment assignment) FOR UnorderedGroup-�
-�ERROR "unordered groups are not supported in assignments"�
-�ENDDEFINE�
-
-�DEFINE assignConsumerFieldImpl FOR AbstractElement-�
- �consumerFieldName()� = new �consumerFieldName().toFirstUpper()�(rule.�gaElementAccessor()�);
-�ENDDEFINE�
\ No newline at end of file
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.java b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.java
deleted file mode 100644
index 7158e4fd2ae..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *******************************************************************************/
-package org.eclipse.xtext.generator.parser.packrat;
-
-import java.util.Set;
-
-import org.eclipse.xtext.Grammar;
-import org.eclipse.xtext.generator.AbstractGeneratorFragment;
-import org.eclipse.xtext.generator.BindFactory;
-import org.eclipse.xtext.generator.Binding;
-import org.eclipse.xtext.generator.IGeneratorFragment;
-import org.eclipse.xtext.parser.packrat.IPackratParser;
-
-/**
- * An {@link IGeneratorFragment} to generate a packrat parser.
- *
- * @author Sebastian Zarnekow - Initial contribution and API
- */
-@Deprecated(forRemoval = true)
-public class PackratParserFragment extends AbstractGeneratorFragment {
-
- @Override
- public Set getGuiceBindingsRt(Grammar g) {
- return new BindFactory()
- .addTypeToType(IPackratParser.class.getName(),PackratParserGenUtil.getGeneratedParser(g,getNaming()))
- .getBindings();
- }
-
- @Override
- public String[] getExportedPackagesRt(Grammar grammar) {
- return new String[]{
- getNaming().basePackageRuntime(grammar) + ".parser.packrat",
- getNaming().basePackageRuntime(grammar) + ".parser.packrat.consumers",
- };
- }
-
-}
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.xpt b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.xpt
deleted file mode 100755
index 526593a6a93..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserFragment.xpt
+++ /dev/null
@@ -1,25 +0,0 @@
-�REM�
-/*******************************************************************************
- * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- *******************************************************************************/
-�ENDREM�
-
-�IMPORT org::eclipse::xtext�
-
-�DEFINE generate FOR Grammar-�
-�EXPAND PackratParserGen::root-�
-�ENDDEFINE�
-
-�DEFINE addToPluginXmlRt FOR Grammar��ENDDEFINE�
-
-�DEFINE addToPluginXmlUi FOR Grammar��ENDDEFINE�
-
-�DEFINE addToStandaloneSetup FOR Grammar��ENDDEFINE�
-
-
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.ext b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.ext
deleted file mode 100644
index 3b87fc41166..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.ext
+++ /dev/null
@@ -1,126 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- *******************************************************************************/
-import org::eclipse::xtext;
-import org::eclipse::xtext::generator;
-import org::eclipse::emf::ecore;
-
-extension org::eclipse::xtext::GrammarUtil reexport;
-extension org::eclipse::xtext::generator::grammarAccess::GrammarAccess;
-extension org::eclipse::xtext::generator::Naming;
-extension org::eclipse::xtext::EcoreUtils;
-
-cached String getParserClassName(Grammar this) :
- getParserClassName(this,getNaming());
-private String getParserClassName(Grammar this, Naming naming) :
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getGeneratedParser(org.eclipse.xtext.Grammar,org.eclipse.xtext.generator.Naming);
-
-cached String consumeMethodName(AbstractElement this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConsumeMethodName(org.eclipse.xtext.AbstractElement);
-
-cached String delimiterFieldName(AbstractElement this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getDelimiterFieldName(org.eclipse.xtext.AbstractElement);
-
-cached String consumerFieldName(AbstractElement this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConsumerFieldName(org.eclipse.xtext.AbstractElement);
-
-cached String globalDelimiterFieldName(AbstractElement this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getGlobalDelimiterFieldName(org.eclipse.xtext.AbstractElement);
-
-cached String consumerClassName(AbstractRule this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConsumerClassName(org.eclipse.xtext.AbstractRule);
-
-cached String getParserConfigurationClassName(Grammar this) :
- runtimePack()+".parser.packrat."+name.toSimpleName()+"ParserConfiguration";
-
-cached String getDelimiterClassName(Grammar this) :
- runtimePack()+".parser.packrat."+name.toSimpleName()+"Delimiters";
-
-cached String consumerInterfaceName(AbstractRule this):
- "UNSUPPORTED_RULETYPE_" + metaType.name;
-
-cached String consumerInterfaceName(ParserRule this):
- "INonTerminalConsumer";
-
-cached String consumerInterfaceName(EnumRule this):
- "INonTerminalConsumer";
-
-cached String consumerInterfaceName(TerminalRule this):
- "ITerminalConsumer";
-
-cached String consumerFieldName(AbstractRule this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConsumerFieldName(org.eclipse.xtext.AbstractRule);
-
-String consumerSetterName(AbstractRule this):
- "set" + consumerFieldName().toFirstUpper();
-
-String consumerGetterName(AbstractRule this):
- "get" + consumerFieldName().toFirstUpper();
-
-String consumerPackageName(AbstractRule this):
- containingGrammar().getNamespace() + ".parser.packrat.consumers";
-
-String fullConsumerClassName(AbstractRule this):
- consumerPackageName() + "." + consumerClassName();
-
-String grammarAccess(Grammar this):
- gaFQName();
-
-String toJavaString(String this):
- JAVA org.eclipse.xtext.util.Strings.convertToJavaString(java.lang.String);
-
-/* boolean canBeFollowedByIdentifier(Keyword this):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.canBeFollowedByIdentifier(org.eclipse.xtext.Keyword); */
-
-cached List[String] conflictingKeywords(AbstractElement this, Grammar grammar):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConflictingKeywords(org.eclipse.xtext.AbstractElement, org.eclipse.xtext.Grammar);
-
-cached List[AbstractRule] conflictingLexerRules(Keyword this, Grammar grammar):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.getConflictingLexerRules(org.eclipse.xtext.Keyword, org.eclipse.xtext.Grammar);
-
-cached AbstractElement sameConflicts(AbstractElement this, Grammar grammar):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.findFirstWithSameConflicts(org.eclipse.xtext.AbstractElement, org.eclipse.xtext.Grammar);
-
-cached Keyword sameConflicts(Keyword this, Grammar grammar):
- JAVA org.eclipse.xtext.generator.parser.packrat.PackratParserGenUtil.findFirstKeywordWithSameConflicts(org.eclipse.xtext.Keyword, org.eclipse.xtext.Grammar);
-
-boolean isPlus(AbstractElement this):
- !isOptionalCardinality() && isMultipleCardinality();
-
-boolean isStar(AbstractElement this):
- isOptionalCardinality() && isMultipleCardinality();
-
-boolean isQuestionMark(AbstractElement this):
- isOptionalCardinality() && !isMultipleCardinality();
-
-int indexInGroup(AbstractElement element, Group parent):
- parent.elements.flattendGroupElements().indexOf(element);
-
-cached List[AbstractElement] flattendGroupElements(Group this):
- if(!isOptionalCardinality() && !isMultipleCardinality()) then elements.flattendGroupElements() else this;
-
-List[AbstractElement] flattendGroupElements(AbstractElement this):
- this;
-
-int indexInAlternatives(AbstractElement element, Alternatives parent):
- parent.elements.flattendAlternativesElements().indexOf(element);
-
-cached List[AbstractElement] flattendAlternativesElements(Alternatives this):
- if(!isOptionalCardinality() && !isMultipleCardinality()) then elements.flattendAlternativesElements() else this;
-
-List[AbstractElement] flattendAlternativesElements(AbstractElement this):
- {this};
-
-cached List[AbstractElement] allDelimited(AbstractRule this):
- containedRuleCalls().select(e|TerminalRule.isInstance(e.rule)).
- union(allContents().typeSelect(Keyword))
- .toSet().sortBy(e|e.globalDelimiterFieldName());
-
-cached List[AbstractRule] allCalledRules(AbstractRule this):
- containedRuleCalls().rule.toSet().sortBy(e|e.consumerFieldName());
\ No newline at end of file
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.xpt b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.xpt
deleted file mode 100644
index 2b56812a663..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGen.xpt
+++ /dev/null
@@ -1,301 +0,0 @@
-�REM�
-/*******************************************************************************
- * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- *******************************************************************************/
-�ENDREM�
-
-�IMPORT org::eclipse::xtext�
-
-�EXTENSION org::eclipse::xtext::GrammarUtil�
-�EXTENSION org::eclipse::xtext::generator::Naming�
-�EXTENSION org::eclipse::xtext::generator::parser::packrat::PackratParserGen�
-�EXTENSION org::eclipse::xtext::generator::grammarAccess::GrammarAccess�
-
-�DEFINE root FOR Grammar�
- �EXPAND NonTerminalConsumer::root�
- �EXPAND TerminalConsumer::root�
- �EXPAND parser�
- �EXPAND parserConfiguration�
- �EXPAND delimiters�
-�ENDDEFINE�
-
-�DEFINE parser FOR Grammar�
-�FILE getParserClassName().asPath()+".java" SRC_GEN-�
-�fileHeader()�
-package �getParserClassName().toJavaPackage()�;
-
-�annotationImports()-�
-import com.google.inject.Inject;
-
-import org.eclipse.xtext.parser.packrat.AbstractPackratParser;
-import org.eclipse.xtext.parser.packrat.IParseResultFactory;
-import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration.IInternalParserConfiguration;
-
-import �gaFQName()�;
-
-�classAnnotations()�public class �getParserClassName().toSimpleName()� extends AbstractPackratParser {
-
- @Inject
- public �getParserClassName().toSimpleName()�(IParseResultFactory parseResultFactory, �gaSimpleName()� grammarAccess) {
- super(parseResultFactory, grammarAccess);
- }
-
- @Override
- protected �getParserConfigurationClassName()� createParserConfiguration(IInternalParserConfiguration configuration) {
- return new �getParserConfigurationClassName()�(configuration, getGrammarAccess());
- }
-
- @Override
- protected �gaSimpleName()� getGrammarAccess() {
- return (�gaSimpleName()�)super.getGrammarAccess();
- }
-
-}
-�ENDFILE�
-�ENDDEFINE�
-
-�DEFINE parserConfiguration FOR Grammar�
-�FILE getParserConfigurationClassName().asPath()+".java" SRC_GEN-�
-�fileHeader()�
-package �getParserConfigurationClassName().toJavaPackage()�;
-
-�annotationImports()-�
-import org.eclipse.xtext.parser.packrat.AbstractParserConfiguration;
-�IF definesHiddenTokens || usedGrammars.size == 1 || rules.typeSelect(ParserRule).exists(e|e.definesHiddenTokens)-�
-import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumer;
-�ENDIF-�
-�IF allParserRules().isEmpty-�
-import org.eclipse.xtext.parser.packrat.consumers.INonTerminalConsumer;
-�ENDIF-�
-
-import �gaFQName()�;
-
-�FOREACH usedGrammars AS usedGrammar-�
-import �usedGrammar.getNamespace()�.parser.packrat.�usedGrammar.getName().toFirstUpper().replaceAll("\\s","_")�ParserConfiguration;
-�ENDFOREACH-�
-�FOREACH allRules() AS rule-�
-import �rule.containingGrammar().getNamespace()�.parser.packrat.consumers.�rule.consumerClassName()�;
-�ENDFOREACH-�
-
-�classAnnotations()�public class �getParserConfigurationClassName().toSimpleName()� extends AbstractParserConfiguration {
-
-�FOREACH usedGrammars AS usedGrammar-�
- private final �usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�ParserConfiguration �usedGrammar.getName().replaceAll("\\s","_").toFirstLower()�Configuration;
-�ENDFOREACH-�
-�FOREACH rules AS rule-�
- private �rule.consumerClassName()� �rule.consumerFieldName()�;
-�ENDFOREACH-�
-
- private �gaSimpleName()� grammarAccess;
-
- public �getParserConfigurationClassName().toSimpleName()�(IInternalParserConfiguration configuration, �gaSimpleName()� grammarAccess) {
- super(configuration);
- this.grammarAccess = grammarAccess;
-�FOREACH usedGrammars AS usedGrammar-�
- this.�usedGrammar.getName().replaceAll("\\s","_").toFirstLower()�Configuration = new �usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�ParserConfiguration(configuration, null);
-�ENDFOREACH-�
- }
-
-�IF !allParserRules().isEmpty-�
- public �allParserRules().first().consumerClassName()� getRootConsumer() {
- return �allParserRules().first().consumerFieldName()�;
-�ELSE-�
- public INonTerminalConsumer getRootConsumer() {
- return null;
-�ENDIF-�
- }
-
- public void createNonTerminalConsumers() {
-�FOREACH usedGrammars AS usedGrammar-�
- get�usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�Configuration().createNonTerminalConsumers();
-�ENDFOREACH-�
-�FOREACH rules.typeSelect(ParserRule) AS rule-�
- �rule.consumerFieldName()� = new �rule.consumerClassName()�(
-�IF rule.definesHiddenTokens-�
- this, new ITerminalConsumer[]{ �FOREACH rule.hiddenTokens AS hidden SEPARATOR ", "��hidden.consumerGetterName()�()�ENDFOREACH-� }
-�ELSE-�
- this, null
-�ENDIF-�
- );
-�ENDFOREACH-�
-�FOREACH rules.typeSelect(EnumRule) AS rule-�
- �rule.consumerFieldName()� = new �rule.consumerClassName()�(this, null);
-�ENDFOREACH-�
- }
-
- public void createTerminalConsumers() {
-�FOREACH usedGrammars AS usedGrammar-�
- get�usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�Configuration().createTerminalConsumers();
-�ENDFOREACH-�
-�FOREACH rules.typeSelect(TerminalRule) AS rule-�
- �rule.consumerFieldName()� = new �rule.consumerClassName()�(this);
-�ENDFOREACH-�
- }
-
- public void configureConsumers() {
- if (grammarAccess == null)
- throw new NullPointerException("grammarAccess may not be null, you call configureConsumers");
-�FOREACH allRules() AS rule-�
-�IF ParserRule.isInstance(rule) || EnumRule.isInstance(rule)-�
- �rule.consumerGetterName()�().setRule(grammarAccess.�rule.gaElementsAccessor()�);
-�ELSE-�
- �rule.consumerGetterName()�().setRule(grammarAccess.�rule.gaRuleAccessor()�);
-�ENDIF-�
-�ENDFOREACH�
-
-�FOREACH allParserRules() AS rule-�
-�LET rule.allCalledRules() AS calledRules-�
-�IF !calledRules.isEmpty-�
-�FOREACH calledRules AS calledRule-�
-�IF rule.consumerGetterName() != "getRootConsumer"-�
-�IF calledRule.consumerGetterName() != "getRootConsumer"-�
- �rule.consumerGetterName()�().�calledRule.consumerSetterName()�(�calledRule.consumerGetterName()�());
-�ELSE-�
- �rule.consumerGetterName()�().�calledRule.consumerSetterName()�(getRootConsumer$());
-�ENDIF-�
-�ELSE-�
-�IF calledRule.consumerGetterName() != "getRootConsumer"-�
- getRootConsumer$().�calledRule.consumerSetterName()�(�calledRule.consumerGetterName()�());
-�ELSE-�
- getRootConsumer$().�calledRule.consumerSetterName()�(getRootConsumer$());
-�ENDIF-�
-�ENDIF-�
-�ENDFOREACH-�
-
-�ENDIF-�
-�ENDLET-�
-�ENDFOREACH-�
-�EXPAND setDelimiters(this) FOREACH allParserRules()-�
- }
-
-�FOREACH usedGrammars AS usedGrammar-�
- public �usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�ParserConfiguration get�usedGrammar.getName().replaceAll("\\s","_").toFirstUpper()�Configuration() {
- return �usedGrammar.getName().replaceAll("\\s","_").toFirstLower()�Configuration;
- }
-
-�ENDFOREACH-�
-�FOREACH allRules() AS rule-�
-�IF rule.containingGrammar() == this-�
-�IF rule.consumerGetterName() != "getRootConsumer"-�
- public �rule.consumerClassName()� �rule.consumerGetterName()�() {
- return �rule.consumerFieldName()�;
- }
-�ELSE-�
- public �rule.consumerClassName()� getRootConsumer$() {
- return �rule.consumerFieldName()�;
- }
-�ENDIF-�
-�ELSE-�
-�IF rule.consumerGetterName() != "getRootConsumer"-�
- public �rule.consumerClassName()� �rule.consumerGetterName()�() {
- return get�usedGrammars.selectFirst(g|g.allRules().contains(rule)).getName().replaceAll("\\s","_").toFirstUpper()�Configuration().�rule.consumerGetterName()�();
- }
-�ELSE-�
- public �rule.consumerClassName()� getRootConsumer$() {
- return get�usedGrammars.selectFirst(g|g.allRules().contains(rule)).getName().replaceAll("\\s","_").toFirstUpper()�Configuration().getRootConsumer$();
- }
-�ENDIF-�
-�ENDIF-�
-
-�ENDFOREACH-�
-
-�IF definesHiddenTokens || usedGrammars.size == 1-�
- @Override
- public ITerminalConsumer[] getInitialHiddenTerminals() {
-�IF definesHiddenTokens-�
-�IF hiddenTokens.isEmpty-�
- return EMPTY_HIDDENS;
-�ELSE-�
- return new ITerminalConsumer[]{ �FOREACH hiddenTokens AS hidden SEPARATOR ", "��hidden.consumerGetterName()�()�ENDFOREACH-� };
-�ENDIF-�
-�ELSE-�
- return get�usedGrammars.first().getName().replaceAll("\\s","_").toFirstUpper()�Configuration().getInitialHiddenTerminals();
-�ENDIF-�
- }
-
-�ENDIF-�
-}
-�ENDFILE�
-�ENDDEFINE�
-
-�DEFINE setDelimiters(Grammar grammar) FOR ParserRule-�
-�EXPAND setDelimiters(this, grammar) FOREACH allDelimited()-�
-�ENDDEFINE�
-
-�DEFINE setDelimiters(ParserRule rule, Grammar grammar) FOR AbstractElement-�
- �rule.consumerGetterName()�().set�delimiterFieldName().toFirstUpper()�(�getDelimiterClassName(grammar)�.�sameConflicts(grammar).globalDelimiterFieldName()�);
-�ENDDEFINE�
-
-�DEFINE delimiters FOR Grammar�
-�FILE getDelimiterClassName().asPath()+".java" SRC_GEN-�
-�fileHeader()�
-package �getDelimiterClassName().toJavaPackage()�;
-
-�annotationImports()-�
-�IF allParserRules().allDelimited().exists(e|Keyword.isInstance(e))-�
-import org.eclipse.xtext.parser.packrat.matching.ICharacterClass;
-�ENDIF-�
-�IF allParserRules().allDelimited().exists(e|RuleCall.isInstance(e) || CrossReference.isInstance(e))-�
-import org.eclipse.xtext.parser.packrat.matching.ISequenceMatcher;
-�IF !allParserRules().allDelimited().select(e|RuleCall.isInstance(e) || CrossReference.isInstance(e)).conflictingKeywords(this).isEmpty-�
-import org.eclipse.xtext.parser.packrat.matching.SetBasedKeywordMatcher;
-�ENDIF-�
-�ENDIF-�
-
-�classAnnotations()�public final class �getDelimiterClassName().toSimpleName()� {
-
- private �getDelimiterClassName().toSimpleName()�() {
- throw new UnsupportedOperationException("Utility classes may not be initialized");
- }
-
- �EXPAND createDelimiters(this) FOREACH allParserRules().allDelimited()-�
-}
-�ENDFILE�
-�ENDDEFINE�
-
-�DEFINE createDelimiters(Grammar grammar) FOR AbstractElement-�
-�ERROR "createDelimiters for " + metaType.name�
-�ENDDEFINE�
-
-�DEFINE createDelimiters(Grammar grammar) FOR RuleCall-�
-�LET sameConflicts(grammar) AS first-�
-�IF first == this-�
-�LET conflictingKeywords(grammar) AS conflicting-�
-�IF !conflicting.isEmpty-�
- public static final ISequenceMatcher �globalDelimiterFieldName()� = new SetBasedKeywordMatcher(
- �FOREACH conflicting AS c SEPARATOR ", "�"�toJavaString(c)�"�ENDFOREACH�);
-�ELSE-�
- public static final ISequenceMatcher �globalDelimiterFieldName()� = ISequenceMatcher.Factory.nullMatcher();
-�ENDIF-�
-
-�ENDLET-�
-�ENDIF-�
-�ENDLET-�
-�ENDDEFINE�
-
-�DEFINE createDelimiters(Grammar grammar) FOR Keyword-�
-�LET sameConflicts(grammar) AS first-�
-�IF first == this-�
-�LET conflictingLexerRules(grammar) AS conflicting-�
-�IF !conflicting.isEmpty-�
- �REM�TODO: remove hardcoded character class from template�ENDREM�
- public static final ICharacterClass �globalDelimiterFieldName()� = ICharacterClass.Factory.join(
- ICharacterClass.Factory.createRange('a', 'z'),
- ICharacterClass.Factory.createRange('A', 'Z'),
- ICharacterClass.Factory.create('_'),
- ICharacterClass.Factory.createRange('0', '9')
- );
-�ELSE-�
- public static final ICharacterClass �globalDelimiterFieldName()� = ICharacterClass.Factory.nullClass();
-�ENDIF-�
-
-�ENDLET-�
-�ENDIF-�
-�ENDLET-�
-�ENDDEFINE�
\ No newline at end of file
diff --git a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGenUtil.java b/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGenUtil.java
deleted file mode 100644
index f81724eafb8..00000000000
--- a/org.eclipse.xtext.generator/packrat/org/eclipse/xtext/generator/parser/packrat/PackratParserGenUtil.java
+++ /dev/null
@@ -1,320 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *******************************************************************************/
-package org.eclipse.xtext.generator.parser.packrat;
-
-import static org.eclipse.xtext.GrammarUtil.*;
-
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.xtext.AbstractElement;
-import org.eclipse.xtext.AbstractRule;
-import org.eclipse.xtext.EcoreUtil2;
-import org.eclipse.xtext.Grammar;
-import org.eclipse.xtext.GrammarUtil;
-import org.eclipse.xtext.Keyword;
-import org.eclipse.xtext.ParserRule;
-import org.eclipse.xtext.RuleCall;
-import org.eclipse.xtext.TerminalRule;
-import org.eclipse.xtext.common.parser.packrat.consumers.TerminalsIDConsumer;
-import org.eclipse.xtext.generator.Naming;
-import org.eclipse.xtext.parser.packrat.ICharSequenceWithOffset;
-import org.eclipse.xtext.parser.packrat.consumers.ConsumeResult;
-import org.eclipse.xtext.parser.packrat.consumers.ITerminalConsumerConfiguration;
-import org.eclipse.xtext.parser.packrat.matching.StringWithOffset;
-import org.eclipse.xtext.parser.packrat.tokens.IParsedTokenAcceptor;
-import org.eclipse.xtext.util.Strings;
-
-import com.google.common.base.Function;
-import com.google.common.base.Predicate;
-import com.google.common.collect.Iterators;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Sets;
-
-/**
- * Various utilities for the parser generator.
- *
- * @author Sebastian Zarnekow - Initial contribution and API
- */
-@Deprecated(forRemoval = true)
-public final class PackratParserGenUtil {
-
- /**
- * @author Sebastian Zarnekow - Initial contribution and API
- */
- private static final class MyTerminalConsumerConfiguration implements ITerminalConsumerConfiguration {
- private final StringWithOffset input;
-
- private MyTerminalConsumerConfiguration(StringWithOffset input) {
- this.input = input;
- }
-
- @Override
- public ICharSequenceWithOffset getInput() {
- return input;
- }
-
- @Override
- public IParsedTokenAcceptor getTokenAcceptor() {
- return null;
- }
- }
-
- private PackratParserGenUtil() {
- throw new UnsupportedOperationException(getClass().getName() + " may not be initialized.");
- }
-
- /**
- * @param rule
- * - the rule
- * @return firstLetterToUpper(rule.name) + "Consumer"
- */
- public static String getConsumerClassName(AbstractRule rule) {
- Grammar grammar = GrammarUtil.getGrammar(rule);
- return (grammar != null ? GrammarUtil.getSimpleName(grammar) : "")
- + (rule.getName() == null ? "Consumer" : Strings.toFirstUpper(rule.getName()) + "Consumer");
- }
-
- /**
- * @param g
- * {@link Grammar}
- * @return Parser name
- */
- public static String getGeneratedParser(Grammar g, Naming naming) {
- return naming.basePackageRuntime(g) + ".parser.packrat." + getSimpleName(g) + "PackratParser";
- }
-
- /**
- * The result is best described by example:
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAndExpression()
- * @model
- * @generated
- */
-public interface AndExpression extends Expression
-{
- /**
- * Returns the value of the 'Left' containment reference.
- *
- *
- * If the meaning of the 'Left' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Left' containment reference.
- * @see #setLeft(Expression)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAndExpression_Left()
- * @model containment="true"
- * @generated
- */
- Expression getLeft();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getLeft Left}' containment reference.
- *
- *
- * @param value the new value of the 'Left' containment reference.
- * @see #getLeft()
- * @generated
- */
- void setLeft(Expression value);
-
- /**
- * Returns the value of the 'Right' containment reference.
- *
- *
- * If the meaning of the 'Right' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Right' containment reference.
- * @see #setRight(Expression)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAndExpression_Right()
- * @model containment="true"
- * @generated
- */
- Expression getRight();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getRight Right}' containment reference.
- *
- *
- * @param value the new value of the 'Right' containment reference.
- * @see #getRight()
- * @generated
- */
- void setRight(Expression value);
-
-} // AndExpression
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/AntlrGrammar.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/AntlrGrammar.java
deleted file mode 100644
index 1da32793eed..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/AntlrGrammar.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Antlr Grammar'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAntlrGrammar()
- * @model
- * @generated
- */
-public interface AntlrGrammar extends EObject
-{
- /**
- * Returns the value of the 'Name' attribute.
- *
- *
- * If the meaning of the 'Name' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Name' attribute.
- * @see #setName(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAntlrGrammar_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getName Name}' attribute.
- *
- *
- * @param value the new value of the 'Name' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the 'Options' containment reference.
- *
- *
- * If the meaning of the 'Options' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Options' containment reference.
- * @see #setOptions(Options)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAntlrGrammar_Options()
- * @model containment="true"
- * @generated
- */
- Options getOptions();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getOptions Options}' containment reference.
- *
- *
- * @param value the new value of the 'Options' containment reference.
- * @see #getOptions()
- * @generated
- */
- void setOptions(Options value);
-
- /**
- * Returns the value of the 'Rules' containment reference list.
- * The list contents are of type {@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule}.
- *
- *
- * If the meaning of the 'Rules' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Rules' containment reference list.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getAntlrGrammar_Rules()
- * @model containment="true"
- * @generated
- */
- EList getRules();
-
-} // AntlrGrammar
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ElementWithCardinality.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ElementWithCardinality.java
deleted file mode 100644
index 91f44c4708b..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ElementWithCardinality.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Element With Cardinality'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getElementWithCardinality()
- * @model
- * @generated
- */
-public interface ElementWithCardinality extends RuleElement
-{
- /**
- * Returns the value of the 'Element' containment reference.
- *
- *
- * If the meaning of the 'Element' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Element' containment reference.
- * @see #setElement(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getElementWithCardinality_Element()
- * @model containment="true"
- * @generated
- */
- RuleElement getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getElement Element}' containment reference.
- *
- *
- * @param value the new value of the 'Element' containment reference.
- * @see #getElement()
- * @generated
- */
- void setElement(RuleElement value);
-
- /**
- * Returns the value of the 'Cardinality' attribute.
- *
- *
- * If the meaning of the 'Cardinality' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Cardinality' attribute.
- * @see #setCardinality(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getElementWithCardinality_Cardinality()
- * @model
- * @generated
- */
- String getCardinality();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getCardinality Cardinality}' attribute.
- *
- *
- * @param value the new value of the 'Cardinality' attribute.
- * @see #getCardinality()
- * @generated
- */
- void setCardinality(String value);
-
-} // ElementWithCardinality
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Expression.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Expression.java
deleted file mode 100644
index 975eba9ee9d..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Expression.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Expression'.
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getExpression()
- * @model
- * @generated
- */
-public interface Expression extends EObject
-{
-} // Expression
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Group.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Group.java
deleted file mode 100644
index 443ce5bec11..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Group.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- *
- * A representation of the model object 'Group'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getGroup()
- * @model
- * @generated
- */
-public interface Group extends RuleElement
-{
- /**
- * Returns the value of the 'Elements' containment reference list.
- * The list contents are of type {@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement}.
- *
- *
- * If the meaning of the 'Elements' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Elements' containment reference list.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getGroup_Elements()
- * @model containment="true"
- * @generated
- */
- EList getElements();
-
-} // Group
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Keyword.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Keyword.java
deleted file mode 100644
index 3276ac8b067..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Keyword.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Keyword'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOptionValue()
- * @model
- * @generated
- */
-public interface OptionValue extends EObject
-{
- /**
- * Returns the value of the 'Key' attribute.
- *
- *
- * If the meaning of the 'Key' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Key' attribute.
- * @see #setKey(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOptionValue_Key()
- * @model
- * @generated
- */
- String getKey();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getKey Key}' attribute.
- *
- *
- * @param value the new value of the 'Key' attribute.
- * @see #getKey()
- * @generated
- */
- void setKey(String value);
-
- /**
- * Returns the value of the 'Value' attribute.
- *
- *
- * If the meaning of the 'Value' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Value' attribute.
- * @see #setValue(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOptionValue_Value()
- * @model
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getValue Value}' attribute.
- *
- *
- * @param value the new value of the 'Value' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
-} // OptionValue
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Options.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Options.java
deleted file mode 100644
index 37c55fad176..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Options.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Options'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOrExpression()
- * @model
- * @generated
- */
-public interface OrExpression extends Expression
-{
- /**
- * Returns the value of the 'Left' containment reference.
- *
- *
- * If the meaning of the 'Left' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Left' containment reference.
- * @see #setLeft(Expression)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOrExpression_Left()
- * @model containment="true"
- * @generated
- */
- Expression getLeft();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getLeft Left}' containment reference.
- *
- *
- * @param value the new value of the 'Left' containment reference.
- * @see #getLeft()
- * @generated
- */
- void setLeft(Expression value);
-
- /**
- * Returns the value of the 'Right' containment reference.
- *
- *
- * If the meaning of the 'Right' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Right' containment reference.
- * @see #setRight(Expression)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getOrExpression_Right()
- * @model containment="true"
- * @generated
- */
- Expression getRight();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getRight Right}' containment reference.
- *
- *
- * @param value the new value of the 'Right' containment reference.
- * @see #getRight()
- * @generated
- */
- void setRight(Expression value);
-
-} // OrExpression
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Parameter.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Parameter.java
deleted file mode 100644
index fe2ae11159e..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Parameter.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Parameter'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getParameter()
- * @model
- * @generated
- */
-public interface Parameter extends EObject
-{
- /**
- * Returns the value of the 'Type' attribute.
- *
- *
- * If the meaning of the 'Type' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Type' attribute.
- * @see #setType(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getParameter_Type()
- * @model
- * @generated
- */
- String getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getType Type}' attribute.
- *
- *
- * @param value the new value of the 'Type' attribute.
- * @see #getType()
- * @generated
- */
- void setType(String value);
-
- /**
- * Returns the value of the 'Name' attribute.
- *
- *
- * If the meaning of the 'Name' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Name' attribute.
- * @see #setName(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getParameter_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getName Name}' attribute.
- *
- *
- * @param value the new value of the 'Name' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // Parameter
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Predicated.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Predicated.java
deleted file mode 100644
index a6f3bf1ce64..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Predicated.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Predicated'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getPredicated()
- * @model
- * @generated
- */
-public interface Predicated extends RuleElement
-{
- /**
- * Returns the value of the 'Predicate' containment reference.
- *
- *
- * If the meaning of the 'Predicate' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Predicate' containment reference.
- * @see #setPredicate(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getPredicated_Predicate()
- * @model containment="true"
- * @generated
- */
- RuleElement getPredicate();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getPredicate Predicate}' containment reference.
- *
- *
- * @param value the new value of the 'Predicate' containment reference.
- * @see #getPredicate()
- * @generated
- */
- void setPredicate(RuleElement value);
-
- /**
- * Returns the value of the 'Element' containment reference.
- *
- *
- * If the meaning of the 'Element' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Element' containment reference.
- * @see #setElement(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getPredicated_Element()
- * @model containment="true"
- * @generated
- */
- RuleElement getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getElement Element}' containment reference.
- *
- *
- * @param value the new value of the 'Element' containment reference.
- * @see #getElement()
- * @generated
- */
- void setElement(RuleElement value);
-
-} // Predicated
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ReferenceOrLiteral.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ReferenceOrLiteral.java
deleted file mode 100644
index a200c54a1d2..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/ReferenceOrLiteral.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Reference Or Literal'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRule()
- * @model
- * @generated
- */
-public interface Rule extends EObject
-{
- /**
- * Returns the value of the 'Fragment' attribute.
- *
- *
- * If the meaning of the 'Fragment' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Fragment' attribute.
- * @see #setFragment(boolean)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRule_Fragment()
- * @model
- * @generated
- */
- boolean isFragment();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#isFragment Fragment}' attribute.
- *
- *
- * @param value the new value of the 'Fragment' attribute.
- * @see #isFragment()
- * @generated
- */
- void setFragment(boolean value);
-
- /**
- * Returns the value of the 'Name' attribute.
- *
- *
- * If the meaning of the 'Name' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Name' attribute.
- * @see #setName(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRule_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getName Name}' attribute.
- *
- *
- * @param value the new value of the 'Name' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the 'Parameters' containment reference list.
- * The list contents are of type {@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter}.
- *
- *
- * If the meaning of the 'Parameters' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Parameters' containment reference list.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRule_Parameters()
- * @model containment="true"
- * @generated
- */
- EList getParameters();
-
- /**
- * Returns the value of the 'Body' containment reference.
- *
- *
- * If the meaning of the 'Body' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Body' containment reference.
- * @see #setBody(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRule_Body()
- * @model containment="true"
- * @generated
- */
- RuleElement getBody();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getBody Body}' containment reference.
- *
- *
- * @param value the new value of the 'Body' containment reference.
- * @see #getBody()
- * @generated
- */
- void setBody(RuleElement value);
-
-} // Rule
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleCall.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleCall.java
deleted file mode 100644
index e4ffd9d645e..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleCall.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- *
- * A representation of the model object 'Rule Call'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleCall()
- * @model
- * @generated
- */
-public interface RuleCall extends RuleElement
-{
- /**
- * Returns the value of the 'Rule' attribute.
- *
- *
- * If the meaning of the 'Rule' attribute isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Rule' attribute.
- * @see #setRule(String)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleCall_Rule()
- * @model
- * @generated
- */
- String getRule();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall#getRule Rule}' attribute.
- *
- *
- * @param value the new value of the 'Rule' attribute.
- * @see #getRule()
- * @generated
- */
- void setRule(String value);
-
- /**
- * Returns the value of the 'Arguments' containment reference list.
- * The list contents are of type {@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Expression}.
- *
- *
- * If the meaning of the 'Arguments' containment reference list isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Arguments' containment reference list.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleCall_Arguments()
- * @model containment="true"
- * @generated
- */
- EList getArguments();
-
-} // RuleCall
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleElement.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleElement.java
deleted file mode 100644
index 3cac1bf2fdd..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleElement.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- *
- * A representation of the model object 'Rule Element'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleElement()
- * @model
- * @generated
- */
-public interface RuleElement extends EObject
-{
- /**
- * Returns the value of the 'Guard' containment reference.
- *
- *
- * If the meaning of the 'Guard' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Guard' containment reference.
- * @see #setGuard(Expression)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleElement_Guard()
- * @model containment="true"
- * @generated
- */
- Expression getGuard();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuard Guard}' containment reference.
- *
- *
- * @param value the new value of the 'Guard' containment reference.
- * @see #getGuard()
- * @generated
- */
- void setGuard(Expression value);
-
- /**
- * Returns the value of the 'Guarded' containment reference.
- *
- *
- * If the meaning of the 'Guarded' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Guarded' containment reference.
- * @see #setGuarded(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleElement_Guarded()
- * @model containment="true"
- * @generated
- */
- RuleElement getGuarded();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuarded Guarded}' containment reference.
- *
- *
- * @param value the new value of the 'Guarded' containment reference.
- * @see #getGuarded()
- * @generated
- */
- void setGuarded(RuleElement value);
-
-} // RuleElement
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleOptions.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleOptions.java
deleted file mode 100644
index 73042ef9610..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/RuleOptions.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Rule Options'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleOptions()
- * @model
- * @generated
- */
-public interface RuleOptions extends RuleElement
-{
- /**
- * Returns the value of the 'Options' containment reference.
- *
- *
- * If the meaning of the 'Options' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Options' containment reference.
- * @see #setOptions(Options)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleOptions_Options()
- * @model containment="true"
- * @generated
- */
- Options getOptions();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getOptions Options}' containment reference.
- *
- *
- * @param value the new value of the 'Options' containment reference.
- * @see #getOptions()
- * @generated
- */
- void setOptions(Options value);
-
- /**
- * Returns the value of the 'Element' containment reference.
- *
- *
- * If the meaning of the 'Element' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Element' containment reference.
- * @see #setElement(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getRuleOptions_Element()
- * @model containment="true"
- * @generated
- */
- RuleElement getElement();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getElement Element}' containment reference.
- *
- *
- * @param value the new value of the 'Element' containment reference.
- * @see #getElement()
- * @generated
- */
- void setElement(RuleElement value);
-
-} // RuleOptions
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrFactory.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrFactory.java
deleted file mode 100644
index 39ea495b00a..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrFactory.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- *
- * The Factory for the model.
- * It provides a create method for each non-abstract class of the model.
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage
- * @generated
- */
-public interface SimpleAntlrFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- *
- *
- * @generated
- */
- SimpleAntlrFactory eINSTANCE = org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrFactoryImpl.init();
-
- /**
- * Returns a new object of class 'Antlr Grammar'.
- *
- *
- * @return a new object of class 'Antlr Grammar'.
- * @generated
- */
- AntlrGrammar createAntlrGrammar();
-
- /**
- * Returns a new object of class 'Options'.
- *
- *
- * @return a new object of class 'Options'.
- * @generated
- */
- Options createOptions();
-
- /**
- * Returns a new object of class 'Option Value'.
- *
- *
- * @return a new object of class 'Option Value'.
- * @generated
- */
- OptionValue createOptionValue();
-
- /**
- * Returns a new object of class 'Rule'.
- *
- *
- * @return a new object of class 'Rule'.
- * @generated
- */
- Rule createRule();
-
- /**
- * Returns a new object of class 'Parameter'.
- *
- *
- * @return a new object of class 'Parameter'.
- * @generated
- */
- Parameter createParameter();
-
- /**
- * Returns a new object of class 'Rule Element'.
- *
- *
- * @return a new object of class 'Rule Element'.
- * @generated
- */
- RuleElement createRuleElement();
-
- /**
- * Returns a new object of class 'Expression'.
- *
- *
- * @return a new object of class 'Expression'.
- * @generated
- */
- Expression createExpression();
-
- /**
- * Returns a new object of class 'Reference Or Literal'.
- *
- *
- * @return a new object of class 'Reference Or Literal'.
- * @generated
- */
- ReferenceOrLiteral createReferenceOrLiteral();
-
- /**
- * Returns a new object of class 'Predicated'.
- *
- *
- * @return a new object of class 'Predicated'.
- * @generated
- */
- Predicated createPredicated();
-
- /**
- * Returns a new object of class 'Rule Options'.
- *
- *
- * @return a new object of class 'Rule Options'.
- * @generated
- */
- RuleOptions createRuleOptions();
-
- /**
- * Returns a new object of class 'Rule Call'.
- *
- *
- * @return a new object of class 'Rule Call'.
- * @generated
- */
- RuleCall createRuleCall();
-
- /**
- * Returns a new object of class 'Keyword'.
- *
- *
- * @return a new object of class 'Keyword'.
- * @generated
- */
- Keyword createKeyword();
-
- /**
- * Returns a new object of class 'Wildcard'.
- *
- *
- * @return a new object of class 'Wildcard'.
- * @generated
- */
- Wildcard createWildcard();
-
- /**
- * Returns a new object of class 'Alternatives'.
- *
- *
- * @return a new object of class 'Alternatives'.
- * @generated
- */
- Alternatives createAlternatives();
-
- /**
- * Returns a new object of class 'Group'.
- *
- *
- * @return a new object of class 'Group'.
- * @generated
- */
- Group createGroup();
-
- /**
- * Returns a new object of class 'Element With Cardinality'.
- *
- *
- * @return a new object of class 'Element With Cardinality'.
- * @generated
- */
- ElementWithCardinality createElementWithCardinality();
-
- /**
- * Returns a new object of class 'Negated Element'.
- *
- *
- * @return a new object of class 'Negated Element'.
- * @generated
- */
- NegatedElement createNegatedElement();
-
- /**
- * Returns a new object of class 'Until Element'.
- *
- *
- * @return a new object of class 'Until Element'.
- * @generated
- */
- UntilElement createUntilElement();
-
- /**
- * Returns a new object of class 'Or Expression'.
- *
- *
- * @return a new object of class 'Or Expression'.
- * @generated
- */
- OrExpression createOrExpression();
-
- /**
- * Returns a new object of class 'And Expression'.
- *
- *
- * @return a new object of class 'And Expression'.
- * @generated
- */
- AndExpression createAndExpression();
-
- /**
- * Returns a new object of class 'Not Expression'.
- *
- *
- * @return a new object of class 'Not Expression'.
- * @generated
- */
- NotExpression createNotExpression();
-
- /**
- * Returns a new object of class 'Skip'.
- *
- *
- * @return a new object of class 'Skip'.
- * @generated
- */
- Skip createSkip();
-
- /**
- * Returns the package supported by this factory.
- *
- *
- * @return the package supported by this factory.
- * @generated
- */
- SimpleAntlrPackage getSimpleAntlrPackage();
-
-} //SimpleAntlrFactory
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrPackage.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrPackage.java
deleted file mode 100644
index a22f153b1ef..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/SimpleAntlrPackage.java
+++ /dev/null
@@ -1,2111 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- *
- * The Package for the model.
- * It contains accessors for the meta objects to represent
- *
- *
each class,
- *
each feature of each class,
- *
each enum,
- *
and each data type
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrFactory
- * @model kind="package"
- * @generated
- */
-public interface SimpleAntlrPackage extends EPackage
-{
- /**
- * The package name.
- *
- *
- * @generated
- */
- String eNAME = "simpleAntlr";
-
- /**
- * The package namespace URI.
- *
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/xtext/generator/parser/antlr/simpleAntlr";
-
- /**
- * The package namespace name.
- *
- *
- * @generated
- */
- String eNS_PREFIX = "simpleAntlr";
-
- /**
- * The singleton instance of the package.
- *
- *
- * @generated
- */
- SimpleAntlrPackage eINSTANCE = org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AntlrGrammarImpl Antlr Grammar}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AntlrGrammarImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAntlrGrammar()
- * @generated
- */
- int ANTLR_GRAMMAR = 0;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int ANTLR_GRAMMAR__NAME = 0;
-
- /**
- * The feature id for the 'Options' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ANTLR_GRAMMAR__OPTIONS = 1;
-
- /**
- * The feature id for the 'Rules' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int ANTLR_GRAMMAR__RULES = 2;
-
- /**
- * The number of structural features of the 'Antlr Grammar' class.
- *
- *
- * @generated
- * @ordered
- */
- int ANTLR_GRAMMAR_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionsImpl Options}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionsImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOptions()
- * @generated
- */
- int OPTIONS = 1;
-
- /**
- * The feature id for the 'Option Values' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int OPTIONS__OPTION_VALUES = 0;
-
- /**
- * The number of structural features of the 'Options' class.
- *
- *
- * @generated
- * @ordered
- */
- int OPTIONS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionValueImpl Option Value}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionValueImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOptionValue()
- * @generated
- */
- int OPTION_VALUE = 2;
-
- /**
- * The feature id for the 'Key' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int OPTION_VALUE__KEY = 0;
-
- /**
- * The feature id for the 'Value' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int OPTION_VALUE__VALUE = 1;
-
- /**
- * The number of structural features of the 'Option Value' class.
- *
- *
- * @generated
- * @ordered
- */
- int OPTION_VALUE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleImpl Rule}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRule()
- * @generated
- */
- int RULE = 3;
-
- /**
- * The feature id for the 'Fragment' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int RULE__FRAGMENT = 0;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int RULE__NAME = 1;
-
- /**
- * The feature id for the 'Parameters' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int RULE__PARAMETERS = 2;
-
- /**
- * The feature id for the 'Body' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE__BODY = 3;
-
- /**
- * The number of structural features of the 'Rule' class.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ParameterImpl Parameter}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ParameterImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getParameter()
- * @generated
- */
- int PARAMETER = 4;
-
- /**
- * The feature id for the 'Type' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int PARAMETER__TYPE = 0;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int PARAMETER__NAME = 1;
-
- /**
- * The number of structural features of the 'Parameter' class.
- *
- *
- * @generated
- * @ordered
- */
- int PARAMETER_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleElementImpl Rule Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleElement()
- * @generated
- */
- int RULE_ELEMENT = 5;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_ELEMENT__GUARD = 0;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_ELEMENT__GUARDED = 1;
-
- /**
- * The number of structural features of the 'Rule Element' class.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_ELEMENT_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ExpressionImpl Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getExpression()
- * @generated
- */
- int EXPRESSION = 6;
-
- /**
- * The number of structural features of the 'Expression' class.
- *
- *
- * @generated
- * @ordered
- */
- int EXPRESSION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ReferenceOrLiteralImpl Reference Or Literal}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ReferenceOrLiteralImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getReferenceOrLiteral()
- * @generated
- */
- int REFERENCE_OR_LITERAL = 7;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE_OR_LITERAL__NAME = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Reference Or Literal' class.
- *
- *
- * @generated
- * @ordered
- */
- int REFERENCE_OR_LITERAL_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.PredicatedImpl Predicated}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.PredicatedImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getPredicated()
- * @generated
- */
- int PREDICATED = 8;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATED__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATED__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Predicate' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATED__PREDICATE = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Element' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATED__ELEMENT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Predicated' class.
- *
- *
- * @generated
- * @ordered
- */
- int PREDICATED_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleOptionsImpl Rule Options}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleOptionsImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleOptions()
- * @generated
- */
- int RULE_OPTIONS = 9;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_OPTIONS__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_OPTIONS__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Options' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_OPTIONS__OPTIONS = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Element' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_OPTIONS__ELEMENT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Rule Options' class.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_OPTIONS_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleCallImpl Rule Call}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleCallImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleCall()
- * @generated
- */
- int RULE_CALL = 10;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_CALL__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_CALL__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Rule' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_CALL__RULE = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Arguments' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_CALL__ARGUMENTS = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Rule Call' class.
- *
- *
- * @generated
- * @ordered
- */
- int RULE_CALL_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.KeywordImpl Keyword}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.KeywordImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getKeyword()
- * @generated
- */
- int KEYWORD = 11;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int KEYWORD__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int KEYWORD__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Value' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int KEYWORD__VALUE = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Keyword' class.
- *
- *
- * @generated
- * @ordered
- */
- int KEYWORD_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.WildcardImpl Wildcard}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.WildcardImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getWildcard()
- * @generated
- */
- int WILDCARD = 12;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int WILDCARD__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int WILDCARD__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The number of structural features of the 'Wildcard' class.
- *
- *
- * @generated
- * @ordered
- */
- int WILDCARD_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AlternativesImpl Alternatives}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AlternativesImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAlternatives()
- * @generated
- */
- int ALTERNATIVES = 13;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ALTERNATIVES__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ALTERNATIVES__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Groups' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int ALTERNATIVES__GROUPS = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Alternatives' class.
- *
- *
- * @generated
- * @ordered
- */
- int ALTERNATIVES_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.GroupImpl Group}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.GroupImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getGroup()
- * @generated
- */
- int GROUP = 14;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int GROUP__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int GROUP__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Elements' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int GROUP__ELEMENTS = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Group' class.
- *
- *
- * @generated
- * @ordered
- */
- int GROUP_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ElementWithCardinalityImpl Element With Cardinality}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ElementWithCardinalityImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getElementWithCardinality()
- * @generated
- */
- int ELEMENT_WITH_CARDINALITY = 15;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ELEMENT_WITH_CARDINALITY__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ELEMENT_WITH_CARDINALITY__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Element' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int ELEMENT_WITH_CARDINALITY__ELEMENT = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Cardinality' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int ELEMENT_WITH_CARDINALITY__CARDINALITY = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Element With Cardinality' class.
- *
- *
- * @generated
- * @ordered
- */
- int ELEMENT_WITH_CARDINALITY_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NegatedElementImpl Negated Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NegatedElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getNegatedElement()
- * @generated
- */
- int NEGATED_ELEMENT = 16;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int NEGATED_ELEMENT__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int NEGATED_ELEMENT__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Element' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int NEGATED_ELEMENT__ELEMENT = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Negated Element' class.
- *
- *
- * @generated
- * @ordered
- */
- int NEGATED_ELEMENT_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.UntilElementImpl Until Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.UntilElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getUntilElement()
- * @generated
- */
- int UNTIL_ELEMENT = 17;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int UNTIL_ELEMENT__GUARD = RULE_ELEMENT__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int UNTIL_ELEMENT__GUARDED = RULE_ELEMENT__GUARDED;
-
- /**
- * The feature id for the 'Left' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int UNTIL_ELEMENT__LEFT = RULE_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Right' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int UNTIL_ELEMENT__RIGHT = RULE_ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Until Element' class.
- *
- *
- * @generated
- * @ordered
- */
- int UNTIL_ELEMENT_FEATURE_COUNT = RULE_ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OrExpressionImpl Or Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OrExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOrExpression()
- * @generated
- */
- int OR_EXPRESSION = 18;
-
- /**
- * The feature id for the 'Left' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int OR_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Right' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int OR_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Or Expression' class.
- *
- *
- * @generated
- * @ordered
- */
- int OR_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AndExpressionImpl And Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AndExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAndExpression()
- * @generated
- */
- int AND_EXPRESSION = 19;
-
- /**
- * The feature id for the 'Left' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int AND_EXPRESSION__LEFT = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Right' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int AND_EXPRESSION__RIGHT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'And Expression' class.
- *
- *
- * @generated
- * @ordered
- */
- int AND_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NotExpressionImpl Not Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NotExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getNotExpression()
- * @generated
- */
- int NOT_EXPRESSION = 20;
-
- /**
- * The feature id for the 'Value' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int NOT_EXPRESSION__VALUE = EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Not Expression' class.
- *
- *
- * @generated
- * @ordered
- */
- int NOT_EXPRESSION_FEATURE_COUNT = EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SkipImpl Skip}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SkipImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getSkip()
- * @generated
- */
- int SKIP = 21;
-
- /**
- * The feature id for the 'Guard' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int SKIP__GUARD = RULE_OPTIONS__GUARD;
-
- /**
- * The feature id for the 'Guarded' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int SKIP__GUARDED = RULE_OPTIONS__GUARDED;
-
- /**
- * The feature id for the 'Options' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int SKIP__OPTIONS = RULE_OPTIONS__OPTIONS;
-
- /**
- * The feature id for the 'Element' containment reference.
- *
- *
- * @generated
- * @ordered
- */
- int SKIP__ELEMENT = RULE_OPTIONS__ELEMENT;
-
- /**
- * The number of structural features of the 'Skip' class.
- *
- *
- * @generated
- * @ordered
- */
- int SKIP_FEATURE_COUNT = RULE_OPTIONS_FEATURE_COUNT + 0;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar Antlr Grammar}'.
- *
- *
- * @return the meta object for class 'Antlr Grammar'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar
- * @generated
- */
- EClass getAntlrGrammar();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getName Name}'.
- *
- *
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getName()
- * @see #getAntlrGrammar()
- * @generated
- */
- EAttribute getAntlrGrammar_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getOptions Options}'.
- *
- *
- * @return the meta object for the containment reference 'Options'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getOptions()
- * @see #getAntlrGrammar()
- * @generated
- */
- EReference getAntlrGrammar_Options();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getRules Rules}'.
- *
- *
- * @return the meta object for the containment reference list 'Rules'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar#getRules()
- * @see #getAntlrGrammar()
- * @generated
- */
- EReference getAntlrGrammar_Rules();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options Options}'.
- *
- *
- * @return the meta object for class 'Options'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options
- * @generated
- */
- EClass getOptions();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options#getOptionValues Option Values}'.
- *
- *
- * @return the meta object for the containment reference list 'Option Values'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options#getOptionValues()
- * @see #getOptions()
- * @generated
- */
- EReference getOptions_OptionValues();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue Option Value}'.
- *
- *
- * @return the meta object for class 'Option Value'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue
- * @generated
- */
- EClass getOptionValue();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getKey Key}'.
- *
- *
- * @return the meta object for the attribute 'Key'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getKey()
- * @see #getOptionValue()
- * @generated
- */
- EAttribute getOptionValue_Key();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getValue Value}'.
- *
- *
- * @return the meta object for the attribute 'Value'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue#getValue()
- * @see #getOptionValue()
- * @generated
- */
- EAttribute getOptionValue_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule Rule}'.
- *
- *
- * @return the meta object for class 'Rule'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule
- * @generated
- */
- EClass getRule();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#isFragment Fragment}'.
- *
- *
- * @return the meta object for the attribute 'Fragment'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#isFragment()
- * @see #getRule()
- * @generated
- */
- EAttribute getRule_Fragment();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getName Name}'.
- *
- *
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getName()
- * @see #getRule()
- * @generated
- */
- EAttribute getRule_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getParameters Parameters}'.
- *
- *
- * @return the meta object for the containment reference list 'Parameters'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getParameters()
- * @see #getRule()
- * @generated
- */
- EReference getRule_Parameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getBody Body}'.
- *
- *
- * @return the meta object for the containment reference 'Body'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule#getBody()
- * @see #getRule()
- * @generated
- */
- EReference getRule_Body();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter Parameter}'.
- *
- *
- * @return the meta object for class 'Parameter'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter
- * @generated
- */
- EClass getParameter();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getType Type}'.
- *
- *
- * @return the meta object for the attribute 'Type'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getType()
- * @see #getParameter()
- * @generated
- */
- EAttribute getParameter_Type();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getName Name}'.
- *
- *
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter#getName()
- * @see #getParameter()
- * @generated
- */
- EAttribute getParameter_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement Rule Element}'.
- *
- *
- * @return the meta object for class 'Rule Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement
- * @generated
- */
- EClass getRuleElement();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuard Guard}'.
- *
- *
- * @return the meta object for the containment reference 'Guard'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuard()
- * @see #getRuleElement()
- * @generated
- */
- EReference getRuleElement_Guard();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuarded Guarded}'.
- *
- *
- * @return the meta object for the containment reference 'Guarded'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement#getGuarded()
- * @see #getRuleElement()
- * @generated
- */
- EReference getRuleElement_Guarded();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Expression Expression}'.
- *
- *
- * @return the meta object for class 'Expression'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Expression
- * @generated
- */
- EClass getExpression();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral Reference Or Literal}'.
- *
- *
- * @return the meta object for class 'Reference Or Literal'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral
- * @generated
- */
- EClass getReferenceOrLiteral();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral#getName Name}'.
- *
- *
- * @return the meta object for the attribute 'Name'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral#getName()
- * @see #getReferenceOrLiteral()
- * @generated
- */
- EAttribute getReferenceOrLiteral_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated Predicated}'.
- *
- *
- * @return the meta object for class 'Predicated'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated
- * @generated
- */
- EClass getPredicated();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getPredicate Predicate}'.
- *
- *
- * @return the meta object for the containment reference 'Predicate'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getPredicate()
- * @see #getPredicated()
- * @generated
- */
- EReference getPredicated_Predicate();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getElement Element}'.
- *
- *
- * @return the meta object for the containment reference 'Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated#getElement()
- * @see #getPredicated()
- * @generated
- */
- EReference getPredicated_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions Rule Options}'.
- *
- *
- * @return the meta object for class 'Rule Options'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions
- * @generated
- */
- EClass getRuleOptions();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getOptions Options}'.
- *
- *
- * @return the meta object for the containment reference 'Options'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getOptions()
- * @see #getRuleOptions()
- * @generated
- */
- EReference getRuleOptions_Options();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getElement Element}'.
- *
- *
- * @return the meta object for the containment reference 'Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions#getElement()
- * @see #getRuleOptions()
- * @generated
- */
- EReference getRuleOptions_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall Rule Call}'.
- *
- *
- * @return the meta object for class 'Rule Call'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall
- * @generated
- */
- EClass getRuleCall();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall#getRule Rule}'.
- *
- *
- * @return the meta object for the attribute 'Rule'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall#getRule()
- * @see #getRuleCall()
- * @generated
- */
- EAttribute getRuleCall_Rule();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall#getArguments Arguments}'.
- *
- *
- * @return the meta object for the containment reference list 'Arguments'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall#getArguments()
- * @see #getRuleCall()
- * @generated
- */
- EReference getRuleCall_Arguments();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword Keyword}'.
- *
- *
- * @return the meta object for class 'Keyword'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword
- * @generated
- */
- EClass getKeyword();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword#getValue Value}'.
- *
- *
- * @return the meta object for the attribute 'Value'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword#getValue()
- * @see #getKeyword()
- * @generated
- */
- EAttribute getKeyword_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Wildcard Wildcard}'.
- *
- *
- * @return the meta object for class 'Wildcard'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Wildcard
- * @generated
- */
- EClass getWildcard();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives Alternatives}'.
- *
- *
- * @return the meta object for class 'Alternatives'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives
- * @generated
- */
- EClass getAlternatives();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives#getGroups Groups}'.
- *
- *
- * @return the meta object for the containment reference list 'Groups'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives#getGroups()
- * @see #getAlternatives()
- * @generated
- */
- EReference getAlternatives_Groups();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group Group}'.
- *
- *
- * @return the meta object for class 'Group'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group
- * @generated
- */
- EClass getGroup();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group#getElements Elements}'.
- *
- *
- * @return the meta object for the containment reference list 'Elements'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group#getElements()
- * @see #getGroup()
- * @generated
- */
- EReference getGroup_Elements();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality Element With Cardinality}'.
- *
- *
- * @return the meta object for class 'Element With Cardinality'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality
- * @generated
- */
- EClass getElementWithCardinality();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getElement Element}'.
- *
- *
- * @return the meta object for the containment reference 'Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getElement()
- * @see #getElementWithCardinality()
- * @generated
- */
- EReference getElementWithCardinality_Element();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getCardinality Cardinality}'.
- *
- *
- * @return the meta object for the attribute 'Cardinality'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality#getCardinality()
- * @see #getElementWithCardinality()
- * @generated
- */
- EAttribute getElementWithCardinality_Cardinality();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement Negated Element}'.
- *
- *
- * @return the meta object for class 'Negated Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement
- * @generated
- */
- EClass getNegatedElement();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement#getElement Element}'.
- *
- *
- * @return the meta object for the containment reference 'Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement#getElement()
- * @see #getNegatedElement()
- * @generated
- */
- EReference getNegatedElement_Element();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement Until Element}'.
- *
- *
- * @return the meta object for class 'Until Element'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement
- * @generated
- */
- EClass getUntilElement();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getLeft Left}'.
- *
- *
- * @return the meta object for the containment reference 'Left'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getLeft()
- * @see #getUntilElement()
- * @generated
- */
- EReference getUntilElement_Left();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getRight Right}'.
- *
- *
- * @return the meta object for the containment reference 'Right'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getRight()
- * @see #getUntilElement()
- * @generated
- */
- EReference getUntilElement_Right();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression Or Expression}'.
- *
- *
- * @return the meta object for class 'Or Expression'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression
- * @generated
- */
- EClass getOrExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getLeft Left}'.
- *
- *
- * @return the meta object for the containment reference 'Left'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getLeft()
- * @see #getOrExpression()
- * @generated
- */
- EReference getOrExpression_Left();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getRight Right}'.
- *
- *
- * @return the meta object for the containment reference 'Right'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression#getRight()
- * @see #getOrExpression()
- * @generated
- */
- EReference getOrExpression_Right();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression And Expression}'.
- *
- *
- * @return the meta object for class 'And Expression'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression
- * @generated
- */
- EClass getAndExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getLeft Left}'.
- *
- *
- * @return the meta object for the containment reference 'Left'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getLeft()
- * @see #getAndExpression()
- * @generated
- */
- EReference getAndExpression_Left();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getRight Right}'.
- *
- *
- * @return the meta object for the containment reference 'Right'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression#getRight()
- * @see #getAndExpression()
- * @generated
- */
- EReference getAndExpression_Right();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression Not Expression}'.
- *
- *
- * @return the meta object for class 'Not Expression'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression
- * @generated
- */
- EClass getNotExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression#getValue Value}'.
- *
- *
- * @return the meta object for the containment reference 'Value'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression#getValue()
- * @see #getNotExpression()
- * @generated
- */
- EReference getNotExpression_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Skip Skip}'.
- *
- *
- * @return the meta object for class 'Skip'.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Skip
- * @generated
- */
- EClass getSkip();
-
- /**
- * Returns the factory that creates the instances of the model.
- *
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- SimpleAntlrFactory getSimpleAntlrFactory();
-
- /**
- *
- * Defines literals for the meta objects that represent
- *
- *
each class,
- *
each feature of each class,
- *
each enum,
- *
and each data type
- *
- *
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AntlrGrammarImpl Antlr Grammar}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AntlrGrammarImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAntlrGrammar()
- * @generated
- */
- EClass ANTLR_GRAMMAR = eINSTANCE.getAntlrGrammar();
-
- /**
- * The meta object literal for the 'Name' attribute feature.
- *
- *
- * @generated
- */
- EAttribute ANTLR_GRAMMAR__NAME = eINSTANCE.getAntlrGrammar_Name();
-
- /**
- * The meta object literal for the 'Options' containment reference feature.
- *
- *
- * @generated
- */
- EReference ANTLR_GRAMMAR__OPTIONS = eINSTANCE.getAntlrGrammar_Options();
-
- /**
- * The meta object literal for the 'Rules' containment reference list feature.
- *
- *
- * @generated
- */
- EReference ANTLR_GRAMMAR__RULES = eINSTANCE.getAntlrGrammar_Rules();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionsImpl Options}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionsImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOptions()
- * @generated
- */
- EClass OPTIONS = eINSTANCE.getOptions();
-
- /**
- * The meta object literal for the 'Option Values' containment reference list feature.
- *
- *
- * @generated
- */
- EReference OPTIONS__OPTION_VALUES = eINSTANCE.getOptions_OptionValues();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionValueImpl Option Value}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OptionValueImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOptionValue()
- * @generated
- */
- EClass OPTION_VALUE = eINSTANCE.getOptionValue();
-
- /**
- * The meta object literal for the 'Key' attribute feature.
- *
- *
- * @generated
- */
- EAttribute OPTION_VALUE__KEY = eINSTANCE.getOptionValue_Key();
-
- /**
- * The meta object literal for the 'Value' attribute feature.
- *
- *
- * @generated
- */
- EAttribute OPTION_VALUE__VALUE = eINSTANCE.getOptionValue_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleImpl Rule}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRule()
- * @generated
- */
- EClass RULE = eINSTANCE.getRule();
-
- /**
- * The meta object literal for the 'Fragment' attribute feature.
- *
- *
- * @generated
- */
- EAttribute RULE__FRAGMENT = eINSTANCE.getRule_Fragment();
-
- /**
- * The meta object literal for the 'Name' attribute feature.
- *
- *
- * @generated
- */
- EAttribute RULE__NAME = eINSTANCE.getRule_Name();
-
- /**
- * The meta object literal for the 'Parameters' containment reference list feature.
- *
- *
- * @generated
- */
- EReference RULE__PARAMETERS = eINSTANCE.getRule_Parameters();
-
- /**
- * The meta object literal for the 'Body' containment reference feature.
- *
- *
- * @generated
- */
- EReference RULE__BODY = eINSTANCE.getRule_Body();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ParameterImpl Parameter}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ParameterImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getParameter()
- * @generated
- */
- EClass PARAMETER = eINSTANCE.getParameter();
-
- /**
- * The meta object literal for the 'Type' attribute feature.
- *
- *
- * @generated
- */
- EAttribute PARAMETER__TYPE = eINSTANCE.getParameter_Type();
-
- /**
- * The meta object literal for the 'Name' attribute feature.
- *
- *
- * @generated
- */
- EAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleElementImpl Rule Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleElement()
- * @generated
- */
- EClass RULE_ELEMENT = eINSTANCE.getRuleElement();
-
- /**
- * The meta object literal for the 'Guard' containment reference feature.
- *
- *
- * @generated
- */
- EReference RULE_ELEMENT__GUARD = eINSTANCE.getRuleElement_Guard();
-
- /**
- * The meta object literal for the 'Guarded' containment reference feature.
- *
- *
- * @generated
- */
- EReference RULE_ELEMENT__GUARDED = eINSTANCE.getRuleElement_Guarded();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ExpressionImpl Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getExpression()
- * @generated
- */
- EClass EXPRESSION = eINSTANCE.getExpression();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ReferenceOrLiteralImpl Reference Or Literal}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ReferenceOrLiteralImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getReferenceOrLiteral()
- * @generated
- */
- EClass REFERENCE_OR_LITERAL = eINSTANCE.getReferenceOrLiteral();
-
- /**
- * The meta object literal for the 'Name' attribute feature.
- *
- *
- * @generated
- */
- EAttribute REFERENCE_OR_LITERAL__NAME = eINSTANCE.getReferenceOrLiteral_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.PredicatedImpl Predicated}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.PredicatedImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getPredicated()
- * @generated
- */
- EClass PREDICATED = eINSTANCE.getPredicated();
-
- /**
- * The meta object literal for the 'Predicate' containment reference feature.
- *
- *
- * @generated
- */
- EReference PREDICATED__PREDICATE = eINSTANCE.getPredicated_Predicate();
-
- /**
- * The meta object literal for the 'Element' containment reference feature.
- *
- *
- * @generated
- */
- EReference PREDICATED__ELEMENT = eINSTANCE.getPredicated_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleOptionsImpl Rule Options}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleOptionsImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleOptions()
- * @generated
- */
- EClass RULE_OPTIONS = eINSTANCE.getRuleOptions();
-
- /**
- * The meta object literal for the 'Options' containment reference feature.
- *
- *
- * @generated
- */
- EReference RULE_OPTIONS__OPTIONS = eINSTANCE.getRuleOptions_Options();
-
- /**
- * The meta object literal for the 'Element' containment reference feature.
- *
- *
- * @generated
- */
- EReference RULE_OPTIONS__ELEMENT = eINSTANCE.getRuleOptions_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleCallImpl Rule Call}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.RuleCallImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getRuleCall()
- * @generated
- */
- EClass RULE_CALL = eINSTANCE.getRuleCall();
-
- /**
- * The meta object literal for the 'Rule' attribute feature.
- *
- *
- * @generated
- */
- EAttribute RULE_CALL__RULE = eINSTANCE.getRuleCall_Rule();
-
- /**
- * The meta object literal for the 'Arguments' containment reference list feature.
- *
- *
- * @generated
- */
- EReference RULE_CALL__ARGUMENTS = eINSTANCE.getRuleCall_Arguments();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.KeywordImpl Keyword}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.KeywordImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getKeyword()
- * @generated
- */
- EClass KEYWORD = eINSTANCE.getKeyword();
-
- /**
- * The meta object literal for the 'Value' attribute feature.
- *
- *
- * @generated
- */
- EAttribute KEYWORD__VALUE = eINSTANCE.getKeyword_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.WildcardImpl Wildcard}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.WildcardImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getWildcard()
- * @generated
- */
- EClass WILDCARD = eINSTANCE.getWildcard();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AlternativesImpl Alternatives}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AlternativesImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAlternatives()
- * @generated
- */
- EClass ALTERNATIVES = eINSTANCE.getAlternatives();
-
- /**
- * The meta object literal for the 'Groups' containment reference list feature.
- *
- *
- * @generated
- */
- EReference ALTERNATIVES__GROUPS = eINSTANCE.getAlternatives_Groups();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.GroupImpl Group}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.GroupImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getGroup()
- * @generated
- */
- EClass GROUP = eINSTANCE.getGroup();
-
- /**
- * The meta object literal for the 'Elements' containment reference list feature.
- *
- *
- * @generated
- */
- EReference GROUP__ELEMENTS = eINSTANCE.getGroup_Elements();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ElementWithCardinalityImpl Element With Cardinality}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.ElementWithCardinalityImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getElementWithCardinality()
- * @generated
- */
- EClass ELEMENT_WITH_CARDINALITY = eINSTANCE.getElementWithCardinality();
-
- /**
- * The meta object literal for the 'Element' containment reference feature.
- *
- *
- * @generated
- */
- EReference ELEMENT_WITH_CARDINALITY__ELEMENT = eINSTANCE.getElementWithCardinality_Element();
-
- /**
- * The meta object literal for the 'Cardinality' attribute feature.
- *
- *
- * @generated
- */
- EAttribute ELEMENT_WITH_CARDINALITY__CARDINALITY = eINSTANCE.getElementWithCardinality_Cardinality();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NegatedElementImpl Negated Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NegatedElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getNegatedElement()
- * @generated
- */
- EClass NEGATED_ELEMENT = eINSTANCE.getNegatedElement();
-
- /**
- * The meta object literal for the 'Element' containment reference feature.
- *
- *
- * @generated
- */
- EReference NEGATED_ELEMENT__ELEMENT = eINSTANCE.getNegatedElement_Element();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.UntilElementImpl Until Element}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.UntilElementImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getUntilElement()
- * @generated
- */
- EClass UNTIL_ELEMENT = eINSTANCE.getUntilElement();
-
- /**
- * The meta object literal for the 'Left' containment reference feature.
- *
- *
- * @generated
- */
- EReference UNTIL_ELEMENT__LEFT = eINSTANCE.getUntilElement_Left();
-
- /**
- * The meta object literal for the 'Right' containment reference feature.
- *
- *
- * @generated
- */
- EReference UNTIL_ELEMENT__RIGHT = eINSTANCE.getUntilElement_Right();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OrExpressionImpl Or Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.OrExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getOrExpression()
- * @generated
- */
- EClass OR_EXPRESSION = eINSTANCE.getOrExpression();
-
- /**
- * The meta object literal for the 'Left' containment reference feature.
- *
- *
- * @generated
- */
- EReference OR_EXPRESSION__LEFT = eINSTANCE.getOrExpression_Left();
-
- /**
- * The meta object literal for the 'Right' containment reference feature.
- *
- *
- * @generated
- */
- EReference OR_EXPRESSION__RIGHT = eINSTANCE.getOrExpression_Right();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AndExpressionImpl And Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.AndExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getAndExpression()
- * @generated
- */
- EClass AND_EXPRESSION = eINSTANCE.getAndExpression();
-
- /**
- * The meta object literal for the 'Left' containment reference feature.
- *
- *
- * @generated
- */
- EReference AND_EXPRESSION__LEFT = eINSTANCE.getAndExpression_Left();
-
- /**
- * The meta object literal for the 'Right' containment reference feature.
- *
- *
- * @generated
- */
- EReference AND_EXPRESSION__RIGHT = eINSTANCE.getAndExpression_Right();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NotExpressionImpl Not Expression}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.NotExpressionImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getNotExpression()
- * @generated
- */
- EClass NOT_EXPRESSION = eINSTANCE.getNotExpression();
-
- /**
- * The meta object literal for the 'Value' containment reference feature.
- *
- *
- * @generated
- */
- EReference NOT_EXPRESSION__VALUE = eINSTANCE.getNotExpression_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SkipImpl Skip}' class.
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SkipImpl
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl.SimpleAntlrPackageImpl#getSkip()
- * @generated
- */
- EClass SKIP = eINSTANCE.getSkip();
-
- }
-
-} //SimpleAntlrPackage
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Skip.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Skip.java
deleted file mode 100644
index 886896f98e9..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Skip.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Skip'.
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getSkip()
- * @model
- * @generated
- */
-public interface Skip extends RuleOptions
-{
-} // Skip
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/UntilElement.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/UntilElement.java
deleted file mode 100644
index 1a864843e94..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/UntilElement.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Until Element'.
- *
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getUntilElement()
- * @model
- * @generated
- */
-public interface UntilElement extends RuleElement
-{
- /**
- * Returns the value of the 'Left' containment reference.
- *
- *
- * If the meaning of the 'Left' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Left' containment reference.
- * @see #setLeft(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getUntilElement_Left()
- * @model containment="true"
- * @generated
- */
- RuleElement getLeft();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getLeft Left}' containment reference.
- *
- *
- * @param value the new value of the 'Left' containment reference.
- * @see #getLeft()
- * @generated
- */
- void setLeft(RuleElement value);
-
- /**
- * Returns the value of the 'Right' containment reference.
- *
- *
- * If the meaning of the 'Right' containment reference isn't clear,
- * there really should be more of a description here...
- *
- *
- * @return the value of the 'Right' containment reference.
- * @see #setRight(RuleElement)
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getUntilElement_Right()
- * @model containment="true"
- * @generated
- */
- RuleElement getRight();
-
- /**
- * Sets the value of the '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement#getRight Right}' containment reference.
- *
- *
- * @param value the new value of the 'Right' containment reference.
- * @see #getRight()
- * @generated
- */
- void setRight(RuleElement value);
-
-} // UntilElement
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Wildcard.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Wildcard.java
deleted file mode 100644
index 40a0e1a1d9b..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/Wildcard.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr;
-
-
-/**
- *
- * A representation of the model object 'Wildcard'.
- *
- *
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#getWildcard()
- * @model
- * @generated
- */
-public interface Wildcard extends RuleElement
-{
-} // Wildcard
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/AlternativesImpl.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/AlternativesImpl.java
deleted file mode 100644
index 176a1a86e4d..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/AlternativesImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives;
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement;
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage;
-
-/**
- *
- * An implementation of the model object 'Alternatives'.
- *
- *
Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- *
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private SimpleAntlrPackageImpl()
- {
- super(eNS_URI, SimpleAntlrFactory.eINSTANCE);
- }
-
- /**
- *
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
- *
- *
- *
- * @generated
- */
-public class UntilElementImpl extends RuleElementImpl implements UntilElement
-{
- /**
- * The cached value of the '{@link #getLeft() Left}' containment reference.
- *
- *
- * @see #getLeft()
- * @generated
- * @ordered
- */
- protected RuleElement left;
-
- /**
- * The cached value of the '{@link #getRight() Right}' containment reference.
- *
- *
- * @see #getRight()
- * @generated
- * @ordered
- */
- protected RuleElement right;
-
- /**
- *
- *
- * @generated
- */
- protected UntilElementImpl()
- {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return SimpleAntlrPackage.Literals.UNTIL_ELEMENT;
- }
-
- /**
- *
- *
- * @generated
- */
- public RuleElement getLeft()
- {
- return left;
- }
-
- /**
- *
- *
- * @generated
- */
- public NotificationChain basicSetLeft(RuleElement newLeft, NotificationChain msgs)
- {
- RuleElement oldLeft = left;
- left = newLeft;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.UNTIL_ELEMENT__LEFT, oldLeft, newLeft);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setLeft(RuleElement newLeft)
- {
- if (newLeft != left)
- {
- NotificationChain msgs = null;
- if (left != null)
- msgs = ((InternalEObject)left).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.UNTIL_ELEMENT__LEFT, null, msgs);
- if (newLeft != null)
- msgs = ((InternalEObject)newLeft).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.UNTIL_ELEMENT__LEFT, null, msgs);
- msgs = basicSetLeft(newLeft, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.UNTIL_ELEMENT__LEFT, newLeft, newLeft));
- }
-
- /**
- *
- *
- * @generated
- */
- public RuleElement getRight()
- {
- return right;
- }
-
- /**
- *
- *
- * @generated
- */
- public NotificationChain basicSetRight(RuleElement newRight, NotificationChain msgs)
- {
- RuleElement oldRight = right;
- right = newRight;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT, oldRight, newRight);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- *
- *
- * @generated
- */
- public void setRight(RuleElement newRight)
- {
- if (newRight != right)
- {
- NotificationChain msgs = null;
- if (right != null)
- msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT, null, msgs);
- if (newRight != null)
- msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT, null, msgs);
- msgs = basicSetRight(newRight, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT, newRight, newRight));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case SimpleAntlrPackage.UNTIL_ELEMENT__LEFT:
- return basicSetLeft(null, msgs);
- case SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT:
- return basicSetRight(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case SimpleAntlrPackage.UNTIL_ELEMENT__LEFT:
- return getLeft();
- case SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT:
- return getRight();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case SimpleAntlrPackage.UNTIL_ELEMENT__LEFT:
- setLeft((RuleElement)newValue);
- return;
- case SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT:
- setRight((RuleElement)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case SimpleAntlrPackage.UNTIL_ELEMENT__LEFT:
- setLeft((RuleElement)null);
- return;
- case SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT:
- setRight((RuleElement)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case SimpleAntlrPackage.UNTIL_ELEMENT__LEFT:
- return left != null;
- case SimpleAntlrPackage.UNTIL_ELEMENT__RIGHT:
- return right != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //UntilElementImpl
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/WildcardImpl.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/WildcardImpl.java
deleted file mode 100644
index 26c00c17e89..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/impl/WildcardImpl.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage;
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Wildcard;
-
-/**
- *
- * An implementation of the model object 'Wildcard'.
- *
- *
- * @generated
- */
-public class WildcardImpl extends RuleElementImpl implements Wildcard
-{
- /**
- *
- *
- * @generated
- */
- protected WildcardImpl()
- {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return SimpleAntlrPackage.Literals.WILDCARD;
- }
-
-} //WildcardImpl
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrAdapterFactory.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrAdapterFactory.java
deleted file mode 100644
index 8f9425099c2..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrAdapterFactory.java
+++ /dev/null
@@ -1,552 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.*;
-
-/**
- *
- * The Adapter Factory for the model.
- * It provides an adapter createXXX method for each class of the model.
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage
- * @generated
- */
-public class SimpleAntlrAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- *
- *
- * @generated
- */
- protected static SimpleAntlrPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- *
- *
- * @generated
- */
- public SimpleAntlrAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = SimpleAntlrPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- *
- * This implementation returns true if the object is either the model's package or is an instance object of the model.
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the createXXX methods.
- *
- *
- * @generated
- */
- protected SimpleAntlrSwitch modelSwitch =
- new SimpleAntlrSwitch()
- {
- @Override
- public Adapter caseAntlrGrammar(AntlrGrammar object)
- {
- return createAntlrGrammarAdapter();
- }
- @Override
- public Adapter caseOptions(Options object)
- {
- return createOptionsAdapter();
- }
- @Override
- public Adapter caseOptionValue(OptionValue object)
- {
- return createOptionValueAdapter();
- }
- @Override
- public Adapter caseRule(Rule object)
- {
- return createRuleAdapter();
- }
- @Override
- public Adapter caseParameter(Parameter object)
- {
- return createParameterAdapter();
- }
- @Override
- public Adapter caseRuleElement(RuleElement object)
- {
- return createRuleElementAdapter();
- }
- @Override
- public Adapter caseExpression(Expression object)
- {
- return createExpressionAdapter();
- }
- @Override
- public Adapter caseReferenceOrLiteral(ReferenceOrLiteral object)
- {
- return createReferenceOrLiteralAdapter();
- }
- @Override
- public Adapter casePredicated(Predicated object)
- {
- return createPredicatedAdapter();
- }
- @Override
- public Adapter caseRuleOptions(RuleOptions object)
- {
- return createRuleOptionsAdapter();
- }
- @Override
- public Adapter caseRuleCall(RuleCall object)
- {
- return createRuleCallAdapter();
- }
- @Override
- public Adapter caseKeyword(Keyword object)
- {
- return createKeywordAdapter();
- }
- @Override
- public Adapter caseWildcard(Wildcard object)
- {
- return createWildcardAdapter();
- }
- @Override
- public Adapter caseAlternatives(Alternatives object)
- {
- return createAlternativesAdapter();
- }
- @Override
- public Adapter caseGroup(Group object)
- {
- return createGroupAdapter();
- }
- @Override
- public Adapter caseElementWithCardinality(ElementWithCardinality object)
- {
- return createElementWithCardinalityAdapter();
- }
- @Override
- public Adapter caseNegatedElement(NegatedElement object)
- {
- return createNegatedElementAdapter();
- }
- @Override
- public Adapter caseUntilElement(UntilElement object)
- {
- return createUntilElementAdapter();
- }
- @Override
- public Adapter caseOrExpression(OrExpression object)
- {
- return createOrExpressionAdapter();
- }
- @Override
- public Adapter caseAndExpression(AndExpression object)
- {
- return createAndExpressionAdapter();
- }
- @Override
- public Adapter caseNotExpression(NotExpression object)
- {
- return createNotExpressionAdapter();
- }
- @Override
- public Adapter caseSkip(Skip object)
- {
- return createSkipAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the target.
- *
- *
- * @param target the object to adapt.
- * @return the adapter for the target.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar Antlr Grammar}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AntlrGrammar
- * @generated
- */
- public Adapter createAntlrGrammarAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options Options}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Options
- * @generated
- */
- public Adapter createOptionsAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue Option Value}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OptionValue
- * @generated
- */
- public Adapter createOptionValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule Rule}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Rule
- * @generated
- */
- public Adapter createRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter Parameter}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Parameter
- * @generated
- */
- public Adapter createParameterAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement Rule Element}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleElement
- * @generated
- */
- public Adapter createRuleElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Expression Expression}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Expression
- * @generated
- */
- public Adapter createExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral Reference Or Literal}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ReferenceOrLiteral
- * @generated
- */
- public Adapter createReferenceOrLiteralAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated Predicated}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Predicated
- * @generated
- */
- public Adapter createPredicatedAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions Rule Options}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleOptions
- * @generated
- */
- public Adapter createRuleOptionsAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall Rule Call}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.RuleCall
- * @generated
- */
- public Adapter createRuleCallAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword Keyword}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Keyword
- * @generated
- */
- public Adapter createKeywordAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Wildcard Wildcard}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Wildcard
- * @generated
- */
- public Adapter createWildcardAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives Alternatives}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Alternatives
- * @generated
- */
- public Adapter createAlternativesAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group Group}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Group
- * @generated
- */
- public Adapter createGroupAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality Element With Cardinality}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.ElementWithCardinality
- * @generated
- */
- public Adapter createElementWithCardinalityAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement Negated Element}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NegatedElement
- * @generated
- */
- public Adapter createNegatedElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement Until Element}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.UntilElement
- * @generated
- */
- public Adapter createUntilElementAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression Or Expression}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.OrExpression
- * @generated
- */
- public Adapter createOrExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression And Expression}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.AndExpression
- * @generated
- */
- public Adapter createAndExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression Not Expression}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.NotExpression
- * @generated
- */
- public Adapter createNotExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Skip Skip}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.Skip
- * @generated
- */
- public Adapter createSkipAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- *
- * This default implementation returns null.
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //SimpleAntlrAdapterFactory
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrSwitch.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrSwitch.java
deleted file mode 100644
index 7dc7a821208..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/simpleAntlr/util/SimpleAntlrSwitch.java
+++ /dev/null
@@ -1,618 +0,0 @@
-/**
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.*;
-
-/**
- *
- * The Switch for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the caseXXX method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- *
- * @see org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage
- * @generated
- */
-public class SimpleAntlrSwitch extends Switch
-{
- /**
- * The cached model package
- *
- *
- * @generated
- */
- protected static SimpleAntlrPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- *
- *
- * @generated
- */
- public SimpleAntlrSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = SimpleAntlrPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- *
- *
- * @param ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
- *
- *
- * @return the first non-null result returned by a caseXXX call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case SimpleAntlrPackage.ANTLR_GRAMMAR:
- {
- AntlrGrammar antlrGrammar = (AntlrGrammar)theEObject;
- T result = caseAntlrGrammar(antlrGrammar);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.OPTIONS:
- {
- Options options = (Options)theEObject;
- T result = caseOptions(options);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.OPTION_VALUE:
- {
- OptionValue optionValue = (OptionValue)theEObject;
- T result = caseOptionValue(optionValue);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.RULE:
- {
- Rule rule = (Rule)theEObject;
- T result = caseRule(rule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.PARAMETER:
- {
- Parameter parameter = (Parameter)theEObject;
- T result = caseParameter(parameter);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.RULE_ELEMENT:
- {
- RuleElement ruleElement = (RuleElement)theEObject;
- T result = caseRuleElement(ruleElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.EXPRESSION:
- {
- Expression expression = (Expression)theEObject;
- T result = caseExpression(expression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.REFERENCE_OR_LITERAL:
- {
- ReferenceOrLiteral referenceOrLiteral = (ReferenceOrLiteral)theEObject;
- T result = caseReferenceOrLiteral(referenceOrLiteral);
- if (result == null) result = caseExpression(referenceOrLiteral);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.PREDICATED:
- {
- Predicated predicated = (Predicated)theEObject;
- T result = casePredicated(predicated);
- if (result == null) result = caseRuleElement(predicated);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.RULE_OPTIONS:
- {
- RuleOptions ruleOptions = (RuleOptions)theEObject;
- T result = caseRuleOptions(ruleOptions);
- if (result == null) result = caseRuleElement(ruleOptions);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.RULE_CALL:
- {
- RuleCall ruleCall = (RuleCall)theEObject;
- T result = caseRuleCall(ruleCall);
- if (result == null) result = caseRuleElement(ruleCall);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.KEYWORD:
- {
- Keyword keyword = (Keyword)theEObject;
- T result = caseKeyword(keyword);
- if (result == null) result = caseRuleElement(keyword);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.WILDCARD:
- {
- Wildcard wildcard = (Wildcard)theEObject;
- T result = caseWildcard(wildcard);
- if (result == null) result = caseRuleElement(wildcard);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.ALTERNATIVES:
- {
- Alternatives alternatives = (Alternatives)theEObject;
- T result = caseAlternatives(alternatives);
- if (result == null) result = caseRuleElement(alternatives);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.GROUP:
- {
- Group group = (Group)theEObject;
- T result = caseGroup(group);
- if (result == null) result = caseRuleElement(group);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.ELEMENT_WITH_CARDINALITY:
- {
- ElementWithCardinality elementWithCardinality = (ElementWithCardinality)theEObject;
- T result = caseElementWithCardinality(elementWithCardinality);
- if (result == null) result = caseRuleElement(elementWithCardinality);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.NEGATED_ELEMENT:
- {
- NegatedElement negatedElement = (NegatedElement)theEObject;
- T result = caseNegatedElement(negatedElement);
- if (result == null) result = caseRuleElement(negatedElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.UNTIL_ELEMENT:
- {
- UntilElement untilElement = (UntilElement)theEObject;
- T result = caseUntilElement(untilElement);
- if (result == null) result = caseRuleElement(untilElement);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.OR_EXPRESSION:
- {
- OrExpression orExpression = (OrExpression)theEObject;
- T result = caseOrExpression(orExpression);
- if (result == null) result = caseExpression(orExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.AND_EXPRESSION:
- {
- AndExpression andExpression = (AndExpression)theEObject;
- T result = caseAndExpression(andExpression);
- if (result == null) result = caseExpression(andExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.NOT_EXPRESSION:
- {
- NotExpression notExpression = (NotExpression)theEObject;
- T result = caseNotExpression(notExpression);
- if (result == null) result = caseExpression(notExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case SimpleAntlrPackage.SKIP:
- {
- Skip skip = (Skip)theEObject;
- T result = caseSkip(skip);
- if (result == null) result = caseRuleOptions(skip);
- if (result == null) result = caseRuleElement(skip);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Antlr Grammar'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Antlr Grammar'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAntlrGrammar(AntlrGrammar object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Options'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Options'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOptions(Options object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Option Value'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Option Value'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOptionValue(OptionValue object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Rule'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Rule'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRule(Rule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Parameter'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Parameter'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParameter(Parameter object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Rule Element'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Rule Element'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRuleElement(RuleElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Expression'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Expression'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseExpression(Expression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Reference Or Literal'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Reference Or Literal'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseReferenceOrLiteral(ReferenceOrLiteral object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Predicated'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Predicated'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePredicated(Predicated object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Rule Options'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Rule Options'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRuleOptions(RuleOptions object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Rule Call'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Rule Call'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRuleCall(RuleCall object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Keyword'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Keyword'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseKeyword(Keyword object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Wildcard'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Wildcard'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseWildcard(Wildcard object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Alternatives'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Alternatives'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAlternatives(Alternatives object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Group'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Group'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseGroup(Group object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Element With Cardinality'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Element With Cardinality'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseElementWithCardinality(ElementWithCardinality object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Negated Element'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Negated Element'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNegatedElement(NegatedElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Until Element'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Until Element'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUntilElement(UntilElement object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Or Expression'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Or Expression'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOrExpression(OrExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'And Expression'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'And Expression'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAndExpression(AndExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Not Expression'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Not Expression'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNotExpression(NotExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'Skip'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Skip'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSkip(Skip object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of 'EObject'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'EObject'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} //SimpleAntlrSwitch
diff --git a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/validation/AbstractSimpleAntlrJavaValidator.java b/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/validation/AbstractSimpleAntlrJavaValidator.java
deleted file mode 100644
index 834bdba511d..00000000000
--- a/org.eclipse.xtext.generator/src-gen/org/eclipse/xtext/generator/parser/antlr/debug/validation/AbstractSimpleAntlrJavaValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.xtext.generator.parser.antlr.debug.validation;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EPackage;
-
-@Deprecated(forRemoval = true)
-public class AbstractSimpleAntlrJavaValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator {
-
- @Override
- protected List getEPackages() {
- List result = new ArrayList();
- result.add(org.eclipse.xtext.generator.parser.antlr.debug.simpleAntlr.SimpleAntlrPackage.eINSTANCE);
- return result;
- }
-
-}
diff --git a/org.eclipse.xtext.generator/src/log4j.properties b/org.eclipse.xtext.generator/src/log4j.properties
deleted file mode 100644
index 8a7ad3dfd19..00000000000
--- a/org.eclipse.xtext.generator/src/log4j.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-log4j.rootLogger=INFO, default
-
-log4j.appender.default=org.apache.log4j.ConsoleAppender
-log4j.appender.default.layout=org.apache.log4j.PatternLayout
-log4j.appender.default.layout.ConversionPattern=%-4r [%t] %-5p %35.35c %x - %m%n
-
-log4j.logger.org.eclipse=INFO
-log4j.logger.org.eclipse.xtext=INFO
-log4j.logger.org.eclipse.xtext.parsetree.reconstr=INFO
\ No newline at end of file
diff --git a/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/AbstractGeneratorFragment.java b/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/AbstractGeneratorFragment.java
deleted file mode 100644
index 193d56af94c..00000000000
--- a/org.eclipse.xtext.generator/src/org/eclipse/xtext/generator/AbstractGeneratorFragment.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008, 2009 itemis AG (http://www.itemis.eu) and others.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License 2.0 which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * SPDX-License-Identifier: EPL-2.0
- *******************************************************************************/
-
-package org.eclipse.xtext.generator;
-
-import java.io.File;
-import java.io.IOException;
-import java.nio.charset.Charset;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.WrappedException;
-import org.eclipse.xpand2.XpandExecutionContext;
-import org.eclipse.xpand2.XpandFacade;
-import org.eclipse.xtext.Grammar;
-
-import com.google.common.io.Files;
-
-/**
- * Base class redirecting call backs to respective Xpand definitions. The template needs to have the same qualified name
- * the concrete subclass has.
- *
- * @author Sven Efftinge - Initial contribution and API
- */
-@Deprecated(forRemoval = true)
-public abstract class AbstractGeneratorFragment extends DefaultGeneratorFragment implements NamingAware{
-
- private Naming naming;
-
- @Override
- public void registerNaming(Naming naming) {
- this.naming = naming;
- }
-
- public Naming getNaming() {
- return naming;
- }
-
- protected String getTemplate() {
- return getClass().getName().replaceAll("\\.", "::");
- }
-
- @Override
- public void generate(Grammar grammar, XpandExecutionContext ctx) {
- XpandFacade.create(ctx).evaluate2(getTemplate() + "::generate", grammar, getParameters(grammar));
- }
-
- @Override
- public void addToPluginXmlRt(Grammar grammar, XpandExecutionContext ctx) {
- XpandFacade.create(ctx).evaluate2(getTemplate() + "::addToPluginXmlRt", grammar, getParameters(grammar));
- }
-
- @Override
- public void addToPluginXmlUi(Grammar grammar, XpandExecutionContext ctx) {
- XpandFacade.create(ctx).evaluate2(getTemplate() + "::addToPluginXmlUi", grammar, getParameters(grammar));
- }
-
- /**
- * @since 2.3
- * @Deprecated(forRemoval = true)
- */
- @Override
- @Deprecated(forRemoval = true)
- public void addToPluginXmlTests(Grammar grammar, XpandExecutionContext ctx) {
- XpandFacade.create(ctx).evaluate2(getTemplate() + "::addToPluginXmlTests", grammar, getParameters(grammar));
- }
-
- @Override
- public void addToStandaloneSetup(Grammar grammar, XpandExecutionContext ctx) {
- XpandFacade.create(ctx).evaluate2(getTemplate() + "::addToStandaloneSetup", grammar, getParameters(grammar));
- }
-
- protected List