From b9f39a928e8a1764f107c808e62c77217ee5031b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Spo=CC=88nemann?= Date: Tue, 12 Jul 2016 13:59:45 +0200 Subject: [PATCH] Generated SerializerLanguages --- ...gnmentFinderTestLanguageRuntimeModule.java | 127 +- ...ontextFinderTestLanguageRuntimeModule.java | 127 +- ...kenSequencerTestLanguageRuntimeModule.java | 127 +- ...actSequencerTestLanguageRuntimeModule.java | 137 +- ...ticSequencerTestLanguageRuntimeModule.java | 127 +- .../AssignmentFinderTestLanguage.ecore | 18 +- .../AssignmentFinderTestLanguage.genmodel | 13 +- ...rTestLanguageStandaloneSetupGenerated.java | 32 +- .../ContextFinderTestLanguage.ecore | 14 +- .../ContextFinderTestLanguage.genmodel | 13 +- ...rTestLanguageStandaloneSetupGenerated.java | 32 +- .../HiddenTokenSequencerTestLanguage.ecore | 4 +- .../HiddenTokenSequencerTestLanguage.genmodel | 13 +- ...rTestLanguageStandaloneSetupGenerated.java | 32 +- .../serializer/SequencerTestLanguage.ecore | 172 +- .../serializer/SequencerTestLanguage.genmodel | 12 +- ...rTestLanguageStandaloneSetupGenerated.java | 32 +- .../SyntacticSequencerTestLanguage.ecore | 56 +- .../SyntacticSequencerTestLanguage.genmodel | 13 +- ...rTestLanguageStandaloneSetupGenerated.java | 32 +- .../AssignmentFinderTestFactory.java | 1 + .../AssignmentFinderTestPackage.java | 1 + .../assignmentFinderTest/ContainmentRef.java | 1 + .../assignmentFinderTest/ContainmentRefN.java | 1 + .../assignmentFinderTest/CrossRef.java | 1 + .../assignmentFinderTest/EnumBool.java | 1 + .../assignmentFinderTest/EnumVal.java | 1 + .../assignmentFinderTest/KeywordBool.java | 1 + .../assignmentFinderTest/KeywordVal.java | 1 + .../assignmentFinderTest/MixedBool.java | 1 + .../assignmentFinderTest/MixedValue.java | 1 + .../assignmentFinderTest/Model.java | 1 + .../assignmentFinderTest/TerminalBool.java | 1 + .../assignmentFinderTest/TerminalVal.java | 1 + .../assignmentFinderTest/TestEnum.java | 1 + .../impl/AssignmentFinderTestFactoryImpl.java | 1 + .../impl/AssignmentFinderTestPackageImpl.java | 26 +- .../impl/ContainmentRefImpl.java | 1 + .../impl/ContainmentRefNImpl.java | 1 + .../impl/CrossRefImpl.java | 1 + .../impl/EnumBoolImpl.java | 1 + .../impl/EnumValImpl.java | 1 + .../impl/KeywordBoolImpl.java | 1 + .../impl/KeywordValImpl.java | 1 + .../impl/MixedBoolImpl.java | 1 + .../impl/MixedValueImpl.java | 1 + .../assignmentFinderTest/impl/ModelImpl.java | 1 + .../impl/TerminalBoolImpl.java | 1 + .../impl/TerminalValImpl.java | 1 + .../AssignmentFinderTestAdapterFactory.java | 1 + .../util/AssignmentFinderTestSwitch.java | 1 + .../AttributeExclusionTest.java | 1 + .../ContextFinderTestFactory.java | 1 + .../ContextFinderTestPackage.java | 1 + .../serializer/contextFinderTest/Model.java | 1 + .../contextFinderTest/NestedTypeChild.java | 1 + .../contextFinderTest/NestedTypeChild1.java | 1 + .../contextFinderTest/NestedTypeChild2.java | 1 + .../NestedTypeRecursiveTest.java | 1 + .../NestedTypeRecursiveTest1.java | 1 + .../NestedTypeRecursiveTest2.java | 1 + .../contextFinderTest/NestedTypeTest.java | 1 + .../contextFinderTest/NodeExclusion.java | 1 + .../contextFinderTest/NodeExclusionList.java | 1 + .../contextFinderTest/ParentRefTest1.java | 1 + .../contextFinderTest/ParentRefTest2.java | 1 + .../contextFinderTest/ParentRefTestChild.java | 1 + .../QuantityExclusionTest.java | 1 + .../contextFinderTest/ValueExclusionTest.java | 1 + .../ValueExclusionTestEn.java | 1 + .../impl/AttributeExclusionTestImpl.java | 1 + .../impl/ContextFinderTestFactoryImpl.java | 1 + .../impl/ContextFinderTestPackageImpl.java | 22 +- .../contextFinderTest/impl/ModelImpl.java | 1 + .../impl/NestedTypeChild1Impl.java | 1 + .../impl/NestedTypeChild2Impl.java | 1 + .../impl/NestedTypeChildImpl.java | 1 + .../impl/NestedTypeRecursiveTest1Impl.java | 1 + .../impl/NestedTypeRecursiveTest2Impl.java | 1 + .../impl/NestedTypeRecursiveTestImpl.java | 1 + .../impl/NestedTypeTestImpl.java | 1 + .../impl/NodeExclusionImpl.java | 1 + .../impl/NodeExclusionListImpl.java | 1 + .../impl/ParentRefTest1Impl.java | 1 + .../impl/ParentRefTest2Impl.java | 1 + .../impl/ParentRefTestChildImpl.java | 1 + .../impl/QuantityExclusionTestImpl.java | 1 + .../impl/ValueExclusionTestImpl.java | 1 + .../util/ContextFinderTestAdapterFactory.java | 1 + .../util/ContextFinderTestSwitch.java | 1 + .../hiddentokensequencertest/DomainModel.java | 1 + .../hiddentokensequencertest/Entity.java | 1 + .../HiddentokensequencertestFactory.java | 1 + .../HiddentokensequencertestPackage.java | 1 + .../hiddentokensequencertest/Model.java | 1 + .../impl/DomainModelImpl.java | 1 + .../impl/EntityImpl.java | 1 + .../HiddentokensequencertestFactoryImpl.java | 1 + .../HiddentokensequencertestPackageImpl.java | 12 +- .../impl/ModelImpl.java | 1 + ...iddentokensequencertestAdapterFactory.java | 1 + .../util/HiddentokensequencertestSwitch.java | 1 + ...derTestLanguageAntlrTokenFileProvider.java | 4 +- .../AssignmentFinderTestLanguageParser.java | 21 +- ...derTestLanguageAntlrTokenFileProvider.java | 4 +- .../ContextFinderTestLanguageParser.java | 21 +- ...cerTestLanguageAntlrTokenFileProvider.java | 4 +- ...iddenTokenSequencerTestLanguageParser.java | 21 +- ...cerTestLanguageAntlrTokenFileProvider.java | 4 +- .../antlr/SequencerTestLanguageParser.java | 21 +- ...cerTestLanguageAntlrTokenFileProvider.java | 4 +- .../SyntacticSequencerTestLanguageParser.java | 21 +- ...ebugInternalAssignmentFinderTestLanguage.g | 186 - .../DebugInternalContextFinderTestLanguage.g | 218 - ...InternalHiddenTokenSequencerTestLanguage.g | 81 - .../DebugInternalSequencerTestLanguage.g | 535 -- ...ugInternalSyntacticSequencerTestLanguage.g | 265 - .../InternalAssignmentFinderTestLanguage.g | 1937 ++-- ...rnalAssignmentFinderTestLanguageLexer.java | 90 +- ...nalAssignmentFinderTestLanguageParser.java | 1908 ++-- .../InternalContextFinderTestLanguage.g | 2359 +++-- ...nternalContextFinderTestLanguageLexer.java | 74 +- ...ternalContextFinderTestLanguageParser.java | 2395 ++--- ...InternalHiddenTokenSequencerTestLanguage.g | 269 +- ...HiddenTokenSequencerTestLanguageLexer.java | 74 +- ...iddenTokenSequencerTestLanguageParser.java | 266 +- .../internal/InternalSequencerTestLanguage.g | 8542 ++++++++--------- .../InternalSequencerTestLanguageLexer.java | 86 +- .../InternalSequencerTestLanguageParser.java | 8345 ++++++++-------- .../InternalSyntacticSequencerTestLanguage.g | 3546 +++---- ...alSyntacticSequencerTestLanguageLexer.java | 82 +- ...lSyntacticSequencerTestLanguageParser.java | 3521 +++---- .../serializer/sequencertest/AltList1.java | 1 + .../serializer/sequencertest/AltList2.java | 1 + .../AlternativeMultiplicities.java | 1 + .../serializer/sequencertest/Complex1.java | 1 + .../serializer/sequencertest/DefEnum.java | 1 + .../serializer/sequencertest/Delegation.java | 1 + .../serializer/sequencertest/DelegationA.java | 1 + .../sequencertest/DependentAlternative1.java | 1 + .../sequencertest/DependentAlternative2.java | 1 + .../xtext/serializer/sequencertest/Float.java | 1 + .../sequencertest/FragmentCallerType.java | 1 + .../sequencertest/GroupMultiplicities.java | 1 + .../xtext/serializer/sequencertest/List1.java | 1 + .../xtext/serializer/sequencertest/List2.java | 1 + .../xtext/serializer/sequencertest/Model.java | 1 + .../sequencertest/MultiKeywords.java | 1 + .../sequencertest/MultiKeywordsOrID.java | 1 + .../sequencertest/MultiTerminals.java | 1 + .../sequencertest/NullCrossRef.java | 1 + .../serializer/sequencertest/NullValue.java | 1 + .../serializer/sequencertest/Optional.java | 1 + .../sequencertest/OptionalDouble.java | 1 + .../sequencertest/ParameterCaller.java | 1 + .../sequencertest/ParameterDelegation.java | 1 + .../sequencertest/Parameterized.java | 1 + .../sequencertest/SequencertestFactory.java | 1 + .../sequencertest/SequencertestPackage.java | 1 + .../sequencertest/SimpleAlternative.java | 1 + .../serializer/sequencertest/SimpleGroup.java | 1 + .../sequencertest/SimpleMultiplicities.java | 1 + .../SingleContainmentReference.java | 1 + .../SingleContainmentReferenceChild1.java | 1 + .../SingleContainmentReferenceChild2.java | 1 + .../SingleContainmentReferenceChild3.java | 1 + .../sequencertest/SingleCrossReference.java | 1 + .../serializer/sequencertest/SingleEnum.java | 1 + .../sequencertest/SingleKeywords.java | 1 + .../sequencertest/SingleKeywordsOrID.java | 1 + .../sequencertest/SingleTerminals.java | 1 + .../sequencertest/UnorderedAlternative.java | 1 + .../UnorderedAlternativeVal.java | 1 + .../UnorderedAlternativeVal2.java | 1 + .../UnorderedAlternativeValDelegate.java | 1 + .../sequencertest/UnorderedGroup.java | 1 + .../sequencertest/UnorderedGroupBoolean.java | 1 + .../sequencertest/UnorderedGroupOptional.java | 1 + .../sequencertest/UnorderedGroupVal.java | 1 + .../sequencertest/UnorderedGroupVal2.java | 1 + .../UnorderedGroupValDelegate.java | 1 + .../sequencertest/impl/AltList1Impl.java | 1 + .../sequencertest/impl/AltList2Impl.java | 1 + .../impl/AlternativeMultiplicitiesImpl.java | 1 + .../sequencertest/impl/Complex1Impl.java | 1 + .../sequencertest/impl/DelegationAImpl.java | 1 + .../sequencertest/impl/DelegationImpl.java | 1 + .../impl/DependentAlternative1Impl.java | 1 + .../impl/DependentAlternative2Impl.java | 1 + .../sequencertest/impl/FloatImpl.java | 1 + .../impl/FragmentCallerTypeImpl.java | 1 + .../impl/GroupMultiplicitiesImpl.java | 1 + .../sequencertest/impl/List1Impl.java | 1 + .../sequencertest/impl/List2Impl.java | 1 + .../sequencertest/impl/ModelImpl.java | 1 + .../sequencertest/impl/MultiKeywordsImpl.java | 1 + .../impl/MultiKeywordsOrIDImpl.java | 1 + .../impl/MultiTerminalsImpl.java | 1 + .../sequencertest/impl/NullCrossRefImpl.java | 1 + .../sequencertest/impl/NullValueImpl.java | 1 + .../impl/OptionalDoubleImpl.java | 1 + .../sequencertest/impl/OptionalImpl.java | 1 + .../impl/ParameterCallerImpl.java | 1 + .../impl/ParameterDelegationImpl.java | 1 + .../sequencertest/impl/ParameterizedImpl.java | 1 + .../impl/SequencertestFactoryImpl.java | 1 + .../impl/SequencertestPackageImpl.java | 180 +- .../impl/SimpleAlternativeImpl.java | 1 + .../sequencertest/impl/SimpleGroupImpl.java | 1 + .../impl/SimpleMultiplicitiesImpl.java | 1 + .../SingleContainmentReferenceChild1Impl.java | 1 + .../SingleContainmentReferenceChild2Impl.java | 1 + .../SingleContainmentReferenceChild3Impl.java | 1 + .../impl/SingleContainmentReferenceImpl.java | 1 + .../impl/SingleCrossReferenceImpl.java | 1 + .../sequencertest/impl/SingleEnumImpl.java | 1 + .../impl/SingleKeywordsImpl.java | 1 + .../impl/SingleKeywordsOrIDImpl.java | 1 + .../impl/SingleTerminalsImpl.java | 1 + .../impl/UnorderedAlternativeImpl.java | 1 + .../impl/UnorderedAlternativeVal2Impl.java | 1 + .../UnorderedAlternativeValDelegateImpl.java | 1 + .../impl/UnorderedAlternativeValImpl.java | 1 + .../impl/UnorderedGroupBooleanImpl.java | 1 + .../impl/UnorderedGroupImpl.java | 1 + .../impl/UnorderedGroupOptionalImpl.java | 1 + .../impl/UnorderedGroupVal2Impl.java | 1 + .../impl/UnorderedGroupValDelegateImpl.java | 1 + .../impl/UnorderedGroupValImpl.java | 1 + .../util/SequencertestAdapterFactory.java | 1 + .../util/SequencertestSwitch.java | 1 + ...gnmentFinderTestLanguageGrammarAccess.java | 357 +- ...ontextFinderTestLanguageGrammarAccess.java | 428 +- ...kenSequencerTestLanguageGrammarAccess.java | 83 +- .../SequencerTestLanguageGrammarAccess.java | 1278 ++- ...ticSequencerTestLanguageGrammarAccess.java | 615 +- .../syntacticsequencertest/ActionOnly.java | 1 + .../syntacticsequencertest/Add0.java | 1 + .../syntacticsequencertest/Add1.java | 1 + .../syntacticsequencertest/Add2.java | 1 + .../AlternativeTransition.java | 1 + .../BooleanAlternative.java | 1 + .../BooleanAlternativeLiteral.java | 1 + .../syntacticsequencertest/BooleanValues.java | 1 + .../syntacticsequencertest/Exp0.java | 1 + .../syntacticsequencertest/Exp1.java | 1 + .../syntacticsequencertest/Exp2.java | 1 + .../FragmentCallerType.java | 1 + .../LongAlternative.java | 1 + .../MandatoryKeywords.java | 1 + .../MandatoryManyTransition.java | 1 + .../syntacticsequencertest/Model.java | 1 + .../syntacticsequencertest/Mult2.java | 1 + .../OptionalManyTransition.java | 1 + .../OptionalSingleTransition.java | 1 + .../SingleCrossReference.java | 1 + .../SyntacticsequencertestFactory.java | 1 + .../SyntacticsequencertestPackage.java | 1 + .../UnassignedDatatype.java | 1 + .../syntacticsequencertest/Val0.java | 1 + .../syntacticsequencertest/Val1.java | 1 + .../syntacticsequencertest/Val2.java | 1 + .../impl/ActionOnlyImpl.java | 1 + .../syntacticsequencertest/impl/Add0Impl.java | 1 + .../syntacticsequencertest/impl/Add1Impl.java | 1 + .../syntacticsequencertest/impl/Add2Impl.java | 1 + .../impl/AlternativeTransitionImpl.java | 1 + .../impl/BooleanAlternativeImpl.java | 1 + .../impl/BooleanAlternativeLiteralImpl.java | 1 + .../impl/BooleanValuesImpl.java | 1 + .../syntacticsequencertest/impl/Exp0Impl.java | 1 + .../syntacticsequencertest/impl/Exp1Impl.java | 1 + .../syntacticsequencertest/impl/Exp2Impl.java | 1 + .../impl/FragmentCallerTypeImpl.java | 1 + .../impl/LongAlternativeImpl.java | 1 + .../impl/MandatoryKeywordsImpl.java | 1 + .../impl/MandatoryManyTransitionImpl.java | 1 + .../impl/ModelImpl.java | 1 + .../impl/Mult2Impl.java | 1 + .../impl/OptionalManyTransitionImpl.java | 1 + .../impl/OptionalSingleTransitionImpl.java | 1 + .../impl/SingleCrossReferenceImpl.java | 1 + .../SyntacticsequencertestFactoryImpl.java | 1 + .../SyntacticsequencertestPackageImpl.java | 64 +- .../impl/UnassignedDatatypeImpl.java | 1 + .../syntacticsequencertest/impl/Val0Impl.java | 1 + .../syntacticsequencertest/impl/Val1Impl.java | 1 + .../syntacticsequencertest/impl/Val2Impl.java | 1 + .../SyntacticsequencertestAdapterFactory.java | 1 + .../util/SyntacticsequencertestSwitch.java | 1 + 290 files changed, 19320 insertions(+), 20012 deletions(-) delete mode 100644 org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalAssignmentFinderTestLanguage.g delete mode 100644 org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalContextFinderTestLanguage.g delete mode 100644 org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalHiddenTokenSequencerTestLanguage.g delete mode 100644 org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSequencerTestLanguage.g delete mode 100644 org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSyntacticSequencerTestLanguage.g diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractAssignmentFinderTestLanguageRuntimeModule.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractAssignmentFinderTestLanguageRuntimeModule.java index dc868eb6e..313d6ddf0 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractAssignmentFinderTestLanguageRuntimeModule.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractAssignmentFinderTestLanguageRuntimeModule.java @@ -3,18 +3,37 @@ */ package org.eclipse.xtext.serializer; -import java.util.Properties; - -import org.eclipse.xtext.Constants; - import com.google.inject.Binder; +import com.google.inject.Provider; import com.google.inject.name.Names; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.parser.antlr.AssignmentFinderTestLanguageAntlrTokenFileProvider; +import org.eclipse.xtext.serializer.parser.antlr.AssignmentFinderTestLanguageParser; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageLexer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.serializer.serializer.AssignmentFinderTestLanguageSemanticSequencer; +import org.eclipse.xtext.serializer.serializer.AssignmentFinderTestLanguageSyntacticSequencer; +import org.eclipse.xtext.serializer.services.AssignmentFinderTestLanguageGrammarAccess; +import org.eclipse.xtext.service.DefaultRuntimeModule; /** - * Manual modifications go to {org.eclipse.xtext.serializer.AssignmentFinderTestLanguageRuntimeModule} + * Manual modifications go to {@link AssignmentFinderTestLanguageRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractAssignmentFinderTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { +public abstract class AbstractAssignmentFinderTestLanguageRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -33,64 +52,66 @@ public abstract class AbstractAssignmentFinderTestLanguageRuntimeModule extends binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("assignmentfindertestlanguage"); } - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.xtext.serializer.parser.antlr.AssignmentFinderTestLanguageParser.class; + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return AssignmentFinderTestLanguageParser.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.xtext.serializer.parser.antlr.AssignmentFinderTestLanguageAntlrTokenFileProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return AssignmentFinderTestLanguageAntlrTokenFileProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageLexer.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalAssignmentFinderTestLanguageLexer.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalAssignmentFinderTestLanguageLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalAssignmentFinderTestLanguageLexer() { + return LexerProvider.create(InternalAssignmentFinderTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalAssignmentFinderTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { return getClass().getClassLoader(); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.xtext.serializer.services.AssignmentFinderTestLanguageGrammarAccess.class; + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return AssignmentFinderTestLanguageGrammarAccess.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.xtext.serializer.serializer.AssignmentFinderTestLanguageSemanticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return AssignmentFinderTestLanguageSemanticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.xtext.serializer.serializer.AssignmentFinderTestLanguageSyntacticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return AssignmentFinderTestLanguageSyntacticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; } - + } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractContextFinderTestLanguageRuntimeModule.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractContextFinderTestLanguageRuntimeModule.java index 0dd8be76a..1c4c3adb7 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractContextFinderTestLanguageRuntimeModule.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractContextFinderTestLanguageRuntimeModule.java @@ -3,18 +3,37 @@ */ package org.eclipse.xtext.serializer; -import java.util.Properties; - -import org.eclipse.xtext.Constants; - import com.google.inject.Binder; +import com.google.inject.Provider; import com.google.inject.name.Names; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.parser.antlr.ContextFinderTestLanguageAntlrTokenFileProvider; +import org.eclipse.xtext.serializer.parser.antlr.ContextFinderTestLanguageParser; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageLexer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.serializer.serializer.ContextFinderTestLanguageSemanticSequencer; +import org.eclipse.xtext.serializer.serializer.ContextFinderTestLanguageSyntacticSequencer; +import org.eclipse.xtext.serializer.services.ContextFinderTestLanguageGrammarAccess; +import org.eclipse.xtext.service.DefaultRuntimeModule; /** - * Manual modifications go to {org.eclipse.xtext.serializer.ContextFinderTestLanguageRuntimeModule} + * Manual modifications go to {@link ContextFinderTestLanguageRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractContextFinderTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { +public abstract class AbstractContextFinderTestLanguageRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -33,64 +52,66 @@ public abstract class AbstractContextFinderTestLanguageRuntimeModule extends org binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("contextfindertestlanguage"); } - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.xtext.serializer.parser.antlr.ContextFinderTestLanguageParser.class; + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return ContextFinderTestLanguageParser.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.xtext.serializer.parser.antlr.ContextFinderTestLanguageAntlrTokenFileProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return ContextFinderTestLanguageAntlrTokenFileProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageLexer.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalContextFinderTestLanguageLexer.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalContextFinderTestLanguageLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalContextFinderTestLanguageLexer() { + return LexerProvider.create(InternalContextFinderTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalContextFinderTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { return getClass().getClassLoader(); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.xtext.serializer.services.ContextFinderTestLanguageGrammarAccess.class; + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return ContextFinderTestLanguageGrammarAccess.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.xtext.serializer.serializer.ContextFinderTestLanguageSemanticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return ContextFinderTestLanguageSemanticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.xtext.serializer.serializer.ContextFinderTestLanguageSyntacticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return ContextFinderTestLanguageSyntacticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; } - + } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractHiddenTokenSequencerTestLanguageRuntimeModule.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractHiddenTokenSequencerTestLanguageRuntimeModule.java index ee88b0a38..d041e0ea3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractHiddenTokenSequencerTestLanguageRuntimeModule.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractHiddenTokenSequencerTestLanguageRuntimeModule.java @@ -3,18 +3,37 @@ */ package org.eclipse.xtext.serializer; -import java.util.Properties; - -import org.eclipse.xtext.Constants; - import com.google.inject.Binder; +import com.google.inject.Provider; import com.google.inject.name.Names; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.parser.antlr.HiddenTokenSequencerTestLanguageAntlrTokenFileProvider; +import org.eclipse.xtext.serializer.parser.antlr.HiddenTokenSequencerTestLanguageParser; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageLexer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.serializer.serializer.HiddenTokenSequencerTestLanguageSemanticSequencer; +import org.eclipse.xtext.serializer.serializer.HiddenTokenSequencerTestLanguageSyntacticSequencer; +import org.eclipse.xtext.serializer.services.HiddenTokenSequencerTestLanguageGrammarAccess; +import org.eclipse.xtext.service.DefaultRuntimeModule; /** - * Manual modifications go to {org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguageRuntimeModule} + * Manual modifications go to {@link HiddenTokenSequencerTestLanguageRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractHiddenTokenSequencerTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { +public abstract class AbstractHiddenTokenSequencerTestLanguageRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -33,64 +52,66 @@ public abstract class AbstractHiddenTokenSequencerTestLanguageRuntimeModule exte binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("hiddentokensequencertestlanguage"); } - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.xtext.serializer.parser.antlr.HiddenTokenSequencerTestLanguageParser.class; + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return HiddenTokenSequencerTestLanguageParser.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.xtext.serializer.parser.antlr.HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageLexer.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalHiddenTokenSequencerTestLanguageLexer.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalHiddenTokenSequencerTestLanguageLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalHiddenTokenSequencerTestLanguageLexer() { + return LexerProvider.create(InternalHiddenTokenSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalHiddenTokenSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { return getClass().getClassLoader(); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.xtext.serializer.services.HiddenTokenSequencerTestLanguageGrammarAccess.class; + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return HiddenTokenSequencerTestLanguageGrammarAccess.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.xtext.serializer.serializer.HiddenTokenSequencerTestLanguageSemanticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return HiddenTokenSequencerTestLanguageSemanticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.xtext.serializer.serializer.HiddenTokenSequencerTestLanguageSyntacticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return HiddenTokenSequencerTestLanguageSyntacticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; } - + } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSequencerTestLanguageRuntimeModule.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSequencerTestLanguageRuntimeModule.java index b07ad98f9..0eaa85e3f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSequencerTestLanguageRuntimeModule.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSequencerTestLanguageRuntimeModule.java @@ -3,18 +3,39 @@ */ package org.eclipse.xtext.serializer; -import java.util.Properties; - -import org.eclipse.xtext.Constants; - import com.google.inject.Binder; +import com.google.inject.Provider; import com.google.inject.name.Names; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.parser.antlr.SequencerTestLanguageAntlrTokenFileProvider; +import org.eclipse.xtext.serializer.parser.antlr.SequencerTestLanguageParser; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageLexer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.serializer.serializer.SequencerTestLanguageSemanticSequencer; +import org.eclipse.xtext.serializer.serializer.SequencerTestLanguageSyntacticSequencer; +import org.eclipse.xtext.serializer.services.SequencerTestLanguageGrammarAccess; +import org.eclipse.xtext.service.DefaultRuntimeModule; /** - * Manual modifications go to {org.eclipse.xtext.serializer.SequencerTestLanguageRuntimeModule} + * Manual modifications go to {@link SequencerTestLanguageRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractSequencerTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { +public abstract class AbstractSequencerTestLanguageRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -33,69 +54,71 @@ public abstract class AbstractSequencerTestLanguageRuntimeModule extends org.ecl binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("sequencertestlanguage"); } - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.xtext.serializer.parser.antlr.SequencerTestLanguageParser.class; + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return SequencerTestLanguageParser.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.xtext.serializer.parser.antlr.SequencerTestLanguageAntlrTokenFileProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return SequencerTestLanguageAntlrTokenFileProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageLexer.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalSequencerTestLanguageLexer.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalSequencerTestLanguageLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalSequencerTestLanguageLexer() { + return LexerProvider.create(InternalSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIUnorderedGroupHelper() { - return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIUnorderedGroupHelper() { + return UnorderedGroupHelper.class; } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { return getClass().getClassLoader(); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.xtext.serializer.services.SequencerTestLanguageGrammarAccess.class; + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return SequencerTestLanguageGrammarAccess.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.xtext.serializer.serializer.SequencerTestLanguageSemanticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return SequencerTestLanguageSemanticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.xtext.serializer.serializer.SequencerTestLanguageSyntacticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return SequencerTestLanguageSyntacticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; } - + } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSyntacticSequencerTestLanguageRuntimeModule.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSyntacticSequencerTestLanguageRuntimeModule.java index a401c691a..bc67b626d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSyntacticSequencerTestLanguageRuntimeModule.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AbstractSyntacticSequencerTestLanguageRuntimeModule.java @@ -3,18 +3,37 @@ */ package org.eclipse.xtext.serializer; -import java.util.Properties; - -import org.eclipse.xtext.Constants; - import com.google.inject.Binder; +import com.google.inject.Provider; import com.google.inject.name.Names; +import java.util.Properties; +import org.eclipse.xtext.Constants; +import org.eclipse.xtext.IGrammarAccess; +import org.eclipse.xtext.parser.IParser; +import org.eclipse.xtext.parser.ITokenToStringConverter; +import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; +import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; +import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; +import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.Lexer; +import org.eclipse.xtext.parser.antlr.LexerBindings; +import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.serializer.impl.Serializer; +import org.eclipse.xtext.serializer.parser.antlr.SyntacticSequencerTestLanguageAntlrTokenFileProvider; +import org.eclipse.xtext.serializer.parser.antlr.SyntacticSequencerTestLanguageParser; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageLexer; +import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; +import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.serializer.serializer.SyntacticSequencerTestLanguageSemanticSequencer; +import org.eclipse.xtext.serializer.serializer.SyntacticSequencerTestLanguageSyntacticSequencer; +import org.eclipse.xtext.serializer.services.SyntacticSequencerTestLanguageGrammarAccess; +import org.eclipse.xtext.service.DefaultRuntimeModule; /** - * Manual modifications go to {org.eclipse.xtext.serializer.SyntacticSequencerTestLanguageRuntimeModule} + * Manual modifications go to {@link SyntacticSequencerTestLanguageRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractSyntacticSequencerTestLanguageRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { +public abstract class AbstractSyntacticSequencerTestLanguageRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -33,64 +52,66 @@ public abstract class AbstractSyntacticSequencerTestLanguageRuntimeModule extend binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("syntacticsequencertestlanguage"); } - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIParser() { - return org.eclipse.xtext.serializer.parser.antlr.SyntacticSequencerTestLanguageParser.class; + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIParser() { + return SyntacticSequencerTestLanguageParser.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenToStringConverter() { + return AntlrTokenToStringConverter.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindIAntlrTokenFileProvider() { - return org.eclipse.xtext.serializer.parser.antlr.SyntacticSequencerTestLanguageAntlrTokenFileProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIAntlrTokenFileProvider() { + return SyntacticSequencerTestLanguageAntlrTokenFileProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindLexer() { - return org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageLexer.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindLexer() { + return InternalSyntacticSequencerTestLanguageLexer.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider provideInternalSyntacticSequencerTestLanguageLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindITokenDefProvider() { + return AntlrTokenDefProvider.class; } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageLexer.class); + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Provider provideInternalSyntacticSequencerTestLanguageLexer() { + return LexerProvider.create(InternalSyntacticSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; + + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public void configureRuntimeLexer(Binder binder) { + binder.bind(Lexer.class) + .annotatedWith(Names.named(LexerBindings.RUNTIME)) + .to(InternalSyntacticSequencerTestLanguageLexer.class); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public java.lang.ClassLoader bindClassLoaderToInstance() { + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public ClassLoader bindClassLoaderToInstance() { return getClass().getClassLoader(); } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class bindIGrammarAccess() { - return org.eclipse.xtext.serializer.services.SyntacticSequencerTestLanguageGrammarAccess.class; + + // contributed by org.eclipse.xtext.xtext.generator.grammarAccess.GrammarAccessFragment2 + public Class bindIGrammarAccess() { + return SyntacticSequencerTestLanguageGrammarAccess.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISemanticSequencer() { - return org.eclipse.xtext.serializer.serializer.SyntacticSequencerTestLanguageSemanticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISemanticSequencer() { + return SyntacticSequencerTestLanguageSemanticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISyntacticSequencer() { - return org.eclipse.xtext.serializer.serializer.SyntacticSequencerTestLanguageSyntacticSequencer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISyntacticSequencer() { + return SyntacticSequencerTestLanguageSyntacticSequencer.class; } - - // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment - public Class bindISerializer() { - return org.eclipse.xtext.serializer.impl.Serializer.class; + + // contributed by org.eclipse.xtext.xtext.generator.serializer.SerializerFragment2 + public Class bindISerializer() { + return Serializer.class; } - + } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.ecore index 814630719..ba43a102e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.ecore +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.ecore @@ -25,10 +25,10 @@ containment="true"/> - + - + @@ -39,16 +39,16 @@ - + - + - + - + @@ -58,11 +58,11 @@ containment="true"/> - - + + - + diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.genmodel b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.genmodel index 5181d356a..bc68503ec 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.genmodel +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguage.genmodel @@ -1,13 +1,12 @@ + xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen" + modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="AssignmentFinderTestLanguage" + updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9"> + disposableProviderFactory="true" fileExtensions="assignmentfindertestlanguage" + ecorePackage="AssignmentFinderTestLanguage.ecore#/"> diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguageStandaloneSetupGenerated.java index 92621f949..1c4721a90 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguageStandaloneSetupGenerated.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/AssignmentFinderTestLanguageStandaloneSetupGenerated.java @@ -3,22 +3,22 @@ */ package org.eclipse.xtext.serializer; +import com.google.inject.Guice; +import com.google.inject.Injector; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.serializer.assignmentFinderTest.AssignmentFinderTestPackage; -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ @SuppressWarnings("all") public class AssignmentFinderTestLanguageStandaloneSetupGenerated implements ISetup { @Override public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + TerminalsStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); @@ -26,19 +26,17 @@ public class AssignmentFinderTestLanguageStandaloneSetupGenerated implements ISe } public Injector createInjector() { - return Guice.createInjector(new org.eclipse.xtext.serializer.AssignmentFinderTestLanguageRuntimeModule()); + return Guice.createInjector(new AssignmentFinderTestLanguageRuntimeModule()); } public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("assignmentfindertestlanguage", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("assignmentfindertestlanguage", serviceProvider); + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/assignmentfindertestlanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/assignmentfindertestlanguage", org.eclipse.xtext.serializer.assignmentFinderTest.AssignmentFinderTestPackage.eINSTANCE); - } - + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("assignmentfindertestlanguage", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("assignmentfindertestlanguage", serviceProvider); + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/assignmentfindertestlanguage")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/assignmentfindertestlanguage", AssignmentFinderTestPackage.eINSTANCE); + } } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.ecore index c70b9171c..ac19c9cbe 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.ecore +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.ecore @@ -11,28 +11,28 @@ containment="true"/> - - + - - + + - + @@ -53,8 +53,8 @@ containment="true"/> - - + + diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.genmodel b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.genmodel index 03d944233..a6d8ae673 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.genmodel +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguage.genmodel @@ -1,13 +1,12 @@ + xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen" + modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="ContextFinderTestLanguage" + updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9"> + disposableProviderFactory="true" fileExtensions="contextfindertestlanguage" + ecorePackage="ContextFinderTestLanguage.ecore#/"> diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguageStandaloneSetupGenerated.java index 09770e6d0..375da246d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguageStandaloneSetupGenerated.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/ContextFinderTestLanguageStandaloneSetupGenerated.java @@ -3,22 +3,22 @@ */ package org.eclipse.xtext.serializer; +import com.google.inject.Guice; +import com.google.inject.Injector; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.serializer.contextFinderTest.ContextFinderTestPackage; -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ @SuppressWarnings("all") public class ContextFinderTestLanguageStandaloneSetupGenerated implements ISetup { @Override public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + TerminalsStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); @@ -26,19 +26,17 @@ public class ContextFinderTestLanguageStandaloneSetupGenerated implements ISetup } public Injector createInjector() { - return Guice.createInjector(new org.eclipse.xtext.serializer.ContextFinderTestLanguageRuntimeModule()); + return Guice.createInjector(new ContextFinderTestLanguageRuntimeModule()); } public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("contextfindertestlanguage", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("contextfindertestlanguage", serviceProvider); + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/contextfindertestlanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/contextfindertestlanguage", org.eclipse.xtext.serializer.contextFinderTest.ContextFinderTestPackage.eINSTANCE); - } - + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("contextfindertestlanguage", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("contextfindertestlanguage", serviceProvider); + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/contextfindertestlanguage")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/contextfindertestlanguage", ContextFinderTestPackage.eINSTANCE); + } } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.ecore index 1f7c911c8..2f908e176 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.ecore +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.ecore @@ -11,7 +11,7 @@ eType="#//Entity" containment="true"/> - - + + diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.genmodel b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.genmodel index 86861c2a1..6ca6691ee 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.genmodel +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguage.genmodel @@ -1,13 +1,12 @@ + xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen" + modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="HiddenTokenSequencerTestLanguage" + updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9"> + disposableProviderFactory="true" fileExtensions="hiddentokensequencertestlanguage" + ecorePackage="HiddenTokenSequencerTestLanguage.ecore#/"> diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguageStandaloneSetupGenerated.java index a4c58d943..e1e3129ad 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguageStandaloneSetupGenerated.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/HiddenTokenSequencerTestLanguageStandaloneSetupGenerated.java @@ -3,22 +3,22 @@ */ package org.eclipse.xtext.serializer; +import com.google.inject.Guice; +import com.google.inject.Injector; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.serializer.hiddentokensequencertest.HiddentokensequencertestPackage; -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ @SuppressWarnings("all") public class HiddenTokenSequencerTestLanguageStandaloneSetupGenerated implements ISetup { @Override public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + TerminalsStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); @@ -26,19 +26,17 @@ public class HiddenTokenSequencerTestLanguageStandaloneSetupGenerated implements } public Injector createInjector() { - return Guice.createInjector(new org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguageRuntimeModule()); + return Guice.createInjector(new HiddenTokenSequencerTestLanguageRuntimeModule()); } public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensequencertestlanguage", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensequencertestlanguage", serviceProvider); + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/hiddentokensequencertestlanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/hiddentokensequencertestlanguage", org.eclipse.xtext.serializer.hiddentokensequencertest.HiddentokensequencertestPackage.eINSTANCE); - } - + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensequencertestlanguage", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("hiddentokensequencertestlanguage", serviceProvider); + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/hiddentokensequencertestlanguage")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/hiddentokensequencertestlanguage", HiddentokensequencertestPackage.eINSTANCE); + } } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguage.ecore index af335ed01..c97a9b252 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguage.ecore +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguage.ecore @@ -19,11 +19,11 @@ containment="true"/> - - - @@ -66,74 +66,74 @@ containment="true"/> - - + + - - + + - - + + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - - + + + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - + + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - - - + + + + - - + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + + - + - + - + @@ -144,137 +144,137 @@ - + - - + - + - + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - + + - + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + - - - + + + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> - + - + - - + + - + - + - - - + + + - - - + + + - - + + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - - + + + - - + + - - + + - - - + + + - - - + + + - - + + + xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen" + modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="SequencerTestLanguage" + updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9"> + fileExtensions="sequencertestlanguage" ecorePackage="SequencerTestLanguage.ecore#/"> diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguageStandaloneSetupGenerated.java index afe13c90a..cbbd3d6f1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguageStandaloneSetupGenerated.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SequencerTestLanguageStandaloneSetupGenerated.java @@ -3,22 +3,22 @@ */ package org.eclipse.xtext.serializer; +import com.google.inject.Guice; +import com.google.inject.Injector; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.serializer.sequencertest.SequencertestPackage; -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ @SuppressWarnings("all") public class SequencerTestLanguageStandaloneSetupGenerated implements ISetup { @Override public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + TerminalsStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); @@ -26,19 +26,17 @@ public class SequencerTestLanguageStandaloneSetupGenerated implements ISetup { } public Injector createInjector() { - return Guice.createInjector(new org.eclipse.xtext.serializer.SequencerTestLanguageRuntimeModule()); + return Guice.createInjector(new SequencerTestLanguageRuntimeModule()); } public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("sequencertestlanguage", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("sequencertestlanguage", serviceProvider); + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/sequencertestlanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/sequencertestlanguage", org.eclipse.xtext.serializer.sequencertest.SequencertestPackage.eINSTANCE); - } - + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("sequencertestlanguage", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("sequencertestlanguage", serviceProvider); + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/sequencertestlanguage")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/sequencertestlanguage", SequencertestPackage.eINSTANCE); + } } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.ecore b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.ecore index 4dee3ee84..65ff15d9e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.ecore +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.ecore @@ -32,15 +32,15 @@ containment="true"/> - - - + + + - + @@ -51,52 +51,52 @@ containment="true"/> - + - + - + - + - + - + - - - + + + - + + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - - - + + + @@ -104,7 +104,7 @@ containment="true"/> - + @@ -112,7 +112,7 @@ containment="true"/> - + @@ -125,6 +125,6 @@ containment="true"/> - + diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.genmodel b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.genmodel index 751625e07..f2d57edba 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.genmodel +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguage.genmodel @@ -1,13 +1,12 @@ + xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="generated by Xtext" modelDirectory="/org.eclipse.xtext.tests/src-gen" + modelPluginID="org.eclipse.xtext.tests" forceOverwrite="true" modelName="SyntacticSequencerTestLanguage" + updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" + complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.9"> + disposableProviderFactory="true" fileExtensions="syntacticsequencertestlanguage" + ecorePackage="SyntacticSequencerTestLanguage.ecore#/"> diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguageStandaloneSetupGenerated.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguageStandaloneSetupGenerated.java index 0f1ca5a14..b9c17e752 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguageStandaloneSetupGenerated.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/SyntacticSequencerTestLanguageStandaloneSetupGenerated.java @@ -3,22 +3,22 @@ */ package org.eclipse.xtext.serializer; +import com.google.inject.Guice; +import com.google.inject.Injector; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.xtext.ISetup; +import org.eclipse.xtext.common.TerminalsStandaloneSetup; +import org.eclipse.xtext.resource.IResourceFactory; +import org.eclipse.xtext.resource.IResourceServiceProvider; +import org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage; -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ @SuppressWarnings("all") public class SyntacticSequencerTestLanguageStandaloneSetupGenerated implements ISetup { @Override public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + TerminalsStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); @@ -26,19 +26,17 @@ public class SyntacticSequencerTestLanguageStandaloneSetupGenerated implements I } public Injector createInjector() { - return Guice.createInjector(new org.eclipse.xtext.serializer.SyntacticSequencerTestLanguageRuntimeModule()); + return Guice.createInjector(new SyntacticSequencerTestLanguageRuntimeModule()); } public void register(Injector injector) { - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("syntacticsequencertestlanguage", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("syntacticsequencertestlanguage", serviceProvider); + IResourceFactory resourceFactory = injector.getInstance(IResourceFactory.class); + IResourceServiceProvider serviceProvider = injector.getInstance(IResourceServiceProvider.class); - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/syntacticsequencertestlanguage")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/syntacticsequencertestlanguage", org.eclipse.xtext.serializer.syntacticsequencertest.SyntacticsequencertestPackage.eINSTANCE); - } - + Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("syntacticsequencertestlanguage", resourceFactory); + IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("syntacticsequencertestlanguage", serviceProvider); + if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/2009/tmf/xtext/syntacticsequencertestlanguage")) { + EPackage.Registry.INSTANCE.put("http://www.eclipse.org/2009/tmf/xtext/syntacticsequencertestlanguage", SyntacticsequencertestPackage.eINSTANCE); + } } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestFactory.java index 370caffb8..124e8aca5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestPackage.java index 1de0b576c..dbb2362f2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestPackage.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/AssignmentFinderTestPackage.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRef.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRef.java index 5db4d7359..0bd42ce65 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRef.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRef.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRefN.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRefN.java index 5e537083f..284be3426 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRefN.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/ContainmentRefN.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/CrossRef.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/CrossRef.java index 504cd6b66..81ff59368 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/CrossRef.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/CrossRef.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumBool.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumBool.java index adf0b7294..692e7d591 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumBool.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumBool.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumVal.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumVal.java index cf34b71e6..0d8ef63ba 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumVal.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/EnumVal.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordBool.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordBool.java index 5f4318ad5..c636afa7e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordBool.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordBool.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordVal.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordVal.java index e20603d55..43c0b920b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordVal.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/KeywordVal.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedBool.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedBool.java index 6bf8d071a..2310e6edb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedBool.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedBool.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedValue.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedValue.java index 93495a1ab..2c9ff0f28 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedValue.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/MixedValue.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/Model.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/Model.java index e4b003d98..d9958f396 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/Model.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/Model.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalBool.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalBool.java index 79293f576..8b9e755ad 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalBool.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalBool.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalVal.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalVal.java index d1a7b1e92..70057086a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalVal.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TerminalVal.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TestEnum.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TestEnum.java index 2c80443fd..41c57fa16 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TestEnum.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/TestEnum.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestFactoryImpl.java index e1669857a..fb3473d57 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestFactoryImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestFactoryImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestPackageImpl.java index b84f38958..80764210e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestPackageImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/AssignmentFinderTestPackageImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; @@ -7,7 +8,6 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; @@ -174,9 +174,6 @@ public class AssignmentFinderTestPackageImpl extends EPackageImpl implements Ass isInited = true; - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - // Create package meta-data objects theAssignmentFinderTestPackage.createPackageContents(); @@ -657,9 +654,6 @@ public class AssignmentFinderTestPackageImpl extends EPackageImpl implements Ass setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - // Create type parameters // Set bounds for type parameters @@ -680,25 +674,25 @@ public class AssignmentFinderTestPackageImpl extends EPackageImpl implements Ass initEReference(getModel_CrossRef(), this.getCrossRef(), null, "crossRef", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(keywordValEClass, KeywordVal.class, "KeywordVal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getKeywordVal_Kw(), theEcorePackage.getEString(), "kw", null, 0, 1, KeywordVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getKeywordVal_Kw(), ecorePackage.getEString(), "kw", null, 0, 1, KeywordVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(terminalValEClass, TerminalVal.class, "TerminalVal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTerminalVal_Term(), theEcorePackage.getEString(), "term", null, 0, 1, TerminalVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTerminalVal_Term(), ecorePackage.getEString(), "term", null, 0, 1, TerminalVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(enumValEClass, EnumVal.class, "EnumVal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEnumVal_En(), this.getTestEnum(), "en", null, 0, 1, EnumVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(keywordBoolEClass, KeywordBool.class, "KeywordBool", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getKeywordBool_Kw(), theEcorePackage.getEBoolean(), "kw", null, 0, 1, KeywordBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getKeywordBool_Kw(), ecorePackage.getEBoolean(), "kw", null, 0, 1, KeywordBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(terminalBoolEClass, TerminalBool.class, "TerminalBool", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTerminalBool_Term(), theEcorePackage.getEBoolean(), "term", null, 0, 1, TerminalBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTerminalBool_Term(), ecorePackage.getEBoolean(), "term", null, 0, 1, TerminalBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(enumBoolEClass, EnumBool.class, "EnumBool", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEnumBool_En(), theEcorePackage.getEBoolean(), "en", null, 0, 1, EnumBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEnumBool_En(), ecorePackage.getEBoolean(), "en", null, 0, 1, EnumBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mixedBoolEClass, MixedBool.class, "MixedBool", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMixedBool_Val(), theEcorePackage.getEBoolean(), "val", null, 0, 1, MixedBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMixedBool_Val(), ecorePackage.getEBoolean(), "val", null, 0, 1, MixedBool.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mixedValueEClass, MixedValue.class, "MixedValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMixedValue_Val(), this.getTestEnum(), "val", null, 0, 1, MixedValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -707,11 +701,11 @@ public class AssignmentFinderTestPackageImpl extends EPackageImpl implements Ass initEReference(getContainmentRef_Ctx(), this.getContainmentRefN(), null, "ctx", null, 0, 1, ContainmentRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(containmentRefNEClass, ContainmentRefN.class, "ContainmentRefN", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getContainmentRefN_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, ContainmentRefN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getContainmentRefN_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, ContainmentRefN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContainmentRefN_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, ContainmentRefN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getContainmentRefN_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, ContainmentRefN.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(crossRefEClass, CrossRef.class, "CrossRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getCrossRef_Name(), theEcorePackage.getEString(), "name", null, 0, 1, CrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getCrossRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, CrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCrossRef_CrossRef(), this.getCrossRef(), null, "crossRef", null, 0, 1, CrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefImpl.java index 1f21c5bfd..73e164110 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefNImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefNImpl.java index 005c2af8a..55f2084ea 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefNImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ContainmentRefNImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/CrossRefImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/CrossRefImpl.java index 8a1103ce6..a5a7ccef6 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/CrossRefImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/CrossRefImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumBoolImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumBoolImpl.java index aae8328fa..ea6490911 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumBoolImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumBoolImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumValImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumValImpl.java index 8db83878b..bcf30e6d3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumValImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/EnumValImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordBoolImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordBoolImpl.java index e39da10c3..a99d9f02c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordBoolImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordBoolImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordValImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordValImpl.java index a867aa0a4..2fd7a6ef3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordValImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/KeywordValImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedBoolImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedBoolImpl.java index 2a71f61a7..1263bfd8a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedBoolImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedBoolImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedValueImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedValueImpl.java index a7791168a..1f8263f32 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedValueImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/MixedValueImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ModelImpl.java index 75cd3f6e0..362fc8e18 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/ModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalBoolImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalBoolImpl.java index 0fa7984e9..c23276431 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalBoolImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalBoolImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalValImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalValImpl.java index 35e103c12..caef778d0 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalValImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/impl/TerminalValImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestAdapterFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestAdapterFactory.java index 160d521c1..d1be48819 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestAdapterFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestAdapterFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestSwitch.java index fe4e21aa6..ab268a81e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestSwitch.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/assignmentFinderTest/util/AssignmentFinderTestSwitch.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.assignmentFinderTest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/AttributeExclusionTest.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/AttributeExclusionTest.java index 8b75f87e7..7ba75cc60 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/AttributeExclusionTest.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/AttributeExclusionTest.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestFactory.java index c36cdfc9b..f453e3f72 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestPackage.java index bef269c3e..65e0801a9 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestPackage.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ContextFinderTestPackage.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/Model.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/Model.java index e2e137eff..dc638e12c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/Model.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/Model.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild.java index ac39ae1dd..5573eecbb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild1.java index 66dd1ab21..3dd7f9987 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild2.java index 26fe41e1a..c7e7928ec 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeChild2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest.java index 58e73632a..1353d1e6d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest1.java index b2b8c53c3..dff81d786 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest2.java index d525b2299..52438ecc0 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeRecursiveTest2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeTest.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeTest.java index 34d00ab69..624ac084e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeTest.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NestedTypeTest.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusion.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusion.java index 13b409d58..204d41935 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusion.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusion.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusionList.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusionList.java index 0404d9bcd..c00d3f8f5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusionList.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/NodeExclusionList.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest1.java index 6975cc796..c415e245d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest2.java index 01df8388b..67bddbd2d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTest2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTestChild.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTestChild.java index 010d138af..7261c0a78 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTestChild.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ParentRefTestChild.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/QuantityExclusionTest.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/QuantityExclusionTest.java index e73f702d8..ce2bb1f57 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/QuantityExclusionTest.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/QuantityExclusionTest.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTest.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTest.java index d5ff9b04d..165118243 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTest.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTest.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTestEn.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTestEn.java index 5ad1826bb..40272c357 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTestEn.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/ValueExclusionTestEn.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/AttributeExclusionTestImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/AttributeExclusionTestImpl.java index a7b96565f..7d7f77fe3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/AttributeExclusionTestImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/AttributeExclusionTestImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestFactoryImpl.java index 4858a2c77..9805dbb5c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestFactoryImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestFactoryImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestPackageImpl.java index 77505ba14..89ee52a62 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestPackageImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ContextFinderTestPackageImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; @@ -7,7 +8,6 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; @@ -206,9 +206,6 @@ public class ContextFinderTestPackageImpl extends EPackageImpl implements Contex isInited = true; - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - // Create package meta-data objects theContextFinderTestPackage.createPackageContents(); @@ -737,9 +734,6 @@ public class ContextFinderTestPackageImpl extends EPackageImpl implements Contex setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - // Create type parameters // Set bounds for type parameters @@ -756,22 +750,22 @@ public class ContextFinderTestPackageImpl extends EPackageImpl implements Contex initEReference(getModel_AttributeExclusion(), this.getAttributeExclusionTest(), null, "attributeExclusion", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_NestedType(), this.getNestedTypeTest(), null, "nestedType", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_NestedTypeRecursiveTest2(), this.getNestedTypeRecursiveTest(), null, "nestedTypeRecursiveTest2", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getModel_ParentRef(), theEcorePackage.getEObject(), null, "parentRef", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModel_ParentRef(), ecorePackage.getEObject(), null, "parentRef", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_QuantityExclusion(), this.getQuantityExclusionTest(), null, "quantityExclusion", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_ValueExclusion(), this.getValueExclusionTest(), null, "valueExclusion", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getModel_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_NodeExclusion(), this.getNodeExclusion(), null, "nodeExclusion", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_NodeExclusionList(), this.getNodeExclusionList(), null, "nodeExclusionList", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(attributeExclusionTestEClass, AttributeExclusionTest.class, "AttributeExclusionTest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAttributeExclusionTest_Attr1(), theEcorePackage.getEString(), "attr1", null, 0, 1, AttributeExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAttributeExclusionTest_Attr2(), theEcorePackage.getEString(), "attr2", null, 0, 1, AttributeExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeExclusionTest_Attr1(), ecorePackage.getEString(), "attr1", null, 0, 1, AttributeExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeExclusionTest_Attr2(), ecorePackage.getEString(), "attr2", null, 0, 1, AttributeExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nestedTypeTestEClass, NestedTypeTest.class, "NestedTypeTest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getNestedTypeTest_Nested(), this.getNestedTypeChild(), null, "nested", null, 0, 1, NestedTypeTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nestedTypeChildEClass, NestedTypeChild.class, "NestedTypeChild", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNestedTypeChild_Val(), theEcorePackage.getEString(), "val", null, 0, 1, NestedTypeChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNestedTypeChild_Val(), ecorePackage.getEString(), "val", null, 0, 1, NestedTypeChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nestedTypeChild1EClass, NestedTypeChild1.class, "NestedTypeChild1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -790,8 +784,8 @@ public class ContextFinderTestPackageImpl extends EPackageImpl implements Contex initEReference(getParentRefTestChild_Child(), this.getParentRefTestChild(), null, "child", null, 0, 1, ParentRefTestChild.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(quantityExclusionTestEClass, QuantityExclusionTest.class, "QuantityExclusionTest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getQuantityExclusionTest_Attr1(), theEcorePackage.getEString(), "attr1", null, 0, 1, QuantityExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getQuantityExclusionTest_Attr2(), theEcorePackage.getEString(), "attr2", null, 0, 1, QuantityExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getQuantityExclusionTest_Attr1(), ecorePackage.getEString(), "attr1", null, 0, 1, QuantityExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getQuantityExclusionTest_Attr2(), ecorePackage.getEString(), "attr2", null, 0, 1, QuantityExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(valueExclusionTestEClass, ValueExclusionTest.class, "ValueExclusionTest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getValueExclusionTest_Val(), this.getValueExclusionTestEn(), "val", null, 0, 1, ValueExclusionTest.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ModelImpl.java index ff4dec6e3..3277c6539 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild1Impl.java index 191193669..6c010bb24 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild2Impl.java index e5c1a6752..834f8814f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChild2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChildImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChildImpl.java index 76c757247..66b5b402b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChildImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeChildImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest1Impl.java index 9a9466d90..b12affe47 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest2Impl.java index 06d051491..df337cce6 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTest2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTestImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTestImpl.java index 903f83e82..8300d9eb8 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTestImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeRecursiveTestImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeTestImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeTestImpl.java index 6e87c9243..342c7a5c4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeTestImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NestedTypeTestImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionImpl.java index db0154148..9aa19375c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionListImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionListImpl.java index 4207fcc36..8c1d59474 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionListImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/NodeExclusionListImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest1Impl.java index 62ffb54b4..7b842ffa3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest2Impl.java index a4bbd9e45..70b3236f5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTest2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTestChildImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTestChildImpl.java index 77be24cdb..d373b9f5c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTestChildImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ParentRefTestChildImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/QuantityExclusionTestImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/QuantityExclusionTestImpl.java index c2243ad0f..22eaada8d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/QuantityExclusionTestImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/QuantityExclusionTestImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ValueExclusionTestImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ValueExclusionTestImpl.java index 9f2842f0c..78cea6899 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ValueExclusionTestImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/impl/ValueExclusionTestImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestAdapterFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestAdapterFactory.java index caa6c896a..bdea0e54a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestAdapterFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestAdapterFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestSwitch.java index d6d5703b7..0fe32bb3f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestSwitch.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/contextFinderTest/util/ContextFinderTestSwitch.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.contextFinderTest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/DomainModel.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/DomainModel.java index 45d9e6333..f7251050e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/DomainModel.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/DomainModel.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Entity.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Entity.java index 0155e3a89..549e7e23e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Entity.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Entity.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestFactory.java index 868f9798d..b72cb3a8c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestPackage.java index df7412560..61243802b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestPackage.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/HiddentokensequencertestPackage.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Model.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Model.java index fafe8d0e9..d029a335c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Model.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/Model.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/DomainModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/DomainModelImpl.java index 010319cd9..97927d0c8 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/DomainModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/DomainModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/EntityImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/EntityImpl.java index 42835d5cd..41aa9514d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/EntityImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/EntityImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestFactoryImpl.java index cf8714345..d8234f7f2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestFactoryImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestFactoryImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestPackageImpl.java index 6e9583310..ad765eafc 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestPackageImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/HiddentokensequencertestPackageImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.impl; @@ -6,7 +7,6 @@ import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; @@ -93,9 +93,6 @@ public class HiddentokensequencertestPackageImpl extends EPackageImpl implements isInited = true; - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - // Create package meta-data objects theHiddentokensequencertestPackage.createPackageContents(); @@ -246,9 +243,6 @@ public class HiddentokensequencertestPackageImpl extends EPackageImpl implements setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - // Create type parameters // Set bounds for type parameters @@ -263,8 +257,8 @@ public class HiddentokensequencertestPackageImpl extends EPackageImpl implements initEReference(getDomainModel_Entities(), this.getEntity(), null, "entities", null, 0, -1, DomainModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(entityEClass, Entity.class, "Entity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getEntity_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getEntity_Description(), theEcorePackage.getEString(), "description", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEntity_Name(), ecorePackage.getEString(), "name", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getEntity_Description(), ecorePackage.getEString(), "description", null, 0, 1, Entity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/ModelImpl.java index 25407805d..59b0225b7 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/ModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/impl/ModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestAdapterFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestAdapterFactory.java index 4f41b718f..be29a74ed 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestAdapterFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestAdapterFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestSwitch.java index e77b304fa..5905432b7 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestSwitch.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/hiddentokensequencertest/util/HiddentokensequencertestSwitch.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.hiddentokensequencertest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageAntlrTokenFileProvider.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageAntlrTokenFileProvider.java index a2a2d839c..5fd66d89c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageAntlrTokenFileProvider.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageAntlrTokenFileProvider.java @@ -7,10 +7,10 @@ import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class AssignmentFinderTestLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.tokens"); + return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.tokens"); } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageParser.java index 66ca17bb8..5086b390e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/AssignmentFinderTestLanguageParser.java @@ -4,36 +4,37 @@ package org.eclipse.xtext.serializer.parser.antlr; import com.google.inject.Inject; - +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageParser; import org.eclipse.xtext.serializer.services.AssignmentFinderTestLanguageGrammarAccess; -public class AssignmentFinderTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - +public class AssignmentFinderTestLanguageParser extends AbstractAntlrParser { + @Inject private AssignmentFinderTestLanguageGrammarAccess grammarAccess; - + @Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); } + @Override - protected org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageParser createParser(XtextTokenStream stream) { - return new org.eclipse.xtext.serializer.parser.antlr.internal.InternalAssignmentFinderTestLanguageParser(stream, getGrammarAccess()); + protected InternalAssignmentFinderTestLanguageParser createParser(XtextTokenStream stream) { + return new InternalAssignmentFinderTestLanguageParser(stream, getGrammarAccess()); } - + @Override protected String getDefaultRuleName() { return "Model"; } - + public AssignmentFinderTestLanguageGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(AssignmentFinderTestLanguageGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } - } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageAntlrTokenFileProvider.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageAntlrTokenFileProvider.java index 8060efc66..c581fcf1b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageAntlrTokenFileProvider.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageAntlrTokenFileProvider.java @@ -7,10 +7,10 @@ import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class ContextFinderTestLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.tokens"); + return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.tokens"); } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageParser.java index 43a323cf9..7cb15948f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/ContextFinderTestLanguageParser.java @@ -4,36 +4,37 @@ package org.eclipse.xtext.serializer.parser.antlr; import com.google.inject.Inject; - +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageParser; import org.eclipse.xtext.serializer.services.ContextFinderTestLanguageGrammarAccess; -public class ContextFinderTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - +public class ContextFinderTestLanguageParser extends AbstractAntlrParser { + @Inject private ContextFinderTestLanguageGrammarAccess grammarAccess; - + @Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); } + @Override - protected org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageParser createParser(XtextTokenStream stream) { - return new org.eclipse.xtext.serializer.parser.antlr.internal.InternalContextFinderTestLanguageParser(stream, getGrammarAccess()); + protected InternalContextFinderTestLanguageParser createParser(XtextTokenStream stream) { + return new InternalContextFinderTestLanguageParser(stream, getGrammarAccess()); } - + @Override protected String getDefaultRuleName() { return "Model"; } - + public ContextFinderTestLanguageGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(ContextFinderTestLanguageGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } - } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.java index 43bd4d7a2..75dcea15a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageAntlrTokenFileProvider.java @@ -7,10 +7,10 @@ import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class HiddenTokenSequencerTestLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.tokens"); + return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.tokens"); } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageParser.java index bbeadf473..5ec84452e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/HiddenTokenSequencerTestLanguageParser.java @@ -4,36 +4,37 @@ package org.eclipse.xtext.serializer.parser.antlr; import com.google.inject.Inject; - +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageParser; import org.eclipse.xtext.serializer.services.HiddenTokenSequencerTestLanguageGrammarAccess; -public class HiddenTokenSequencerTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - +public class HiddenTokenSequencerTestLanguageParser extends AbstractAntlrParser { + @Inject private HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess; - + @Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); } + @Override - protected org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageParser createParser(XtextTokenStream stream) { - return new org.eclipse.xtext.serializer.parser.antlr.internal.InternalHiddenTokenSequencerTestLanguageParser(stream, getGrammarAccess()); + protected InternalHiddenTokenSequencerTestLanguageParser createParser(XtextTokenStream stream) { + return new InternalHiddenTokenSequencerTestLanguageParser(stream, getGrammarAccess()); } - + @Override protected String getDefaultRuleName() { return "Model"; } - + public HiddenTokenSequencerTestLanguageGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } - } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageAntlrTokenFileProvider.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageAntlrTokenFileProvider.java index c961ec833..684a63527 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageAntlrTokenFileProvider.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageAntlrTokenFileProvider.java @@ -7,10 +7,10 @@ import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class SequencerTestLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.tokens"); + return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.tokens"); } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageParser.java index 291ad8269..d842c2a25 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SequencerTestLanguageParser.java @@ -4,36 +4,37 @@ package org.eclipse.xtext.serializer.parser.antlr; import com.google.inject.Inject; - +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageParser; import org.eclipse.xtext.serializer.services.SequencerTestLanguageGrammarAccess; -public class SequencerTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - +public class SequencerTestLanguageParser extends AbstractAntlrParser { + @Inject private SequencerTestLanguageGrammarAccess grammarAccess; - + @Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); } + @Override - protected org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageParser createParser(XtextTokenStream stream) { - return new org.eclipse.xtext.serializer.parser.antlr.internal.InternalSequencerTestLanguageParser(stream, getGrammarAccess()); + protected InternalSequencerTestLanguageParser createParser(XtextTokenStream stream) { + return new InternalSequencerTestLanguageParser(stream, getGrammarAccess()); } - + @Override protected String getDefaultRuleName() { return "Model"; } - + public SequencerTestLanguageGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(SequencerTestLanguageGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } - } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageAntlrTokenFileProvider.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageAntlrTokenFileProvider.java index 4707d5b44..e36f6dc9b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageAntlrTokenFileProvider.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageAntlrTokenFileProvider.java @@ -7,10 +7,10 @@ import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class SyntacticSequencerTestLanguageAntlrTokenFileProvider implements IAntlrTokenFileProvider { - + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.tokens"); + return classLoader.getResourceAsStream("org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.tokens"); } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageParser.java index cccec9980..267e03b99 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/SyntacticSequencerTestLanguageParser.java @@ -4,36 +4,37 @@ package org.eclipse.xtext.serializer.parser.antlr; import com.google.inject.Inject; - +import org.eclipse.xtext.parser.antlr.AbstractAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageParser; import org.eclipse.xtext.serializer.services.SyntacticSequencerTestLanguageGrammarAccess; -public class SyntacticSequencerTestLanguageParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - +public class SyntacticSequencerTestLanguageParser extends AbstractAntlrParser { + @Inject private SyntacticSequencerTestLanguageGrammarAccess grammarAccess; - + @Override protected void setInitialHiddenTokens(XtextTokenStream tokenStream) { tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); } + @Override - protected org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageParser createParser(XtextTokenStream stream) { - return new org.eclipse.xtext.serializer.parser.antlr.internal.InternalSyntacticSequencerTestLanguageParser(stream, getGrammarAccess()); + protected InternalSyntacticSequencerTestLanguageParser createParser(XtextTokenStream stream) { + return new InternalSyntacticSequencerTestLanguageParser(stream, getGrammarAccess()); } - + @Override protected String getDefaultRuleName() { return "Model"; } - + public SyntacticSequencerTestLanguageGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(SyntacticSequencerTestLanguageGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } - } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalAssignmentFinderTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalAssignmentFinderTestLanguage.g deleted file mode 100644 index 4caa9325c..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalAssignmentFinderTestLanguage.g +++ /dev/null @@ -1,186 +0,0 @@ -/* - * generated by Xtext - */ -grammar DebugInternalAssignmentFinderTestLanguage ; - -// Rule Model -ruleModel : - '#00' ruleKeywordVal | - '#01' ruleTerminalVal | - '#02' ruleEnumVal | - '#03' ruleKeywordBool | - '#04' ruleTerminalBool | - '#05' ruleEnumBool | - '#06' ruleMixedBool | - '#07' ruleMixedValue | - '#08' ruleContainmentRef | - '#09' ruleCrossRef -; - -// Rule KeywordVal -ruleKeywordVal : - 'kw1' | - 'kw2' -; - -// Rule TerminalVal -ruleTerminalVal : - RULE_TERMINAL1 | - RULE_TERMINAL2 | - '%foo' -; - -// Rule EnumVal -ruleEnumVal : - ruleEnum1 | - ruleEnum2 -; - -// Rule KeywordBool -ruleKeywordBool : - 'kw1' | - 'kw2' -; - -// Rule TerminalBool -ruleTerminalBool : - RULE_TERMINAL1 | - RULE_TERMINAL2 | - '%foo' -; - -// Rule EnumBool -ruleEnumBool : - ruleEnum1 | - ruleEnum2 -; - -// Rule MixedBool -ruleMixedBool : - 'kw1' | - ruleBoolean -; - -// Rule Boolean -ruleBoolean : - 'true' | - 'false' -; - -// Rule MixedValue -ruleMixedValue : - ruleEnum1 | - ruleDatEnum -; - -// Rule DatEnum -ruleDatEnum : - 'lit3' -; - -// Rule ContainmentRef -ruleContainmentRef : - ruleContainmentRef1 | - ruleContainmentRef2 -; - -// Rule ContainmentRef1 -ruleContainmentRef1 : - 'kw1' RULE_ID -; - -// Rule ContainmentRef2 -ruleContainmentRef2 : - 'kw2' RULE_ID -; - -// Rule CrossRef -ruleCrossRef : - ( - RULE_TERMINAL1 | - RULE_TERMINAL2 - ) ( - RULE_TERMINAL1 | - RULE_TERMINAL2 - ) -; - -// Rule Enum1 -ruleEnum1 : - 'lit1' -; - -// Rule Enum2 -ruleEnum2 : - 'lit2' -; - -RULE_TERMINAL1 : - '%' 'A' .. 'Z'* -; - -RULE_TERMINAL2 : - '%' 'a' .. 'z'* -; - -RULE_ID : - '^'? ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' - ) ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' | - '0' .. '9' - )* -; - -RULE_INT : - '0' .. '9'+ -; - -RULE_STRING : - '"' ( - '\\' . | - ~ ( - '\\' | - '"' - ) - )* '"' | - '\'' ( - '\\' . | - ~ ( - '\\' | - '\'' - ) - )* '\'' -; - -RULE_ML_COMMENT : - '/*' ( - options { greedy = false ; } : . - )* '*/' { skip(); } -; - -RULE_SL_COMMENT : - '//' ~ ( - '\n' | - '\r' - )* ( - '\r'? '\n' - )? { skip(); } -; - -RULE_WS : - ( - ' ' | - '\t' | - '\r' | - '\n' - )+ { skip(); } -; - -RULE_ANY_OTHER : - . -; \ No newline at end of file diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalContextFinderTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalContextFinderTestLanguage.g deleted file mode 100644 index c234bdebf..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalContextFinderTestLanguage.g +++ /dev/null @@ -1,218 +0,0 @@ -/* - * generated by Xtext - */ -grammar DebugInternalContextFinderTestLanguage ; - -// Rule Model -ruleModel : - '#0' ruleModel2 | - '#1' ( - ruleAttributeExclusionTest1 | - ruleAttributeExclusionTest2 - ) | - '#2' ( - ruleNestedTypeTest1 | - ruleNestedTypeTest2 - ) | - '#3' ( - ruleNestedTypeRecursiveTest1 | - ruleNestedTypeRecursiveTest2 - ) | - '#4' ( - ruleParentRefTest1 | - ruleParentRefTest2 - ) | - '#5' ( - ruleQuantityExclusionTest1 | - ruleQuantityExclusionTest2 - ) | - '#6' ( - ruleValueExclusionTest1 | - ruleValueExclusionTest2 - ) | - '#7' RULE_STRING ( - ruleNodeExclusion1 | - ruleNodeExclusion2 - ) | - '#8' RULE_STRING ( - ruleNodeExclusion1List | - ruleNodeExclusion2List - ) -; - -// Rule Model2 -ruleModel2 : - 'model' -; - -// Rule AttributeExclusionTest1 -ruleAttributeExclusionTest1 : - 'kw1' RULE_ID -; - -// Rule AttributeExclusionTest2 -ruleAttributeExclusionTest2 : - 'kw2' RULE_ID -; - -// Rule NestedTypeTest1 -ruleNestedTypeTest1 : - ruleNestedTypeChild1 -; - -// Rule NestedTypeTest2 -ruleNestedTypeTest2 : - ruleNestedTypeChild2 -; - -// Rule NestedTypeChild1 -ruleNestedTypeChild1 : - 'kw1' RULE_ID -; - -// Rule NestedTypeChild2 -ruleNestedTypeChild2 : - 'kw2' RULE_ID -; - -// Rule NestedTypeRecursiveTest1 -ruleNestedTypeRecursiveTest1 : - 'kw1' '.'+ -; - -// Rule NestedTypeRecursiveTest2 -ruleNestedTypeRecursiveTest2 : - 'kw2' '.'+ -; - -// Rule ParentRefTest1 -ruleParentRefTest1 : - 'kw1' ruleParentRefTestChild1 -; - -// Rule ParentRefTest2 -ruleParentRefTest2 : - 'kw2' ruleParentRefTestChild2 -; - -// Rule ParentRefTestChild1 -ruleParentRefTestChild1 : - 'foo' ruleParentRefTestChild1? -; - -// Rule ParentRefTestChild2 -ruleParentRefTestChild2 : - 'foo' ruleParentRefTestChild2? -; - -// Rule QuantityExclusionTest1 -ruleQuantityExclusionTest1 : - 'kw1' RULE_ID RULE_ID? -; - -// Rule QuantityExclusionTest2 -ruleQuantityExclusionTest2 : - 'kw2' RULE_ID? RULE_ID -; - -// Rule ValueExclusionTest1 -ruleValueExclusionTest1 : - ruleValueExclusionTestEn1 -; - -// Rule ValueExclusionTest2 -ruleValueExclusionTest2 : - ruleValueExclusionTestEn2 -; - -// Rule NodeExclusion1 -ruleNodeExclusion1 : - RULE_ID -; - -// Rule NodeExclusion2 -ruleNodeExclusion2 : - RULE_STRING -; - -// Rule NodeExclusion1List -ruleNodeExclusion1List : - RULE_ID+ -; - -// Rule NodeExclusion2List -ruleNodeExclusion2List : - RULE_STRING+ -; - -// Rule ValueExclusionTestEn1 -ruleValueExclusionTestEn1 : - 'lit1' -; - -// Rule ValueExclusionTestEn2 -ruleValueExclusionTestEn2 : - 'lit2' -; - -RULE_ID : - '^'? ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' - ) ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' | - '0' .. '9' - )* -; - -RULE_INT : - '0' .. '9'+ -; - -RULE_STRING : - '"' ( - '\\' . | - ~ ( - '\\' | - '"' - ) - )* '"' | - '\'' ( - '\\' . | - ~ ( - '\\' | - '\'' - ) - )* '\'' -; - -RULE_ML_COMMENT : - '/*' ( - options { greedy = false ; } : . - )* '*/' { skip(); } -; - -RULE_SL_COMMENT : - '//' ~ ( - '\n' | - '\r' - )* ( - '\r'? '\n' - )? { skip(); } -; - -RULE_WS : - ( - ' ' | - '\t' | - '\r' | - '\n' - )+ { skip(); } -; - -RULE_ANY_OTHER : - . -; \ No newline at end of file diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalHiddenTokenSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalHiddenTokenSequencerTestLanguage.g deleted file mode 100644 index 313f5b840..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalHiddenTokenSequencerTestLanguage.g +++ /dev/null @@ -1,81 +0,0 @@ -/* - * generated by Xtext - */ -grammar DebugInternalHiddenTokenSequencerTestLanguage ; - -// Rule Model -ruleModel : - ruleDomainModel -; - -// Rule DomainModel -ruleDomainModel : - 'entities' ruleEntity* 'end' -; - -// Rule Entity -ruleEntity : - RULE_ID RULE_STRING -; - -RULE_ID : - '^'? ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' - ) ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' | - '0' .. '9' - )* -; - -RULE_INT : - '0' .. '9'+ -; - -RULE_STRING : - '"' ( - '\\' . | - ~ ( - '\\' | - '"' - ) - )* '"' | - '\'' ( - '\\' . | - ~ ( - '\\' | - '\'' - ) - )* '\'' -; - -RULE_ML_COMMENT : - '/*' ( - options { greedy = false ; } : . - )* '*/' { skip(); } -; - -RULE_SL_COMMENT : - '//' ~ ( - '\n' | - '\r' - )* ( - '\r'? '\n' - )? { skip(); } -; - -RULE_WS : - ( - ' ' | - '\t' | - '\r' | - '\n' - )+ { skip(); } -; - -RULE_ANY_OTHER : - . -; \ No newline at end of file diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSequencerTestLanguage.g deleted file mode 100644 index 35bcadb03..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSequencerTestLanguage.g +++ /dev/null @@ -1,535 +0,0 @@ -/* - * generated by Xtext - */ -grammar DebugInternalSequencerTestLanguage ; - -// Rule Model -ruleModel : - ruleSimpleGroup | - ruleSimpleAlternative | - ruleSimpleMultiplicities | - ruleGroupMultiplicities | - ruleAlternativeMultiplicities | - ruleList1 | - ruleList2 | - ruleAltList1 | - ruleAltList2 | - ruleSingleKeywords | - ruleSingleKeywordsOrID | - ruleSingleTerminals | - ruleMultiKeywords | - ruleMultiKeywordsOrID | - ruleMultiTerminals | - ruleSingleEnum | - ruleSingleCrossReference | - ruleSingleContainmentReference | - ruleDependentAlternative1 | - ruleDependentAlternative2 | - ruleOptional | - ruleFloat | - ruleUnorderedAlternative | - ruleUnorderedGroup | - ruleUnorderedGroupOptional | - ruleUnorderedGroupBoolean | - ruleComplex1 | - ruleOptionalDouble | - ruleNullValueGenerated | - ruleNullValueInterpreted | - ruleNullCrossRefGenerated | - ruleNullCrossRefInterpreted | - ruleFragmentCaller | - ruleParameterCaller | - ruleParameterDelegation -; - -// Rule SimpleGroup -ruleSimpleGroup : - '#1' RULE_ID RULE_ID -; - -// Rule SimpleAlternative -ruleSimpleAlternative : - '#2' ( - 'kw1' RULE_ID | - 'kw2' RULE_ID - ) -; - -// Rule SimpleMultiplicities -ruleSimpleMultiplicities : - '#3' RULE_ID 'kw1' RULE_ID? 'kw2' RULE_ID+ 'kw3' RULE_ID* -; - -// Rule GroupMultiplicities -ruleGroupMultiplicities : - '#4' RULE_ID 'kw1' ( - RULE_ID RULE_ID - )? 'kw2' ( - RULE_ID RULE_ID - )+ 'kw3' ( - RULE_ID RULE_ID - )* -; - -// Rule AlternativeMultiplicities -ruleAlternativeMultiplicities : - '#5' ( - RULE_ID | - 'kw1' RULE_ID - )? 'kw2' ( - RULE_ID | - 'kw3' RULE_ID - )+ 'kw4' ( - RULE_ID | - 'kw5' RULE_ID - )* -; - -// Rule List1 -ruleList1 : - '#6' RULE_ID ( - ',' RULE_ID - )* -; - -// Rule List2 -ruleList2 : - '#7' ( - RULE_ID ( - ',' RULE_ID - )* - )? -; - -// Rule AltList1 -ruleAltList1 : - '#8' ( - RULE_ID RULE_ID | - 'kw1' RULE_ID RULE_ID | - 'kw2' RULE_ID RULE_ID? - ) -; - -// Rule AltList2 -ruleAltList2 : - '#9' ( - RULE_ID RULE_ID | - 'kw' RULE_ID ( - ',' RULE_ID - )* RULE_ID - ) -; - -// Rule SingleKeywords -ruleSingleKeywords : - '#10' ( - 'kw1' | - 'kw2' | - 'kw3' - ) -; - -// Rule SingleKeywordsOrID -ruleSingleKeywordsOrID : - '#11' ( - 'kw1' | - 'kw2' | - 'kw3' | - RULE_ID - ) -; - -// Rule SingleTerminals -ruleSingleTerminals : - '#12' ( - RULE_ID1 | - RULE_ID2 - ) -; - -// Rule SingleEnum -ruleSingleEnum : - '#13' ( - ruleDefEnum1 | - ruleDefEnum2 | - ruleDefEnum3 - ) -; - -// Rule SingleCrossReference -ruleSingleCrossReference : - '#14' ( - RULE_ID1 | - RULE_ID2 | - RULE_ID3 - ) ( - RULE_ID1 | - RULE_ID2 | - RULE_ID3 - ) -; - -// Rule SingleContainmentReference -ruleSingleContainmentReference : - '#15' ( - ruleSingleContainmentReferenceChild1 | - ruleSingleContainmentReferenceChild2 | - ruleSingleContainmentReferenceChild3 - ) -; - -// Rule SingleContainmentReferenceChild1 -ruleSingleContainmentReferenceChild1 : - 'kw1' -; - -// Rule SingleContainmentReferenceChild2 -ruleSingleContainmentReferenceChild2 : - 'kw2' -; - -// Rule SingleContainmentReferenceChild3 -ruleSingleContainmentReferenceChild3 : - 'kw3' -; - -// Rule MultiKeywords -ruleMultiKeywords : - '#16' ( - 'kw1' | - 'kw2' | - 'kw3' - ) -; - -// Rule MultiKeywordsOrID -ruleMultiKeywordsOrID : - '#17' ( - 'kw1' | - 'kw2' | - 'kw3' | - RULE_ID - ) -; - -// Rule MultiTerminals -ruleMultiTerminals : - '#18' ( - RULE_ID1 | - RULE_ID2 - ) -; - -// Rule DependentAlternative1 -ruleDependentAlternative1 : - '#19' ( - RULE_ID | - RULE_ID 'kw1' - ) -; - -// Rule DependentAlternative2 -ruleDependentAlternative2 : - '#20' ( - RULE_ID RULE_ID+ | - RULE_ID+ 'kw1' - ) -; - -// Rule Optional -ruleOptional : - '#21' RULE_INT ( - RULE_INT RULE_INT - )? -; - -// Rule Float -ruleFloat : - '#22' 'Bye' -; - -// Rule UnorderedAlternative -ruleUnorderedAlternative : - '#23' ( - RULE_ID | - RULE_INT | - ruleUnorderedAlternativeVal | - ruleUnorderedAlternativeValDelegate - )* -; - -// Rule UnorderedAlternativeVal -ruleUnorderedAlternativeVal : - 'kw1' RULE_ID -; - -// Rule UnorderedAlternativeValDelegate -ruleUnorderedAlternativeValDelegate : - ruleUnorderedAlternativeVal2 -; - -// Rule UnorderedAlternativeVal2 -ruleUnorderedAlternativeVal2 : - 'kw2' RULE_ID -; - -// Rule UnorderedGroup -ruleUnorderedGroup : - '#24' ( - RULE_ID | - RULE_INT | - ruleUnorderedGroupVal | - ruleUnorderedGroupValDelegate - )* -; - -// Rule UnorderedGroupVal -ruleUnorderedGroupVal : - 'kw1' RULE_ID -; - -// Rule UnorderedGroupValDelegate -ruleUnorderedGroupValDelegate : - ruleUnorderedGroupVal2 -; - -// Rule UnorderedGroupVal2 -ruleUnorderedGroupVal2 : - 'kw2' RULE_ID -; - -// Rule UnorderedGroupOptional -ruleUnorderedGroupOptional : - '#25' ( - ( - 'kw1' RULE_ID - )? | - ( - 'kw2' RULE_ID - )? | - ( - 'kw3' RULE_ID - )? - )* -; - -// Rule UnorderedGroupBoolean -ruleUnorderedGroupBoolean : - '#26' ( - 'kw1'? | - 'kw2'? | - 'kw3'? - )* -; - -// Rule Complex1 -ruleComplex1 : - '#27' ( - 'kw1' RULE_ID - )? ( - 'kw2' RULE_ID - )? ( - 'kw3' RULE_ID | - 'kw4' RULE_ID | - 'kw5' RULE_ID | - 'kw6' RULE_ID - )* -; - -// Rule OptionalDouble -ruleOptionalDouble : - '#28' ruleDOUBLE ( - ruleDOUBLE ruleDOUBLE - )? -; - -// Rule DOUBLE -ruleDOUBLE : - RULE_INT ( - '.' RULE_INT - )? -; - -// Rule NullValueGenerated -ruleNullValueGenerated : - '#29' ruleNULL_STRING -; - -// Rule NullValueInterpreted -ruleNullValueInterpreted : - '#30' ruleNULL_STRING RULE_ID? -; - -// Rule NULL_STRING -ruleNULL_STRING : - RULE_STRING -; - -// Rule NullCrossRefGenerated -ruleNullCrossRefGenerated : - '#31' RULE_ID -; - -// Rule NullCrossRefInterpreted -ruleNullCrossRefInterpreted : - '#32' RULE_ID RULE_ID? -; - -// Rule FragmentCaller -ruleFragmentCaller : - '#33' RULE_ID ruleFragment1 RULE_ID -; - -// Rule Fragment1 -ruleFragment1 : - RULE_ID -; - -// Rule ParameterCaller -ruleParameterCaller : - '#34' ( - 'kw1' norm3_Parameterized | - 'kw2' norm1_Parameterized | - 'kw3' norm2_Parameterized | - 'kw4' ruleParameterized - ) -; - -// Rule Parameterized -ruleParameterized : - 'kwp2' RULE_ID -; - -// Rule Parameterized -norm1_Parameterized : - 'kwp1' RULE_ID -; - -// Rule Parameterized -norm2_Parameterized : - 'kwp2' RULE_ID ( - 'kwp3' RULE_ID - )? -; - -// Rule Parameterized -norm3_Parameterized : - 'kwp1' RULE_ID -; - -// Rule ParameterDelegation -ruleParameterDelegation : - '#35' ( - 'kw1' norm3_Delegation | - 'kw2' norm1_Delegation - ) -; - -// Rule Delegation -ruleDelegation : - RULE_INT -; - -// Rule Delegation -norm1_Delegation : - 'kwd' ruleDelegation ruleDelegation? -; - -// Rule Delegation -norm2_Delegation : - RULE_ID -; - -// Rule Delegation -norm3_Delegation : - 'kwd' norm2_Delegation norm2_Delegation? -; - -// Rule DefEnum1 -ruleDefEnum1 : - 'kw1' -; - -// Rule DefEnum2 -ruleDefEnum2 : - 'kw2' -; - -// Rule DefEnum3 -ruleDefEnum3 : - 'kw3' -; - -RULE_ID1 : - '$1' RULE_ID -; - -RULE_ID2 : - '$2' RULE_ID -; - -RULE_ID3 : - '$3' RULE_ID -; - -RULE_ID : - '^'? ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' - ) ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' | - '0' .. '9' - )* -; - -RULE_INT : - '0' .. '9'+ -; - -RULE_STRING : - '"' ( - '\\' . | - ~ ( - '\\' | - '"' - ) - )* '"' | - '\'' ( - '\\' . | - ~ ( - '\\' | - '\'' - ) - )* '\'' -; - -RULE_ML_COMMENT : - '/*' ( - options { greedy = false ; } : . - )* '*/' { skip(); } -; - -RULE_SL_COMMENT : - '//' ~ ( - '\n' | - '\r' - )* ( - '\r'? '\n' - )? { skip(); } -; - -RULE_WS : - ( - ' ' | - '\t' | - '\r' | - '\n' - )+ { skip(); } -; - -RULE_ANY_OTHER : - . -; \ No newline at end of file diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSyntacticSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSyntacticSequencerTestLanguage.g deleted file mode 100644 index 8a869f80b..000000000 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/DebugInternalSyntacticSequencerTestLanguage.g +++ /dev/null @@ -1,265 +0,0 @@ -/* - * generated by Xtext - */ -grammar DebugInternalSyntacticSequencerTestLanguage ; - -// Rule Model -ruleModel : - ruleMandatoryKeywords | - ruleExp0 | - ruleExp1 | - ruleExp2 | - ruleSingleCrossReference | - ruleBooleanAlternative | - ruleUnassignedDatatype | - ruleOptionalSingleTransition | - ruleOptionalManyTransition | - ruleMandatoryManyTransition | - ruleAlternativeTransition | - ruleBooleanValues | - ruleLongAlternative | - ruleActionOnly | - ruleFragmentCaller -; - -// Rule MandatoryKeywords -ruleMandatoryKeywords : - '#1' RULE_ID 'kw1' RULE_ID 'kw2' 'kw3' RULE_ID 'kw4' -; - -// Rule Exp0 -ruleExp0 : - '#2' ruleAddition0 -; - -// Rule Addition0 -ruleAddition0 : - rulePrim0 ( - '+' rulePrim0 - )* -; - -// Rule Prim0 -rulePrim0 : - RULE_ID -; - -// Rule Exp1 -ruleExp1 : - '#3' ruleAddition1 -; - -// Rule Addition1 -ruleAddition1 : - rulePrim1 ( - '+' rulePrim1 - )* -; - -// Rule Prim1 -rulePrim1 : - RULE_ID | - '(' ruleAddition1 ')' -; - -// Rule Exp2 -ruleExp2 : - '#4' ruleAddition2 -; - -// Rule Addition2 -ruleAddition2 : - ruleMultiplication2 ( - '+' ruleMultiplication2 - )* -; - -// Rule Multiplication2 -ruleMultiplication2 : - rulePrim2 ( - '*' rulePrim2 - )* -; - -// Rule Prim2 -rulePrim2 : - RULE_ID | - '(' ruleAddition2 ')' -; - -// Rule DatatypeID -ruleDatatypeID : - RULE_ID -; - -// Rule SingleCrossReference -ruleSingleCrossReference : - '#5' ( - RULE_TERMINAL_ID | - RULE_ID - ) ( - 'kw1' RULE_TERMINAL_ID - )? ( - 'kw2' ruleDatatypeID - )? ( - 'kw3' RULE_ID - )? ( - 'kw4' RULE_ID - )? -; - -// Rule BooleanAlternative -ruleBooleanAlternative : - '#6' ruleBooleanAlternativeLiteral -; - -// Rule BooleanAlternativeLiteral -ruleBooleanAlternativeLiteral : - 'kw1' | - 'kw2' -; - -// Rule UnassignedDatatype -ruleUnassignedDatatype : - '#7' RULE_ID ruleKW1 -; - -// Rule KW1 -ruleKW1 : - 'kw1' | - 'matched' RULE_INT? -; - -// Rule OptionalSingleTransition -ruleOptionalSingleTransition : - '#8' ruleKW1? RULE_ID -; - -// Rule OptionalManyTransition -ruleOptionalManyTransition : - '#9' ruleKW1* RULE_ID -; - -// Rule MandatoryManyTransition -ruleMandatoryManyTransition : - '#10' ruleKW1+ RULE_ID -; - -// Rule AlternativeTransition -ruleAlternativeTransition : - '#11' ( - ruleKW1 | - 'kw2' - ) RULE_ID -; - -// Rule BooleanDatatypeID -ruleBooleanDatatypeID : - RULE_ID -; - -// Rule BooleanValues -ruleBooleanValues : - '#12' 'kw1'? RULE_BOOLEAN_TERMINAL_ID? ruleBooleanDatatypeID? -; - -// Rule LongAlternative -ruleLongAlternative : - '#13' RULE_ID ( - 'kw1' RULE_ID? | - 'kw2' RULE_ID? | - 'kw3' RULE_ID? | - 'kw4' RULE_ID? | - 'kw5' RULE_ID? | - 'kw6' RULE_ID? | - 'kw7' RULE_ID? | - 'kw8' RULE_ID? - )* '!' -; - -// Rule ActionOnly -ruleActionOnly : - '#14' 'kw1'? ( ( - RULE_ID - ) => RULE_ID )? 'kw2'? RULE_ID? -; - -// Rule FragmentCaller -ruleFragmentCaller : - '#15' RULE_ID ruleFragment1 RULE_ID -; - -// Rule Fragment1 -ruleFragment1 : - RULE_ID -; - -RULE_TERMINAL_ID : - '$1' RULE_ID -; - -RULE_BOOLEAN_TERMINAL_ID : - '%1' RULE_ID -; - -RULE_ID : - '^'? ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' - ) ( - 'a' .. 'z' | - 'A' .. 'Z' | - '_' | - '0' .. '9' - )* -; - -RULE_INT : - '0' .. '9'+ -; - -RULE_STRING : - '"' ( - '\\' . | - ~ ( - '\\' | - '"' - ) - )* '"' | - '\'' ( - '\\' . | - ~ ( - '\\' | - '\'' - ) - )* '\'' -; - -RULE_ML_COMMENT : - '/*' ( - options { greedy = false ; } : . - )* '*/' { skip(); } -; - -RULE_SL_COMMENT : - '//' ~ ( - '\n' | - '\r' - )* ( - '\r'? '\n' - )? { skip(); } -; - -RULE_WS : - ( - ' ' | - '\t' | - '\r' | - '\n' - )+ { skip(); } -; - -RULE_ANY_OTHER : - . -; \ No newline at end of file diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.g index dea217bfd..904997c78 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.g +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguage.g @@ -5,7 +5,6 @@ grammar InternalAssignmentFinderTestLanguage; options { superClass=AbstractInternalAntlrParser; - } @lexer::header { @@ -17,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer; } @parser::header { -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -36,1081 +35,1083 @@ import org.eclipse.xtext.serializer.services.AssignmentFinderTestLanguageGrammar @parser::members { private AssignmentFinderTestLanguageGrammarAccess grammarAccess; - + public InternalAssignmentFinderTestLanguageParser(TokenStream input, AssignmentFinderTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected AssignmentFinderTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; } + } -@rulecatch { - catch (RecognitionException re) { - recover(input,re); +@rulecatch { + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } } - - - // Entry rule entryRuleModel -entryRuleModel returns [EObject current=null] - : +entryRuleModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getModelRule()); } - iv_ruleModel=ruleModel - { $current=$iv_ruleModel.current; } - EOF -; + iv_ruleModel=ruleModel + { $current=$iv_ruleModel.current; } + EOF; // Rule Model -ruleModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( otherlv_0='#00' - { - newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitZeroKeyword_0_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getKeywordValKeywordValParserRuleCall_0_1_0()); - } - lv_keywordVal_1_0=ruleKeywordVal { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "keywordVal", - lv_keywordVal_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordVal"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_2='#01' - { - newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitOneKeyword_1_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getTerminalValTerminalValParserRuleCall_1_1_0()); - } - lv_terminalVal_3_0=ruleTerminalVal { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "terminalVal", - lv_terminalVal_3_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalVal"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_4='#02' - { - newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitTwoKeyword_2_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getEnumValEnumValParserRuleCall_2_1_0()); - } - lv_enumVal_5_0=ruleEnumVal { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "enumVal", - lv_enumVal_5_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumVal"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_6='#03' - { - newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitThreeKeyword_3_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getKeywordBoolKeywordBoolParserRuleCall_3_1_0()); - } - lv_keywordBool_7_0=ruleKeywordBool { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "keywordBool", - lv_keywordBool_7_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordBool"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_8='#04' - { - newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFourKeyword_4_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getTerminalBoolTerminalBoolParserRuleCall_4_1_0()); - } - lv_terminalBool_9_0=ruleTerminalBool { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "terminalBool", - lv_terminalBool_9_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalBool"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_10='#05' - { - newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFiveKeyword_5_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getEnumBoolEnumBoolParserRuleCall_5_1_0()); - } - lv_enumBool_11_0=ruleEnumBool { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "enumBool", - lv_enumBool_11_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumBool"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_12='#06' - { - newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSixKeyword_6_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getMixedBoolMixedBoolParserRuleCall_6_1_0()); - } - lv_mixedBool_13_0=ruleMixedBool { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "mixedBool", - lv_mixedBool_13_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedBool"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_14='#07' - { - newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSevenKeyword_7_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getMixedValueMixedValueParserRuleCall_7_1_0()); - } - lv_mixedValue_15_0=ruleMixedValue { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "mixedValue", - lv_mixedValue_15_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedValue"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_16='#08' - { - newLeafNode(otherlv_16, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitEightKeyword_8_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getContainmentRefContainmentRefParserRuleCall_8_1_0()); - } - lv_containmentRef_17_0=ruleContainmentRef { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "containmentRef", - lv_containmentRef_17_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_18='#09' - { - newLeafNode(otherlv_18, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitNineKeyword_9_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getCrossRefCrossRefParserRuleCall_9_1_0()); - } - lv_crossRef_19_0=ruleCrossRef { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "crossRef", - lv_crossRef_19_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.CrossRef"); - afterParserOrEnumRuleCall(); - } - -) -))) +ruleModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + otherlv_0='#00' + { + newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitZeroKeyword_0_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getKeywordValKeywordValParserRuleCall_0_1_0()); + } + lv_keywordVal_1_0=ruleKeywordVal + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "keywordVal", + lv_keywordVal_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordVal"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_2='#01' + { + newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitOneKeyword_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getTerminalValTerminalValParserRuleCall_1_1_0()); + } + lv_terminalVal_3_0=ruleTerminalVal + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "terminalVal", + lv_terminalVal_3_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalVal"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_4='#02' + { + newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitTwoKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getEnumValEnumValParserRuleCall_2_1_0()); + } + lv_enumVal_5_0=ruleEnumVal + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "enumVal", + lv_enumVal_5_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumVal"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_6='#03' + { + newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitThreeKeyword_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getKeywordBoolKeywordBoolParserRuleCall_3_1_0()); + } + lv_keywordBool_7_0=ruleKeywordBool + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "keywordBool", + lv_keywordBool_7_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordBool"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_8='#04' + { + newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFourKeyword_4_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getTerminalBoolTerminalBoolParserRuleCall_4_1_0()); + } + lv_terminalBool_9_0=ruleTerminalBool + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "terminalBool", + lv_terminalBool_9_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalBool"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_10='#05' + { + newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFiveKeyword_5_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getEnumBoolEnumBoolParserRuleCall_5_1_0()); + } + lv_enumBool_11_0=ruleEnumBool + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "enumBool", + lv_enumBool_11_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumBool"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_12='#06' + { + newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSixKeyword_6_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getMixedBoolMixedBoolParserRuleCall_6_1_0()); + } + lv_mixedBool_13_0=ruleMixedBool + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "mixedBool", + lv_mixedBool_13_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedBool"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_14='#07' + { + newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSevenKeyword_7_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getMixedValueMixedValueParserRuleCall_7_1_0()); + } + lv_mixedValue_15_0=ruleMixedValue + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "mixedValue", + lv_mixedValue_15_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedValue"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_16='#08' + { + newLeafNode(otherlv_16, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitEightKeyword_8_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getContainmentRefContainmentRefParserRuleCall_8_1_0()); + } + lv_containmentRef_17_0=ruleContainmentRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "containmentRef", + lv_containmentRef_17_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_18='#09' + { + newLeafNode(otherlv_18, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitNineKeyword_9_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getCrossRefCrossRefParserRuleCall_9_1_0()); + } + lv_crossRef_19_0=ruleCrossRef + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "crossRef", + lv_crossRef_19_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.CrossRef"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleKeywordVal -entryRuleKeywordVal returns [EObject current=null] - : +entryRuleKeywordVal returns [EObject current=null]: { newCompositeNode(grammarAccess.getKeywordValRule()); } - iv_ruleKeywordVal=ruleKeywordVal - { $current=$iv_ruleKeywordVal.current; } - EOF -; + iv_ruleKeywordVal=ruleKeywordVal + { $current=$iv_ruleKeywordVal.current; } + EOF; // Rule KeywordVal -ruleKeywordVal returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_kw_0_0= 'kw1' - { - newLeafNode(lv_kw_0_0, grammarAccess.getKeywordValAccess().getKwKw1Keyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKeywordValRule()); - } - setWithLastConsumed($current, "kw", lv_kw_0_0, "kw1"); - } - -) -) - |( -( - lv_kw_1_0= 'kw2' - { - newLeafNode(lv_kw_1_0, grammarAccess.getKeywordValAccess().getKwKw2Keyword_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKeywordValRule()); - } - setWithLastConsumed($current, "kw", lv_kw_1_0, "kw2"); - } - -) -)) +ruleKeywordVal returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_kw_0_0='kw1' + { + newLeafNode(lv_kw_0_0, grammarAccess.getKeywordValAccess().getKwKw1Keyword_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getKeywordValRule()); + } + setWithLastConsumed($current, "kw", lv_kw_0_0, "kw1"); + } + ) + ) + | + ( + ( + lv_kw_1_0='kw2' + { + newLeafNode(lv_kw_1_0, grammarAccess.getKeywordValAccess().getKwKw2Keyword_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getKeywordValRule()); + } + setWithLastConsumed($current, "kw", lv_kw_1_0, "kw2"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleTerminalVal -entryRuleTerminalVal returns [EObject current=null] - : +entryRuleTerminalVal returns [EObject current=null]: { newCompositeNode(grammarAccess.getTerminalValRule()); } - iv_ruleTerminalVal=ruleTerminalVal - { $current=$iv_ruleTerminalVal.current; } - EOF -; + iv_ruleTerminalVal=ruleTerminalVal + { $current=$iv_ruleTerminalVal.current; } + EOF; // Rule TerminalVal -ruleTerminalVal returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_term_0_0=RULE_TERMINAL1 - { - newLeafNode(lv_term_0_0, grammarAccess.getTerminalValAccess().getTermTerminal1TerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed( - $current, - "term", - lv_term_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - } - -) -) - |( -( - lv_term_1_0=RULE_TERMINAL2 - { - newLeafNode(lv_term_1_0, grammarAccess.getTerminalValAccess().getTermTerminal2TerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed( - $current, - "term", - lv_term_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - } - -) -) - |( -( - lv_term_2_0= '%foo' - { - newLeafNode(lv_term_2_0, grammarAccess.getTerminalValAccess().getTermFooKeyword_2_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed($current, "term", lv_term_2_0, "\%foo"); - } - -) -)) +ruleTerminalVal returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_term_0_0=RULE_TERMINAL1 + { + newLeafNode(lv_term_0_0, grammarAccess.getTerminalValAccess().getTermTerminal1TerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed( + $current, + "term", + lv_term_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } + ) + ) + | + ( + ( + lv_term_1_0=RULE_TERMINAL2 + { + newLeafNode(lv_term_1_0, grammarAccess.getTerminalValAccess().getTermTerminal2TerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed( + $current, + "term", + lv_term_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } + ) + ) + | + ( + ( + lv_term_2_0='%foo' + { + newLeafNode(lv_term_2_0, grammarAccess.getTerminalValAccess().getTermFooKeyword_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed($current, "term", lv_term_2_0, "\%foo"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleEnumVal -entryRuleEnumVal returns [EObject current=null] - : +entryRuleEnumVal returns [EObject current=null]: { newCompositeNode(grammarAccess.getEnumValRule()); } - iv_ruleEnumVal=ruleEnumVal - { $current=$iv_ruleEnumVal.current; } - EOF -; + iv_ruleEnumVal=ruleEnumVal + { $current=$iv_ruleEnumVal.current; } + EOF; // Rule EnumVal -ruleEnumVal returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum1EnumRuleCall_0_0()); - } - lv_en_0_0=ruleEnum1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getEnumValRule()); - } - set( - $current, - "en", - lv_en_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum2EnumRuleCall_1_0()); - } - lv_en_1_0=ruleEnum2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getEnumValRule()); - } - set( - $current, - "en", - lv_en_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleEnumVal returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum1EnumRuleCall_0_0()); + } + lv_en_0_0=ruleEnum1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumValRule()); + } + set( + $current, + "en", + lv_en_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum2EnumRuleCall_1_0()); + } + lv_en_1_0=ruleEnum2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumValRule()); + } + set( + $current, + "en", + lv_en_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleKeywordBool -entryRuleKeywordBool returns [EObject current=null] - : +entryRuleKeywordBool returns [EObject current=null]: { newCompositeNode(grammarAccess.getKeywordBoolRule()); } - iv_ruleKeywordBool=ruleKeywordBool - { $current=$iv_ruleKeywordBool.current; } - EOF -; + iv_ruleKeywordBool=ruleKeywordBool + { $current=$iv_ruleKeywordBool.current; } + EOF; // Rule KeywordBool -ruleKeywordBool returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_kw_0_0= 'kw1' - { - newLeafNode(lv_kw_0_0, grammarAccess.getKeywordBoolAccess().getKwKw1Keyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKeywordBoolRule()); - } - setWithLastConsumed($current, "kw", true, "kw1"); - } - -) -) - |( -( - lv_kw_1_0= 'kw2' - { - newLeafNode(lv_kw_1_0, grammarAccess.getKeywordBoolAccess().getKwKw2Keyword_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getKeywordBoolRule()); - } - setWithLastConsumed($current, "kw", true, "kw2"); - } - -) -)) +ruleKeywordBool returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_kw_0_0='kw1' + { + newLeafNode(lv_kw_0_0, grammarAccess.getKeywordBoolAccess().getKwKw1Keyword_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getKeywordBoolRule()); + } + setWithLastConsumed($current, "kw", true, "kw1"); + } + ) + ) + | + ( + ( + lv_kw_1_0='kw2' + { + newLeafNode(lv_kw_1_0, grammarAccess.getKeywordBoolAccess().getKwKw2Keyword_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getKeywordBoolRule()); + } + setWithLastConsumed($current, "kw", true, "kw2"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleTerminalBool -entryRuleTerminalBool returns [EObject current=null] - : +entryRuleTerminalBool returns [EObject current=null]: { newCompositeNode(grammarAccess.getTerminalBoolRule()); } - iv_ruleTerminalBool=ruleTerminalBool - { $current=$iv_ruleTerminalBool.current; } - EOF -; + iv_ruleTerminalBool=ruleTerminalBool + { $current=$iv_ruleTerminalBool.current; } + EOF; // Rule TerminalBool -ruleTerminalBool returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_term_0_0=RULE_TERMINAL1 - { - newLeafNode(lv_term_0_0, grammarAccess.getTerminalBoolAccess().getTermTerminal1TerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed( - $current, - "term", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - } - -) -) - |( -( - lv_term_1_0=RULE_TERMINAL2 - { - newLeafNode(lv_term_1_0, grammarAccess.getTerminalBoolAccess().getTermTerminal2TerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed( - $current, - "term", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - } - -) -) - |( -( - lv_term_2_0= '%foo' - { - newLeafNode(lv_term_2_0, grammarAccess.getTerminalBoolAccess().getTermFooKeyword_2_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed($current, "term", true, "\%foo"); - } - -) -)) +ruleTerminalBool returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_term_0_0=RULE_TERMINAL1 + { + newLeafNode(lv_term_0_0, grammarAccess.getTerminalBoolAccess().getTermTerminal1TerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed( + $current, + "term", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } + ) + ) + | + ( + ( + lv_term_1_0=RULE_TERMINAL2 + { + newLeafNode(lv_term_1_0, grammarAccess.getTerminalBoolAccess().getTermTerminal2TerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed( + $current, + "term", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } + ) + ) + | + ( + ( + lv_term_2_0='%foo' + { + newLeafNode(lv_term_2_0, grammarAccess.getTerminalBoolAccess().getTermFooKeyword_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed($current, "term", true, "\%foo"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleEnumBool -entryRuleEnumBool returns [EObject current=null] - : +entryRuleEnumBool returns [EObject current=null]: { newCompositeNode(grammarAccess.getEnumBoolRule()); } - iv_ruleEnumBool=ruleEnumBool - { $current=$iv_ruleEnumBool.current; } - EOF -; + iv_ruleEnumBool=ruleEnumBool + { $current=$iv_ruleEnumBool.current; } + EOF; // Rule EnumBool -ruleEnumBool returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum1EnumRuleCall_0_0()); - } - lv_en_0_0=ruleEnum1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getEnumBoolRule()); - } - set( - $current, - "en", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum2EnumRuleCall_1_0()); - } - lv_en_1_0=ruleEnum2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getEnumBoolRule()); - } - set( - $current, - "en", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleEnumBool returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum1EnumRuleCall_0_0()); + } + lv_en_0_0=ruleEnum1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumBoolRule()); + } + set( + $current, + "en", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum2EnumRuleCall_1_0()); + } + lv_en_1_0=ruleEnum2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getEnumBoolRule()); + } + set( + $current, + "en", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleMixedBool -entryRuleMixedBool returns [EObject current=null] - : +entryRuleMixedBool returns [EObject current=null]: { newCompositeNode(grammarAccess.getMixedBoolRule()); } - iv_ruleMixedBool=ruleMixedBool - { $current=$iv_ruleMixedBool.current; } - EOF -; + iv_ruleMixedBool=ruleMixedBool + { $current=$iv_ruleMixedBool.current; } + EOF; // Rule MixedBool -ruleMixedBool returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_val_0_0= 'kw1' - { - newLeafNode(lv_val_0_0, grammarAccess.getMixedBoolAccess().getValKw1Keyword_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMixedBoolRule()); - } - setWithLastConsumed($current, "val", true, "kw1"); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getMixedBoolAccess().getValBooleanParserRuleCall_1_0()); - } - lv_val_1_0=ruleBoolean { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMixedBoolRule()); - } - set( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Boolean"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleMixedBool returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_val_0_0='kw1' + { + newLeafNode(lv_val_0_0, grammarAccess.getMixedBoolAccess().getValKw1Keyword_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMixedBoolRule()); + } + setWithLastConsumed($current, "val", true, "kw1"); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getMixedBoolAccess().getValBooleanParserRuleCall_1_0()); + } + lv_val_1_0=ruleBoolean + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMixedBoolRule()); + } + set( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Boolean"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleBoolean -entryRuleBoolean returns [String current=null] - : - { newCompositeNode(grammarAccess.getBooleanRule()); } - iv_ruleBoolean=ruleBoolean - { $current=$iv_ruleBoolean.current.getText(); } - EOF -; +entryRuleBoolean returns [String current=null]: + { newCompositeNode(grammarAccess.getBooleanRule()); } + iv_ruleBoolean=ruleBoolean + { $current=$iv_ruleBoolean.current.getText(); } + EOF; // Rule Boolean -ruleBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( - kw='true' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getBooleanAccess().getTrueKeyword_0()); - } - - | - kw='false' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getBooleanAccess().getFalseKeyword_1()); - } -) - ; - - - - +ruleBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + kw='true' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getBooleanAccess().getTrueKeyword_0()); + } + | + kw='false' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getBooleanAccess().getFalseKeyword_1()); + } + ) +; // Entry rule entryRuleMixedValue -entryRuleMixedValue returns [EObject current=null] - : +entryRuleMixedValue returns [EObject current=null]: { newCompositeNode(grammarAccess.getMixedValueRule()); } - iv_ruleMixedValue=ruleMixedValue - { $current=$iv_ruleMixedValue.current; } - EOF -; + iv_ruleMixedValue=ruleMixedValue + { $current=$iv_ruleMixedValue.current; } + EOF; // Rule MixedValue -ruleMixedValue returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getMixedValueAccess().getValEnum1EnumRuleCall_0_0()); - } - lv_val_0_0=ruleEnum1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMixedValueRule()); - } - set( - $current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getMixedValueAccess().getValDatEnumParserRuleCall_1_0()); - } - lv_val_1_0=ruleDatEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMixedValueRule()); - } - set( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.DatEnum"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleMixedValue returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getMixedValueAccess().getValEnum1EnumRuleCall_0_0()); + } + lv_val_0_0=ruleEnum1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMixedValueRule()); + } + set( + $current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getMixedValueAccess().getValDatEnumParserRuleCall_1_0()); + } + lv_val_1_0=ruleDatEnum + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMixedValueRule()); + } + set( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.DatEnum"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleDatEnum -entryRuleDatEnum returns [String current=null] - : - { newCompositeNode(grammarAccess.getDatEnumRule()); } - iv_ruleDatEnum=ruleDatEnum - { $current=$iv_ruleDatEnum.current.getText(); } - EOF -; +entryRuleDatEnum returns [String current=null]: + { newCompositeNode(grammarAccess.getDatEnumRule()); } + iv_ruleDatEnum=ruleDatEnum + { $current=$iv_ruleDatEnum.current.getText(); } + EOF; // Rule DatEnum -ruleDatEnum returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: - - kw='lit3' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getDatEnumAccess().getLit3Keyword()); - } - - ; - - - - +ruleDatEnum returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + kw='lit3' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDatEnumAccess().getLit3Keyword()); + } +; // Entry rule entryRuleContainmentRef -entryRuleContainmentRef returns [EObject current=null] - : +entryRuleContainmentRef returns [EObject current=null]: { newCompositeNode(grammarAccess.getContainmentRefRule()); } - iv_ruleContainmentRef=ruleContainmentRef - { $current=$iv_ruleContainmentRef.current; } - EOF -; + iv_ruleContainmentRef=ruleContainmentRef + { $current=$iv_ruleContainmentRef.current; } + EOF; // Rule ContainmentRef -ruleContainmentRef returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef1ParserRuleCall_0_0()); - } - lv_ctx_0_0=ruleContainmentRef1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getContainmentRefRule()); - } - set( - $current, - "ctx", - lv_ctx_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef2ParserRuleCall_1_0()); - } - lv_ctx_1_0=ruleContainmentRef2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getContainmentRefRule()); - } - set( - $current, - "ctx", - lv_ctx_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef2"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleContainmentRef returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef1ParserRuleCall_0_0()); + } + lv_ctx_0_0=ruleContainmentRef1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getContainmentRefRule()); + } + set( + $current, + "ctx", + lv_ctx_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef2ParserRuleCall_1_0()); + } + lv_ctx_1_0=ruleContainmentRef2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getContainmentRefRule()); + } + set( + $current, + "ctx", + lv_ctx_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleContainmentRef1 -entryRuleContainmentRef1 returns [EObject current=null] - : +entryRuleContainmentRef1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getContainmentRef1Rule()); } - iv_ruleContainmentRef1=ruleContainmentRef1 - { $current=$iv_ruleContainmentRef1.current; } - EOF -; + iv_ruleContainmentRef1=ruleContainmentRef1 + { $current=$iv_ruleContainmentRef1.current; } + EOF; // Rule ContainmentRef1 -ruleContainmentRef1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getContainmentRef1Access().getKw1Keyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleContainmentRef1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_val1_1_0, grammarAccess.getContainmentRef1Access().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getContainmentRef1Access().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getContainmentRef1Rule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getContainmentRef1Access().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getContainmentRef1Rule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleContainmentRef2 -entryRuleContainmentRef2 returns [EObject current=null] - : +entryRuleContainmentRef2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getContainmentRef2Rule()); } - iv_ruleContainmentRef2=ruleContainmentRef2 - { $current=$iv_ruleContainmentRef2.current; } - EOF -; + iv_ruleContainmentRef2=ruleContainmentRef2 + { $current=$iv_ruleContainmentRef2.current; } + EOF; // Rule ContainmentRef2 -ruleContainmentRef2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getContainmentRef2Access().getKw2Keyword_0()); - } -( -( - lv_val2_1_0=RULE_ID +ruleContainmentRef2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_val2_1_0, grammarAccess.getContainmentRef2Access().getVal2IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getContainmentRef2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getContainmentRef2Rule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val2_1_0=RULE_ID + { + newLeafNode(lv_val2_1_0, grammarAccess.getContainmentRef2Access().getVal2IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getContainmentRef2Rule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleCrossRef -entryRuleCrossRef returns [EObject current=null] - : +entryRuleCrossRef returns [EObject current=null]: { newCompositeNode(grammarAccess.getCrossRefRule()); } - iv_ruleCrossRef=ruleCrossRef - { $current=$iv_ruleCrossRef.current; } - EOF -; + iv_ruleCrossRef=ruleCrossRef + { $current=$iv_ruleCrossRef.current; } + EOF; // Rule CrossRef -ruleCrossRef returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( -( - lv_name_0_1=RULE_TERMINAL1 - { - newLeafNode(lv_name_0_1, grammarAccess.getCrossRefAccess().getNameTerminal1TerminalRuleCall_0_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCrossRefRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_0_1, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - } - - | lv_name_0_2=RULE_TERMINAL2 - { - newLeafNode(lv_name_0_2, grammarAccess.getCrossRefAccess().getNameTerminal2TerminalRuleCall_0_0_1()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCrossRefRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_0_2, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - } - -) - -) -)(( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCrossRefRule()); - } - } - otherlv_1=RULE_TERMINAL1 - { - newLeafNode(otherlv_1, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_0_0()); - } - -) -) - |( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getCrossRefRule()); - } - } - otherlv_2=RULE_TERMINAL2 - { - newLeafNode(otherlv_2, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_1_0()); - } - -) -))) +ruleCrossRef returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + lv_name_0_1=RULE_TERMINAL1 + { + newLeafNode(lv_name_0_1, grammarAccess.getCrossRefAccess().getNameTerminal1TerminalRuleCall_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCrossRefRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_1, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } + | + lv_name_0_2=RULE_TERMINAL2 + { + newLeafNode(lv_name_0_2, grammarAccess.getCrossRefAccess().getNameTerminal2TerminalRuleCall_0_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCrossRefRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_2, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } + ) + ) + ) + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCrossRefRule()); + } + } + otherlv_1=RULE_TERMINAL1 + { + newLeafNode(otherlv_1, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_0_0()); + } + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getCrossRefRule()); + } + } + otherlv_2=RULE_TERMINAL2 + { + newLeafNode(otherlv_2, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_1_0()); + } + ) + ) + ) + ) ; - - - - // Rule Enum1 -ruleEnum1 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='lit1' - { - $current = grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration()); - } -); - - +ruleEnum1 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='lit1' + { + $current = grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration()); + } + ) +; // Rule Enum2 -ruleEnum2 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='lit2' - { - $current = grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration()); - } -); - - - - +ruleEnum2 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='lit2' + { + $current = grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration()); + } + ) +; RULE_TERMINAL1 : '%' ('A'..'Z')*; @@ -1129,5 +1130,3 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_WS : (' '|'\t'|'\r'|'\n')+; RULE_ANY_OTHER : .; - - diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageLexer.java index 94fb55a27..8efab5835 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageLexer.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageLexer.java @@ -437,11 +437,11 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_TERMINAL1; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1115:16: ( '%' ( 'A' .. 'Z' )* ) - // InternalAssignmentFinderTestLanguage.g:1115:18: '%' ( 'A' .. 'Z' )* + // InternalAssignmentFinderTestLanguage.g:1116:16: ( '%' ( 'A' .. 'Z' )* ) + // InternalAssignmentFinderTestLanguage.g:1116:18: '%' ( 'A' .. 'Z' )* { match('%'); - // InternalAssignmentFinderTestLanguage.g:1115:22: ( 'A' .. 'Z' )* + // InternalAssignmentFinderTestLanguage.g:1116:22: ( 'A' .. 'Z' )* loop1: do { int alt1=2; @@ -454,7 +454,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt1) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1115:23: 'A' .. 'Z' + // InternalAssignmentFinderTestLanguage.g:1116:23: 'A' .. 'Z' { matchRange('A','Z'); @@ -482,11 +482,11 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_TERMINAL2; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1117:16: ( '%' ( 'a' .. 'z' )* ) - // InternalAssignmentFinderTestLanguage.g:1117:18: '%' ( 'a' .. 'z' )* + // InternalAssignmentFinderTestLanguage.g:1118:16: ( '%' ( 'a' .. 'z' )* ) + // InternalAssignmentFinderTestLanguage.g:1118:18: '%' ( 'a' .. 'z' )* { match('%'); - // InternalAssignmentFinderTestLanguage.g:1117:22: ( 'a' .. 'z' )* + // InternalAssignmentFinderTestLanguage.g:1118:22: ( 'a' .. 'z' )* loop2: do { int alt2=2; @@ -499,7 +499,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt2) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1117:23: 'a' .. 'z' + // InternalAssignmentFinderTestLanguage.g:1118:23: 'a' .. 'z' { matchRange('a','z'); @@ -527,10 +527,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1119:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalAssignmentFinderTestLanguage.g:1119:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalAssignmentFinderTestLanguage.g:1120:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalAssignmentFinderTestLanguage.g:1120:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalAssignmentFinderTestLanguage.g:1119:11: ( '^' )? + // InternalAssignmentFinderTestLanguage.g:1120:11: ( '^' )? int alt3=2; int LA3_0 = input.LA(1); @@ -539,7 +539,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } switch (alt3) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1119:11: '^' + // InternalAssignmentFinderTestLanguage.g:1120:11: '^' { match('^'); @@ -557,7 +557,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalAssignmentFinderTestLanguage.g:1119:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalAssignmentFinderTestLanguage.g:1120:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop4: do { int alt4=2; @@ -606,10 +606,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1121:10: ( ( '0' .. '9' )+ ) - // InternalAssignmentFinderTestLanguage.g:1121:12: ( '0' .. '9' )+ + // InternalAssignmentFinderTestLanguage.g:1122:10: ( ( '0' .. '9' )+ ) + // InternalAssignmentFinderTestLanguage.g:1122:12: ( '0' .. '9' )+ { - // InternalAssignmentFinderTestLanguage.g:1121:12: ( '0' .. '9' )+ + // InternalAssignmentFinderTestLanguage.g:1122:12: ( '0' .. '9' )+ int cnt5=0; loop5: do { @@ -623,7 +623,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt5) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1121:13: '0' .. '9' + // InternalAssignmentFinderTestLanguage.g:1122:13: '0' .. '9' { matchRange('0','9'); @@ -655,10 +655,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1123:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalAssignmentFinderTestLanguage.g:1123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalAssignmentFinderTestLanguage.g:1124:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalAssignmentFinderTestLanguage.g:1124:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalAssignmentFinderTestLanguage.g:1123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalAssignmentFinderTestLanguage.g:1124:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt8=2; int LA8_0 = input.LA(1); @@ -676,10 +676,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } switch (alt8) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1123:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalAssignmentFinderTestLanguage.g:1124:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalAssignmentFinderTestLanguage.g:1123:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalAssignmentFinderTestLanguage.g:1124:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop6: do { int alt6=3; @@ -695,7 +695,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt6) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1123:21: '\\\\' . + // InternalAssignmentFinderTestLanguage.g:1124:21: '\\\\' . { match('\\'); matchAny(); @@ -703,7 +703,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:1123:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalAssignmentFinderTestLanguage.g:1124:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -728,10 +728,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:1123:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalAssignmentFinderTestLanguage.g:1124:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalAssignmentFinderTestLanguage.g:1123:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalAssignmentFinderTestLanguage.g:1124:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop7: do { int alt7=3; @@ -747,7 +747,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1123:54: '\\\\' . + // InternalAssignmentFinderTestLanguage.g:1124:54: '\\\\' . { match('\\'); matchAny(); @@ -755,7 +755,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:1123:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalAssignmentFinderTestLanguage.g:1124:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -798,12 +798,12 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1125:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalAssignmentFinderTestLanguage.g:1125:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalAssignmentFinderTestLanguage.g:1126:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalAssignmentFinderTestLanguage.g:1126:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalAssignmentFinderTestLanguage.g:1125:24: ( options {greedy=false; } : . )* + // InternalAssignmentFinderTestLanguage.g:1126:24: ( options {greedy=false; } : . )* loop9: do { int alt9=2; @@ -828,7 +828,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt9) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1125:52: . + // InternalAssignmentFinderTestLanguage.g:1126:52: . { matchAny(); @@ -858,12 +858,12 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1127:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalAssignmentFinderTestLanguage.g:1127:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalAssignmentFinderTestLanguage.g:1128:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalAssignmentFinderTestLanguage.g:1128:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalAssignmentFinderTestLanguage.g:1127:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalAssignmentFinderTestLanguage.g:1128:24: (~ ( ( '\\n' | '\\r' ) ) )* loop10: do { int alt10=2; @@ -876,7 +876,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { switch (alt10) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1127:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalAssignmentFinderTestLanguage.g:1128:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -896,7 +896,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } } while (true); - // InternalAssignmentFinderTestLanguage.g:1127:40: ( ( '\\r' )? '\\n' )? + // InternalAssignmentFinderTestLanguage.g:1128:40: ( ( '\\r' )? '\\n' )? int alt12=2; int LA12_0 = input.LA(1); @@ -905,9 +905,9 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } switch (alt12) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1127:41: ( '\\r' )? '\\n' + // InternalAssignmentFinderTestLanguage.g:1128:41: ( '\\r' )? '\\n' { - // InternalAssignmentFinderTestLanguage.g:1127:41: ( '\\r' )? + // InternalAssignmentFinderTestLanguage.g:1128:41: ( '\\r' )? int alt11=2; int LA11_0 = input.LA(1); @@ -916,7 +916,7 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { } switch (alt11) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1127:41: '\\r' + // InternalAssignmentFinderTestLanguage.g:1128:41: '\\r' { match('\r'); @@ -948,10 +948,10 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1129:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalAssignmentFinderTestLanguage.g:1129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalAssignmentFinderTestLanguage.g:1130:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalAssignmentFinderTestLanguage.g:1130:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalAssignmentFinderTestLanguage.g:1129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalAssignmentFinderTestLanguage.g:1130:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt13=0; loop13: do { @@ -1005,8 +1005,8 @@ public class InternalAssignmentFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalAssignmentFinderTestLanguage.g:1131:16: ( . ) - // InternalAssignmentFinderTestLanguage.g:1131:18: . + // InternalAssignmentFinderTestLanguage.g:1132:16: ( . ) + // InternalAssignmentFinderTestLanguage.g:1132:18: . { matchAny(); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageParser.java index cf6a59f70..8704d9df1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalAssignmentFinderTestLanguageParser.java @@ -1,4 +1,4 @@ -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -72,18 +72,18 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal private AssignmentFinderTestLanguageGrammarAccess grammarAccess; - + public InternalAssignmentFinderTestLanguageParser(TokenStream input, AssignmentFinderTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected AssignmentFinderTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; @@ -91,8 +91,9 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal + // $ANTLR start "entryRuleModel" - // InternalAssignmentFinderTestLanguage.g:68:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; + // InternalAssignmentFinderTestLanguage.g:65:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; public final EObject entryRuleModel() throws RecognitionException { EObject current = null; @@ -100,8 +101,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:69:2: (iv_ruleModel= ruleModel EOF ) - // InternalAssignmentFinderTestLanguage.g:70:2: iv_ruleModel= ruleModel EOF + // InternalAssignmentFinderTestLanguage.g:65:46: (iv_ruleModel= ruleModel EOF ) + // InternalAssignmentFinderTestLanguage.g:66:2: iv_ruleModel= ruleModel EOF { newCompositeNode(grammarAccess.getModelRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -115,11 +116,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -128,7 +129,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleModel" - // InternalAssignmentFinderTestLanguage.g:77:1: ruleModel returns [EObject current=null] : ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:72:1: ruleModel returns [EObject current=null] : ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) ; public final EObject ruleModel() throws RecognitionException { EObject current = null; @@ -163,13 +164,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal EObject lv_crossRef_19_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:80:28: ( ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:81:1: ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:78:2: ( ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:79:2: ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) { - // InternalAssignmentFinderTestLanguage.g:81:1: ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:79:2: ( (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) | (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) | (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) | (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) | (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) | (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) | (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) | (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) | (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) | (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) ) int alt1=10; switch ( input.LA(1) ) { case 13: @@ -231,40 +233,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal switch (alt1) { case 1 : - // InternalAssignmentFinderTestLanguage.g:81:2: (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:80:3: (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) { - // InternalAssignmentFinderTestLanguage.g:81:2: (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:80:3: (otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) ) // InternalAssignmentFinderTestLanguage.g:81:4: otherlv_0= '#00' ( (lv_keywordVal_1_0= ruleKeywordVal ) ) { otherlv_0=(Token)match(input,13,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitZeroKeyword_0_0()); - - // InternalAssignmentFinderTestLanguage.g:85:1: ( (lv_keywordVal_1_0= ruleKeywordVal ) ) - // InternalAssignmentFinderTestLanguage.g:86:1: (lv_keywordVal_1_0= ruleKeywordVal ) + newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitZeroKeyword_0_0()); + + // InternalAssignmentFinderTestLanguage.g:85:4: ( (lv_keywordVal_1_0= ruleKeywordVal ) ) + // InternalAssignmentFinderTestLanguage.g:86:5: (lv_keywordVal_1_0= ruleKeywordVal ) { - // InternalAssignmentFinderTestLanguage.g:86:1: (lv_keywordVal_1_0= ruleKeywordVal ) - // InternalAssignmentFinderTestLanguage.g:87:3: lv_keywordVal_1_0= ruleKeywordVal + // InternalAssignmentFinderTestLanguage.g:86:5: (lv_keywordVal_1_0= ruleKeywordVal ) + // InternalAssignmentFinderTestLanguage.g:87:6: lv_keywordVal_1_0= ruleKeywordVal { - - newCompositeNode(grammarAccess.getModelAccess().getKeywordValKeywordValParserRuleCall_0_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getKeywordValKeywordValParserRuleCall_0_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_keywordVal_1_0=ruleKeywordVal(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "keywordVal", - lv_keywordVal_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordVal"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "keywordVal", + lv_keywordVal_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordVal"); + afterParserOrEnumRuleCall(); + } @@ -278,40 +280,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:104:6: (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:106:3: (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) { - // InternalAssignmentFinderTestLanguage.g:104:6: (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) - // InternalAssignmentFinderTestLanguage.g:104:8: otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) + // InternalAssignmentFinderTestLanguage.g:106:3: (otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:107:4: otherlv_2= '#01' ( (lv_terminalVal_3_0= ruleTerminalVal ) ) { otherlv_2=(Token)match(input,14,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitOneKeyword_1_0()); - - // InternalAssignmentFinderTestLanguage.g:108:1: ( (lv_terminalVal_3_0= ruleTerminalVal ) ) - // InternalAssignmentFinderTestLanguage.g:109:1: (lv_terminalVal_3_0= ruleTerminalVal ) + newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitOneKeyword_1_0()); + + // InternalAssignmentFinderTestLanguage.g:111:4: ( (lv_terminalVal_3_0= ruleTerminalVal ) ) + // InternalAssignmentFinderTestLanguage.g:112:5: (lv_terminalVal_3_0= ruleTerminalVal ) { - // InternalAssignmentFinderTestLanguage.g:109:1: (lv_terminalVal_3_0= ruleTerminalVal ) - // InternalAssignmentFinderTestLanguage.g:110:3: lv_terminalVal_3_0= ruleTerminalVal + // InternalAssignmentFinderTestLanguage.g:112:5: (lv_terminalVal_3_0= ruleTerminalVal ) + // InternalAssignmentFinderTestLanguage.g:113:6: lv_terminalVal_3_0= ruleTerminalVal { - - newCompositeNode(grammarAccess.getModelAccess().getTerminalValTerminalValParserRuleCall_1_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getTerminalValTerminalValParserRuleCall_1_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_terminalVal_3_0=ruleTerminalVal(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "terminalVal", - lv_terminalVal_3_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalVal"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "terminalVal", + lv_terminalVal_3_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalVal"); + afterParserOrEnumRuleCall(); + } @@ -325,40 +327,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 3 : - // InternalAssignmentFinderTestLanguage.g:127:6: (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:132:3: (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) { - // InternalAssignmentFinderTestLanguage.g:127:6: (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) - // InternalAssignmentFinderTestLanguage.g:127:8: otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) + // InternalAssignmentFinderTestLanguage.g:132:3: (otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) ) + // InternalAssignmentFinderTestLanguage.g:133:4: otherlv_4= '#02' ( (lv_enumVal_5_0= ruleEnumVal ) ) { otherlv_4=(Token)match(input,15,FollowSets000.FOLLOW_5); - newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitTwoKeyword_2_0()); - - // InternalAssignmentFinderTestLanguage.g:131:1: ( (lv_enumVal_5_0= ruleEnumVal ) ) - // InternalAssignmentFinderTestLanguage.g:132:1: (lv_enumVal_5_0= ruleEnumVal ) + newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitTwoKeyword_2_0()); + + // InternalAssignmentFinderTestLanguage.g:137:4: ( (lv_enumVal_5_0= ruleEnumVal ) ) + // InternalAssignmentFinderTestLanguage.g:138:5: (lv_enumVal_5_0= ruleEnumVal ) { - // InternalAssignmentFinderTestLanguage.g:132:1: (lv_enumVal_5_0= ruleEnumVal ) - // InternalAssignmentFinderTestLanguage.g:133:3: lv_enumVal_5_0= ruleEnumVal + // InternalAssignmentFinderTestLanguage.g:138:5: (lv_enumVal_5_0= ruleEnumVal ) + // InternalAssignmentFinderTestLanguage.g:139:6: lv_enumVal_5_0= ruleEnumVal { - - newCompositeNode(grammarAccess.getModelAccess().getEnumValEnumValParserRuleCall_2_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getEnumValEnumValParserRuleCall_2_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_enumVal_5_0=ruleEnumVal(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "enumVal", - lv_enumVal_5_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumVal"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "enumVal", + lv_enumVal_5_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumVal"); + afterParserOrEnumRuleCall(); + } @@ -372,40 +374,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 4 : - // InternalAssignmentFinderTestLanguage.g:150:6: (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:158:3: (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) { - // InternalAssignmentFinderTestLanguage.g:150:6: (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) - // InternalAssignmentFinderTestLanguage.g:150:8: otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) + // InternalAssignmentFinderTestLanguage.g:158:3: (otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:159:4: otherlv_6= '#03' ( (lv_keywordBool_7_0= ruleKeywordBool ) ) { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitThreeKeyword_3_0()); - - // InternalAssignmentFinderTestLanguage.g:154:1: ( (lv_keywordBool_7_0= ruleKeywordBool ) ) - // InternalAssignmentFinderTestLanguage.g:155:1: (lv_keywordBool_7_0= ruleKeywordBool ) + newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitThreeKeyword_3_0()); + + // InternalAssignmentFinderTestLanguage.g:163:4: ( (lv_keywordBool_7_0= ruleKeywordBool ) ) + // InternalAssignmentFinderTestLanguage.g:164:5: (lv_keywordBool_7_0= ruleKeywordBool ) { - // InternalAssignmentFinderTestLanguage.g:155:1: (lv_keywordBool_7_0= ruleKeywordBool ) - // InternalAssignmentFinderTestLanguage.g:156:3: lv_keywordBool_7_0= ruleKeywordBool + // InternalAssignmentFinderTestLanguage.g:164:5: (lv_keywordBool_7_0= ruleKeywordBool ) + // InternalAssignmentFinderTestLanguage.g:165:6: lv_keywordBool_7_0= ruleKeywordBool { - - newCompositeNode(grammarAccess.getModelAccess().getKeywordBoolKeywordBoolParserRuleCall_3_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getKeywordBoolKeywordBoolParserRuleCall_3_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_keywordBool_7_0=ruleKeywordBool(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "keywordBool", - lv_keywordBool_7_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordBool"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "keywordBool", + lv_keywordBool_7_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordBool"); + afterParserOrEnumRuleCall(); + } @@ -419,40 +421,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 5 : - // InternalAssignmentFinderTestLanguage.g:173:6: (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:184:3: (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) { - // InternalAssignmentFinderTestLanguage.g:173:6: (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) - // InternalAssignmentFinderTestLanguage.g:173:8: otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) + // InternalAssignmentFinderTestLanguage.g:184:3: (otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:185:4: otherlv_8= '#04' ( (lv_terminalBool_9_0= ruleTerminalBool ) ) { otherlv_8=(Token)match(input,17,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFourKeyword_4_0()); - - // InternalAssignmentFinderTestLanguage.g:177:1: ( (lv_terminalBool_9_0= ruleTerminalBool ) ) - // InternalAssignmentFinderTestLanguage.g:178:1: (lv_terminalBool_9_0= ruleTerminalBool ) + newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFourKeyword_4_0()); + + // InternalAssignmentFinderTestLanguage.g:189:4: ( (lv_terminalBool_9_0= ruleTerminalBool ) ) + // InternalAssignmentFinderTestLanguage.g:190:5: (lv_terminalBool_9_0= ruleTerminalBool ) { - // InternalAssignmentFinderTestLanguage.g:178:1: (lv_terminalBool_9_0= ruleTerminalBool ) - // InternalAssignmentFinderTestLanguage.g:179:3: lv_terminalBool_9_0= ruleTerminalBool + // InternalAssignmentFinderTestLanguage.g:190:5: (lv_terminalBool_9_0= ruleTerminalBool ) + // InternalAssignmentFinderTestLanguage.g:191:6: lv_terminalBool_9_0= ruleTerminalBool { - - newCompositeNode(grammarAccess.getModelAccess().getTerminalBoolTerminalBoolParserRuleCall_4_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getTerminalBoolTerminalBoolParserRuleCall_4_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_terminalBool_9_0=ruleTerminalBool(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "terminalBool", - lv_terminalBool_9_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalBool"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "terminalBool", + lv_terminalBool_9_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalBool"); + afterParserOrEnumRuleCall(); + } @@ -466,40 +468,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 6 : - // InternalAssignmentFinderTestLanguage.g:196:6: (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:210:3: (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) { - // InternalAssignmentFinderTestLanguage.g:196:6: (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) - // InternalAssignmentFinderTestLanguage.g:196:8: otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) + // InternalAssignmentFinderTestLanguage.g:210:3: (otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:211:4: otherlv_10= '#05' ( (lv_enumBool_11_0= ruleEnumBool ) ) { otherlv_10=(Token)match(input,18,FollowSets000.FOLLOW_5); - newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFiveKeyword_5_0()); - - // InternalAssignmentFinderTestLanguage.g:200:1: ( (lv_enumBool_11_0= ruleEnumBool ) ) - // InternalAssignmentFinderTestLanguage.g:201:1: (lv_enumBool_11_0= ruleEnumBool ) + newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitFiveKeyword_5_0()); + + // InternalAssignmentFinderTestLanguage.g:215:4: ( (lv_enumBool_11_0= ruleEnumBool ) ) + // InternalAssignmentFinderTestLanguage.g:216:5: (lv_enumBool_11_0= ruleEnumBool ) { - // InternalAssignmentFinderTestLanguage.g:201:1: (lv_enumBool_11_0= ruleEnumBool ) - // InternalAssignmentFinderTestLanguage.g:202:3: lv_enumBool_11_0= ruleEnumBool + // InternalAssignmentFinderTestLanguage.g:216:5: (lv_enumBool_11_0= ruleEnumBool ) + // InternalAssignmentFinderTestLanguage.g:217:6: lv_enumBool_11_0= ruleEnumBool { - - newCompositeNode(grammarAccess.getModelAccess().getEnumBoolEnumBoolParserRuleCall_5_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getEnumBoolEnumBoolParserRuleCall_5_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_enumBool_11_0=ruleEnumBool(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "enumBool", - lv_enumBool_11_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumBool"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "enumBool", + lv_enumBool_11_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumBool"); + afterParserOrEnumRuleCall(); + } @@ -513,40 +515,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 7 : - // InternalAssignmentFinderTestLanguage.g:219:6: (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:236:3: (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) { - // InternalAssignmentFinderTestLanguage.g:219:6: (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) - // InternalAssignmentFinderTestLanguage.g:219:8: otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) + // InternalAssignmentFinderTestLanguage.g:236:3: (otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) ) + // InternalAssignmentFinderTestLanguage.g:237:4: otherlv_12= '#06' ( (lv_mixedBool_13_0= ruleMixedBool ) ) { otherlv_12=(Token)match(input,19,FollowSets000.FOLLOW_6); - newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSixKeyword_6_0()); - - // InternalAssignmentFinderTestLanguage.g:223:1: ( (lv_mixedBool_13_0= ruleMixedBool ) ) - // InternalAssignmentFinderTestLanguage.g:224:1: (lv_mixedBool_13_0= ruleMixedBool ) + newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSixKeyword_6_0()); + + // InternalAssignmentFinderTestLanguage.g:241:4: ( (lv_mixedBool_13_0= ruleMixedBool ) ) + // InternalAssignmentFinderTestLanguage.g:242:5: (lv_mixedBool_13_0= ruleMixedBool ) { - // InternalAssignmentFinderTestLanguage.g:224:1: (lv_mixedBool_13_0= ruleMixedBool ) - // InternalAssignmentFinderTestLanguage.g:225:3: lv_mixedBool_13_0= ruleMixedBool + // InternalAssignmentFinderTestLanguage.g:242:5: (lv_mixedBool_13_0= ruleMixedBool ) + // InternalAssignmentFinderTestLanguage.g:243:6: lv_mixedBool_13_0= ruleMixedBool { - - newCompositeNode(grammarAccess.getModelAccess().getMixedBoolMixedBoolParserRuleCall_6_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getMixedBoolMixedBoolParserRuleCall_6_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_mixedBool_13_0=ruleMixedBool(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "mixedBool", - lv_mixedBool_13_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedBool"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "mixedBool", + lv_mixedBool_13_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedBool"); + afterParserOrEnumRuleCall(); + } @@ -560,40 +562,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 8 : - // InternalAssignmentFinderTestLanguage.g:242:6: (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) + // InternalAssignmentFinderTestLanguage.g:262:3: (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) { - // InternalAssignmentFinderTestLanguage.g:242:6: (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) - // InternalAssignmentFinderTestLanguage.g:242:8: otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) + // InternalAssignmentFinderTestLanguage.g:262:3: (otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) ) + // InternalAssignmentFinderTestLanguage.g:263:4: otherlv_14= '#07' ( (lv_mixedValue_15_0= ruleMixedValue ) ) { otherlv_14=(Token)match(input,20,FollowSets000.FOLLOW_7); - newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSevenKeyword_7_0()); - - // InternalAssignmentFinderTestLanguage.g:246:1: ( (lv_mixedValue_15_0= ruleMixedValue ) ) - // InternalAssignmentFinderTestLanguage.g:247:1: (lv_mixedValue_15_0= ruleMixedValue ) + newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitSevenKeyword_7_0()); + + // InternalAssignmentFinderTestLanguage.g:267:4: ( (lv_mixedValue_15_0= ruleMixedValue ) ) + // InternalAssignmentFinderTestLanguage.g:268:5: (lv_mixedValue_15_0= ruleMixedValue ) { - // InternalAssignmentFinderTestLanguage.g:247:1: (lv_mixedValue_15_0= ruleMixedValue ) - // InternalAssignmentFinderTestLanguage.g:248:3: lv_mixedValue_15_0= ruleMixedValue + // InternalAssignmentFinderTestLanguage.g:268:5: (lv_mixedValue_15_0= ruleMixedValue ) + // InternalAssignmentFinderTestLanguage.g:269:6: lv_mixedValue_15_0= ruleMixedValue { - - newCompositeNode(grammarAccess.getModelAccess().getMixedValueMixedValueParserRuleCall_7_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getMixedValueMixedValueParserRuleCall_7_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_mixedValue_15_0=ruleMixedValue(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "mixedValue", - lv_mixedValue_15_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedValue"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "mixedValue", + lv_mixedValue_15_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedValue"); + afterParserOrEnumRuleCall(); + } @@ -607,40 +609,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 9 : - // InternalAssignmentFinderTestLanguage.g:265:6: (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) + // InternalAssignmentFinderTestLanguage.g:288:3: (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) { - // InternalAssignmentFinderTestLanguage.g:265:6: (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) - // InternalAssignmentFinderTestLanguage.g:265:8: otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) + // InternalAssignmentFinderTestLanguage.g:288:3: (otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) ) + // InternalAssignmentFinderTestLanguage.g:289:4: otherlv_16= '#08' ( (lv_containmentRef_17_0= ruleContainmentRef ) ) { otherlv_16=(Token)match(input,21,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_16, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitEightKeyword_8_0()); - - // InternalAssignmentFinderTestLanguage.g:269:1: ( (lv_containmentRef_17_0= ruleContainmentRef ) ) - // InternalAssignmentFinderTestLanguage.g:270:1: (lv_containmentRef_17_0= ruleContainmentRef ) + newLeafNode(otherlv_16, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitEightKeyword_8_0()); + + // InternalAssignmentFinderTestLanguage.g:293:4: ( (lv_containmentRef_17_0= ruleContainmentRef ) ) + // InternalAssignmentFinderTestLanguage.g:294:5: (lv_containmentRef_17_0= ruleContainmentRef ) { - // InternalAssignmentFinderTestLanguage.g:270:1: (lv_containmentRef_17_0= ruleContainmentRef ) - // InternalAssignmentFinderTestLanguage.g:271:3: lv_containmentRef_17_0= ruleContainmentRef + // InternalAssignmentFinderTestLanguage.g:294:5: (lv_containmentRef_17_0= ruleContainmentRef ) + // InternalAssignmentFinderTestLanguage.g:295:6: lv_containmentRef_17_0= ruleContainmentRef { - - newCompositeNode(grammarAccess.getModelAccess().getContainmentRefContainmentRefParserRuleCall_8_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getContainmentRefContainmentRefParserRuleCall_8_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_containmentRef_17_0=ruleContainmentRef(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "containmentRef", - lv_containmentRef_17_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "containmentRef", + lv_containmentRef_17_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef"); + afterParserOrEnumRuleCall(); + } @@ -654,40 +656,40 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 10 : - // InternalAssignmentFinderTestLanguage.g:288:6: (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) + // InternalAssignmentFinderTestLanguage.g:314:3: (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) { - // InternalAssignmentFinderTestLanguage.g:288:6: (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) - // InternalAssignmentFinderTestLanguage.g:288:8: otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) + // InternalAssignmentFinderTestLanguage.g:314:3: (otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) ) + // InternalAssignmentFinderTestLanguage.g:315:4: otherlv_18= '#09' ( (lv_crossRef_19_0= ruleCrossRef ) ) { otherlv_18=(Token)match(input,22,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_18, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitNineKeyword_9_0()); - - // InternalAssignmentFinderTestLanguage.g:292:1: ( (lv_crossRef_19_0= ruleCrossRef ) ) - // InternalAssignmentFinderTestLanguage.g:293:1: (lv_crossRef_19_0= ruleCrossRef ) + newLeafNode(otherlv_18, grammarAccess.getModelAccess().getNumberSignDigitZeroDigitNineKeyword_9_0()); + + // InternalAssignmentFinderTestLanguage.g:319:4: ( (lv_crossRef_19_0= ruleCrossRef ) ) + // InternalAssignmentFinderTestLanguage.g:320:5: (lv_crossRef_19_0= ruleCrossRef ) { - // InternalAssignmentFinderTestLanguage.g:293:1: (lv_crossRef_19_0= ruleCrossRef ) - // InternalAssignmentFinderTestLanguage.g:294:3: lv_crossRef_19_0= ruleCrossRef + // InternalAssignmentFinderTestLanguage.g:320:5: (lv_crossRef_19_0= ruleCrossRef ) + // InternalAssignmentFinderTestLanguage.g:321:6: lv_crossRef_19_0= ruleCrossRef { - - newCompositeNode(grammarAccess.getModelAccess().getCrossRefCrossRefParserRuleCall_9_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getCrossRefCrossRefParserRuleCall_9_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_crossRef_19_0=ruleCrossRef(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "crossRef", - lv_crossRef_19_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.CrossRef"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "crossRef", + lv_crossRef_19_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.CrossRef"); + afterParserOrEnumRuleCall(); + } @@ -706,13 +708,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -721,7 +725,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleKeywordVal" - // InternalAssignmentFinderTestLanguage.g:318:1: entryRuleKeywordVal returns [EObject current=null] : iv_ruleKeywordVal= ruleKeywordVal EOF ; + // InternalAssignmentFinderTestLanguage.g:343:1: entryRuleKeywordVal returns [EObject current=null] : iv_ruleKeywordVal= ruleKeywordVal EOF ; public final EObject entryRuleKeywordVal() throws RecognitionException { EObject current = null; @@ -729,8 +733,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:319:2: (iv_ruleKeywordVal= ruleKeywordVal EOF ) - // InternalAssignmentFinderTestLanguage.g:320:2: iv_ruleKeywordVal= ruleKeywordVal EOF + // InternalAssignmentFinderTestLanguage.g:343:51: (iv_ruleKeywordVal= ruleKeywordVal EOF ) + // InternalAssignmentFinderTestLanguage.g:344:2: iv_ruleKeywordVal= ruleKeywordVal EOF { newCompositeNode(grammarAccess.getKeywordValRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -744,11 +748,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -757,20 +761,21 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleKeywordVal" - // InternalAssignmentFinderTestLanguage.g:327:1: ruleKeywordVal returns [EObject current=null] : ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:350:1: ruleKeywordVal returns [EObject current=null] : ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ; public final EObject ruleKeywordVal() throws RecognitionException { EObject current = null; Token lv_kw_0_0=null; Token lv_kw_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:330:28: ( ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:331:1: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) + // InternalAssignmentFinderTestLanguage.g:356:2: ( ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:357:2: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) { - // InternalAssignmentFinderTestLanguage.g:331:1: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) + // InternalAssignmentFinderTestLanguage.g:357:2: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) int alt2=2; int LA2_0 = input.LA(1); @@ -788,24 +793,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt2) { case 1 : - // InternalAssignmentFinderTestLanguage.g:331:2: ( (lv_kw_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:358:3: ( (lv_kw_0_0= 'kw1' ) ) { - // InternalAssignmentFinderTestLanguage.g:331:2: ( (lv_kw_0_0= 'kw1' ) ) - // InternalAssignmentFinderTestLanguage.g:332:1: (lv_kw_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:358:3: ( (lv_kw_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:359:4: (lv_kw_0_0= 'kw1' ) { - // InternalAssignmentFinderTestLanguage.g:332:1: (lv_kw_0_0= 'kw1' ) - // InternalAssignmentFinderTestLanguage.g:333:3: lv_kw_0_0= 'kw1' + // InternalAssignmentFinderTestLanguage.g:359:4: (lv_kw_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:360:5: lv_kw_0_0= 'kw1' { lv_kw_0_0=(Token)match(input,23,FollowSets000.FOLLOW_2); - newLeafNode(lv_kw_0_0, grammarAccess.getKeywordValAccess().getKwKw1Keyword_0_0()); - + newLeafNode(lv_kw_0_0, grammarAccess.getKeywordValAccess().getKwKw1Keyword_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getKeywordValRule()); - } - setWithLastConsumed(current, "kw", lv_kw_0_0, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getKeywordValRule()); + } + setWithLastConsumed(current, "kw", lv_kw_0_0, "kw1"); + } @@ -816,24 +821,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:347:6: ( (lv_kw_1_0= 'kw2' ) ) + // InternalAssignmentFinderTestLanguage.g:373:3: ( (lv_kw_1_0= 'kw2' ) ) { - // InternalAssignmentFinderTestLanguage.g:347:6: ( (lv_kw_1_0= 'kw2' ) ) - // InternalAssignmentFinderTestLanguage.g:348:1: (lv_kw_1_0= 'kw2' ) + // InternalAssignmentFinderTestLanguage.g:373:3: ( (lv_kw_1_0= 'kw2' ) ) + // InternalAssignmentFinderTestLanguage.g:374:4: (lv_kw_1_0= 'kw2' ) { - // InternalAssignmentFinderTestLanguage.g:348:1: (lv_kw_1_0= 'kw2' ) - // InternalAssignmentFinderTestLanguage.g:349:3: lv_kw_1_0= 'kw2' + // InternalAssignmentFinderTestLanguage.g:374:4: (lv_kw_1_0= 'kw2' ) + // InternalAssignmentFinderTestLanguage.g:375:5: lv_kw_1_0= 'kw2' { lv_kw_1_0=(Token)match(input,24,FollowSets000.FOLLOW_2); - newLeafNode(lv_kw_1_0, grammarAccess.getKeywordValAccess().getKwKw2Keyword_1_0()); - + newLeafNode(lv_kw_1_0, grammarAccess.getKeywordValAccess().getKwKw2Keyword_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getKeywordValRule()); - } - setWithLastConsumed(current, "kw", lv_kw_1_0, "kw2"); - + if (current==null) { + current = createModelElement(grammarAccess.getKeywordValRule()); + } + setWithLastConsumed(current, "kw", lv_kw_1_0, "kw2"); + } @@ -849,13 +854,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -864,7 +871,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleTerminalVal" - // InternalAssignmentFinderTestLanguage.g:370:1: entryRuleTerminalVal returns [EObject current=null] : iv_ruleTerminalVal= ruleTerminalVal EOF ; + // InternalAssignmentFinderTestLanguage.g:391:1: entryRuleTerminalVal returns [EObject current=null] : iv_ruleTerminalVal= ruleTerminalVal EOF ; public final EObject entryRuleTerminalVal() throws RecognitionException { EObject current = null; @@ -872,8 +879,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:371:2: (iv_ruleTerminalVal= ruleTerminalVal EOF ) - // InternalAssignmentFinderTestLanguage.g:372:2: iv_ruleTerminalVal= ruleTerminalVal EOF + // InternalAssignmentFinderTestLanguage.g:391:52: (iv_ruleTerminalVal= ruleTerminalVal EOF ) + // InternalAssignmentFinderTestLanguage.g:392:2: iv_ruleTerminalVal= ruleTerminalVal EOF { newCompositeNode(grammarAccess.getTerminalValRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -887,11 +894,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -900,7 +907,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleTerminalVal" - // InternalAssignmentFinderTestLanguage.g:379:1: ruleTerminalVal returns [EObject current=null] : ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:398:1: ruleTerminalVal returns [EObject current=null] : ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ; public final EObject ruleTerminalVal() throws RecognitionException { EObject current = null; @@ -908,13 +915,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal Token lv_term_1_0=null; Token lv_term_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:382:28: ( ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:383:1: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) + // InternalAssignmentFinderTestLanguage.g:404:2: ( ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:405:2: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) { - // InternalAssignmentFinderTestLanguage.g:383:1: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) + // InternalAssignmentFinderTestLanguage.g:405:2: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) int alt3=3; switch ( input.LA(1) ) { case RULE_TERMINAL1: @@ -941,28 +949,28 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal switch (alt3) { case 1 : - // InternalAssignmentFinderTestLanguage.g:383:2: ( (lv_term_0_0= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:406:3: ( (lv_term_0_0= RULE_TERMINAL1 ) ) { - // InternalAssignmentFinderTestLanguage.g:383:2: ( (lv_term_0_0= RULE_TERMINAL1 ) ) - // InternalAssignmentFinderTestLanguage.g:384:1: (lv_term_0_0= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:406:3: ( (lv_term_0_0= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:407:4: (lv_term_0_0= RULE_TERMINAL1 ) { - // InternalAssignmentFinderTestLanguage.g:384:1: (lv_term_0_0= RULE_TERMINAL1 ) - // InternalAssignmentFinderTestLanguage.g:385:3: lv_term_0_0= RULE_TERMINAL1 + // InternalAssignmentFinderTestLanguage.g:407:4: (lv_term_0_0= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:408:5: lv_term_0_0= RULE_TERMINAL1 { lv_term_0_0=(Token)match(input,RULE_TERMINAL1,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_0_0, grammarAccess.getTerminalValAccess().getTermTerminal1TerminalRuleCall_0_0()); - + newLeafNode(lv_term_0_0, grammarAccess.getTerminalValAccess().getTermTerminal1TerminalRuleCall_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed( - current, - "term", - lv_term_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed( + current, + "term", + lv_term_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } @@ -973,28 +981,28 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:402:6: ( (lv_term_1_0= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:425:3: ( (lv_term_1_0= RULE_TERMINAL2 ) ) { - // InternalAssignmentFinderTestLanguage.g:402:6: ( (lv_term_1_0= RULE_TERMINAL2 ) ) - // InternalAssignmentFinderTestLanguage.g:403:1: (lv_term_1_0= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:425:3: ( (lv_term_1_0= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:426:4: (lv_term_1_0= RULE_TERMINAL2 ) { - // InternalAssignmentFinderTestLanguage.g:403:1: (lv_term_1_0= RULE_TERMINAL2 ) - // InternalAssignmentFinderTestLanguage.g:404:3: lv_term_1_0= RULE_TERMINAL2 + // InternalAssignmentFinderTestLanguage.g:426:4: (lv_term_1_0= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:427:5: lv_term_1_0= RULE_TERMINAL2 { lv_term_1_0=(Token)match(input,RULE_TERMINAL2,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_1_0, grammarAccess.getTerminalValAccess().getTermTerminal2TerminalRuleCall_1_0()); - + newLeafNode(lv_term_1_0, grammarAccess.getTerminalValAccess().getTermTerminal2TerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed( - current, - "term", - lv_term_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed( + current, + "term", + lv_term_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } @@ -1005,24 +1013,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 3 : - // InternalAssignmentFinderTestLanguage.g:421:6: ( (lv_term_2_0= '%foo' ) ) + // InternalAssignmentFinderTestLanguage.g:444:3: ( (lv_term_2_0= '%foo' ) ) { - // InternalAssignmentFinderTestLanguage.g:421:6: ( (lv_term_2_0= '%foo' ) ) - // InternalAssignmentFinderTestLanguage.g:422:1: (lv_term_2_0= '%foo' ) + // InternalAssignmentFinderTestLanguage.g:444:3: ( (lv_term_2_0= '%foo' ) ) + // InternalAssignmentFinderTestLanguage.g:445:4: (lv_term_2_0= '%foo' ) { - // InternalAssignmentFinderTestLanguage.g:422:1: (lv_term_2_0= '%foo' ) - // InternalAssignmentFinderTestLanguage.g:423:3: lv_term_2_0= '%foo' + // InternalAssignmentFinderTestLanguage.g:445:4: (lv_term_2_0= '%foo' ) + // InternalAssignmentFinderTestLanguage.g:446:5: lv_term_2_0= '%foo' { lv_term_2_0=(Token)match(input,25,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_2_0, grammarAccess.getTerminalValAccess().getTermFooKeyword_2_0()); - + newLeafNode(lv_term_2_0, grammarAccess.getTerminalValAccess().getTermFooKeyword_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalValRule()); - } - setWithLastConsumed(current, "term", lv_term_2_0, "%foo"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalValRule()); + } + setWithLastConsumed(current, "term", lv_term_2_0, "%foo"); + } @@ -1038,13 +1046,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1053,7 +1063,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleEnumVal" - // InternalAssignmentFinderTestLanguage.g:444:1: entryRuleEnumVal returns [EObject current=null] : iv_ruleEnumVal= ruleEnumVal EOF ; + // InternalAssignmentFinderTestLanguage.g:462:1: entryRuleEnumVal returns [EObject current=null] : iv_ruleEnumVal= ruleEnumVal EOF ; public final EObject entryRuleEnumVal() throws RecognitionException { EObject current = null; @@ -1061,8 +1071,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:445:2: (iv_ruleEnumVal= ruleEnumVal EOF ) - // InternalAssignmentFinderTestLanguage.g:446:2: iv_ruleEnumVal= ruleEnumVal EOF + // InternalAssignmentFinderTestLanguage.g:462:48: (iv_ruleEnumVal= ruleEnumVal EOF ) + // InternalAssignmentFinderTestLanguage.g:463:2: iv_ruleEnumVal= ruleEnumVal EOF { newCompositeNode(grammarAccess.getEnumValRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1076,11 +1086,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1089,7 +1099,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleEnumVal" - // InternalAssignmentFinderTestLanguage.g:453:1: ruleEnumVal returns [EObject current=null] : ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:469:1: ruleEnumVal returns [EObject current=null] : ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ; public final EObject ruleEnumVal() throws RecognitionException { EObject current = null; @@ -1098,13 +1108,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal Enumerator lv_en_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:456:28: ( ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:457:1: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:475:2: ( ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:476:2: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) { - // InternalAssignmentFinderTestLanguage.g:457:1: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:476:2: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) int alt4=2; int LA4_0 = input.LA(1); @@ -1122,33 +1133,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt4) { case 1 : - // InternalAssignmentFinderTestLanguage.g:457:2: ( (lv_en_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:477:3: ( (lv_en_0_0= ruleEnum1 ) ) { - // InternalAssignmentFinderTestLanguage.g:457:2: ( (lv_en_0_0= ruleEnum1 ) ) - // InternalAssignmentFinderTestLanguage.g:458:1: (lv_en_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:477:3: ( (lv_en_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:478:4: (lv_en_0_0= ruleEnum1 ) { - // InternalAssignmentFinderTestLanguage.g:458:1: (lv_en_0_0= ruleEnum1 ) - // InternalAssignmentFinderTestLanguage.g:459:3: lv_en_0_0= ruleEnum1 + // InternalAssignmentFinderTestLanguage.g:478:4: (lv_en_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:479:5: lv_en_0_0= ruleEnum1 { - - newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum1EnumRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum1EnumRuleCall_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_en_0_0=ruleEnum1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getEnumValRule()); - } - set( - current, - "en", - lv_en_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumValRule()); + } + set( + current, + "en", + lv_en_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } @@ -1159,33 +1170,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:476:6: ( (lv_en_1_0= ruleEnum2 ) ) + // InternalAssignmentFinderTestLanguage.g:497:3: ( (lv_en_1_0= ruleEnum2 ) ) { - // InternalAssignmentFinderTestLanguage.g:476:6: ( (lv_en_1_0= ruleEnum2 ) ) - // InternalAssignmentFinderTestLanguage.g:477:1: (lv_en_1_0= ruleEnum2 ) + // InternalAssignmentFinderTestLanguage.g:497:3: ( (lv_en_1_0= ruleEnum2 ) ) + // InternalAssignmentFinderTestLanguage.g:498:4: (lv_en_1_0= ruleEnum2 ) { - // InternalAssignmentFinderTestLanguage.g:477:1: (lv_en_1_0= ruleEnum2 ) - // InternalAssignmentFinderTestLanguage.g:478:3: lv_en_1_0= ruleEnum2 + // InternalAssignmentFinderTestLanguage.g:498:4: (lv_en_1_0= ruleEnum2 ) + // InternalAssignmentFinderTestLanguage.g:499:5: lv_en_1_0= ruleEnum2 { - - newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum2EnumRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getEnumValAccess().getEnEnum2EnumRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_en_1_0=ruleEnum2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getEnumValRule()); - } - set( - current, - "en", - lv_en_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumValRule()); + } + set( + current, + "en", + lv_en_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); + afterParserOrEnumRuleCall(); + } @@ -1201,13 +1212,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1216,7 +1229,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleKeywordBool" - // InternalAssignmentFinderTestLanguage.g:502:1: entryRuleKeywordBool returns [EObject current=null] : iv_ruleKeywordBool= ruleKeywordBool EOF ; + // InternalAssignmentFinderTestLanguage.g:520:1: entryRuleKeywordBool returns [EObject current=null] : iv_ruleKeywordBool= ruleKeywordBool EOF ; public final EObject entryRuleKeywordBool() throws RecognitionException { EObject current = null; @@ -1224,8 +1237,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:503:2: (iv_ruleKeywordBool= ruleKeywordBool EOF ) - // InternalAssignmentFinderTestLanguage.g:504:2: iv_ruleKeywordBool= ruleKeywordBool EOF + // InternalAssignmentFinderTestLanguage.g:520:52: (iv_ruleKeywordBool= ruleKeywordBool EOF ) + // InternalAssignmentFinderTestLanguage.g:521:2: iv_ruleKeywordBool= ruleKeywordBool EOF { newCompositeNode(grammarAccess.getKeywordBoolRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1239,11 +1252,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1252,20 +1265,21 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleKeywordBool" - // InternalAssignmentFinderTestLanguage.g:511:1: ruleKeywordBool returns [EObject current=null] : ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:527:1: ruleKeywordBool returns [EObject current=null] : ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ; public final EObject ruleKeywordBool() throws RecognitionException { EObject current = null; Token lv_kw_0_0=null; Token lv_kw_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:514:28: ( ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:515:1: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) + // InternalAssignmentFinderTestLanguage.g:533:2: ( ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:534:2: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) { - // InternalAssignmentFinderTestLanguage.g:515:1: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) + // InternalAssignmentFinderTestLanguage.g:534:2: ( ( (lv_kw_0_0= 'kw1' ) ) | ( (lv_kw_1_0= 'kw2' ) ) ) int alt5=2; int LA5_0 = input.LA(1); @@ -1283,24 +1297,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt5) { case 1 : - // InternalAssignmentFinderTestLanguage.g:515:2: ( (lv_kw_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:535:3: ( (lv_kw_0_0= 'kw1' ) ) { - // InternalAssignmentFinderTestLanguage.g:515:2: ( (lv_kw_0_0= 'kw1' ) ) - // InternalAssignmentFinderTestLanguage.g:516:1: (lv_kw_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:535:3: ( (lv_kw_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:536:4: (lv_kw_0_0= 'kw1' ) { - // InternalAssignmentFinderTestLanguage.g:516:1: (lv_kw_0_0= 'kw1' ) - // InternalAssignmentFinderTestLanguage.g:517:3: lv_kw_0_0= 'kw1' + // InternalAssignmentFinderTestLanguage.g:536:4: (lv_kw_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:537:5: lv_kw_0_0= 'kw1' { lv_kw_0_0=(Token)match(input,23,FollowSets000.FOLLOW_2); - newLeafNode(lv_kw_0_0, grammarAccess.getKeywordBoolAccess().getKwKw1Keyword_0_0()); - + newLeafNode(lv_kw_0_0, grammarAccess.getKeywordBoolAccess().getKwKw1Keyword_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getKeywordBoolRule()); - } - setWithLastConsumed(current, "kw", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getKeywordBoolRule()); + } + setWithLastConsumed(current, "kw", true, "kw1"); + } @@ -1311,24 +1325,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:531:6: ( (lv_kw_1_0= 'kw2' ) ) + // InternalAssignmentFinderTestLanguage.g:550:3: ( (lv_kw_1_0= 'kw2' ) ) { - // InternalAssignmentFinderTestLanguage.g:531:6: ( (lv_kw_1_0= 'kw2' ) ) - // InternalAssignmentFinderTestLanguage.g:532:1: (lv_kw_1_0= 'kw2' ) + // InternalAssignmentFinderTestLanguage.g:550:3: ( (lv_kw_1_0= 'kw2' ) ) + // InternalAssignmentFinderTestLanguage.g:551:4: (lv_kw_1_0= 'kw2' ) { - // InternalAssignmentFinderTestLanguage.g:532:1: (lv_kw_1_0= 'kw2' ) - // InternalAssignmentFinderTestLanguage.g:533:3: lv_kw_1_0= 'kw2' + // InternalAssignmentFinderTestLanguage.g:551:4: (lv_kw_1_0= 'kw2' ) + // InternalAssignmentFinderTestLanguage.g:552:5: lv_kw_1_0= 'kw2' { lv_kw_1_0=(Token)match(input,24,FollowSets000.FOLLOW_2); - newLeafNode(lv_kw_1_0, grammarAccess.getKeywordBoolAccess().getKwKw2Keyword_1_0()); - + newLeafNode(lv_kw_1_0, grammarAccess.getKeywordBoolAccess().getKwKw2Keyword_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getKeywordBoolRule()); - } - setWithLastConsumed(current, "kw", true, "kw2"); - + if (current==null) { + current = createModelElement(grammarAccess.getKeywordBoolRule()); + } + setWithLastConsumed(current, "kw", true, "kw2"); + } @@ -1344,13 +1358,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1359,7 +1375,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleTerminalBool" - // InternalAssignmentFinderTestLanguage.g:554:1: entryRuleTerminalBool returns [EObject current=null] : iv_ruleTerminalBool= ruleTerminalBool EOF ; + // InternalAssignmentFinderTestLanguage.g:568:1: entryRuleTerminalBool returns [EObject current=null] : iv_ruleTerminalBool= ruleTerminalBool EOF ; public final EObject entryRuleTerminalBool() throws RecognitionException { EObject current = null; @@ -1367,8 +1383,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:555:2: (iv_ruleTerminalBool= ruleTerminalBool EOF ) - // InternalAssignmentFinderTestLanguage.g:556:2: iv_ruleTerminalBool= ruleTerminalBool EOF + // InternalAssignmentFinderTestLanguage.g:568:53: (iv_ruleTerminalBool= ruleTerminalBool EOF ) + // InternalAssignmentFinderTestLanguage.g:569:2: iv_ruleTerminalBool= ruleTerminalBool EOF { newCompositeNode(grammarAccess.getTerminalBoolRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1382,11 +1398,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1395,7 +1411,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleTerminalBool" - // InternalAssignmentFinderTestLanguage.g:563:1: ruleTerminalBool returns [EObject current=null] : ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:575:1: ruleTerminalBool returns [EObject current=null] : ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ; public final EObject ruleTerminalBool() throws RecognitionException { EObject current = null; @@ -1403,13 +1419,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal Token lv_term_1_0=null; Token lv_term_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:566:28: ( ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:567:1: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) + // InternalAssignmentFinderTestLanguage.g:581:2: ( ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:582:2: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) { - // InternalAssignmentFinderTestLanguage.g:567:1: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) + // InternalAssignmentFinderTestLanguage.g:582:2: ( ( (lv_term_0_0= RULE_TERMINAL1 ) ) | ( (lv_term_1_0= RULE_TERMINAL2 ) ) | ( (lv_term_2_0= '%foo' ) ) ) int alt6=3; switch ( input.LA(1) ) { case RULE_TERMINAL1: @@ -1436,28 +1453,28 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal switch (alt6) { case 1 : - // InternalAssignmentFinderTestLanguage.g:567:2: ( (lv_term_0_0= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:583:3: ( (lv_term_0_0= RULE_TERMINAL1 ) ) { - // InternalAssignmentFinderTestLanguage.g:567:2: ( (lv_term_0_0= RULE_TERMINAL1 ) ) - // InternalAssignmentFinderTestLanguage.g:568:1: (lv_term_0_0= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:583:3: ( (lv_term_0_0= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:584:4: (lv_term_0_0= RULE_TERMINAL1 ) { - // InternalAssignmentFinderTestLanguage.g:568:1: (lv_term_0_0= RULE_TERMINAL1 ) - // InternalAssignmentFinderTestLanguage.g:569:3: lv_term_0_0= RULE_TERMINAL1 + // InternalAssignmentFinderTestLanguage.g:584:4: (lv_term_0_0= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:585:5: lv_term_0_0= RULE_TERMINAL1 { lv_term_0_0=(Token)match(input,RULE_TERMINAL1,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_0_0, grammarAccess.getTerminalBoolAccess().getTermTerminal1TerminalRuleCall_0_0()); - + newLeafNode(lv_term_0_0, grammarAccess.getTerminalBoolAccess().getTermTerminal1TerminalRuleCall_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed( - current, - "term", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed( + current, + "term", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } @@ -1468,28 +1485,28 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:586:6: ( (lv_term_1_0= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:602:3: ( (lv_term_1_0= RULE_TERMINAL2 ) ) { - // InternalAssignmentFinderTestLanguage.g:586:6: ( (lv_term_1_0= RULE_TERMINAL2 ) ) - // InternalAssignmentFinderTestLanguage.g:587:1: (lv_term_1_0= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:602:3: ( (lv_term_1_0= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:603:4: (lv_term_1_0= RULE_TERMINAL2 ) { - // InternalAssignmentFinderTestLanguage.g:587:1: (lv_term_1_0= RULE_TERMINAL2 ) - // InternalAssignmentFinderTestLanguage.g:588:3: lv_term_1_0= RULE_TERMINAL2 + // InternalAssignmentFinderTestLanguage.g:603:4: (lv_term_1_0= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:604:5: lv_term_1_0= RULE_TERMINAL2 { lv_term_1_0=(Token)match(input,RULE_TERMINAL2,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_1_0, grammarAccess.getTerminalBoolAccess().getTermTerminal2TerminalRuleCall_1_0()); - + newLeafNode(lv_term_1_0, grammarAccess.getTerminalBoolAccess().getTermTerminal2TerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed( - current, - "term", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed( + current, + "term", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } @@ -1500,24 +1517,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 3 : - // InternalAssignmentFinderTestLanguage.g:605:6: ( (lv_term_2_0= '%foo' ) ) + // InternalAssignmentFinderTestLanguage.g:621:3: ( (lv_term_2_0= '%foo' ) ) { - // InternalAssignmentFinderTestLanguage.g:605:6: ( (lv_term_2_0= '%foo' ) ) - // InternalAssignmentFinderTestLanguage.g:606:1: (lv_term_2_0= '%foo' ) + // InternalAssignmentFinderTestLanguage.g:621:3: ( (lv_term_2_0= '%foo' ) ) + // InternalAssignmentFinderTestLanguage.g:622:4: (lv_term_2_0= '%foo' ) { - // InternalAssignmentFinderTestLanguage.g:606:1: (lv_term_2_0= '%foo' ) - // InternalAssignmentFinderTestLanguage.g:607:3: lv_term_2_0= '%foo' + // InternalAssignmentFinderTestLanguage.g:622:4: (lv_term_2_0= '%foo' ) + // InternalAssignmentFinderTestLanguage.g:623:5: lv_term_2_0= '%foo' { lv_term_2_0=(Token)match(input,25,FollowSets000.FOLLOW_2); - newLeafNode(lv_term_2_0, grammarAccess.getTerminalBoolAccess().getTermFooKeyword_2_0()); - + newLeafNode(lv_term_2_0, grammarAccess.getTerminalBoolAccess().getTermFooKeyword_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getTerminalBoolRule()); - } - setWithLastConsumed(current, "term", true, "%foo"); - + if (current==null) { + current = createModelElement(grammarAccess.getTerminalBoolRule()); + } + setWithLastConsumed(current, "term", true, "%foo"); + } @@ -1533,13 +1550,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1548,7 +1567,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleEnumBool" - // InternalAssignmentFinderTestLanguage.g:628:1: entryRuleEnumBool returns [EObject current=null] : iv_ruleEnumBool= ruleEnumBool EOF ; + // InternalAssignmentFinderTestLanguage.g:639:1: entryRuleEnumBool returns [EObject current=null] : iv_ruleEnumBool= ruleEnumBool EOF ; public final EObject entryRuleEnumBool() throws RecognitionException { EObject current = null; @@ -1556,8 +1575,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:629:2: (iv_ruleEnumBool= ruleEnumBool EOF ) - // InternalAssignmentFinderTestLanguage.g:630:2: iv_ruleEnumBool= ruleEnumBool EOF + // InternalAssignmentFinderTestLanguage.g:639:49: (iv_ruleEnumBool= ruleEnumBool EOF ) + // InternalAssignmentFinderTestLanguage.g:640:2: iv_ruleEnumBool= ruleEnumBool EOF { newCompositeNode(grammarAccess.getEnumBoolRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1571,11 +1590,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1584,7 +1603,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleEnumBool" - // InternalAssignmentFinderTestLanguage.g:637:1: ruleEnumBool returns [EObject current=null] : ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:646:1: ruleEnumBool returns [EObject current=null] : ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ; public final EObject ruleEnumBool() throws RecognitionException { EObject current = null; @@ -1593,13 +1612,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal Enumerator lv_en_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:640:28: ( ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:641:1: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:652:2: ( ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:653:2: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) { - // InternalAssignmentFinderTestLanguage.g:641:1: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:653:2: ( ( (lv_en_0_0= ruleEnum1 ) ) | ( (lv_en_1_0= ruleEnum2 ) ) ) int alt7=2; int LA7_0 = input.LA(1); @@ -1617,33 +1637,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt7) { case 1 : - // InternalAssignmentFinderTestLanguage.g:641:2: ( (lv_en_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:654:3: ( (lv_en_0_0= ruleEnum1 ) ) { - // InternalAssignmentFinderTestLanguage.g:641:2: ( (lv_en_0_0= ruleEnum1 ) ) - // InternalAssignmentFinderTestLanguage.g:642:1: (lv_en_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:654:3: ( (lv_en_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:655:4: (lv_en_0_0= ruleEnum1 ) { - // InternalAssignmentFinderTestLanguage.g:642:1: (lv_en_0_0= ruleEnum1 ) - // InternalAssignmentFinderTestLanguage.g:643:3: lv_en_0_0= ruleEnum1 + // InternalAssignmentFinderTestLanguage.g:655:4: (lv_en_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:656:5: lv_en_0_0= ruleEnum1 { - - newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum1EnumRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum1EnumRuleCall_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_en_0_0=ruleEnum1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getEnumBoolRule()); - } - set( - current, - "en", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumBoolRule()); + } + set( + current, + "en", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } @@ -1654,33 +1674,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:660:6: ( (lv_en_1_0= ruleEnum2 ) ) + // InternalAssignmentFinderTestLanguage.g:674:3: ( (lv_en_1_0= ruleEnum2 ) ) { - // InternalAssignmentFinderTestLanguage.g:660:6: ( (lv_en_1_0= ruleEnum2 ) ) - // InternalAssignmentFinderTestLanguage.g:661:1: (lv_en_1_0= ruleEnum2 ) + // InternalAssignmentFinderTestLanguage.g:674:3: ( (lv_en_1_0= ruleEnum2 ) ) + // InternalAssignmentFinderTestLanguage.g:675:4: (lv_en_1_0= ruleEnum2 ) { - // InternalAssignmentFinderTestLanguage.g:661:1: (lv_en_1_0= ruleEnum2 ) - // InternalAssignmentFinderTestLanguage.g:662:3: lv_en_1_0= ruleEnum2 + // InternalAssignmentFinderTestLanguage.g:675:4: (lv_en_1_0= ruleEnum2 ) + // InternalAssignmentFinderTestLanguage.g:676:5: lv_en_1_0= ruleEnum2 { - - newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum2EnumRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getEnumBoolAccess().getEnEnum2EnumRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_en_1_0=ruleEnum2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getEnumBoolRule()); - } - set( - current, - "en", - true, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getEnumBoolRule()); + } + set( + current, + "en", + true, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); + afterParserOrEnumRuleCall(); + } @@ -1696,13 +1716,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1711,7 +1733,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleMixedBool" - // InternalAssignmentFinderTestLanguage.g:686:1: entryRuleMixedBool returns [EObject current=null] : iv_ruleMixedBool= ruleMixedBool EOF ; + // InternalAssignmentFinderTestLanguage.g:697:1: entryRuleMixedBool returns [EObject current=null] : iv_ruleMixedBool= ruleMixedBool EOF ; public final EObject entryRuleMixedBool() throws RecognitionException { EObject current = null; @@ -1719,8 +1741,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:687:2: (iv_ruleMixedBool= ruleMixedBool EOF ) - // InternalAssignmentFinderTestLanguage.g:688:2: iv_ruleMixedBool= ruleMixedBool EOF + // InternalAssignmentFinderTestLanguage.g:697:50: (iv_ruleMixedBool= ruleMixedBool EOF ) + // InternalAssignmentFinderTestLanguage.g:698:2: iv_ruleMixedBool= ruleMixedBool EOF { newCompositeNode(grammarAccess.getMixedBoolRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1734,11 +1756,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1747,7 +1769,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleMixedBool" - // InternalAssignmentFinderTestLanguage.g:695:1: ruleMixedBool returns [EObject current=null] : ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:704:1: ruleMixedBool returns [EObject current=null] : ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) ; public final EObject ruleMixedBool() throws RecognitionException { EObject current = null; @@ -1755,13 +1777,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal AntlrDatatypeRuleToken lv_val_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:698:28: ( ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:699:1: ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) + // InternalAssignmentFinderTestLanguage.g:710:2: ( ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:711:2: ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) { - // InternalAssignmentFinderTestLanguage.g:699:1: ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) + // InternalAssignmentFinderTestLanguage.g:711:2: ( ( (lv_val_0_0= 'kw1' ) ) | ( (lv_val_1_0= ruleBoolean ) ) ) int alt8=2; int LA8_0 = input.LA(1); @@ -1779,24 +1802,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt8) { case 1 : - // InternalAssignmentFinderTestLanguage.g:699:2: ( (lv_val_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:712:3: ( (lv_val_0_0= 'kw1' ) ) { - // InternalAssignmentFinderTestLanguage.g:699:2: ( (lv_val_0_0= 'kw1' ) ) - // InternalAssignmentFinderTestLanguage.g:700:1: (lv_val_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:712:3: ( (lv_val_0_0= 'kw1' ) ) + // InternalAssignmentFinderTestLanguage.g:713:4: (lv_val_0_0= 'kw1' ) { - // InternalAssignmentFinderTestLanguage.g:700:1: (lv_val_0_0= 'kw1' ) - // InternalAssignmentFinderTestLanguage.g:701:3: lv_val_0_0= 'kw1' + // InternalAssignmentFinderTestLanguage.g:713:4: (lv_val_0_0= 'kw1' ) + // InternalAssignmentFinderTestLanguage.g:714:5: lv_val_0_0= 'kw1' { lv_val_0_0=(Token)match(input,23,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_0_0, grammarAccess.getMixedBoolAccess().getValKw1Keyword_0_0()); - + newLeafNode(lv_val_0_0, grammarAccess.getMixedBoolAccess().getValKw1Keyword_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getMixedBoolRule()); - } - setWithLastConsumed(current, "val", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getMixedBoolRule()); + } + setWithLastConsumed(current, "val", true, "kw1"); + } @@ -1807,33 +1830,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:715:6: ( (lv_val_1_0= ruleBoolean ) ) + // InternalAssignmentFinderTestLanguage.g:727:3: ( (lv_val_1_0= ruleBoolean ) ) { - // InternalAssignmentFinderTestLanguage.g:715:6: ( (lv_val_1_0= ruleBoolean ) ) - // InternalAssignmentFinderTestLanguage.g:716:1: (lv_val_1_0= ruleBoolean ) + // InternalAssignmentFinderTestLanguage.g:727:3: ( (lv_val_1_0= ruleBoolean ) ) + // InternalAssignmentFinderTestLanguage.g:728:4: (lv_val_1_0= ruleBoolean ) { - // InternalAssignmentFinderTestLanguage.g:716:1: (lv_val_1_0= ruleBoolean ) - // InternalAssignmentFinderTestLanguage.g:717:3: lv_val_1_0= ruleBoolean + // InternalAssignmentFinderTestLanguage.g:728:4: (lv_val_1_0= ruleBoolean ) + // InternalAssignmentFinderTestLanguage.g:729:5: lv_val_1_0= ruleBoolean { - - newCompositeNode(grammarAccess.getMixedBoolAccess().getValBooleanParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getMixedBoolAccess().getValBooleanParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_1_0=ruleBoolean(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getMixedBoolRule()); - } - set( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Boolean"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getMixedBoolRule()); + } + set( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Boolean"); + afterParserOrEnumRuleCall(); + } @@ -1849,13 +1872,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1864,7 +1889,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleBoolean" - // InternalAssignmentFinderTestLanguage.g:741:1: entryRuleBoolean returns [String current=null] : iv_ruleBoolean= ruleBoolean EOF ; + // InternalAssignmentFinderTestLanguage.g:750:1: entryRuleBoolean returns [String current=null] : iv_ruleBoolean= ruleBoolean EOF ; public final String entryRuleBoolean() throws RecognitionException { String current = null; @@ -1872,8 +1897,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:742:2: (iv_ruleBoolean= ruleBoolean EOF ) - // InternalAssignmentFinderTestLanguage.g:743:2: iv_ruleBoolean= ruleBoolean EOF + // InternalAssignmentFinderTestLanguage.g:750:47: (iv_ruleBoolean= ruleBoolean EOF ) + // InternalAssignmentFinderTestLanguage.g:751:2: iv_ruleBoolean= ruleBoolean EOF { newCompositeNode(grammarAccess.getBooleanRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1887,11 +1912,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1900,19 +1925,20 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleBoolean" - // InternalAssignmentFinderTestLanguage.g:750:1: ruleBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'true' | kw= 'false' ) ; + // InternalAssignmentFinderTestLanguage.g:757:1: ruleBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'true' | kw= 'false' ) ; public final AntlrDatatypeRuleToken ruleBoolean() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:753:28: ( (kw= 'true' | kw= 'false' ) ) - // InternalAssignmentFinderTestLanguage.g:754:1: (kw= 'true' | kw= 'false' ) + // InternalAssignmentFinderTestLanguage.g:763:2: ( (kw= 'true' | kw= 'false' ) ) + // InternalAssignmentFinderTestLanguage.g:764:2: (kw= 'true' | kw= 'false' ) { - // InternalAssignmentFinderTestLanguage.g:754:1: (kw= 'true' | kw= 'false' ) + // InternalAssignmentFinderTestLanguage.g:764:2: (kw= 'true' | kw= 'false' ) int alt9=2; int LA9_0 = input.LA(1); @@ -1930,24 +1956,24 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt9) { case 1 : - // InternalAssignmentFinderTestLanguage.g:755:2: kw= 'true' + // InternalAssignmentFinderTestLanguage.g:765:3: kw= 'true' { kw=(Token)match(input,26,FollowSets000.FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getBooleanAccess().getTrueKeyword_0()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getBooleanAccess().getTrueKeyword_0()); + } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:762:2: kw= 'false' + // InternalAssignmentFinderTestLanguage.g:771:3: kw= 'false' { kw=(Token)match(input,27,FollowSets000.FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getBooleanAccess().getFalseKeyword_1()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getBooleanAccess().getFalseKeyword_1()); + } break; @@ -1957,13 +1983,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1972,7 +2000,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleMixedValue" - // InternalAssignmentFinderTestLanguage.g:775:1: entryRuleMixedValue returns [EObject current=null] : iv_ruleMixedValue= ruleMixedValue EOF ; + // InternalAssignmentFinderTestLanguage.g:780:1: entryRuleMixedValue returns [EObject current=null] : iv_ruleMixedValue= ruleMixedValue EOF ; public final EObject entryRuleMixedValue() throws RecognitionException { EObject current = null; @@ -1980,8 +2008,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:776:2: (iv_ruleMixedValue= ruleMixedValue EOF ) - // InternalAssignmentFinderTestLanguage.g:777:2: iv_ruleMixedValue= ruleMixedValue EOF + // InternalAssignmentFinderTestLanguage.g:780:51: (iv_ruleMixedValue= ruleMixedValue EOF ) + // InternalAssignmentFinderTestLanguage.g:781:2: iv_ruleMixedValue= ruleMixedValue EOF { newCompositeNode(grammarAccess.getMixedValueRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1995,11 +2023,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2008,7 +2036,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleMixedValue" - // InternalAssignmentFinderTestLanguage.g:784:1: ruleMixedValue returns [EObject current=null] : ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:787:1: ruleMixedValue returns [EObject current=null] : ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) ; public final EObject ruleMixedValue() throws RecognitionException { EObject current = null; @@ -2017,13 +2045,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal AntlrDatatypeRuleToken lv_val_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:787:28: ( ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:788:1: ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) + // InternalAssignmentFinderTestLanguage.g:793:2: ( ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:794:2: ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) { - // InternalAssignmentFinderTestLanguage.g:788:1: ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) + // InternalAssignmentFinderTestLanguage.g:794:2: ( ( (lv_val_0_0= ruleEnum1 ) ) | ( (lv_val_1_0= ruleDatEnum ) ) ) int alt10=2; int LA10_0 = input.LA(1); @@ -2041,33 +2070,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt10) { case 1 : - // InternalAssignmentFinderTestLanguage.g:788:2: ( (lv_val_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:795:3: ( (lv_val_0_0= ruleEnum1 ) ) { - // InternalAssignmentFinderTestLanguage.g:788:2: ( (lv_val_0_0= ruleEnum1 ) ) - // InternalAssignmentFinderTestLanguage.g:789:1: (lv_val_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:795:3: ( (lv_val_0_0= ruleEnum1 ) ) + // InternalAssignmentFinderTestLanguage.g:796:4: (lv_val_0_0= ruleEnum1 ) { - // InternalAssignmentFinderTestLanguage.g:789:1: (lv_val_0_0= ruleEnum1 ) - // InternalAssignmentFinderTestLanguage.g:790:3: lv_val_0_0= ruleEnum1 + // InternalAssignmentFinderTestLanguage.g:796:4: (lv_val_0_0= ruleEnum1 ) + // InternalAssignmentFinderTestLanguage.g:797:5: lv_val_0_0= ruleEnum1 { - - newCompositeNode(grammarAccess.getMixedValueAccess().getValEnum1EnumRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getMixedValueAccess().getValEnum1EnumRuleCall_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_0_0=ruleEnum1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getMixedValueRule()); - } - set( - current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getMixedValueRule()); + } + set( + current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); + afterParserOrEnumRuleCall(); + } @@ -2078,33 +2107,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:807:6: ( (lv_val_1_0= ruleDatEnum ) ) + // InternalAssignmentFinderTestLanguage.g:815:3: ( (lv_val_1_0= ruleDatEnum ) ) { - // InternalAssignmentFinderTestLanguage.g:807:6: ( (lv_val_1_0= ruleDatEnum ) ) - // InternalAssignmentFinderTestLanguage.g:808:1: (lv_val_1_0= ruleDatEnum ) + // InternalAssignmentFinderTestLanguage.g:815:3: ( (lv_val_1_0= ruleDatEnum ) ) + // InternalAssignmentFinderTestLanguage.g:816:4: (lv_val_1_0= ruleDatEnum ) { - // InternalAssignmentFinderTestLanguage.g:808:1: (lv_val_1_0= ruleDatEnum ) - // InternalAssignmentFinderTestLanguage.g:809:3: lv_val_1_0= ruleDatEnum + // InternalAssignmentFinderTestLanguage.g:816:4: (lv_val_1_0= ruleDatEnum ) + // InternalAssignmentFinderTestLanguage.g:817:5: lv_val_1_0= ruleDatEnum { - - newCompositeNode(grammarAccess.getMixedValueAccess().getValDatEnumParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getMixedValueAccess().getValDatEnumParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_1_0=ruleDatEnum(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getMixedValueRule()); - } - set( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.DatEnum"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getMixedValueRule()); + } + set( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.DatEnum"); + afterParserOrEnumRuleCall(); + } @@ -2120,13 +2149,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2135,7 +2166,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleDatEnum" - // InternalAssignmentFinderTestLanguage.g:833:1: entryRuleDatEnum returns [String current=null] : iv_ruleDatEnum= ruleDatEnum EOF ; + // InternalAssignmentFinderTestLanguage.g:838:1: entryRuleDatEnum returns [String current=null] : iv_ruleDatEnum= ruleDatEnum EOF ; public final String entryRuleDatEnum() throws RecognitionException { String current = null; @@ -2143,8 +2174,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:834:2: (iv_ruleDatEnum= ruleDatEnum EOF ) - // InternalAssignmentFinderTestLanguage.g:835:2: iv_ruleDatEnum= ruleDatEnum EOF + // InternalAssignmentFinderTestLanguage.g:838:47: (iv_ruleDatEnum= ruleDatEnum EOF ) + // InternalAssignmentFinderTestLanguage.g:839:2: iv_ruleDatEnum= ruleDatEnum EOF { newCompositeNode(grammarAccess.getDatEnumRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2158,11 +2189,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2171,33 +2202,36 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleDatEnum" - // InternalAssignmentFinderTestLanguage.g:842:1: ruleDatEnum returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'lit3' ; + // InternalAssignmentFinderTestLanguage.g:845:1: ruleDatEnum returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'lit3' ; public final AntlrDatatypeRuleToken ruleDatEnum() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:845:28: (kw= 'lit3' ) - // InternalAssignmentFinderTestLanguage.g:847:2: kw= 'lit3' + // InternalAssignmentFinderTestLanguage.g:851:2: (kw= 'lit3' ) + // InternalAssignmentFinderTestLanguage.g:852:2: kw= 'lit3' { kw=(Token)match(input,28,FollowSets000.FOLLOW_2); - current.merge(kw); - newLeafNode(kw, grammarAccess.getDatEnumAccess().getLit3Keyword()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getDatEnumAccess().getLit3Keyword()); + } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2214,8 +2248,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:861:2: (iv_ruleContainmentRef= ruleContainmentRef EOF ) - // InternalAssignmentFinderTestLanguage.g:862:2: iv_ruleContainmentRef= ruleContainmentRef EOF + // InternalAssignmentFinderTestLanguage.g:860:55: (iv_ruleContainmentRef= ruleContainmentRef EOF ) + // InternalAssignmentFinderTestLanguage.g:861:2: iv_ruleContainmentRef= ruleContainmentRef EOF { newCompositeNode(grammarAccess.getContainmentRefRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2229,11 +2263,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2242,7 +2276,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleContainmentRef" - // InternalAssignmentFinderTestLanguage.g:869:1: ruleContainmentRef returns [EObject current=null] : ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:867:1: ruleContainmentRef returns [EObject current=null] : ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) ; public final EObject ruleContainmentRef() throws RecognitionException { EObject current = null; @@ -2251,13 +2285,14 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal EObject lv_ctx_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:872:28: ( ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:873:1: ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:873:2: ( ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:874:2: ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) { - // InternalAssignmentFinderTestLanguage.g:873:1: ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:874:2: ( ( (lv_ctx_0_0= ruleContainmentRef1 ) ) | ( (lv_ctx_1_0= ruleContainmentRef2 ) ) ) int alt11=2; int LA11_0 = input.LA(1); @@ -2275,33 +2310,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt11) { case 1 : - // InternalAssignmentFinderTestLanguage.g:873:2: ( (lv_ctx_0_0= ruleContainmentRef1 ) ) + // InternalAssignmentFinderTestLanguage.g:875:3: ( (lv_ctx_0_0= ruleContainmentRef1 ) ) { - // InternalAssignmentFinderTestLanguage.g:873:2: ( (lv_ctx_0_0= ruleContainmentRef1 ) ) - // InternalAssignmentFinderTestLanguage.g:874:1: (lv_ctx_0_0= ruleContainmentRef1 ) + // InternalAssignmentFinderTestLanguage.g:875:3: ( (lv_ctx_0_0= ruleContainmentRef1 ) ) + // InternalAssignmentFinderTestLanguage.g:876:4: (lv_ctx_0_0= ruleContainmentRef1 ) { - // InternalAssignmentFinderTestLanguage.g:874:1: (lv_ctx_0_0= ruleContainmentRef1 ) - // InternalAssignmentFinderTestLanguage.g:875:3: lv_ctx_0_0= ruleContainmentRef1 + // InternalAssignmentFinderTestLanguage.g:876:4: (lv_ctx_0_0= ruleContainmentRef1 ) + // InternalAssignmentFinderTestLanguage.g:877:5: lv_ctx_0_0= ruleContainmentRef1 { - - newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef1ParserRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef1ParserRuleCall_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_ctx_0_0=ruleContainmentRef1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getContainmentRefRule()); - } - set( - current, - "ctx", - lv_ctx_0_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getContainmentRefRule()); + } + set( + current, + "ctx", + lv_ctx_0_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef1"); + afterParserOrEnumRuleCall(); + } @@ -2312,33 +2347,33 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:892:6: ( (lv_ctx_1_0= ruleContainmentRef2 ) ) + // InternalAssignmentFinderTestLanguage.g:895:3: ( (lv_ctx_1_0= ruleContainmentRef2 ) ) { - // InternalAssignmentFinderTestLanguage.g:892:6: ( (lv_ctx_1_0= ruleContainmentRef2 ) ) - // InternalAssignmentFinderTestLanguage.g:893:1: (lv_ctx_1_0= ruleContainmentRef2 ) + // InternalAssignmentFinderTestLanguage.g:895:3: ( (lv_ctx_1_0= ruleContainmentRef2 ) ) + // InternalAssignmentFinderTestLanguage.g:896:4: (lv_ctx_1_0= ruleContainmentRef2 ) { - // InternalAssignmentFinderTestLanguage.g:893:1: (lv_ctx_1_0= ruleContainmentRef2 ) - // InternalAssignmentFinderTestLanguage.g:894:3: lv_ctx_1_0= ruleContainmentRef2 + // InternalAssignmentFinderTestLanguage.g:896:4: (lv_ctx_1_0= ruleContainmentRef2 ) + // InternalAssignmentFinderTestLanguage.g:897:5: lv_ctx_1_0= ruleContainmentRef2 { - - newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef2ParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getContainmentRefAccess().getCtxContainmentRef2ParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_ctx_1_0=ruleContainmentRef2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getContainmentRefRule()); - } - set( - current, - "ctx", - lv_ctx_1_0, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getContainmentRefRule()); + } + set( + current, + "ctx", + lv_ctx_1_0, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef2"); + afterParserOrEnumRuleCall(); + } @@ -2354,13 +2389,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2377,8 +2414,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:919:2: (iv_ruleContainmentRef1= ruleContainmentRef1 EOF ) - // InternalAssignmentFinderTestLanguage.g:920:2: iv_ruleContainmentRef1= ruleContainmentRef1 EOF + // InternalAssignmentFinderTestLanguage.g:918:56: (iv_ruleContainmentRef1= ruleContainmentRef1 EOF ) + // InternalAssignmentFinderTestLanguage.g:919:2: iv_ruleContainmentRef1= ruleContainmentRef1 EOF { newCompositeNode(grammarAccess.getContainmentRef1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2392,11 +2429,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2405,46 +2442,47 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleContainmentRef1" - // InternalAssignmentFinderTestLanguage.g:927:1: ruleContainmentRef1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:925:1: ruleContainmentRef1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) ; public final EObject ruleContainmentRef1() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val1_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:930:28: ( (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:931:1: (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) + // InternalAssignmentFinderTestLanguage.g:931:2: ( (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:932:2: (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) { - // InternalAssignmentFinderTestLanguage.g:931:1: (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) - // InternalAssignmentFinderTestLanguage.g:931:3: otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) + // InternalAssignmentFinderTestLanguage.g:932:2: (otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) ) + // InternalAssignmentFinderTestLanguage.g:933:3: otherlv_0= 'kw1' ( (lv_val1_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,23,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_0, grammarAccess.getContainmentRef1Access().getKw1Keyword_0()); - - // InternalAssignmentFinderTestLanguage.g:935:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalAssignmentFinderTestLanguage.g:936:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getContainmentRef1Access().getKw1Keyword_0()); + + // InternalAssignmentFinderTestLanguage.g:937:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalAssignmentFinderTestLanguage.g:938:4: (lv_val1_1_0= RULE_ID ) { - // InternalAssignmentFinderTestLanguage.g:936:1: (lv_val1_1_0= RULE_ID ) - // InternalAssignmentFinderTestLanguage.g:937:3: lv_val1_1_0= RULE_ID + // InternalAssignmentFinderTestLanguage.g:938:4: (lv_val1_1_0= RULE_ID ) + // InternalAssignmentFinderTestLanguage.g:939:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val1_1_0, grammarAccess.getContainmentRef1Access().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getContainmentRef1Access().getVal1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getContainmentRef1Rule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getContainmentRef1Rule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2457,13 +2495,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2472,7 +2512,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleContainmentRef2" - // InternalAssignmentFinderTestLanguage.g:961:1: entryRuleContainmentRef2 returns [EObject current=null] : iv_ruleContainmentRef2= ruleContainmentRef2 EOF ; + // InternalAssignmentFinderTestLanguage.g:959:1: entryRuleContainmentRef2 returns [EObject current=null] : iv_ruleContainmentRef2= ruleContainmentRef2 EOF ; public final EObject entryRuleContainmentRef2() throws RecognitionException { EObject current = null; @@ -2480,8 +2520,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:962:2: (iv_ruleContainmentRef2= ruleContainmentRef2 EOF ) - // InternalAssignmentFinderTestLanguage.g:963:2: iv_ruleContainmentRef2= ruleContainmentRef2 EOF + // InternalAssignmentFinderTestLanguage.g:959:56: (iv_ruleContainmentRef2= ruleContainmentRef2 EOF ) + // InternalAssignmentFinderTestLanguage.g:960:2: iv_ruleContainmentRef2= ruleContainmentRef2 EOF { newCompositeNode(grammarAccess.getContainmentRef2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2495,11 +2535,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2508,46 +2548,47 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleContainmentRef2" - // InternalAssignmentFinderTestLanguage.g:970:1: ruleContainmentRef2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:966:1: ruleContainmentRef2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) ; public final EObject ruleContainmentRef2() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val2_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:973:28: ( (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:974:1: (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) + // InternalAssignmentFinderTestLanguage.g:972:2: ( (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:973:2: (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) { - // InternalAssignmentFinderTestLanguage.g:974:1: (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) + // InternalAssignmentFinderTestLanguage.g:973:2: (otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) ) // InternalAssignmentFinderTestLanguage.g:974:3: otherlv_0= 'kw2' ( (lv_val2_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,24,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_0, grammarAccess.getContainmentRef2Access().getKw2Keyword_0()); - - // InternalAssignmentFinderTestLanguage.g:978:1: ( (lv_val2_1_0= RULE_ID ) ) - // InternalAssignmentFinderTestLanguage.g:979:1: (lv_val2_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getContainmentRef2Access().getKw2Keyword_0()); + + // InternalAssignmentFinderTestLanguage.g:978:3: ( (lv_val2_1_0= RULE_ID ) ) + // InternalAssignmentFinderTestLanguage.g:979:4: (lv_val2_1_0= RULE_ID ) { - // InternalAssignmentFinderTestLanguage.g:979:1: (lv_val2_1_0= RULE_ID ) - // InternalAssignmentFinderTestLanguage.g:980:3: lv_val2_1_0= RULE_ID + // InternalAssignmentFinderTestLanguage.g:979:4: (lv_val2_1_0= RULE_ID ) + // InternalAssignmentFinderTestLanguage.g:980:5: lv_val2_1_0= RULE_ID { lv_val2_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val2_1_0, grammarAccess.getContainmentRef2Access().getVal2IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val2_1_0, grammarAccess.getContainmentRef2Access().getVal2IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getContainmentRef2Rule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getContainmentRef2Rule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2560,13 +2601,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2575,7 +2618,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "entryRuleCrossRef" - // InternalAssignmentFinderTestLanguage.g:1004:1: entryRuleCrossRef returns [EObject current=null] : iv_ruleCrossRef= ruleCrossRef EOF ; + // InternalAssignmentFinderTestLanguage.g:1000:1: entryRuleCrossRef returns [EObject current=null] : iv_ruleCrossRef= ruleCrossRef EOF ; public final EObject entryRuleCrossRef() throws RecognitionException { EObject current = null; @@ -2583,8 +2626,8 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal try { - // InternalAssignmentFinderTestLanguage.g:1005:2: (iv_ruleCrossRef= ruleCrossRef EOF ) - // InternalAssignmentFinderTestLanguage.g:1006:2: iv_ruleCrossRef= ruleCrossRef EOF + // InternalAssignmentFinderTestLanguage.g:1000:49: (iv_ruleCrossRef= ruleCrossRef EOF ) + // InternalAssignmentFinderTestLanguage.g:1001:2: iv_ruleCrossRef= ruleCrossRef EOF { newCompositeNode(grammarAccess.getCrossRefRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2598,11 +2641,11 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2611,7 +2654,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleCrossRef" - // InternalAssignmentFinderTestLanguage.g:1013:1: ruleCrossRef returns [EObject current=null] : ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) ; + // InternalAssignmentFinderTestLanguage.g:1007:1: ruleCrossRef returns [EObject current=null] : ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) ; public final EObject ruleCrossRef() throws RecognitionException { EObject current = null; @@ -2620,22 +2663,23 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal Token otherlv_1=null; Token otherlv_2=null; - enterRule(); - + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:1016:28: ( ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:1017:1: ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:1013:2: ( ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:1014:2: ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) { - // InternalAssignmentFinderTestLanguage.g:1017:1: ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) - // InternalAssignmentFinderTestLanguage.g:1017:2: ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:1014:2: ( ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) ) + // InternalAssignmentFinderTestLanguage.g:1015:3: ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) { - // InternalAssignmentFinderTestLanguage.g:1017:2: ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) - // InternalAssignmentFinderTestLanguage.g:1018:1: ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:1015:3: ( ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:1016:4: ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) { - // InternalAssignmentFinderTestLanguage.g:1018:1: ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) - // InternalAssignmentFinderTestLanguage.g:1019:1: (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:1016:4: ( (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:1017:5: (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) { - // InternalAssignmentFinderTestLanguage.g:1019:1: (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:1017:5: (lv_name_0_1= RULE_TERMINAL1 | lv_name_0_2= RULE_TERMINAL2 ) int alt12=2; int LA12_0 = input.LA(1); @@ -2653,42 +2697,42 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt12) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1020:3: lv_name_0_1= RULE_TERMINAL1 + // InternalAssignmentFinderTestLanguage.g:1018:6: lv_name_0_1= RULE_TERMINAL1 { lv_name_0_1=(Token)match(input,RULE_TERMINAL1,FollowSets000.FOLLOW_8); - newLeafNode(lv_name_0_1, grammarAccess.getCrossRefAccess().getNameTerminal1TerminalRuleCall_0_0_0()); - + newLeafNode(lv_name_0_1, grammarAccess.getCrossRefAccess().getNameTerminal1TerminalRuleCall_0_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getCrossRefRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_0_1, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); - + if (current==null) { + current = createModelElement(grammarAccess.getCrossRefRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_1, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1"); + } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:1035:8: lv_name_0_2= RULE_TERMINAL2 + // InternalAssignmentFinderTestLanguage.g:1033:6: lv_name_0_2= RULE_TERMINAL2 { lv_name_0_2=(Token)match(input,RULE_TERMINAL2,FollowSets000.FOLLOW_8); - newLeafNode(lv_name_0_2, grammarAccess.getCrossRefAccess().getNameTerminal2TerminalRuleCall_0_0_1()); - + newLeafNode(lv_name_0_2, grammarAccess.getCrossRefAccess().getNameTerminal2TerminalRuleCall_0_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getCrossRefRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_0_2, - "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); - + if (current==null) { + current = createModelElement(grammarAccess.getCrossRefRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_2, + "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2"); + } break; @@ -2701,7 +2745,7 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - // InternalAssignmentFinderTestLanguage.g:1053:2: ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) + // InternalAssignmentFinderTestLanguage.g:1050:3: ( ( (otherlv_1= RULE_TERMINAL1 ) ) | ( (otherlv_2= RULE_TERMINAL2 ) ) ) int alt13=2; int LA13_0 = input.LA(1); @@ -2719,23 +2763,23 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } switch (alt13) { case 1 : - // InternalAssignmentFinderTestLanguage.g:1053:3: ( (otherlv_1= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:1051:4: ( (otherlv_1= RULE_TERMINAL1 ) ) { - // InternalAssignmentFinderTestLanguage.g:1053:3: ( (otherlv_1= RULE_TERMINAL1 ) ) - // InternalAssignmentFinderTestLanguage.g:1054:1: (otherlv_1= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:1051:4: ( (otherlv_1= RULE_TERMINAL1 ) ) + // InternalAssignmentFinderTestLanguage.g:1052:5: (otherlv_1= RULE_TERMINAL1 ) { - // InternalAssignmentFinderTestLanguage.g:1054:1: (otherlv_1= RULE_TERMINAL1 ) - // InternalAssignmentFinderTestLanguage.g:1055:3: otherlv_1= RULE_TERMINAL1 + // InternalAssignmentFinderTestLanguage.g:1052:5: (otherlv_1= RULE_TERMINAL1 ) + // InternalAssignmentFinderTestLanguage.g:1053:6: otherlv_1= RULE_TERMINAL1 { - if (current==null) { - current = createModelElement(grammarAccess.getCrossRefRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getCrossRefRule()); + } + otherlv_1=(Token)match(input,RULE_TERMINAL1,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_0_0()); - + newLeafNode(otherlv_1, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_0_0()); + } @@ -2746,23 +2790,23 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } break; case 2 : - // InternalAssignmentFinderTestLanguage.g:1067:6: ( (otherlv_2= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:1065:4: ( (otherlv_2= RULE_TERMINAL2 ) ) { - // InternalAssignmentFinderTestLanguage.g:1067:6: ( (otherlv_2= RULE_TERMINAL2 ) ) - // InternalAssignmentFinderTestLanguage.g:1068:1: (otherlv_2= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:1065:4: ( (otherlv_2= RULE_TERMINAL2 ) ) + // InternalAssignmentFinderTestLanguage.g:1066:5: (otherlv_2= RULE_TERMINAL2 ) { - // InternalAssignmentFinderTestLanguage.g:1068:1: (otherlv_2= RULE_TERMINAL2 ) - // InternalAssignmentFinderTestLanguage.g:1069:3: otherlv_2= RULE_TERMINAL2 + // InternalAssignmentFinderTestLanguage.g:1066:5: (otherlv_2= RULE_TERMINAL2 ) + // InternalAssignmentFinderTestLanguage.g:1067:6: otherlv_2= RULE_TERMINAL2 { - if (current==null) { - current = createModelElement(grammarAccess.getCrossRefRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getCrossRefRule()); + } + otherlv_2=(Token)match(input,RULE_TERMINAL2,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_1_0()); - + newLeafNode(otherlv_2, grammarAccess.getCrossRefAccess().getCrossRefCrossRefCrossReference_1_1_0()); + } @@ -2781,13 +2825,15 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2796,38 +2842,42 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleEnum1" - // InternalAssignmentFinderTestLanguage.g:1088:1: ruleEnum1 returns [Enumerator current=null] : (enumLiteral_0= 'lit1' ) ; + // InternalAssignmentFinderTestLanguage.g:1083:1: ruleEnum1 returns [Enumerator current=null] : (enumLiteral_0= 'lit1' ) ; public final Enumerator ruleEnum1() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:1090:28: ( (enumLiteral_0= 'lit1' ) ) - // InternalAssignmentFinderTestLanguage.g:1091:1: (enumLiteral_0= 'lit1' ) + // InternalAssignmentFinderTestLanguage.g:1089:2: ( (enumLiteral_0= 'lit1' ) ) + // InternalAssignmentFinderTestLanguage.g:1090:2: (enumLiteral_0= 'lit1' ) { - // InternalAssignmentFinderTestLanguage.g:1091:1: (enumLiteral_0= 'lit1' ) + // InternalAssignmentFinderTestLanguage.g:1090:2: (enumLiteral_0= 'lit1' ) // InternalAssignmentFinderTestLanguage.g:1091:3: enumLiteral_0= 'lit1' { enumLiteral_0=(Token)match(input,29,FollowSets000.FOLLOW_2); - current = grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration()); - + current = grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getEnum1Access().getLit1EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2836,38 +2886,42 @@ public class InternalAssignmentFinderTestLanguageParser extends AbstractInternal // $ANTLR start "ruleEnum2" - // InternalAssignmentFinderTestLanguage.g:1101:1: ruleEnum2 returns [Enumerator current=null] : (enumLiteral_0= 'lit2' ) ; + // InternalAssignmentFinderTestLanguage.g:1100:1: ruleEnum2 returns [Enumerator current=null] : (enumLiteral_0= 'lit2' ) ; public final Enumerator ruleEnum2() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalAssignmentFinderTestLanguage.g:1103:28: ( (enumLiteral_0= 'lit2' ) ) - // InternalAssignmentFinderTestLanguage.g:1104:1: (enumLiteral_0= 'lit2' ) + // InternalAssignmentFinderTestLanguage.g:1106:2: ( (enumLiteral_0= 'lit2' ) ) + // InternalAssignmentFinderTestLanguage.g:1107:2: (enumLiteral_0= 'lit2' ) { - // InternalAssignmentFinderTestLanguage.g:1104:1: (enumLiteral_0= 'lit2' ) - // InternalAssignmentFinderTestLanguage.g:1104:3: enumLiteral_0= 'lit2' + // InternalAssignmentFinderTestLanguage.g:1107:2: (enumLiteral_0= 'lit2' ) + // InternalAssignmentFinderTestLanguage.g:1108:3: enumLiteral_0= 'lit2' { enumLiteral_0=(Token)match(input,30,FollowSets000.FOLLOW_2); - current = grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration()); - + current = grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getEnum2Access().getLit2EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.g index bd69d5965..cd93f73cd 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.g +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguage.g @@ -5,7 +5,6 @@ grammar InternalContextFinderTestLanguage; options { superClass=AbstractInternalAntlrParser; - } @lexer::header { @@ -17,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer; } @parser::header { -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -36,1353 +35,1341 @@ import org.eclipse.xtext.serializer.services.ContextFinderTestLanguageGrammarAcc @parser::members { private ContextFinderTestLanguageGrammarAccess grammarAccess; - + public InternalContextFinderTestLanguageParser(TokenStream input, ContextFinderTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected ContextFinderTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; } + } -@rulecatch { - catch (RecognitionException re) { - recover(input,re); +@rulecatch { + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } } - - - // Entry rule entryRuleModel -entryRuleModel returns [EObject current=null] - : +entryRuleModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getModelRule()); } - iv_ruleModel=ruleModel - { $current=$iv_ruleModel.current; } - EOF -; + iv_ruleModel=ruleModel + { $current=$iv_ruleModel.current; } + EOF; // Rule Model -ruleModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( otherlv_0='#0' - { - newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroKeyword_0_0()); - } -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getModelModel2ParserRuleCall_0_1_0()); - } - lv_model_1_0=ruleModel2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "model", - lv_model_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model2"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_2='#1' - { - newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitOneKeyword_1_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0()); - } - lv_attributeExclusion_3_1=ruleAttributeExclusionTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "attributeExclusion", - lv_attributeExclusion_3_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1()); - } - lv_attributeExclusion_3_2=ruleAttributeExclusionTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "attributeExclusion", - lv_attributeExclusion_3_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_4='#2' - { - newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitTwoKeyword_2_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0()); - } - lv_nestedType_5_1=ruleNestedTypeTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nestedType", - lv_nestedType_5_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1()); - } - lv_nestedType_5_2=ruleNestedTypeTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nestedType", - lv_nestedType_5_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_6='#3' - { - newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitThreeKeyword_3_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0()); - } - lv_nestedTypeRecursiveTest2_7_1=ruleNestedTypeRecursiveTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nestedTypeRecursiveTest2", - lv_nestedTypeRecursiveTest2_7_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1()); - } - lv_nestedTypeRecursiveTest2_7_2=ruleNestedTypeRecursiveTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nestedTypeRecursiveTest2", - lv_nestedTypeRecursiveTest2_7_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_8='#4' - { - newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitFourKeyword_4_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest1ParserRuleCall_4_1_0_0()); - } - lv_parentRef_9_1=ruleParentRefTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "parentRef", - lv_parentRef_9_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest2ParserRuleCall_4_1_0_1()); - } - lv_parentRef_9_2=ruleParentRefTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "parentRef", - lv_parentRef_9_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_10='#5' - { - newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitFiveKeyword_5_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0()); - } - lv_quantityExclusion_11_1=ruleQuantityExclusionTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "quantityExclusion", - lv_quantityExclusion_11_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1()); - } - lv_quantityExclusion_11_2=ruleQuantityExclusionTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "quantityExclusion", - lv_quantityExclusion_11_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_12='#6' - { - newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitSixKeyword_6_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0()); - } - lv_valueExclusion_13_1=ruleValueExclusionTest1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "valueExclusion", - lv_valueExclusion_13_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1()); - } - lv_valueExclusion_13_2=ruleValueExclusionTest2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "valueExclusion", - lv_valueExclusion_13_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_14='#7' - { - newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitSevenKeyword_7_0()); - } -( -( - lv_name_15_0=RULE_STRING - { - newLeafNode(lv_name_15_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_7_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getModelRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_15_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - -) -)( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0()); - } - lv_nodeExclusion_16_1=ruleNodeExclusion1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nodeExclusion", - lv_nodeExclusion_16_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1()); - } - lv_nodeExclusion_16_2=ruleNodeExclusion2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nodeExclusion", - lv_nodeExclusion_16_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) - |( otherlv_17='#8' - { - newLeafNode(otherlv_17, grammarAccess.getModelAccess().getNumberSignDigitEightKeyword_8_0()); - } -( -( - lv_name_18_0=RULE_STRING - { - newLeafNode(lv_name_18_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_8_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getModelRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_18_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - -) -)( -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0()); - } - lv_nodeExclusionList_19_1=ruleNodeExclusion1List { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nodeExclusionList", - lv_nodeExclusionList_19_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1List"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1()); - } - lv_nodeExclusionList_19_2=ruleNodeExclusion2List { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "nodeExclusionList", - lv_nodeExclusionList_19_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2List"); - afterParserOrEnumRuleCall(); - } - -) - -) -))) +ruleModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + otherlv_0='#0' + { + newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroKeyword_0_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getModelModel2ParserRuleCall_0_1_0()); + } + lv_model_1_0=ruleModel2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "model", + lv_model_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_2='#1' + { + newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitOneKeyword_1_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0()); + } + lv_attributeExclusion_3_1=ruleAttributeExclusionTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "attributeExclusion", + lv_attributeExclusion_3_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1()); + } + lv_attributeExclusion_3_2=ruleAttributeExclusionTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "attributeExclusion", + lv_attributeExclusion_3_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_4='#2' + { + newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitTwoKeyword_2_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0()); + } + lv_nestedType_5_1=ruleNestedTypeTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nestedType", + lv_nestedType_5_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1()); + } + lv_nestedType_5_2=ruleNestedTypeTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nestedType", + lv_nestedType_5_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_6='#3' + { + newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitThreeKeyword_3_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0()); + } + lv_nestedTypeRecursiveTest2_7_1=ruleNestedTypeRecursiveTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nestedTypeRecursiveTest2", + lv_nestedTypeRecursiveTest2_7_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1()); + } + lv_nestedTypeRecursiveTest2_7_2=ruleNestedTypeRecursiveTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nestedTypeRecursiveTest2", + lv_nestedTypeRecursiveTest2_7_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_8='#4' + { + newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitFourKeyword_4_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest1ParserRuleCall_4_1_0_0()); + } + lv_parentRef_9_1=ruleParentRefTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "parentRef", + lv_parentRef_9_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest2ParserRuleCall_4_1_0_1()); + } + lv_parentRef_9_2=ruleParentRefTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "parentRef", + lv_parentRef_9_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_10='#5' + { + newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitFiveKeyword_5_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0()); + } + lv_quantityExclusion_11_1=ruleQuantityExclusionTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "quantityExclusion", + lv_quantityExclusion_11_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1()); + } + lv_quantityExclusion_11_2=ruleQuantityExclusionTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "quantityExclusion", + lv_quantityExclusion_11_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_12='#6' + { + newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitSixKeyword_6_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0()); + } + lv_valueExclusion_13_1=ruleValueExclusionTest1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "valueExclusion", + lv_valueExclusion_13_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1()); + } + lv_valueExclusion_13_2=ruleValueExclusionTest2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "valueExclusion", + lv_valueExclusion_13_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_14='#7' + { + newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitSevenKeyword_7_0()); + } + ( + ( + lv_name_15_0=RULE_STRING + { + newLeafNode(lv_name_15_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_7_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getModelRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_15_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0()); + } + lv_nodeExclusion_16_1=ruleNodeExclusion1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nodeExclusion", + lv_nodeExclusion_16_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1()); + } + lv_nodeExclusion_16_2=ruleNodeExclusion2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nodeExclusion", + lv_nodeExclusion_16_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + | + ( + otherlv_17='#8' + { + newLeafNode(otherlv_17, grammarAccess.getModelAccess().getNumberSignDigitEightKeyword_8_0()); + } + ( + ( + lv_name_18_0=RULE_STRING + { + newLeafNode(lv_name_18_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_8_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getModelRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_18_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0()); + } + lv_nodeExclusionList_19_1=ruleNodeExclusion1List + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nodeExclusionList", + lv_nodeExclusionList_19_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1List"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1()); + } + lv_nodeExclusionList_19_2=ruleNodeExclusion2List + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "nodeExclusionList", + lv_nodeExclusionList_19_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2List"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleModel2 -entryRuleModel2 returns [EObject current=null] - : +entryRuleModel2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getModel2Rule()); } - iv_ruleModel2=ruleModel2 - { $current=$iv_ruleModel2.current; } - EOF -; + iv_ruleModel2=ruleModel2 + { $current=$iv_ruleModel2.current; } + EOF; // Rule Model2 -ruleModel2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getModel2Access().getModelAction_0(), - $current); - } -) otherlv_1='model' - { - newLeafNode(otherlv_1, grammarAccess.getModel2Access().getModelKeyword_1()); - } -) +ruleModel2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getModel2Access().getModelAction_0(), + $current); + } + ) + otherlv_1='model' + { + newLeafNode(otherlv_1, grammarAccess.getModel2Access().getModelKeyword_1()); + } + ) ; - - - - // Entry rule entryRuleAttributeExclusionTest1 -entryRuleAttributeExclusionTest1 returns [EObject current=null] - : +entryRuleAttributeExclusionTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAttributeExclusionTest1Rule()); } - iv_ruleAttributeExclusionTest1=ruleAttributeExclusionTest1 - { $current=$iv_ruleAttributeExclusionTest1.current; } - EOF -; + iv_ruleAttributeExclusionTest1=ruleAttributeExclusionTest1 + { $current=$iv_ruleAttributeExclusionTest1.current; } + EOF; // Rule AttributeExclusionTest1 -ruleAttributeExclusionTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest1Access().getKw1Keyword_0()); - } -( -( - lv_attr1_1_0=RULE_ID +ruleAttributeExclusionTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_attr1_1_0, grammarAccess.getAttributeExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest1Access().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAttributeExclusionTest1Rule()); - } - setWithLastConsumed( - $current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_attr1_1_0=RULE_ID + { + newLeafNode(lv_attr1_1_0, grammarAccess.getAttributeExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAttributeExclusionTest1Rule()); + } + setWithLastConsumed( + $current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleAttributeExclusionTest2 -entryRuleAttributeExclusionTest2 returns [EObject current=null] - : +entryRuleAttributeExclusionTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAttributeExclusionTest2Rule()); } - iv_ruleAttributeExclusionTest2=ruleAttributeExclusionTest2 - { $current=$iv_ruleAttributeExclusionTest2.current; } - EOF -; + iv_ruleAttributeExclusionTest2=ruleAttributeExclusionTest2 + { $current=$iv_ruleAttributeExclusionTest2.current; } + EOF; // Rule AttributeExclusionTest2 -ruleAttributeExclusionTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest2Access().getKw2Keyword_0()); - } -( -( - lv_attr2_1_0=RULE_ID +ruleAttributeExclusionTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_attr2_1_0, grammarAccess.getAttributeExclusionTest2Access().getAttr2IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAttributeExclusionTest2Rule()); - } - setWithLastConsumed( - $current, - "attr2", - lv_attr2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_attr2_1_0=RULE_ID + { + newLeafNode(lv_attr2_1_0, grammarAccess.getAttributeExclusionTest2Access().getAttr2IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAttributeExclusionTest2Rule()); + } + setWithLastConsumed( + $current, + "attr2", + lv_attr2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleNestedTypeTest1 -entryRuleNestedTypeTest1 returns [EObject current=null] - : +entryRuleNestedTypeTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeTest1Rule()); } - iv_ruleNestedTypeTest1=ruleNestedTypeTest1 - { $current=$iv_ruleNestedTypeTest1.current; } - EOF -; + iv_ruleNestedTypeTest1=ruleNestedTypeTest1 + { $current=$iv_ruleNestedTypeTest1.current; } + EOF; // Rule NestedTypeTest1 -ruleNestedTypeTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - newCompositeNode(grammarAccess.getNestedTypeTest1Access().getNestedNestedTypeChild1ParserRuleCall_0()); - } - lv_nested_0_0=ruleNestedTypeChild1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getNestedTypeTest1Rule()); - } - set( - $current, - "nested", - lv_nested_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild1"); - afterParserOrEnumRuleCall(); - } - -) -) +ruleNestedTypeTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getNestedTypeTest1Access().getNestedNestedTypeChild1ParserRuleCall_0()); + } + lv_nested_0_0=ruleNestedTypeChild1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNestedTypeTest1Rule()); + } + set( + $current, + "nested", + lv_nested_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild1"); + afterParserOrEnumRuleCall(); + } + ) + ) ; - - - - // Entry rule entryRuleNestedTypeTest2 -entryRuleNestedTypeTest2 returns [EObject current=null] - : +entryRuleNestedTypeTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeTest2Rule()); } - iv_ruleNestedTypeTest2=ruleNestedTypeTest2 - { $current=$iv_ruleNestedTypeTest2.current; } - EOF -; + iv_ruleNestedTypeTest2=ruleNestedTypeTest2 + { $current=$iv_ruleNestedTypeTest2.current; } + EOF; // Rule NestedTypeTest2 -ruleNestedTypeTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - newCompositeNode(grammarAccess.getNestedTypeTest2Access().getNestedNestedTypeChild2ParserRuleCall_0()); - } - lv_nested_0_0=ruleNestedTypeChild2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getNestedTypeTest2Rule()); - } - set( - $current, - "nested", - lv_nested_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild2"); - afterParserOrEnumRuleCall(); - } - -) -) +ruleNestedTypeTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getNestedTypeTest2Access().getNestedNestedTypeChild2ParserRuleCall_0()); + } + lv_nested_0_0=ruleNestedTypeChild2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNestedTypeTest2Rule()); + } + set( + $current, + "nested", + lv_nested_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild2"); + afterParserOrEnumRuleCall(); + } + ) + ) ; - - - - - - // Entry rule entryRuleNestedTypeChild1 -entryRuleNestedTypeChild1 returns [EObject current=null] - : +entryRuleNestedTypeChild1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeChild1Rule()); } - iv_ruleNestedTypeChild1=ruleNestedTypeChild1 - { $current=$iv_ruleNestedTypeChild1.current; } - EOF -; + iv_ruleNestedTypeChild1=ruleNestedTypeChild1 + { $current=$iv_ruleNestedTypeChild1.current; } + EOF; // Rule NestedTypeChild1 -ruleNestedTypeChild1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild1Access().getKw1Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleNestedTypeChild1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild1Access().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild1Access().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNestedTypeChild1Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild1Access().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNestedTypeChild1Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleNestedTypeChild2 -entryRuleNestedTypeChild2 returns [EObject current=null] - : +entryRuleNestedTypeChild2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeChild2Rule()); } - iv_ruleNestedTypeChild2=ruleNestedTypeChild2 - { $current=$iv_ruleNestedTypeChild2.current; } - EOF -; + iv_ruleNestedTypeChild2=ruleNestedTypeChild2 + { $current=$iv_ruleNestedTypeChild2.current; } + EOF; // Rule NestedTypeChild2 -ruleNestedTypeChild2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild2Access().getKw2Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleNestedTypeChild2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild2Access().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNestedTypeChild2Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild2Access().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNestedTypeChild2Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleNestedTypeRecursiveTest1 -entryRuleNestedTypeRecursiveTest1 returns [EObject current=null] - : +entryRuleNestedTypeRecursiveTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeRecursiveTest1Rule()); } - iv_ruleNestedTypeRecursiveTest1=ruleNestedTypeRecursiveTest1 - { $current=$iv_ruleNestedTypeRecursiveTest1.current; } - EOF -; + iv_ruleNestedTypeRecursiveTest1=ruleNestedTypeRecursiveTest1 + { $current=$iv_ruleNestedTypeRecursiveTest1.current; } + EOF; // Rule NestedTypeRecursiveTest1 -ruleNestedTypeRecursiveTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTest1Action_0(), - $current); - } -) otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest1Access().getKw1Keyword_1()); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTestLeftAction_2_0(), - $current); - } -) otherlv_3='.' - { - newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest1Access().getFullStopKeyword_2_1()); - } -)+) +ruleNestedTypeRecursiveTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTest1Action_0(), + $current); + } + ) + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest1Access().getKw1Keyword_1()); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTestLeftAction_2_0(), + $current); + } + ) + otherlv_3='.' + { + newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest1Access().getFullStopKeyword_2_1()); + } + )+ + ) ; - - - - // Entry rule entryRuleNestedTypeRecursiveTest2 -entryRuleNestedTypeRecursiveTest2 returns [EObject current=null] - : +entryRuleNestedTypeRecursiveTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNestedTypeRecursiveTest2Rule()); } - iv_ruleNestedTypeRecursiveTest2=ruleNestedTypeRecursiveTest2 - { $current=$iv_ruleNestedTypeRecursiveTest2.current; } - EOF -; + iv_ruleNestedTypeRecursiveTest2=ruleNestedTypeRecursiveTest2 + { $current=$iv_ruleNestedTypeRecursiveTest2.current; } + EOF; // Rule NestedTypeRecursiveTest2 -ruleNestedTypeRecursiveTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTest2Action_0(), - $current); - } -) otherlv_1='kw2' - { - newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest2Access().getKw2Keyword_1()); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTestLeftAction_2_0(), - $current); - } -) otherlv_3='.' - { - newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest2Access().getFullStopKeyword_2_1()); - } -)+) +ruleNestedTypeRecursiveTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTest2Action_0(), + $current); + } + ) + otherlv_1='kw2' + { + newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest2Access().getKw2Keyword_1()); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTestLeftAction_2_0(), + $current); + } + ) + otherlv_3='.' + { + newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest2Access().getFullStopKeyword_2_1()); + } + )+ + ) ; - - - - // Entry rule entryRuleParentRefTest1 -entryRuleParentRefTest1 returns [EObject current=null] - : +entryRuleParentRefTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getParentRefTest1Rule()); } - iv_ruleParentRefTest1=ruleParentRefTest1 - { $current=$iv_ruleParentRefTest1.current; } - EOF -; + iv_ruleParentRefTest1=ruleParentRefTest1 + { $current=$iv_ruleParentRefTest1.current; } + EOF; // Rule ParentRefTest1 -ruleParentRefTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getParentRefTest1Access().getKw1Keyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParentRefTest1Access().getChild1ParentRefTestChild1ParserRuleCall_1_0()); - } - lv_child1_1_0=ruleParentRefTestChild1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParentRefTest1Rule()); - } - set( - $current, - "child1", - lv_child1_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleParentRefTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' + { + newLeafNode(otherlv_0, grammarAccess.getParentRefTest1Access().getKw1Keyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParentRefTest1Access().getChild1ParentRefTestChild1ParserRuleCall_1_0()); + } + lv_child1_1_0=ruleParentRefTestChild1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParentRefTest1Rule()); + } + set( + $current, + "child1", + lv_child1_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleParentRefTest2 -entryRuleParentRefTest2 returns [EObject current=null] - : +entryRuleParentRefTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getParentRefTest2Rule()); } - iv_ruleParentRefTest2=ruleParentRefTest2 - { $current=$iv_ruleParentRefTest2.current; } - EOF -; + iv_ruleParentRefTest2=ruleParentRefTest2 + { $current=$iv_ruleParentRefTest2.current; } + EOF; // Rule ParentRefTest2 -ruleParentRefTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getParentRefTest2Access().getKw2Keyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParentRefTest2Access().getChild2ParentRefTestChild2ParserRuleCall_1_0()); - } - lv_child2_1_0=ruleParentRefTestChild2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParentRefTest2Rule()); - } - set( - $current, - "child2", - lv_child2_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleParentRefTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' + { + newLeafNode(otherlv_0, grammarAccess.getParentRefTest2Access().getKw2Keyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParentRefTest2Access().getChild2ParentRefTestChild2ParserRuleCall_1_0()); + } + lv_child2_1_0=ruleParentRefTestChild2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParentRefTest2Rule()); + } + set( + $current, + "child2", + lv_child2_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleParentRefTestChild1 -entryRuleParentRefTestChild1 returns [EObject current=null] - : +entryRuleParentRefTestChild1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getParentRefTestChild1Rule()); } - iv_ruleParentRefTestChild1=ruleParentRefTestChild1 - { $current=$iv_ruleParentRefTestChild1.current; } - EOF -; + iv_ruleParentRefTestChild1=ruleParentRefTestChild1 + { $current=$iv_ruleParentRefTestChild1.current; } + EOF; // Rule ParentRefTestChild1 -ruleParentRefTestChild1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getParentRefTestChild1Access().getParentRefTestChildAction_0(), - $current); - } -) otherlv_1='foo' - { - newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild1Access().getFooKeyword_1()); - } -( -( - { - newCompositeNode(grammarAccess.getParentRefTestChild1Access().getChildParentRefTestChild1ParserRuleCall_2_0()); - } - lv_child_2_0=ruleParentRefTestChild1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParentRefTestChild1Rule()); - } - set( - $current, - "child", - lv_child_2_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); - afterParserOrEnumRuleCall(); - } - -) -)?) +ruleParentRefTestChild1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getParentRefTestChild1Access().getParentRefTestChildAction_0(), + $current); + } + ) + otherlv_1='foo' + { + newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild1Access().getFooKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParentRefTestChild1Access().getChildParentRefTestChild1ParserRuleCall_2_0()); + } + lv_child_2_0=ruleParentRefTestChild1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParentRefTestChild1Rule()); + } + set( + $current, + "child", + lv_child_2_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) ; - - - - // Entry rule entryRuleParentRefTestChild2 -entryRuleParentRefTestChild2 returns [EObject current=null] - : +entryRuleParentRefTestChild2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getParentRefTestChild2Rule()); } - iv_ruleParentRefTestChild2=ruleParentRefTestChild2 - { $current=$iv_ruleParentRefTestChild2.current; } - EOF -; + iv_ruleParentRefTestChild2=ruleParentRefTestChild2 + { $current=$iv_ruleParentRefTestChild2.current; } + EOF; // Rule ParentRefTestChild2 -ruleParentRefTestChild2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getParentRefTestChild2Access().getParentRefTestChildAction_0(), - $current); - } -) otherlv_1='foo' - { - newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild2Access().getFooKeyword_1()); - } -( -( - { - newCompositeNode(grammarAccess.getParentRefTestChild2Access().getChildParentRefTestChild2ParserRuleCall_2_0()); - } - lv_child_2_0=ruleParentRefTestChild2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParentRefTestChild2Rule()); - } - set( - $current, - "child", - lv_child_2_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); - afterParserOrEnumRuleCall(); - } - -) -)?) +ruleParentRefTestChild2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getParentRefTestChild2Access().getParentRefTestChildAction_0(), + $current); + } + ) + otherlv_1='foo' + { + newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild2Access().getFooKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParentRefTestChild2Access().getChildParentRefTestChild2ParserRuleCall_2_0()); + } + lv_child_2_0=ruleParentRefTestChild2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParentRefTestChild2Rule()); + } + set( + $current, + "child", + lv_child_2_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) ; - - - - // Entry rule entryRuleQuantityExclusionTest1 -entryRuleQuantityExclusionTest1 returns [EObject current=null] - : +entryRuleQuantityExclusionTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getQuantityExclusionTest1Rule()); } - iv_ruleQuantityExclusionTest1=ruleQuantityExclusionTest1 - { $current=$iv_ruleQuantityExclusionTest1.current; } - EOF -; + iv_ruleQuantityExclusionTest1=ruleQuantityExclusionTest1 + { $current=$iv_ruleQuantityExclusionTest1.current; } + EOF; // Rule QuantityExclusionTest1 -ruleQuantityExclusionTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest1Access().getKw1Keyword_0()); - } -( -( - lv_attr1_1_0=RULE_ID +ruleQuantityExclusionTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest1Access().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); - } - setWithLastConsumed( - $current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_attr2_2_0=RULE_ID - { - newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest1Access().getAttr2IDTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); - } - setWithLastConsumed( - $current, - "attr2", - lv_attr2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) + ( + ( + lv_attr1_1_0=RULE_ID + { + newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); + } + setWithLastConsumed( + $current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_attr2_2_0=RULE_ID + { + newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest1Access().getAttr2IDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); + } + setWithLastConsumed( + $current, + "attr2", + lv_attr2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) ; - - - - // Entry rule entryRuleQuantityExclusionTest2 -entryRuleQuantityExclusionTest2 returns [EObject current=null] - : +entryRuleQuantityExclusionTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getQuantityExclusionTest2Rule()); } - iv_ruleQuantityExclusionTest2=ruleQuantityExclusionTest2 - { $current=$iv_ruleQuantityExclusionTest2.current; } - EOF -; + iv_ruleQuantityExclusionTest2=ruleQuantityExclusionTest2 + { $current=$iv_ruleQuantityExclusionTest2.current; } + EOF; // Rule QuantityExclusionTest2 -ruleQuantityExclusionTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest2Access().getKw2Keyword_0()); - } -( -( - lv_attr1_1_0=RULE_ID +ruleQuantityExclusionTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest2Access().getAttr1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); - } - setWithLastConsumed( - $current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?( -( - lv_attr2_2_0=RULE_ID - { - newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest2Access().getAttr2IDTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); - } - setWithLastConsumed( - $current, - "attr2", - lv_attr2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_attr1_1_0=RULE_ID + { + newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest2Access().getAttr1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); + } + setWithLastConsumed( + $current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ( + ( + lv_attr2_2_0=RULE_ID + { + newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest2Access().getAttr2IDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); + } + setWithLastConsumed( + $current, + "attr2", + lv_attr2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleValueExclusionTest1 -entryRuleValueExclusionTest1 returns [EObject current=null] - : +entryRuleValueExclusionTest1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getValueExclusionTest1Rule()); } - iv_ruleValueExclusionTest1=ruleValueExclusionTest1 - { $current=$iv_ruleValueExclusionTest1.current; } - EOF -; + iv_ruleValueExclusionTest1=ruleValueExclusionTest1 + { $current=$iv_ruleValueExclusionTest1.current; } + EOF; // Rule ValueExclusionTest1 -ruleValueExclusionTest1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - newCompositeNode(grammarAccess.getValueExclusionTest1Access().getValValueExclusionTestEn1EnumRuleCall_0()); - } - lv_val_0_0=ruleValueExclusionTestEn1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getValueExclusionTest1Rule()); - } - set( - $current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn1"); - afterParserOrEnumRuleCall(); - } - -) -) +ruleValueExclusionTest1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getValueExclusionTest1Access().getValValueExclusionTestEn1EnumRuleCall_0()); + } + lv_val_0_0=ruleValueExclusionTestEn1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getValueExclusionTest1Rule()); + } + set( + $current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn1"); + afterParserOrEnumRuleCall(); + } + ) + ) ; - - - - // Entry rule entryRuleValueExclusionTest2 -entryRuleValueExclusionTest2 returns [EObject current=null] - : +entryRuleValueExclusionTest2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getValueExclusionTest2Rule()); } - iv_ruleValueExclusionTest2=ruleValueExclusionTest2 - { $current=$iv_ruleValueExclusionTest2.current; } - EOF -; + iv_ruleValueExclusionTest2=ruleValueExclusionTest2 + { $current=$iv_ruleValueExclusionTest2.current; } + EOF; // Rule ValueExclusionTest2 -ruleValueExclusionTest2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - newCompositeNode(grammarAccess.getValueExclusionTest2Access().getValValueExclusionTestEn2EnumRuleCall_0()); - } - lv_val_0_0=ruleValueExclusionTestEn2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getValueExclusionTest2Rule()); - } - set( - $current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn2"); - afterParserOrEnumRuleCall(); - } - -) -) +ruleValueExclusionTest2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getValueExclusionTest2Access().getValValueExclusionTestEn2EnumRuleCall_0()); + } + lv_val_0_0=ruleValueExclusionTestEn2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getValueExclusionTest2Rule()); + } + set( + $current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn2"); + afterParserOrEnumRuleCall(); + } + ) + ) ; - - - - // Entry rule entryRuleNodeExclusion1 -entryRuleNodeExclusion1 returns [EObject current=null] - : +entryRuleNodeExclusion1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNodeExclusion1Rule()); } - iv_ruleNodeExclusion1=ruleNodeExclusion1 - { $current=$iv_ruleNodeExclusion1.current; } - EOF -; + iv_ruleNodeExclusion1=ruleNodeExclusion1 + { $current=$iv_ruleNodeExclusion1.current; } + EOF; // Rule NodeExclusion1 -ruleNodeExclusion1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNodeExclusion1Rule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1Access().getRefModelCrossReference_0()); - } - -) -) +ruleNodeExclusion1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNodeExclusion1Rule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1Access().getRefModelCrossReference_0()); + } + ) + ) ; - - - - // Entry rule entryRuleNodeExclusion2 -entryRuleNodeExclusion2 returns [EObject current=null] - : +entryRuleNodeExclusion2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getNodeExclusion2Rule()); } - iv_ruleNodeExclusion2=ruleNodeExclusion2 - { $current=$iv_ruleNodeExclusion2.current; } - EOF -; + iv_ruleNodeExclusion2=ruleNodeExclusion2 + { $current=$iv_ruleNodeExclusion2.current; } + EOF; // Rule NodeExclusion2 -ruleNodeExclusion2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNodeExclusion2Rule()); - } - } - otherlv_0=RULE_STRING - { - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2Access().getRefModelCrossReference_0()); - } - -) -) +ruleNodeExclusion2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNodeExclusion2Rule()); + } + } + otherlv_0=RULE_STRING + { + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2Access().getRefModelCrossReference_0()); + } + ) + ) ; - - - - // Entry rule entryRuleNodeExclusion1List -entryRuleNodeExclusion1List returns [EObject current=null] - : +entryRuleNodeExclusion1List returns [EObject current=null]: { newCompositeNode(grammarAccess.getNodeExclusion1ListRule()); } - iv_ruleNodeExclusion1List=ruleNodeExclusion1List - { $current=$iv_ruleNodeExclusion1List.current; } - EOF -; + iv_ruleNodeExclusion1List=ruleNodeExclusion1List + { $current=$iv_ruleNodeExclusion1List.current; } + EOF; // Rule NodeExclusion1List -ruleNodeExclusion1List returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNodeExclusion1ListRule()); - } - } - otherlv_0=RULE_ID - { - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1ListAccess().getRefModelCrossReference_0()); - } - -) -)+ +ruleNodeExclusion1List returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNodeExclusion1ListRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1ListAccess().getRefModelCrossReference_0()); + } + ) + )+ ; - - - - // Entry rule entryRuleNodeExclusion2List -entryRuleNodeExclusion2List returns [EObject current=null] - : +entryRuleNodeExclusion2List returns [EObject current=null]: { newCompositeNode(grammarAccess.getNodeExclusion2ListRule()); } - iv_ruleNodeExclusion2List=ruleNodeExclusion2List - { $current=$iv_ruleNodeExclusion2List.current; } - EOF -; + iv_ruleNodeExclusion2List=ruleNodeExclusion2List + { $current=$iv_ruleNodeExclusion2List.current; } + EOF; // Rule NodeExclusion2List -ruleNodeExclusion2List returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNodeExclusion2ListRule()); - } - } - otherlv_0=RULE_STRING - { - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2ListAccess().getRefModelCrossReference_0()); - } - -) -)+ +ruleNodeExclusion2List returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNodeExclusion2ListRule()); + } + } + otherlv_0=RULE_STRING + { + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2ListAccess().getRefModelCrossReference_0()); + } + ) + )+ ; - - - - - - // Rule ValueExclusionTestEn1 -ruleValueExclusionTestEn1 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='lit1' - { - $current = grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration()); - } -); - - +ruleValueExclusionTestEn1 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='lit1' + { + $current = grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration()); + } + ) +; // Rule ValueExclusionTestEn2 -ruleValueExclusionTestEn2 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='lit2' - { - $current = grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration()); - } -); - - +ruleValueExclusionTestEn2 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='lit2' + { + $current = grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration()); + } + ) +; RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; @@ -1397,5 +1384,3 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_WS : (' '|'\t'|'\r'|'\n')+; RULE_ANY_OTHER : .; - - diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageLexer.java index c5e9d80c9..9ca0db68c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageLexer.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageLexer.java @@ -390,10 +390,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1387:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalContextFinderTestLanguage.g:1387:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalContextFinderTestLanguage.g:1374:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalContextFinderTestLanguage.g:1374:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalContextFinderTestLanguage.g:1387:11: ( '^' )? + // InternalContextFinderTestLanguage.g:1374:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -402,7 +402,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } switch (alt1) { case 1 : - // InternalContextFinderTestLanguage.g:1387:11: '^' + // InternalContextFinderTestLanguage.g:1374:11: '^' { match('^'); @@ -420,7 +420,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalContextFinderTestLanguage.g:1387:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalContextFinderTestLanguage.g:1374:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -469,10 +469,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1389:10: ( ( '0' .. '9' )+ ) - // InternalContextFinderTestLanguage.g:1389:12: ( '0' .. '9' )+ + // InternalContextFinderTestLanguage.g:1376:10: ( ( '0' .. '9' )+ ) + // InternalContextFinderTestLanguage.g:1376:12: ( '0' .. '9' )+ { - // InternalContextFinderTestLanguage.g:1389:12: ( '0' .. '9' )+ + // InternalContextFinderTestLanguage.g:1376:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -486,7 +486,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { switch (alt3) { case 1 : - // InternalContextFinderTestLanguage.g:1389:13: '0' .. '9' + // InternalContextFinderTestLanguage.g:1376:13: '0' .. '9' { matchRange('0','9'); @@ -518,10 +518,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1391:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalContextFinderTestLanguage.g:1391:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalContextFinderTestLanguage.g:1378:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalContextFinderTestLanguage.g:1378:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalContextFinderTestLanguage.g:1391:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalContextFinderTestLanguage.g:1378:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -539,10 +539,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalContextFinderTestLanguage.g:1391:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalContextFinderTestLanguage.g:1378:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalContextFinderTestLanguage.g:1391:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalContextFinderTestLanguage.g:1378:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -558,7 +558,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalContextFinderTestLanguage.g:1391:21: '\\\\' . + // InternalContextFinderTestLanguage.g:1378:21: '\\\\' . { match('\\'); matchAny(); @@ -566,7 +566,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalContextFinderTestLanguage.g:1391:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalContextFinderTestLanguage.g:1378:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -591,10 +591,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalContextFinderTestLanguage.g:1391:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalContextFinderTestLanguage.g:1378:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalContextFinderTestLanguage.g:1391:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalContextFinderTestLanguage.g:1378:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -610,7 +610,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { switch (alt5) { case 1 : - // InternalContextFinderTestLanguage.g:1391:54: '\\\\' . + // InternalContextFinderTestLanguage.g:1378:54: '\\\\' . { match('\\'); matchAny(); @@ -618,7 +618,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } break; case 2 : - // InternalContextFinderTestLanguage.g:1391:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalContextFinderTestLanguage.g:1378:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -661,12 +661,12 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1393:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalContextFinderTestLanguage.g:1393:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalContextFinderTestLanguage.g:1380:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalContextFinderTestLanguage.g:1380:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalContextFinderTestLanguage.g:1393:24: ( options {greedy=false; } : . )* + // InternalContextFinderTestLanguage.g:1380:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -691,7 +691,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalContextFinderTestLanguage.g:1393:52: . + // InternalContextFinderTestLanguage.g:1380:52: . { matchAny(); @@ -721,12 +721,12 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1395:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalContextFinderTestLanguage.g:1395:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalContextFinderTestLanguage.g:1382:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalContextFinderTestLanguage.g:1382:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalContextFinderTestLanguage.g:1395:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalContextFinderTestLanguage.g:1382:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -739,7 +739,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { switch (alt8) { case 1 : - // InternalContextFinderTestLanguage.g:1395:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalContextFinderTestLanguage.g:1382:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -759,7 +759,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } } while (true); - // InternalContextFinderTestLanguage.g:1395:40: ( ( '\\r' )? '\\n' )? + // InternalContextFinderTestLanguage.g:1382:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -768,9 +768,9 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } switch (alt10) { case 1 : - // InternalContextFinderTestLanguage.g:1395:41: ( '\\r' )? '\\n' + // InternalContextFinderTestLanguage.g:1382:41: ( '\\r' )? '\\n' { - // InternalContextFinderTestLanguage.g:1395:41: ( '\\r' )? + // InternalContextFinderTestLanguage.g:1382:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -779,7 +779,7 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // InternalContextFinderTestLanguage.g:1395:41: '\\r' + // InternalContextFinderTestLanguage.g:1382:41: '\\r' { match('\r'); @@ -811,10 +811,10 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1397:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalContextFinderTestLanguage.g:1397:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalContextFinderTestLanguage.g:1384:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalContextFinderTestLanguage.g:1384:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalContextFinderTestLanguage.g:1397:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalContextFinderTestLanguage.g:1384:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -868,8 +868,8 @@ public class InternalContextFinderTestLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalContextFinderTestLanguage.g:1399:16: ( . ) - // InternalContextFinderTestLanguage.g:1399:18: . + // InternalContextFinderTestLanguage.g:1386:16: ( . ) + // InternalContextFinderTestLanguage.g:1386:18: . { matchAny(); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageParser.java index b60aa9eb3..8aa5fa4fc 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalContextFinderTestLanguageParser.java @@ -1,4 +1,4 @@ -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -68,18 +68,18 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt private ContextFinderTestLanguageGrammarAccess grammarAccess; - + public InternalContextFinderTestLanguageParser(TokenStream input, ContextFinderTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected ContextFinderTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; @@ -87,8 +87,9 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt + // $ANTLR start "entryRuleModel" - // InternalContextFinderTestLanguage.g:68:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; + // InternalContextFinderTestLanguage.g:65:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; public final EObject entryRuleModel() throws RecognitionException { EObject current = null; @@ -96,8 +97,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:69:2: (iv_ruleModel= ruleModel EOF ) - // InternalContextFinderTestLanguage.g:70:2: iv_ruleModel= ruleModel EOF + // InternalContextFinderTestLanguage.g:65:46: (iv_ruleModel= ruleModel EOF ) + // InternalContextFinderTestLanguage.g:66:2: iv_ruleModel= ruleModel EOF { newCompositeNode(grammarAccess.getModelRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -111,11 +112,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -124,7 +125,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleModel" - // InternalContextFinderTestLanguage.g:77:1: ruleModel returns [EObject current=null] : ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) ; + // InternalContextFinderTestLanguage.g:72:1: ruleModel returns [EObject current=null] : ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) ; public final EObject ruleModel() throws RecognitionException { EObject current = null; @@ -174,13 +175,14 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt EObject lv_nodeExclusionList_19_2 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:80:28: ( ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) ) - // InternalContextFinderTestLanguage.g:81:1: ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) + // InternalContextFinderTestLanguage.g:78:2: ( ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) ) + // InternalContextFinderTestLanguage.g:79:2: ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) { - // InternalContextFinderTestLanguage.g:81:1: ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) + // InternalContextFinderTestLanguage.g:79:2: ( (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) | (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) | (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) | (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) | (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) | (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) | (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) | (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) | (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) ) int alt9=9; switch ( input.LA(1) ) { case 11: @@ -237,40 +239,40 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt switch (alt9) { case 1 : - // InternalContextFinderTestLanguage.g:81:2: (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) + // InternalContextFinderTestLanguage.g:80:3: (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) { - // InternalContextFinderTestLanguage.g:81:2: (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) + // InternalContextFinderTestLanguage.g:80:3: (otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) ) // InternalContextFinderTestLanguage.g:81:4: otherlv_0= '#0' ( (lv_model_1_0= ruleModel2 ) ) { otherlv_0=(Token)match(input,11,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroKeyword_0_0()); - - // InternalContextFinderTestLanguage.g:85:1: ( (lv_model_1_0= ruleModel2 ) ) - // InternalContextFinderTestLanguage.g:86:1: (lv_model_1_0= ruleModel2 ) + newLeafNode(otherlv_0, grammarAccess.getModelAccess().getNumberSignDigitZeroKeyword_0_0()); + + // InternalContextFinderTestLanguage.g:85:4: ( (lv_model_1_0= ruleModel2 ) ) + // InternalContextFinderTestLanguage.g:86:5: (lv_model_1_0= ruleModel2 ) { - // InternalContextFinderTestLanguage.g:86:1: (lv_model_1_0= ruleModel2 ) - // InternalContextFinderTestLanguage.g:87:3: lv_model_1_0= ruleModel2 + // InternalContextFinderTestLanguage.g:86:5: (lv_model_1_0= ruleModel2 ) + // InternalContextFinderTestLanguage.g:87:6: lv_model_1_0= ruleModel2 { - - newCompositeNode(grammarAccess.getModelAccess().getModelModel2ParserRuleCall_0_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getModelModel2ParserRuleCall_0_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_model_1_0=ruleModel2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "model", - lv_model_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "model", + lv_model_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model2"); + afterParserOrEnumRuleCall(); + } @@ -284,22 +286,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 2 : - // InternalContextFinderTestLanguage.g:104:6: (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:106:3: (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:104:6: (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:104:8: otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:106:3: (otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:107:4: otherlv_2= '#1' ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) { otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitOneKeyword_1_0()); - - // InternalContextFinderTestLanguage.g:108:1: ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) - // InternalContextFinderTestLanguage.g:109:1: ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) + newLeafNode(otherlv_2, grammarAccess.getModelAccess().getNumberSignDigitOneKeyword_1_0()); + + // InternalContextFinderTestLanguage.g:111:4: ( ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:112:5: ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) { - // InternalContextFinderTestLanguage.g:109:1: ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) - // InternalContextFinderTestLanguage.g:110:1: (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) + // InternalContextFinderTestLanguage.g:112:5: ( (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) ) + // InternalContextFinderTestLanguage.g:113:6: (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) { - // InternalContextFinderTestLanguage.g:110:1: (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) + // InternalContextFinderTestLanguage.g:113:6: (lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 | lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 ) int alt1=2; int LA1_0 = input.LA(1); @@ -317,52 +319,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt1) { case 1 : - // InternalContextFinderTestLanguage.g:111:3: lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 + // InternalContextFinderTestLanguage.g:114:7: lv_attributeExclusion_3_1= ruleAttributeExclusionTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_attributeExclusion_3_1=ruleAttributeExclusionTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "attributeExclusion", - lv_attributeExclusion_3_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "attributeExclusion", + lv_attributeExclusion_3_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:126:8: lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 + // InternalContextFinderTestLanguage.g:130:7: lv_attributeExclusion_3_2= ruleAttributeExclusionTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_attributeExclusion_3_2=ruleAttributeExclusionTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "attributeExclusion", - lv_attributeExclusion_3_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "attributeExclusion", + lv_attributeExclusion_3_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -382,22 +384,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 3 : - // InternalContextFinderTestLanguage.g:145:6: (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:150:3: (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:145:6: (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:145:8: otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) + // InternalContextFinderTestLanguage.g:150:3: (otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:151:4: otherlv_4= '#2' ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) { otherlv_4=(Token)match(input,13,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitTwoKeyword_2_0()); - - // InternalContextFinderTestLanguage.g:149:1: ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) - // InternalContextFinderTestLanguage.g:150:1: ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) + newLeafNode(otherlv_4, grammarAccess.getModelAccess().getNumberSignDigitTwoKeyword_2_0()); + + // InternalContextFinderTestLanguage.g:155:4: ( ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) ) + // InternalContextFinderTestLanguage.g:156:5: ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) { - // InternalContextFinderTestLanguage.g:150:1: ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) - // InternalContextFinderTestLanguage.g:151:1: (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) + // InternalContextFinderTestLanguage.g:156:5: ( (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) ) + // InternalContextFinderTestLanguage.g:157:6: (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) { - // InternalContextFinderTestLanguage.g:151:1: (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) + // InternalContextFinderTestLanguage.g:157:6: (lv_nestedType_5_1= ruleNestedTypeTest1 | lv_nestedType_5_2= ruleNestedTypeTest2 ) int alt2=2; int LA2_0 = input.LA(1); @@ -415,52 +417,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt2) { case 1 : - // InternalContextFinderTestLanguage.g:152:3: lv_nestedType_5_1= ruleNestedTypeTest1 + // InternalContextFinderTestLanguage.g:158:7: lv_nestedType_5_1= ruleNestedTypeTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nestedType_5_1=ruleNestedTypeTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nestedType", - lv_nestedType_5_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nestedType", + lv_nestedType_5_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:167:8: lv_nestedType_5_2= ruleNestedTypeTest2 + // InternalContextFinderTestLanguage.g:174:7: lv_nestedType_5_2= ruleNestedTypeTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_nestedType_5_2=ruleNestedTypeTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nestedType", - lv_nestedType_5_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nestedType", + lv_nestedType_5_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -480,22 +482,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 4 : - // InternalContextFinderTestLanguage.g:186:6: (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:194:3: (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:186:6: (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:186:8: otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) + // InternalContextFinderTestLanguage.g:194:3: (otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:195:4: otherlv_6= '#3' ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) { otherlv_6=(Token)match(input,14,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitThreeKeyword_3_0()); - - // InternalContextFinderTestLanguage.g:190:1: ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) - // InternalContextFinderTestLanguage.g:191:1: ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) + newLeafNode(otherlv_6, grammarAccess.getModelAccess().getNumberSignDigitThreeKeyword_3_0()); + + // InternalContextFinderTestLanguage.g:199:4: ( ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) ) + // InternalContextFinderTestLanguage.g:200:5: ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) { - // InternalContextFinderTestLanguage.g:191:1: ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) - // InternalContextFinderTestLanguage.g:192:1: (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) + // InternalContextFinderTestLanguage.g:200:5: ( (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) ) + // InternalContextFinderTestLanguage.g:201:6: (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) { - // InternalContextFinderTestLanguage.g:192:1: (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) + // InternalContextFinderTestLanguage.g:201:6: (lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 | lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 ) int alt3=2; int LA3_0 = input.LA(1); @@ -513,52 +515,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt3) { case 1 : - // InternalContextFinderTestLanguage.g:193:3: lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 + // InternalContextFinderTestLanguage.g:202:7: lv_nestedTypeRecursiveTest2_7_1= ruleNestedTypeRecursiveTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nestedTypeRecursiveTest2_7_1=ruleNestedTypeRecursiveTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nestedTypeRecursiveTest2", - lv_nestedTypeRecursiveTest2_7_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nestedTypeRecursiveTest2", + lv_nestedTypeRecursiveTest2_7_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:208:8: lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 + // InternalContextFinderTestLanguage.g:218:7: lv_nestedTypeRecursiveTest2_7_2= ruleNestedTypeRecursiveTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_nestedTypeRecursiveTest2_7_2=ruleNestedTypeRecursiveTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nestedTypeRecursiveTest2", - lv_nestedTypeRecursiveTest2_7_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nestedTypeRecursiveTest2", + lv_nestedTypeRecursiveTest2_7_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -578,22 +580,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 5 : - // InternalContextFinderTestLanguage.g:227:6: (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:238:3: (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:227:6: (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:227:8: otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) + // InternalContextFinderTestLanguage.g:238:3: (otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:239:4: otherlv_8= '#4' ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) { otherlv_8=(Token)match(input,15,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitFourKeyword_4_0()); - - // InternalContextFinderTestLanguage.g:231:1: ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) - // InternalContextFinderTestLanguage.g:232:1: ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) + newLeafNode(otherlv_8, grammarAccess.getModelAccess().getNumberSignDigitFourKeyword_4_0()); + + // InternalContextFinderTestLanguage.g:243:4: ( ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) ) + // InternalContextFinderTestLanguage.g:244:5: ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) { - // InternalContextFinderTestLanguage.g:232:1: ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) - // InternalContextFinderTestLanguage.g:233:1: (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) + // InternalContextFinderTestLanguage.g:244:5: ( (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) ) + // InternalContextFinderTestLanguage.g:245:6: (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) { - // InternalContextFinderTestLanguage.g:233:1: (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) + // InternalContextFinderTestLanguage.g:245:6: (lv_parentRef_9_1= ruleParentRefTest1 | lv_parentRef_9_2= ruleParentRefTest2 ) int alt4=2; int LA4_0 = input.LA(1); @@ -611,52 +613,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt4) { case 1 : - // InternalContextFinderTestLanguage.g:234:3: lv_parentRef_9_1= ruleParentRefTest1 + // InternalContextFinderTestLanguage.g:246:7: lv_parentRef_9_1= ruleParentRefTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest1ParserRuleCall_4_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest1ParserRuleCall_4_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_parentRef_9_1=ruleParentRefTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "parentRef", - lv_parentRef_9_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "parentRef", + lv_parentRef_9_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:249:8: lv_parentRef_9_2= ruleParentRefTest2 + // InternalContextFinderTestLanguage.g:262:7: lv_parentRef_9_2= ruleParentRefTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest2ParserRuleCall_4_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getParentRefParentRefTest2ParserRuleCall_4_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_parentRef_9_2=ruleParentRefTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "parentRef", - lv_parentRef_9_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "parentRef", + lv_parentRef_9_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -676,22 +678,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 6 : - // InternalContextFinderTestLanguage.g:268:6: (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:282:3: (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:268:6: (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:268:8: otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:282:3: (otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:283:4: otherlv_10= '#5' ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) { otherlv_10=(Token)match(input,16,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitFiveKeyword_5_0()); - - // InternalContextFinderTestLanguage.g:272:1: ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) - // InternalContextFinderTestLanguage.g:273:1: ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) + newLeafNode(otherlv_10, grammarAccess.getModelAccess().getNumberSignDigitFiveKeyword_5_0()); + + // InternalContextFinderTestLanguage.g:287:4: ( ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:288:5: ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) { - // InternalContextFinderTestLanguage.g:273:1: ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) - // InternalContextFinderTestLanguage.g:274:1: (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) + // InternalContextFinderTestLanguage.g:288:5: ( (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) ) + // InternalContextFinderTestLanguage.g:289:6: (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) { - // InternalContextFinderTestLanguage.g:274:1: (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) + // InternalContextFinderTestLanguage.g:289:6: (lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 | lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 ) int alt5=2; int LA5_0 = input.LA(1); @@ -709,52 +711,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt5) { case 1 : - // InternalContextFinderTestLanguage.g:275:3: lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 + // InternalContextFinderTestLanguage.g:290:7: lv_quantityExclusion_11_1= ruleQuantityExclusionTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_quantityExclusion_11_1=ruleQuantityExclusionTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "quantityExclusion", - lv_quantityExclusion_11_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "quantityExclusion", + lv_quantityExclusion_11_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:290:8: lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 + // InternalContextFinderTestLanguage.g:306:7: lv_quantityExclusion_11_2= ruleQuantityExclusionTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_quantityExclusion_11_2=ruleQuantityExclusionTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "quantityExclusion", - lv_quantityExclusion_11_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "quantityExclusion", + lv_quantityExclusion_11_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -774,22 +776,22 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 7 : - // InternalContextFinderTestLanguage.g:309:6: (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:326:3: (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:309:6: (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) - // InternalContextFinderTestLanguage.g:309:8: otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:326:3: (otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) ) + // InternalContextFinderTestLanguage.g:327:4: otherlv_12= '#6' ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) { otherlv_12=(Token)match(input,17,FollowSets000.FOLLOW_5); - newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitSixKeyword_6_0()); - - // InternalContextFinderTestLanguage.g:313:1: ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) - // InternalContextFinderTestLanguage.g:314:1: ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) + newLeafNode(otherlv_12, grammarAccess.getModelAccess().getNumberSignDigitSixKeyword_6_0()); + + // InternalContextFinderTestLanguage.g:331:4: ( ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) ) + // InternalContextFinderTestLanguage.g:332:5: ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) { - // InternalContextFinderTestLanguage.g:314:1: ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) - // InternalContextFinderTestLanguage.g:315:1: (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) + // InternalContextFinderTestLanguage.g:332:5: ( (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) ) + // InternalContextFinderTestLanguage.g:333:6: (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) { - // InternalContextFinderTestLanguage.g:315:1: (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) + // InternalContextFinderTestLanguage.g:333:6: (lv_valueExclusion_13_1= ruleValueExclusionTest1 | lv_valueExclusion_13_2= ruleValueExclusionTest2 ) int alt6=2; int LA6_0 = input.LA(1); @@ -807,52 +809,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt6) { case 1 : - // InternalContextFinderTestLanguage.g:316:3: lv_valueExclusion_13_1= ruleValueExclusionTest1 + // InternalContextFinderTestLanguage.g:334:7: lv_valueExclusion_13_1= ruleValueExclusionTest1 { - - newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_valueExclusion_13_1=ruleValueExclusionTest1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "valueExclusion", - lv_valueExclusion_13_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "valueExclusion", + lv_valueExclusion_13_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:331:8: lv_valueExclusion_13_2= ruleValueExclusionTest2 + // InternalContextFinderTestLanguage.g:350:7: lv_valueExclusion_13_2= ruleValueExclusionTest2 { - - newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_valueExclusion_13_2=ruleValueExclusionTest2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "valueExclusion", - lv_valueExclusion_13_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "valueExclusion", + lv_valueExclusion_13_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest2"); + afterParserOrEnumRuleCall(); + } break; @@ -872,48 +874,48 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 8 : - // InternalContextFinderTestLanguage.g:350:6: (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) + // InternalContextFinderTestLanguage.g:370:3: (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) { - // InternalContextFinderTestLanguage.g:350:6: (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) - // InternalContextFinderTestLanguage.g:350:8: otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) + // InternalContextFinderTestLanguage.g:370:3: (otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) ) + // InternalContextFinderTestLanguage.g:371:4: otherlv_14= '#7' ( (lv_name_15_0= RULE_STRING ) ) ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) { otherlv_14=(Token)match(input,18,FollowSets000.FOLLOW_6); - newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitSevenKeyword_7_0()); - - // InternalContextFinderTestLanguage.g:354:1: ( (lv_name_15_0= RULE_STRING ) ) - // InternalContextFinderTestLanguage.g:355:1: (lv_name_15_0= RULE_STRING ) + newLeafNode(otherlv_14, grammarAccess.getModelAccess().getNumberSignDigitSevenKeyword_7_0()); + + // InternalContextFinderTestLanguage.g:375:4: ( (lv_name_15_0= RULE_STRING ) ) + // InternalContextFinderTestLanguage.g:376:5: (lv_name_15_0= RULE_STRING ) { - // InternalContextFinderTestLanguage.g:355:1: (lv_name_15_0= RULE_STRING ) - // InternalContextFinderTestLanguage.g:356:3: lv_name_15_0= RULE_STRING + // InternalContextFinderTestLanguage.g:376:5: (lv_name_15_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:377:6: lv_name_15_0= RULE_STRING { lv_name_15_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_7); - newLeafNode(lv_name_15_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_7_1_0()); - + newLeafNode(lv_name_15_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_7_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getModelRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_15_0, - "org.eclipse.xtext.common.Terminals.STRING"); - + if (current==null) { + current = createModelElement(grammarAccess.getModelRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_15_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } } - // InternalContextFinderTestLanguage.g:372:2: ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) - // InternalContextFinderTestLanguage.g:373:1: ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) + // InternalContextFinderTestLanguage.g:393:4: ( ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) ) + // InternalContextFinderTestLanguage.g:394:5: ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) { - // InternalContextFinderTestLanguage.g:373:1: ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) - // InternalContextFinderTestLanguage.g:374:1: (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) + // InternalContextFinderTestLanguage.g:394:5: ( (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) ) + // InternalContextFinderTestLanguage.g:395:6: (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) { - // InternalContextFinderTestLanguage.g:374:1: (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) + // InternalContextFinderTestLanguage.g:395:6: (lv_nodeExclusion_16_1= ruleNodeExclusion1 | lv_nodeExclusion_16_2= ruleNodeExclusion2 ) int alt7=2; int LA7_0 = input.LA(1); @@ -931,52 +933,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt7) { case 1 : - // InternalContextFinderTestLanguage.g:375:3: lv_nodeExclusion_16_1= ruleNodeExclusion1 + // InternalContextFinderTestLanguage.g:396:7: lv_nodeExclusion_16_1= ruleNodeExclusion1 { - - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nodeExclusion_16_1=ruleNodeExclusion1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nodeExclusion", - lv_nodeExclusion_16_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nodeExclusion", + lv_nodeExclusion_16_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:390:8: lv_nodeExclusion_16_2= ruleNodeExclusion2 + // InternalContextFinderTestLanguage.g:412:7: lv_nodeExclusion_16_2= ruleNodeExclusion2 { - - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_nodeExclusion_16_2=ruleNodeExclusion2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nodeExclusion", - lv_nodeExclusion_16_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nodeExclusion", + lv_nodeExclusion_16_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2"); + afterParserOrEnumRuleCall(); + } break; @@ -996,48 +998,48 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } break; case 9 : - // InternalContextFinderTestLanguage.g:409:6: (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) + // InternalContextFinderTestLanguage.g:432:3: (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) { - // InternalContextFinderTestLanguage.g:409:6: (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) - // InternalContextFinderTestLanguage.g:409:8: otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) + // InternalContextFinderTestLanguage.g:432:3: (otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) ) + // InternalContextFinderTestLanguage.g:433:4: otherlv_17= '#8' ( (lv_name_18_0= RULE_STRING ) ) ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) { otherlv_17=(Token)match(input,19,FollowSets000.FOLLOW_6); - newLeafNode(otherlv_17, grammarAccess.getModelAccess().getNumberSignDigitEightKeyword_8_0()); - - // InternalContextFinderTestLanguage.g:413:1: ( (lv_name_18_0= RULE_STRING ) ) - // InternalContextFinderTestLanguage.g:414:1: (lv_name_18_0= RULE_STRING ) + newLeafNode(otherlv_17, grammarAccess.getModelAccess().getNumberSignDigitEightKeyword_8_0()); + + // InternalContextFinderTestLanguage.g:437:4: ( (lv_name_18_0= RULE_STRING ) ) + // InternalContextFinderTestLanguage.g:438:5: (lv_name_18_0= RULE_STRING ) { - // InternalContextFinderTestLanguage.g:414:1: (lv_name_18_0= RULE_STRING ) - // InternalContextFinderTestLanguage.g:415:3: lv_name_18_0= RULE_STRING + // InternalContextFinderTestLanguage.g:438:5: (lv_name_18_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:439:6: lv_name_18_0= RULE_STRING { lv_name_18_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_7); - newLeafNode(lv_name_18_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_8_1_0()); - + newLeafNode(lv_name_18_0, grammarAccess.getModelAccess().getNameSTRINGTerminalRuleCall_8_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getModelRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_18_0, - "org.eclipse.xtext.common.Terminals.STRING"); - + if (current==null) { + current = createModelElement(grammarAccess.getModelRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_18_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } } - // InternalContextFinderTestLanguage.g:431:2: ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) - // InternalContextFinderTestLanguage.g:432:1: ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) + // InternalContextFinderTestLanguage.g:455:4: ( ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) ) + // InternalContextFinderTestLanguage.g:456:5: ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) { - // InternalContextFinderTestLanguage.g:432:1: ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) - // InternalContextFinderTestLanguage.g:433:1: (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) + // InternalContextFinderTestLanguage.g:456:5: ( (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) ) + // InternalContextFinderTestLanguage.g:457:6: (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) { - // InternalContextFinderTestLanguage.g:433:1: (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) + // InternalContextFinderTestLanguage.g:457:6: (lv_nodeExclusionList_19_1= ruleNodeExclusion1List | lv_nodeExclusionList_19_2= ruleNodeExclusion2List ) int alt8=2; int LA8_0 = input.LA(1); @@ -1055,52 +1057,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt8) { case 1 : - // InternalContextFinderTestLanguage.g:434:3: lv_nodeExclusionList_19_1= ruleNodeExclusion1List + // InternalContextFinderTestLanguage.g:458:7: lv_nodeExclusionList_19_1= ruleNodeExclusion1List { - - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nodeExclusionList_19_1=ruleNodeExclusion1List(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nodeExclusionList", - lv_nodeExclusionList_19_1, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1List"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nodeExclusionList", + lv_nodeExclusionList_19_1, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1List"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalContextFinderTestLanguage.g:449:8: lv_nodeExclusionList_19_2= ruleNodeExclusion2List + // InternalContextFinderTestLanguage.g:474:7: lv_nodeExclusionList_19_2= ruleNodeExclusion2List { - - newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1()); - + + newCompositeNode(grammarAccess.getModelAccess().getNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_nodeExclusionList_19_2=ruleNodeExclusion2List(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "nodeExclusionList", - lv_nodeExclusionList_19_2, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2List"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "nodeExclusionList", + lv_nodeExclusionList_19_2, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2List"); + afterParserOrEnumRuleCall(); + } break; @@ -1125,13 +1127,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1140,7 +1144,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleModel2" - // InternalContextFinderTestLanguage.g:475:1: entryRuleModel2 returns [EObject current=null] : iv_ruleModel2= ruleModel2 EOF ; + // InternalContextFinderTestLanguage.g:497:1: entryRuleModel2 returns [EObject current=null] : iv_ruleModel2= ruleModel2 EOF ; public final EObject entryRuleModel2() throws RecognitionException { EObject current = null; @@ -1148,8 +1152,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:476:2: (iv_ruleModel2= ruleModel2 EOF ) - // InternalContextFinderTestLanguage.g:477:2: iv_ruleModel2= ruleModel2 EOF + // InternalContextFinderTestLanguage.g:497:47: (iv_ruleModel2= ruleModel2 EOF ) + // InternalContextFinderTestLanguage.g:498:2: iv_ruleModel2= ruleModel2 EOF { newCompositeNode(grammarAccess.getModel2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1163,11 +1167,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1176,49 +1180,52 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleModel2" - // InternalContextFinderTestLanguage.g:484:1: ruleModel2 returns [EObject current=null] : ( () otherlv_1= 'model' ) ; + // InternalContextFinderTestLanguage.g:504:1: ruleModel2 returns [EObject current=null] : ( () otherlv_1= 'model' ) ; public final EObject ruleModel2() throws RecognitionException { EObject current = null; Token otherlv_1=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:487:28: ( ( () otherlv_1= 'model' ) ) - // InternalContextFinderTestLanguage.g:488:1: ( () otherlv_1= 'model' ) + // InternalContextFinderTestLanguage.g:510:2: ( ( () otherlv_1= 'model' ) ) + // InternalContextFinderTestLanguage.g:511:2: ( () otherlv_1= 'model' ) { - // InternalContextFinderTestLanguage.g:488:1: ( () otherlv_1= 'model' ) - // InternalContextFinderTestLanguage.g:488:2: () otherlv_1= 'model' + // InternalContextFinderTestLanguage.g:511:2: ( () otherlv_1= 'model' ) + // InternalContextFinderTestLanguage.g:512:3: () otherlv_1= 'model' { - // InternalContextFinderTestLanguage.g:488:2: () - // InternalContextFinderTestLanguage.g:489:5: + // InternalContextFinderTestLanguage.g:512:3: () + // InternalContextFinderTestLanguage.g:513:4: { - current = forceCreateModelElement( - grammarAccess.getModel2Access().getModelAction_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getModel2Access().getModelAction_0(), + current); + } otherlv_1=(Token)match(input,20,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getModel2Access().getModelKeyword_1()); - + newLeafNode(otherlv_1, grammarAccess.getModel2Access().getModelKeyword_1()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1227,7 +1234,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleAttributeExclusionTest1" - // InternalContextFinderTestLanguage.g:506:1: entryRuleAttributeExclusionTest1 returns [EObject current=null] : iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF ; + // InternalContextFinderTestLanguage.g:527:1: entryRuleAttributeExclusionTest1 returns [EObject current=null] : iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF ; public final EObject entryRuleAttributeExclusionTest1() throws RecognitionException { EObject current = null; @@ -1235,8 +1242,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:507:2: (iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF ) - // InternalContextFinderTestLanguage.g:508:2: iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF + // InternalContextFinderTestLanguage.g:527:64: (iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF ) + // InternalContextFinderTestLanguage.g:528:2: iv_ruleAttributeExclusionTest1= ruleAttributeExclusionTest1 EOF { newCompositeNode(grammarAccess.getAttributeExclusionTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1250,11 +1257,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1263,46 +1270,47 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleAttributeExclusionTest1" - // InternalContextFinderTestLanguage.g:515:1: ruleAttributeExclusionTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) ; + // InternalContextFinderTestLanguage.g:534:1: ruleAttributeExclusionTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) ; public final EObject ruleAttributeExclusionTest1() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_attr1_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:518:28: ( (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) ) - // InternalContextFinderTestLanguage.g:519:1: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:540:2: ( (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) ) + // InternalContextFinderTestLanguage.g:541:2: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) { - // InternalContextFinderTestLanguage.g:519:1: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:519:3: otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:541:2: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:542:3: otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest1Access().getKw1Keyword_0()); - - // InternalContextFinderTestLanguage.g:523:1: ( (lv_attr1_1_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:524:1: (lv_attr1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest1Access().getKw1Keyword_0()); + + // InternalContextFinderTestLanguage.g:546:3: ( (lv_attr1_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:547:4: (lv_attr1_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:524:1: (lv_attr1_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:525:3: lv_attr1_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:547:4: (lv_attr1_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:548:5: lv_attr1_1_0= RULE_ID { lv_attr1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_attr1_1_0, grammarAccess.getAttributeExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_attr1_1_0, grammarAccess.getAttributeExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAttributeExclusionTest1Rule()); - } - setWithLastConsumed( - current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAttributeExclusionTest1Rule()); + } + setWithLastConsumed( + current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1315,13 +1323,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1330,7 +1340,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleAttributeExclusionTest2" - // InternalContextFinderTestLanguage.g:549:1: entryRuleAttributeExclusionTest2 returns [EObject current=null] : iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF ; + // InternalContextFinderTestLanguage.g:568:1: entryRuleAttributeExclusionTest2 returns [EObject current=null] : iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF ; public final EObject entryRuleAttributeExclusionTest2() throws RecognitionException { EObject current = null; @@ -1338,8 +1348,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:550:2: (iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF ) - // InternalContextFinderTestLanguage.g:551:2: iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF + // InternalContextFinderTestLanguage.g:568:64: (iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF ) + // InternalContextFinderTestLanguage.g:569:2: iv_ruleAttributeExclusionTest2= ruleAttributeExclusionTest2 EOF { newCompositeNode(grammarAccess.getAttributeExclusionTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1353,11 +1363,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1366,46 +1376,47 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleAttributeExclusionTest2" - // InternalContextFinderTestLanguage.g:558:1: ruleAttributeExclusionTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) ; + // InternalContextFinderTestLanguage.g:575:1: ruleAttributeExclusionTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) ; public final EObject ruleAttributeExclusionTest2() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_attr2_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:561:28: ( (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) ) - // InternalContextFinderTestLanguage.g:562:1: (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:581:2: ( (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) ) + // InternalContextFinderTestLanguage.g:582:2: (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) { - // InternalContextFinderTestLanguage.g:562:1: (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:562:3: otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:582:2: (otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:583:3: otherlv_0= 'kw2' ( (lv_attr2_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest2Access().getKw2Keyword_0()); - - // InternalContextFinderTestLanguage.g:566:1: ( (lv_attr2_1_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:567:1: (lv_attr2_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getAttributeExclusionTest2Access().getKw2Keyword_0()); + + // InternalContextFinderTestLanguage.g:587:3: ( (lv_attr2_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:588:4: (lv_attr2_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:567:1: (lv_attr2_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:568:3: lv_attr2_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:588:4: (lv_attr2_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:589:5: lv_attr2_1_0= RULE_ID { lv_attr2_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_attr2_1_0, grammarAccess.getAttributeExclusionTest2Access().getAttr2IDTerminalRuleCall_1_0()); - + newLeafNode(lv_attr2_1_0, grammarAccess.getAttributeExclusionTest2Access().getAttr2IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAttributeExclusionTest2Rule()); - } - setWithLastConsumed( - current, - "attr2", - lv_attr2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAttributeExclusionTest2Rule()); + } + setWithLastConsumed( + current, + "attr2", + lv_attr2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1418,13 +1429,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1433,7 +1446,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeTest1" - // InternalContextFinderTestLanguage.g:592:1: entryRuleNestedTypeTest1 returns [EObject current=null] : iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF ; + // InternalContextFinderTestLanguage.g:609:1: entryRuleNestedTypeTest1 returns [EObject current=null] : iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF ; public final EObject entryRuleNestedTypeTest1() throws RecognitionException { EObject current = null; @@ -1441,8 +1454,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:593:2: (iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF ) - // InternalContextFinderTestLanguage.g:594:2: iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF + // InternalContextFinderTestLanguage.g:609:56: (iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF ) + // InternalContextFinderTestLanguage.g:610:2: iv_ruleNestedTypeTest1= ruleNestedTypeTest1 EOF { newCompositeNode(grammarAccess.getNestedTypeTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1456,11 +1469,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1469,44 +1482,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeTest1" - // InternalContextFinderTestLanguage.g:601:1: ruleNestedTypeTest1 returns [EObject current=null] : ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) ; + // InternalContextFinderTestLanguage.g:616:1: ruleNestedTypeTest1 returns [EObject current=null] : ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) ; public final EObject ruleNestedTypeTest1() throws RecognitionException { EObject current = null; EObject lv_nested_0_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:604:28: ( ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) ) - // InternalContextFinderTestLanguage.g:605:1: ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) + // InternalContextFinderTestLanguage.g:622:2: ( ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) ) + // InternalContextFinderTestLanguage.g:623:2: ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) { - // InternalContextFinderTestLanguage.g:605:1: ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) - // InternalContextFinderTestLanguage.g:606:1: (lv_nested_0_0= ruleNestedTypeChild1 ) + // InternalContextFinderTestLanguage.g:623:2: ( (lv_nested_0_0= ruleNestedTypeChild1 ) ) + // InternalContextFinderTestLanguage.g:624:3: (lv_nested_0_0= ruleNestedTypeChild1 ) { - // InternalContextFinderTestLanguage.g:606:1: (lv_nested_0_0= ruleNestedTypeChild1 ) - // InternalContextFinderTestLanguage.g:607:3: lv_nested_0_0= ruleNestedTypeChild1 + // InternalContextFinderTestLanguage.g:624:3: (lv_nested_0_0= ruleNestedTypeChild1 ) + // InternalContextFinderTestLanguage.g:625:4: lv_nested_0_0= ruleNestedTypeChild1 { - - newCompositeNode(grammarAccess.getNestedTypeTest1Access().getNestedNestedTypeChild1ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getNestedTypeTest1Access().getNestedNestedTypeChild1ParserRuleCall_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nested_0_0=ruleNestedTypeChild1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getNestedTypeTest1Rule()); - } - set( - current, - "nested", - lv_nested_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getNestedTypeTest1Rule()); + } + set( + current, + "nested", + lv_nested_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild1"); + afterParserOrEnumRuleCall(); + } @@ -1516,13 +1530,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1531,7 +1547,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeTest2" - // InternalContextFinderTestLanguage.g:631:1: entryRuleNestedTypeTest2 returns [EObject current=null] : iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF ; + // InternalContextFinderTestLanguage.g:645:1: entryRuleNestedTypeTest2 returns [EObject current=null] : iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF ; public final EObject entryRuleNestedTypeTest2() throws RecognitionException { EObject current = null; @@ -1539,8 +1555,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:632:2: (iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF ) - // InternalContextFinderTestLanguage.g:633:2: iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF + // InternalContextFinderTestLanguage.g:645:56: (iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF ) + // InternalContextFinderTestLanguage.g:646:2: iv_ruleNestedTypeTest2= ruleNestedTypeTest2 EOF { newCompositeNode(grammarAccess.getNestedTypeTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1554,11 +1570,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1567,44 +1583,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeTest2" - // InternalContextFinderTestLanguage.g:640:1: ruleNestedTypeTest2 returns [EObject current=null] : ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) ; + // InternalContextFinderTestLanguage.g:652:1: ruleNestedTypeTest2 returns [EObject current=null] : ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) ; public final EObject ruleNestedTypeTest2() throws RecognitionException { EObject current = null; EObject lv_nested_0_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:643:28: ( ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) ) - // InternalContextFinderTestLanguage.g:644:1: ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) + // InternalContextFinderTestLanguage.g:658:2: ( ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) ) + // InternalContextFinderTestLanguage.g:659:2: ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) { - // InternalContextFinderTestLanguage.g:644:1: ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) - // InternalContextFinderTestLanguage.g:645:1: (lv_nested_0_0= ruleNestedTypeChild2 ) + // InternalContextFinderTestLanguage.g:659:2: ( (lv_nested_0_0= ruleNestedTypeChild2 ) ) + // InternalContextFinderTestLanguage.g:660:3: (lv_nested_0_0= ruleNestedTypeChild2 ) { - // InternalContextFinderTestLanguage.g:645:1: (lv_nested_0_0= ruleNestedTypeChild2 ) - // InternalContextFinderTestLanguage.g:646:3: lv_nested_0_0= ruleNestedTypeChild2 + // InternalContextFinderTestLanguage.g:660:3: (lv_nested_0_0= ruleNestedTypeChild2 ) + // InternalContextFinderTestLanguage.g:661:4: lv_nested_0_0= ruleNestedTypeChild2 { - - newCompositeNode(grammarAccess.getNestedTypeTest2Access().getNestedNestedTypeChild2ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getNestedTypeTest2Access().getNestedNestedTypeChild2ParserRuleCall_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_nested_0_0=ruleNestedTypeChild2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getNestedTypeTest2Rule()); - } - set( - current, - "nested", - lv_nested_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getNestedTypeTest2Rule()); + } + set( + current, + "nested", + lv_nested_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild2"); + afterParserOrEnumRuleCall(); + } @@ -1614,13 +1631,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1629,7 +1648,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeChild1" - // InternalContextFinderTestLanguage.g:672:1: entryRuleNestedTypeChild1 returns [EObject current=null] : iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF ; + // InternalContextFinderTestLanguage.g:681:1: entryRuleNestedTypeChild1 returns [EObject current=null] : iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF ; public final EObject entryRuleNestedTypeChild1() throws RecognitionException { EObject current = null; @@ -1637,8 +1656,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:673:2: (iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF ) - // InternalContextFinderTestLanguage.g:674:2: iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF + // InternalContextFinderTestLanguage.g:681:57: (iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF ) + // InternalContextFinderTestLanguage.g:682:2: iv_ruleNestedTypeChild1= ruleNestedTypeChild1 EOF { newCompositeNode(grammarAccess.getNestedTypeChild1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1652,11 +1671,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1665,46 +1684,47 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeChild1" - // InternalContextFinderTestLanguage.g:681:1: ruleNestedTypeChild1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalContextFinderTestLanguage.g:688:1: ruleNestedTypeChild1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleNestedTypeChild1() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:684:28: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalContextFinderTestLanguage.g:685:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:694:2: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalContextFinderTestLanguage.g:695:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalContextFinderTestLanguage.g:685:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:685:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:695:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:696:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild1Access().getKw1Keyword_0()); - - // InternalContextFinderTestLanguage.g:689:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:690:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild1Access().getKw1Keyword_0()); + + // InternalContextFinderTestLanguage.g:700:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:701:4: (lv_val_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:690:1: (lv_val_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:691:3: lv_val_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:701:4: (lv_val_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:702:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild1Access().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild1Access().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getNestedTypeChild1Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getNestedTypeChild1Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1717,13 +1737,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1732,7 +1754,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeChild2" - // InternalContextFinderTestLanguage.g:715:1: entryRuleNestedTypeChild2 returns [EObject current=null] : iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF ; + // InternalContextFinderTestLanguage.g:722:1: entryRuleNestedTypeChild2 returns [EObject current=null] : iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF ; public final EObject entryRuleNestedTypeChild2() throws RecognitionException { EObject current = null; @@ -1740,8 +1762,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:716:2: (iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF ) - // InternalContextFinderTestLanguage.g:717:2: iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF + // InternalContextFinderTestLanguage.g:722:57: (iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF ) + // InternalContextFinderTestLanguage.g:723:2: iv_ruleNestedTypeChild2= ruleNestedTypeChild2 EOF { newCompositeNode(grammarAccess.getNestedTypeChild2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1755,11 +1777,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1768,46 +1790,47 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeChild2" - // InternalContextFinderTestLanguage.g:724:1: ruleNestedTypeChild2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalContextFinderTestLanguage.g:729:1: ruleNestedTypeChild2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleNestedTypeChild2() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:727:28: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalContextFinderTestLanguage.g:728:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:735:2: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalContextFinderTestLanguage.g:736:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalContextFinderTestLanguage.g:728:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:728:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:736:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:737:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild2Access().getKw2Keyword_0()); - - // InternalContextFinderTestLanguage.g:732:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:733:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getNestedTypeChild2Access().getKw2Keyword_0()); + + // InternalContextFinderTestLanguage.g:741:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:742:4: (lv_val_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:733:1: (lv_val_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:734:3: lv_val_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:742:4: (lv_val_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:743:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild2Access().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getNestedTypeChild2Access().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getNestedTypeChild2Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getNestedTypeChild2Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1820,13 +1843,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1835,7 +1860,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeRecursiveTest1" - // InternalContextFinderTestLanguage.g:758:1: entryRuleNestedTypeRecursiveTest1 returns [EObject current=null] : iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF ; + // InternalContextFinderTestLanguage.g:763:1: entryRuleNestedTypeRecursiveTest1 returns [EObject current=null] : iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF ; public final EObject entryRuleNestedTypeRecursiveTest1() throws RecognitionException { EObject current = null; @@ -1843,8 +1868,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:759:2: (iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF ) - // InternalContextFinderTestLanguage.g:760:2: iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF + // InternalContextFinderTestLanguage.g:763:65: (iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF ) + // InternalContextFinderTestLanguage.g:764:2: iv_ruleNestedTypeRecursiveTest1= ruleNestedTypeRecursiveTest1 EOF { newCompositeNode(grammarAccess.getNestedTypeRecursiveTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1858,11 +1883,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1871,38 +1896,39 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeRecursiveTest1" - // InternalContextFinderTestLanguage.g:767:1: ruleNestedTypeRecursiveTest1 returns [EObject current=null] : ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) ; + // InternalContextFinderTestLanguage.g:770:1: ruleNestedTypeRecursiveTest1 returns [EObject current=null] : ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) ; public final EObject ruleNestedTypeRecursiveTest1() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:770:28: ( ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) ) - // InternalContextFinderTestLanguage.g:771:1: ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) + // InternalContextFinderTestLanguage.g:776:2: ( ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) ) + // InternalContextFinderTestLanguage.g:777:2: ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) { - // InternalContextFinderTestLanguage.g:771:1: ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) - // InternalContextFinderTestLanguage.g:771:2: () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ + // InternalContextFinderTestLanguage.g:777:2: ( () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ ) + // InternalContextFinderTestLanguage.g:778:3: () otherlv_1= 'kw1' ( () otherlv_3= '.' )+ { - // InternalContextFinderTestLanguage.g:771:2: () - // InternalContextFinderTestLanguage.g:772:5: + // InternalContextFinderTestLanguage.g:778:3: () + // InternalContextFinderTestLanguage.g:779:4: { - current = forceCreateModelElement( - grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTest1Action_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTest1Action_0(), + current); + } otherlv_1=(Token)match(input,21,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest1Access().getKw1Keyword_1()); - - // InternalContextFinderTestLanguage.g:781:1: ( () otherlv_3= '.' )+ + newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest1Access().getKw1Keyword_1()); + + // InternalContextFinderTestLanguage.g:789:3: ( () otherlv_3= '.' )+ int cnt10=0; loop10: do { @@ -1916,23 +1942,23 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt switch (alt10) { case 1 : - // InternalContextFinderTestLanguage.g:781:2: () otherlv_3= '.' + // InternalContextFinderTestLanguage.g:790:4: () otherlv_3= '.' { - // InternalContextFinderTestLanguage.g:781:2: () - // InternalContextFinderTestLanguage.g:782:5: + // InternalContextFinderTestLanguage.g:790:4: () + // InternalContextFinderTestLanguage.g:791:5: { - current = forceCreateModelElementAndSet( - grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTestLeftAction_2_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getNestedTypeRecursiveTest1Access().getNestedTypeRecursiveTestLeftAction_2_0(), + current); + } otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_10); - newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest1Access().getFullStopKeyword_2_1()); - + newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest1Access().getFullStopKeyword_2_1()); + } break; @@ -1952,13 +1978,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1967,7 +1995,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNestedTypeRecursiveTest2" - // InternalContextFinderTestLanguage.g:799:1: entryRuleNestedTypeRecursiveTest2 returns [EObject current=null] : iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF ; + // InternalContextFinderTestLanguage.g:806:1: entryRuleNestedTypeRecursiveTest2 returns [EObject current=null] : iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF ; public final EObject entryRuleNestedTypeRecursiveTest2() throws RecognitionException { EObject current = null; @@ -1975,8 +2003,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:800:2: (iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF ) - // InternalContextFinderTestLanguage.g:801:2: iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF + // InternalContextFinderTestLanguage.g:806:65: (iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF ) + // InternalContextFinderTestLanguage.g:807:2: iv_ruleNestedTypeRecursiveTest2= ruleNestedTypeRecursiveTest2 EOF { newCompositeNode(grammarAccess.getNestedTypeRecursiveTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1990,11 +2018,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2003,38 +2031,39 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNestedTypeRecursiveTest2" - // InternalContextFinderTestLanguage.g:808:1: ruleNestedTypeRecursiveTest2 returns [EObject current=null] : ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) ; + // InternalContextFinderTestLanguage.g:813:1: ruleNestedTypeRecursiveTest2 returns [EObject current=null] : ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) ; public final EObject ruleNestedTypeRecursiveTest2() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token otherlv_3=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:811:28: ( ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) ) - // InternalContextFinderTestLanguage.g:812:1: ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) + // InternalContextFinderTestLanguage.g:819:2: ( ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) ) + // InternalContextFinderTestLanguage.g:820:2: ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) { - // InternalContextFinderTestLanguage.g:812:1: ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) - // InternalContextFinderTestLanguage.g:812:2: () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ + // InternalContextFinderTestLanguage.g:820:2: ( () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ ) + // InternalContextFinderTestLanguage.g:821:3: () otherlv_1= 'kw2' ( () otherlv_3= '.' )+ { - // InternalContextFinderTestLanguage.g:812:2: () - // InternalContextFinderTestLanguage.g:813:5: + // InternalContextFinderTestLanguage.g:821:3: () + // InternalContextFinderTestLanguage.g:822:4: { - current = forceCreateModelElement( - grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTest2Action_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTest2Action_0(), + current); + } otherlv_1=(Token)match(input,22,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest2Access().getKw2Keyword_1()); - - // InternalContextFinderTestLanguage.g:822:1: ( () otherlv_3= '.' )+ + newLeafNode(otherlv_1, grammarAccess.getNestedTypeRecursiveTest2Access().getKw2Keyword_1()); + + // InternalContextFinderTestLanguage.g:832:3: ( () otherlv_3= '.' )+ int cnt11=0; loop11: do { @@ -2048,23 +2077,23 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt switch (alt11) { case 1 : - // InternalContextFinderTestLanguage.g:822:2: () otherlv_3= '.' + // InternalContextFinderTestLanguage.g:833:4: () otherlv_3= '.' { - // InternalContextFinderTestLanguage.g:822:2: () - // InternalContextFinderTestLanguage.g:823:5: + // InternalContextFinderTestLanguage.g:833:4: () + // InternalContextFinderTestLanguage.g:834:5: { - current = forceCreateModelElementAndSet( - grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTestLeftAction_2_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getNestedTypeRecursiveTest2Access().getNestedTypeRecursiveTestLeftAction_2_0(), + current); + } otherlv_3=(Token)match(input,23,FollowSets000.FOLLOW_10); - newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest2Access().getFullStopKeyword_2_1()); - + newLeafNode(otherlv_3, grammarAccess.getNestedTypeRecursiveTest2Access().getFullStopKeyword_2_1()); + } break; @@ -2084,13 +2113,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2099,7 +2130,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleParentRefTest1" - // InternalContextFinderTestLanguage.g:840:1: entryRuleParentRefTest1 returns [EObject current=null] : iv_ruleParentRefTest1= ruleParentRefTest1 EOF ; + // InternalContextFinderTestLanguage.g:849:1: entryRuleParentRefTest1 returns [EObject current=null] : iv_ruleParentRefTest1= ruleParentRefTest1 EOF ; public final EObject entryRuleParentRefTest1() throws RecognitionException { EObject current = null; @@ -2107,8 +2138,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:841:2: (iv_ruleParentRefTest1= ruleParentRefTest1 EOF ) - // InternalContextFinderTestLanguage.g:842:2: iv_ruleParentRefTest1= ruleParentRefTest1 EOF + // InternalContextFinderTestLanguage.g:849:55: (iv_ruleParentRefTest1= ruleParentRefTest1 EOF ) + // InternalContextFinderTestLanguage.g:850:2: iv_ruleParentRefTest1= ruleParentRefTest1 EOF { newCompositeNode(grammarAccess.getParentRefTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2122,11 +2153,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2135,7 +2166,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleParentRefTest1" - // InternalContextFinderTestLanguage.g:849:1: ruleParentRefTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) ; + // InternalContextFinderTestLanguage.g:856:1: ruleParentRefTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) ; public final EObject ruleParentRefTest1() throws RecognitionException { EObject current = null; @@ -2143,44 +2174,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt EObject lv_child1_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:852:28: ( (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) ) - // InternalContextFinderTestLanguage.g:853:1: (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) + // InternalContextFinderTestLanguage.g:862:2: ( (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) ) + // InternalContextFinderTestLanguage.g:863:2: (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) { - // InternalContextFinderTestLanguage.g:853:1: (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) - // InternalContextFinderTestLanguage.g:853:3: otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) + // InternalContextFinderTestLanguage.g:863:2: (otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) ) + // InternalContextFinderTestLanguage.g:864:3: otherlv_0= 'kw1' ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) { otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_11); - newLeafNode(otherlv_0, grammarAccess.getParentRefTest1Access().getKw1Keyword_0()); - - // InternalContextFinderTestLanguage.g:857:1: ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) - // InternalContextFinderTestLanguage.g:858:1: (lv_child1_1_0= ruleParentRefTestChild1 ) + newLeafNode(otherlv_0, grammarAccess.getParentRefTest1Access().getKw1Keyword_0()); + + // InternalContextFinderTestLanguage.g:868:3: ( (lv_child1_1_0= ruleParentRefTestChild1 ) ) + // InternalContextFinderTestLanguage.g:869:4: (lv_child1_1_0= ruleParentRefTestChild1 ) { - // InternalContextFinderTestLanguage.g:858:1: (lv_child1_1_0= ruleParentRefTestChild1 ) - // InternalContextFinderTestLanguage.g:859:3: lv_child1_1_0= ruleParentRefTestChild1 + // InternalContextFinderTestLanguage.g:869:4: (lv_child1_1_0= ruleParentRefTestChild1 ) + // InternalContextFinderTestLanguage.g:870:5: lv_child1_1_0= ruleParentRefTestChild1 { - - newCompositeNode(grammarAccess.getParentRefTest1Access().getChild1ParentRefTestChild1ParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getParentRefTest1Access().getChild1ParentRefTestChild1ParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_child1_1_0=ruleParentRefTestChild1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParentRefTest1Rule()); - } - set( - current, - "child1", - lv_child1_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParentRefTest1Rule()); + } + set( + current, + "child1", + lv_child1_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); + afterParserOrEnumRuleCall(); + } @@ -2193,13 +2225,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2208,7 +2242,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleParentRefTest2" - // InternalContextFinderTestLanguage.g:883:1: entryRuleParentRefTest2 returns [EObject current=null] : iv_ruleParentRefTest2= ruleParentRefTest2 EOF ; + // InternalContextFinderTestLanguage.g:891:1: entryRuleParentRefTest2 returns [EObject current=null] : iv_ruleParentRefTest2= ruleParentRefTest2 EOF ; public final EObject entryRuleParentRefTest2() throws RecognitionException { EObject current = null; @@ -2216,8 +2250,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:884:2: (iv_ruleParentRefTest2= ruleParentRefTest2 EOF ) - // InternalContextFinderTestLanguage.g:885:2: iv_ruleParentRefTest2= ruleParentRefTest2 EOF + // InternalContextFinderTestLanguage.g:891:55: (iv_ruleParentRefTest2= ruleParentRefTest2 EOF ) + // InternalContextFinderTestLanguage.g:892:2: iv_ruleParentRefTest2= ruleParentRefTest2 EOF { newCompositeNode(grammarAccess.getParentRefTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2231,11 +2265,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2244,7 +2278,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleParentRefTest2" - // InternalContextFinderTestLanguage.g:892:1: ruleParentRefTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) ; + // InternalContextFinderTestLanguage.g:898:1: ruleParentRefTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) ; public final EObject ruleParentRefTest2() throws RecognitionException { EObject current = null; @@ -2252,44 +2286,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt EObject lv_child2_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:895:28: ( (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) ) - // InternalContextFinderTestLanguage.g:896:1: (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) + // InternalContextFinderTestLanguage.g:904:2: ( (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) ) + // InternalContextFinderTestLanguage.g:905:2: (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) { - // InternalContextFinderTestLanguage.g:896:1: (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) - // InternalContextFinderTestLanguage.g:896:3: otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) + // InternalContextFinderTestLanguage.g:905:2: (otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) ) + // InternalContextFinderTestLanguage.g:906:3: otherlv_0= 'kw2' ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_11); - newLeafNode(otherlv_0, grammarAccess.getParentRefTest2Access().getKw2Keyword_0()); - - // InternalContextFinderTestLanguage.g:900:1: ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) - // InternalContextFinderTestLanguage.g:901:1: (lv_child2_1_0= ruleParentRefTestChild2 ) + newLeafNode(otherlv_0, grammarAccess.getParentRefTest2Access().getKw2Keyword_0()); + + // InternalContextFinderTestLanguage.g:910:3: ( (lv_child2_1_0= ruleParentRefTestChild2 ) ) + // InternalContextFinderTestLanguage.g:911:4: (lv_child2_1_0= ruleParentRefTestChild2 ) { - // InternalContextFinderTestLanguage.g:901:1: (lv_child2_1_0= ruleParentRefTestChild2 ) - // InternalContextFinderTestLanguage.g:902:3: lv_child2_1_0= ruleParentRefTestChild2 + // InternalContextFinderTestLanguage.g:911:4: (lv_child2_1_0= ruleParentRefTestChild2 ) + // InternalContextFinderTestLanguage.g:912:5: lv_child2_1_0= ruleParentRefTestChild2 { - - newCompositeNode(grammarAccess.getParentRefTest2Access().getChild2ParentRefTestChild2ParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getParentRefTest2Access().getChild2ParentRefTestChild2ParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_child2_1_0=ruleParentRefTestChild2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParentRefTest2Rule()); - } - set( - current, - "child2", - lv_child2_1_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParentRefTest2Rule()); + } + set( + current, + "child2", + lv_child2_1_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); + afterParserOrEnumRuleCall(); + } @@ -2302,13 +2337,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2317,7 +2354,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleParentRefTestChild1" - // InternalContextFinderTestLanguage.g:926:1: entryRuleParentRefTestChild1 returns [EObject current=null] : iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF ; + // InternalContextFinderTestLanguage.g:933:1: entryRuleParentRefTestChild1 returns [EObject current=null] : iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF ; public final EObject entryRuleParentRefTestChild1() throws RecognitionException { EObject current = null; @@ -2325,8 +2362,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:927:2: (iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF ) - // InternalContextFinderTestLanguage.g:928:2: iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF + // InternalContextFinderTestLanguage.g:933:60: (iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF ) + // InternalContextFinderTestLanguage.g:934:2: iv_ruleParentRefTestChild1= ruleParentRefTestChild1 EOF { newCompositeNode(grammarAccess.getParentRefTestChild1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2340,11 +2377,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2353,7 +2390,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleParentRefTestChild1" - // InternalContextFinderTestLanguage.g:935:1: ruleParentRefTestChild1 returns [EObject current=null] : ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) ; + // InternalContextFinderTestLanguage.g:940:1: ruleParentRefTestChild1 returns [EObject current=null] : ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) ; public final EObject ruleParentRefTestChild1() throws RecognitionException { EObject current = null; @@ -2361,31 +2398,32 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt EObject lv_child_2_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:938:28: ( ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) ) - // InternalContextFinderTestLanguage.g:939:1: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) + // InternalContextFinderTestLanguage.g:946:2: ( ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) ) + // InternalContextFinderTestLanguage.g:947:2: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) { - // InternalContextFinderTestLanguage.g:939:1: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) - // InternalContextFinderTestLanguage.g:939:2: () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? + // InternalContextFinderTestLanguage.g:947:2: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? ) + // InternalContextFinderTestLanguage.g:948:3: () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild1 ) )? { - // InternalContextFinderTestLanguage.g:939:2: () - // InternalContextFinderTestLanguage.g:940:5: + // InternalContextFinderTestLanguage.g:948:3: () + // InternalContextFinderTestLanguage.g:949:4: { - current = forceCreateModelElement( - grammarAccess.getParentRefTestChild1Access().getParentRefTestChildAction_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getParentRefTestChild1Access().getParentRefTestChildAction_0(), + current); + } otherlv_1=(Token)match(input,24,FollowSets000.FOLLOW_12); - newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild1Access().getFooKeyword_1()); - - // InternalContextFinderTestLanguage.g:949:1: ( (lv_child_2_0= ruleParentRefTestChild1 ) )? + newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild1Access().getFooKeyword_1()); + + // InternalContextFinderTestLanguage.g:959:3: ( (lv_child_2_0= ruleParentRefTestChild1 ) )? int alt12=2; int LA12_0 = input.LA(1); @@ -2394,30 +2432,30 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt12) { case 1 : - // InternalContextFinderTestLanguage.g:950:1: (lv_child_2_0= ruleParentRefTestChild1 ) + // InternalContextFinderTestLanguage.g:960:4: (lv_child_2_0= ruleParentRefTestChild1 ) { - // InternalContextFinderTestLanguage.g:950:1: (lv_child_2_0= ruleParentRefTestChild1 ) - // InternalContextFinderTestLanguage.g:951:3: lv_child_2_0= ruleParentRefTestChild1 + // InternalContextFinderTestLanguage.g:960:4: (lv_child_2_0= ruleParentRefTestChild1 ) + // InternalContextFinderTestLanguage.g:961:5: lv_child_2_0= ruleParentRefTestChild1 { - - newCompositeNode(grammarAccess.getParentRefTestChild1Access().getChildParentRefTestChild1ParserRuleCall_2_0()); - + + newCompositeNode(grammarAccess.getParentRefTestChild1Access().getChildParentRefTestChild1ParserRuleCall_2_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_child_2_0=ruleParentRefTestChild1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParentRefTestChild1Rule()); - } - set( - current, - "child", - lv_child_2_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParentRefTestChild1Rule()); + } + set( + current, + "child", + lv_child_2_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); + afterParserOrEnumRuleCall(); + } @@ -2433,13 +2471,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2448,7 +2488,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleParentRefTestChild2" - // InternalContextFinderTestLanguage.g:975:1: entryRuleParentRefTestChild2 returns [EObject current=null] : iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF ; + // InternalContextFinderTestLanguage.g:982:1: entryRuleParentRefTestChild2 returns [EObject current=null] : iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF ; public final EObject entryRuleParentRefTestChild2() throws RecognitionException { EObject current = null; @@ -2456,8 +2496,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:976:2: (iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF ) - // InternalContextFinderTestLanguage.g:977:2: iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF + // InternalContextFinderTestLanguage.g:982:60: (iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF ) + // InternalContextFinderTestLanguage.g:983:2: iv_ruleParentRefTestChild2= ruleParentRefTestChild2 EOF { newCompositeNode(grammarAccess.getParentRefTestChild2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2471,11 +2511,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2484,7 +2524,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleParentRefTestChild2" - // InternalContextFinderTestLanguage.g:984:1: ruleParentRefTestChild2 returns [EObject current=null] : ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) ; + // InternalContextFinderTestLanguage.g:989:1: ruleParentRefTestChild2 returns [EObject current=null] : ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) ; public final EObject ruleParentRefTestChild2() throws RecognitionException { EObject current = null; @@ -2492,31 +2532,32 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt EObject lv_child_2_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:987:28: ( ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) ) - // InternalContextFinderTestLanguage.g:988:1: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) + // InternalContextFinderTestLanguage.g:995:2: ( ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) ) + // InternalContextFinderTestLanguage.g:996:2: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) { - // InternalContextFinderTestLanguage.g:988:1: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) - // InternalContextFinderTestLanguage.g:988:2: () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? + // InternalContextFinderTestLanguage.g:996:2: ( () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? ) + // InternalContextFinderTestLanguage.g:997:3: () otherlv_1= 'foo' ( (lv_child_2_0= ruleParentRefTestChild2 ) )? { - // InternalContextFinderTestLanguage.g:988:2: () - // InternalContextFinderTestLanguage.g:989:5: + // InternalContextFinderTestLanguage.g:997:3: () + // InternalContextFinderTestLanguage.g:998:4: { - current = forceCreateModelElement( - grammarAccess.getParentRefTestChild2Access().getParentRefTestChildAction_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getParentRefTestChild2Access().getParentRefTestChildAction_0(), + current); + } otherlv_1=(Token)match(input,24,FollowSets000.FOLLOW_12); - newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild2Access().getFooKeyword_1()); - - // InternalContextFinderTestLanguage.g:998:1: ( (lv_child_2_0= ruleParentRefTestChild2 ) )? + newLeafNode(otherlv_1, grammarAccess.getParentRefTestChild2Access().getFooKeyword_1()); + + // InternalContextFinderTestLanguage.g:1008:3: ( (lv_child_2_0= ruleParentRefTestChild2 ) )? int alt13=2; int LA13_0 = input.LA(1); @@ -2525,30 +2566,30 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt13) { case 1 : - // InternalContextFinderTestLanguage.g:999:1: (lv_child_2_0= ruleParentRefTestChild2 ) + // InternalContextFinderTestLanguage.g:1009:4: (lv_child_2_0= ruleParentRefTestChild2 ) { - // InternalContextFinderTestLanguage.g:999:1: (lv_child_2_0= ruleParentRefTestChild2 ) - // InternalContextFinderTestLanguage.g:1000:3: lv_child_2_0= ruleParentRefTestChild2 + // InternalContextFinderTestLanguage.g:1009:4: (lv_child_2_0= ruleParentRefTestChild2 ) + // InternalContextFinderTestLanguage.g:1010:5: lv_child_2_0= ruleParentRefTestChild2 { - - newCompositeNode(grammarAccess.getParentRefTestChild2Access().getChildParentRefTestChild2ParserRuleCall_2_0()); - + + newCompositeNode(grammarAccess.getParentRefTestChild2Access().getChildParentRefTestChild2ParserRuleCall_2_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_child_2_0=ruleParentRefTestChild2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParentRefTestChild2Rule()); - } - set( - current, - "child", - lv_child_2_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParentRefTestChild2Rule()); + } + set( + current, + "child", + lv_child_2_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); + afterParserOrEnumRuleCall(); + } @@ -2564,13 +2605,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2579,7 +2622,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleQuantityExclusionTest1" - // InternalContextFinderTestLanguage.g:1024:1: entryRuleQuantityExclusionTest1 returns [EObject current=null] : iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF ; + // InternalContextFinderTestLanguage.g:1031:1: entryRuleQuantityExclusionTest1 returns [EObject current=null] : iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF ; public final EObject entryRuleQuantityExclusionTest1() throws RecognitionException { EObject current = null; @@ -2587,8 +2630,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1025:2: (iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF ) - // InternalContextFinderTestLanguage.g:1026:2: iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF + // InternalContextFinderTestLanguage.g:1031:63: (iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF ) + // InternalContextFinderTestLanguage.g:1032:2: iv_ruleQuantityExclusionTest1= ruleQuantityExclusionTest1 EOF { newCompositeNode(grammarAccess.getQuantityExclusionTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2602,11 +2645,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2615,7 +2658,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleQuantityExclusionTest1" - // InternalContextFinderTestLanguage.g:1033:1: ruleQuantityExclusionTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) ; + // InternalContextFinderTestLanguage.g:1038:1: ruleQuantityExclusionTest1 returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) ; public final EObject ruleQuantityExclusionTest1() throws RecognitionException { EObject current = null; @@ -2623,46 +2666,47 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt Token lv_attr1_1_0=null; Token lv_attr2_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1036:28: ( (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) ) - // InternalContextFinderTestLanguage.g:1037:1: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) + // InternalContextFinderTestLanguage.g:1044:2: ( (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) ) + // InternalContextFinderTestLanguage.g:1045:2: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) { - // InternalContextFinderTestLanguage.g:1037:1: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) - // InternalContextFinderTestLanguage.g:1037:3: otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? + // InternalContextFinderTestLanguage.g:1045:2: (otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? ) + // InternalContextFinderTestLanguage.g:1046:3: otherlv_0= 'kw1' ( (lv_attr1_1_0= RULE_ID ) ) ( (lv_attr2_2_0= RULE_ID ) )? { otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest1Access().getKw1Keyword_0()); - - // InternalContextFinderTestLanguage.g:1041:1: ( (lv_attr1_1_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:1042:1: (lv_attr1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest1Access().getKw1Keyword_0()); + + // InternalContextFinderTestLanguage.g:1050:3: ( (lv_attr1_1_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:1051:4: (lv_attr1_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1042:1: (lv_attr1_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1043:3: lv_attr1_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:1051:4: (lv_attr1_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1052:5: lv_attr1_1_0= RULE_ID { lv_attr1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest1Access().getAttr1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); - } - setWithLastConsumed( - current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); + } + setWithLastConsumed( + current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalContextFinderTestLanguage.g:1059:2: ( (lv_attr2_2_0= RULE_ID ) )? + // InternalContextFinderTestLanguage.g:1068:3: ( (lv_attr2_2_0= RULE_ID ) )? int alt14=2; int LA14_0 = input.LA(1); @@ -2671,25 +2715,25 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt14) { case 1 : - // InternalContextFinderTestLanguage.g:1060:1: (lv_attr2_2_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1069:4: (lv_attr2_2_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1060:1: (lv_attr2_2_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1061:3: lv_attr2_2_0= RULE_ID + // InternalContextFinderTestLanguage.g:1069:4: (lv_attr2_2_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1070:5: lv_attr2_2_0= RULE_ID { lv_attr2_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest1Access().getAttr2IDTerminalRuleCall_2_0()); - + newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest1Access().getAttr2IDTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); - } - setWithLastConsumed( - current, - "attr2", - lv_attr2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getQuantityExclusionTest1Rule()); + } + setWithLastConsumed( + current, + "attr2", + lv_attr2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2705,13 +2749,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2720,7 +2766,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleQuantityExclusionTest2" - // InternalContextFinderTestLanguage.g:1085:1: entryRuleQuantityExclusionTest2 returns [EObject current=null] : iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF ; + // InternalContextFinderTestLanguage.g:1090:1: entryRuleQuantityExclusionTest2 returns [EObject current=null] : iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF ; public final EObject entryRuleQuantityExclusionTest2() throws RecognitionException { EObject current = null; @@ -2728,8 +2774,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1086:2: (iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF ) - // InternalContextFinderTestLanguage.g:1087:2: iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF + // InternalContextFinderTestLanguage.g:1090:63: (iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF ) + // InternalContextFinderTestLanguage.g:1091:2: iv_ruleQuantityExclusionTest2= ruleQuantityExclusionTest2 EOF { newCompositeNode(grammarAccess.getQuantityExclusionTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2743,11 +2789,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2756,7 +2802,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleQuantityExclusionTest2" - // InternalContextFinderTestLanguage.g:1094:1: ruleQuantityExclusionTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) ; + // InternalContextFinderTestLanguage.g:1097:1: ruleQuantityExclusionTest2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) ; public final EObject ruleQuantityExclusionTest2() throws RecognitionException { EObject current = null; @@ -2764,20 +2810,21 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt Token lv_attr1_1_0=null; Token lv_attr2_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1097:28: ( (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) ) - // InternalContextFinderTestLanguage.g:1098:1: (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:1103:2: ( (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) ) + // InternalContextFinderTestLanguage.g:1104:2: (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) { - // InternalContextFinderTestLanguage.g:1098:1: (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:1098:3: otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:1104:2: (otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:1105:3: otherlv_0= 'kw2' ( (lv_attr1_1_0= RULE_ID ) )? ( (lv_attr2_2_0= RULE_ID ) ) { otherlv_0=(Token)match(input,22,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest2Access().getKw2Keyword_0()); - - // InternalContextFinderTestLanguage.g:1102:1: ( (lv_attr1_1_0= RULE_ID ) )? + newLeafNode(otherlv_0, grammarAccess.getQuantityExclusionTest2Access().getKw2Keyword_0()); + + // InternalContextFinderTestLanguage.g:1109:3: ( (lv_attr1_1_0= RULE_ID ) )? int alt15=2; int LA15_0 = input.LA(1); @@ -2790,25 +2837,25 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } switch (alt15) { case 1 : - // InternalContextFinderTestLanguage.g:1103:1: (lv_attr1_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1110:4: (lv_attr1_1_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1103:1: (lv_attr1_1_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1104:3: lv_attr1_1_0= RULE_ID + // InternalContextFinderTestLanguage.g:1110:4: (lv_attr1_1_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1111:5: lv_attr1_1_0= RULE_ID { lv_attr1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_8); - newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest2Access().getAttr1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_attr1_1_0, grammarAccess.getQuantityExclusionTest2Access().getAttr1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); - } - setWithLastConsumed( - current, - "attr1", - lv_attr1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); + } + setWithLastConsumed( + current, + "attr1", + lv_attr1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2818,26 +2865,26 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - // InternalContextFinderTestLanguage.g:1120:3: ( (lv_attr2_2_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:1121:1: (lv_attr2_2_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1127:3: ( (lv_attr2_2_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:1128:4: (lv_attr2_2_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1121:1: (lv_attr2_2_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1122:3: lv_attr2_2_0= RULE_ID + // InternalContextFinderTestLanguage.g:1128:4: (lv_attr2_2_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1129:5: lv_attr2_2_0= RULE_ID { lv_attr2_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest2Access().getAttr2IDTerminalRuleCall_2_0()); - + newLeafNode(lv_attr2_2_0, grammarAccess.getQuantityExclusionTest2Access().getAttr2IDTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); - } - setWithLastConsumed( - current, - "attr2", - lv_attr2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getQuantityExclusionTest2Rule()); + } + setWithLastConsumed( + current, + "attr2", + lv_attr2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2850,13 +2897,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2865,7 +2914,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleValueExclusionTest1" - // InternalContextFinderTestLanguage.g:1146:1: entryRuleValueExclusionTest1 returns [EObject current=null] : iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF ; + // InternalContextFinderTestLanguage.g:1149:1: entryRuleValueExclusionTest1 returns [EObject current=null] : iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF ; public final EObject entryRuleValueExclusionTest1() throws RecognitionException { EObject current = null; @@ -2873,8 +2922,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1147:2: (iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF ) - // InternalContextFinderTestLanguage.g:1148:2: iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF + // InternalContextFinderTestLanguage.g:1149:60: (iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF ) + // InternalContextFinderTestLanguage.g:1150:2: iv_ruleValueExclusionTest1= ruleValueExclusionTest1 EOF { newCompositeNode(grammarAccess.getValueExclusionTest1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2888,11 +2937,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2901,44 +2950,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleValueExclusionTest1" - // InternalContextFinderTestLanguage.g:1155:1: ruleValueExclusionTest1 returns [EObject current=null] : ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) ; + // InternalContextFinderTestLanguage.g:1156:1: ruleValueExclusionTest1 returns [EObject current=null] : ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) ; public final EObject ruleValueExclusionTest1() throws RecognitionException { EObject current = null; Enumerator lv_val_0_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1158:28: ( ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) ) - // InternalContextFinderTestLanguage.g:1159:1: ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) + // InternalContextFinderTestLanguage.g:1162:2: ( ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) ) + // InternalContextFinderTestLanguage.g:1163:2: ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) { - // InternalContextFinderTestLanguage.g:1159:1: ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) - // InternalContextFinderTestLanguage.g:1160:1: (lv_val_0_0= ruleValueExclusionTestEn1 ) + // InternalContextFinderTestLanguage.g:1163:2: ( (lv_val_0_0= ruleValueExclusionTestEn1 ) ) + // InternalContextFinderTestLanguage.g:1164:3: (lv_val_0_0= ruleValueExclusionTestEn1 ) { - // InternalContextFinderTestLanguage.g:1160:1: (lv_val_0_0= ruleValueExclusionTestEn1 ) - // InternalContextFinderTestLanguage.g:1161:3: lv_val_0_0= ruleValueExclusionTestEn1 + // InternalContextFinderTestLanguage.g:1164:3: (lv_val_0_0= ruleValueExclusionTestEn1 ) + // InternalContextFinderTestLanguage.g:1165:4: lv_val_0_0= ruleValueExclusionTestEn1 { - - newCompositeNode(grammarAccess.getValueExclusionTest1Access().getValValueExclusionTestEn1EnumRuleCall_0()); - + + newCompositeNode(grammarAccess.getValueExclusionTest1Access().getValValueExclusionTestEn1EnumRuleCall_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_0_0=ruleValueExclusionTestEn1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getValueExclusionTest1Rule()); - } - set( - current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getValueExclusionTest1Rule()); + } + set( + current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn1"); + afterParserOrEnumRuleCall(); + } @@ -2948,13 +2998,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2971,8 +3023,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1186:2: (iv_ruleValueExclusionTest2= ruleValueExclusionTest2 EOF ) - // InternalContextFinderTestLanguage.g:1187:2: iv_ruleValueExclusionTest2= ruleValueExclusionTest2 EOF + // InternalContextFinderTestLanguage.g:1185:60: (iv_ruleValueExclusionTest2= ruleValueExclusionTest2 EOF ) + // InternalContextFinderTestLanguage.g:1186:2: iv_ruleValueExclusionTest2= ruleValueExclusionTest2 EOF { newCompositeNode(grammarAccess.getValueExclusionTest2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2986,11 +3038,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2999,44 +3051,45 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleValueExclusionTest2" - // InternalContextFinderTestLanguage.g:1194:1: ruleValueExclusionTest2 returns [EObject current=null] : ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) ; + // InternalContextFinderTestLanguage.g:1192:1: ruleValueExclusionTest2 returns [EObject current=null] : ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) ; public final EObject ruleValueExclusionTest2() throws RecognitionException { EObject current = null; Enumerator lv_val_0_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1197:28: ( ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) ) - // InternalContextFinderTestLanguage.g:1198:1: ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) + // InternalContextFinderTestLanguage.g:1198:2: ( ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) ) + // InternalContextFinderTestLanguage.g:1199:2: ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) { - // InternalContextFinderTestLanguage.g:1198:1: ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) - // InternalContextFinderTestLanguage.g:1199:1: (lv_val_0_0= ruleValueExclusionTestEn2 ) + // InternalContextFinderTestLanguage.g:1199:2: ( (lv_val_0_0= ruleValueExclusionTestEn2 ) ) + // InternalContextFinderTestLanguage.g:1200:3: (lv_val_0_0= ruleValueExclusionTestEn2 ) { - // InternalContextFinderTestLanguage.g:1199:1: (lv_val_0_0= ruleValueExclusionTestEn2 ) - // InternalContextFinderTestLanguage.g:1200:3: lv_val_0_0= ruleValueExclusionTestEn2 + // InternalContextFinderTestLanguage.g:1200:3: (lv_val_0_0= ruleValueExclusionTestEn2 ) + // InternalContextFinderTestLanguage.g:1201:4: lv_val_0_0= ruleValueExclusionTestEn2 { - - newCompositeNode(grammarAccess.getValueExclusionTest2Access().getValValueExclusionTestEn2EnumRuleCall_0()); - + + newCompositeNode(grammarAccess.getValueExclusionTest2Access().getValValueExclusionTestEn2EnumRuleCall_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_0_0=ruleValueExclusionTestEn2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getValueExclusionTest2Rule()); - } - set( - current, - "val", - lv_val_0_0, - "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getValueExclusionTest2Rule()); + } + set( + current, + "val", + lv_val_0_0, + "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn2"); + afterParserOrEnumRuleCall(); + } @@ -3046,13 +3099,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3061,7 +3116,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNodeExclusion1" - // InternalContextFinderTestLanguage.g:1224:1: entryRuleNodeExclusion1 returns [EObject current=null] : iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF ; + // InternalContextFinderTestLanguage.g:1221:1: entryRuleNodeExclusion1 returns [EObject current=null] : iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF ; public final EObject entryRuleNodeExclusion1() throws RecognitionException { EObject current = null; @@ -3069,8 +3124,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1225:2: (iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF ) - // InternalContextFinderTestLanguage.g:1226:2: iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF + // InternalContextFinderTestLanguage.g:1221:55: (iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF ) + // InternalContextFinderTestLanguage.g:1222:2: iv_ruleNodeExclusion1= ruleNodeExclusion1 EOF { newCompositeNode(grammarAccess.getNodeExclusion1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3084,11 +3139,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3097,33 +3152,34 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNodeExclusion1" - // InternalContextFinderTestLanguage.g:1233:1: ruleNodeExclusion1 returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalContextFinderTestLanguage.g:1228:1: ruleNodeExclusion1 returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleNodeExclusion1() throws RecognitionException { EObject current = null; Token otherlv_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1236:28: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalContextFinderTestLanguage.g:1237:1: ( (otherlv_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:1234:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalContextFinderTestLanguage.g:1235:2: ( (otherlv_0= RULE_ID ) ) { - // InternalContextFinderTestLanguage.g:1237:1: ( (otherlv_0= RULE_ID ) ) - // InternalContextFinderTestLanguage.g:1238:1: (otherlv_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1235:2: ( (otherlv_0= RULE_ID ) ) + // InternalContextFinderTestLanguage.g:1236:3: (otherlv_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1238:1: (otherlv_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1239:3: otherlv_0= RULE_ID + // InternalContextFinderTestLanguage.g:1236:3: (otherlv_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1237:4: otherlv_0= RULE_ID { - if (current==null) { - current = createModelElement(grammarAccess.getNodeExclusion1Rule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNodeExclusion1Rule()); + } + otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1Access().getRefModelCrossReference_0()); - + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1Access().getRefModelCrossReference_0()); + } @@ -3133,13 +3189,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3148,7 +3206,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNodeExclusion2" - // InternalContextFinderTestLanguage.g:1258:1: entryRuleNodeExclusion2 returns [EObject current=null] : iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF ; + // InternalContextFinderTestLanguage.g:1251:1: entryRuleNodeExclusion2 returns [EObject current=null] : iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF ; public final EObject entryRuleNodeExclusion2() throws RecognitionException { EObject current = null; @@ -3156,8 +3214,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1259:2: (iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF ) - // InternalContextFinderTestLanguage.g:1260:2: iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF + // InternalContextFinderTestLanguage.g:1251:55: (iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF ) + // InternalContextFinderTestLanguage.g:1252:2: iv_ruleNodeExclusion2= ruleNodeExclusion2 EOF { newCompositeNode(grammarAccess.getNodeExclusion2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3171,11 +3229,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3184,33 +3242,34 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNodeExclusion2" - // InternalContextFinderTestLanguage.g:1267:1: ruleNodeExclusion2 returns [EObject current=null] : ( (otherlv_0= RULE_STRING ) ) ; + // InternalContextFinderTestLanguage.g:1258:1: ruleNodeExclusion2 returns [EObject current=null] : ( (otherlv_0= RULE_STRING ) ) ; public final EObject ruleNodeExclusion2() throws RecognitionException { EObject current = null; Token otherlv_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1270:28: ( ( (otherlv_0= RULE_STRING ) ) ) - // InternalContextFinderTestLanguage.g:1271:1: ( (otherlv_0= RULE_STRING ) ) + // InternalContextFinderTestLanguage.g:1264:2: ( ( (otherlv_0= RULE_STRING ) ) ) + // InternalContextFinderTestLanguage.g:1265:2: ( (otherlv_0= RULE_STRING ) ) { - // InternalContextFinderTestLanguage.g:1271:1: ( (otherlv_0= RULE_STRING ) ) - // InternalContextFinderTestLanguage.g:1272:1: (otherlv_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:1265:2: ( (otherlv_0= RULE_STRING ) ) + // InternalContextFinderTestLanguage.g:1266:3: (otherlv_0= RULE_STRING ) { - // InternalContextFinderTestLanguage.g:1272:1: (otherlv_0= RULE_STRING ) - // InternalContextFinderTestLanguage.g:1273:3: otherlv_0= RULE_STRING + // InternalContextFinderTestLanguage.g:1266:3: (otherlv_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:1267:4: otherlv_0= RULE_STRING { - if (current==null) { - current = createModelElement(grammarAccess.getNodeExclusion2Rule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNodeExclusion2Rule()); + } + otherlv_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2Access().getRefModelCrossReference_0()); - + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2Access().getRefModelCrossReference_0()); + } @@ -3220,13 +3279,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3235,7 +3296,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNodeExclusion1List" - // InternalContextFinderTestLanguage.g:1292:1: entryRuleNodeExclusion1List returns [EObject current=null] : iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF ; + // InternalContextFinderTestLanguage.g:1281:1: entryRuleNodeExclusion1List returns [EObject current=null] : iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF ; public final EObject entryRuleNodeExclusion1List() throws RecognitionException { EObject current = null; @@ -3243,8 +3304,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1293:2: (iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF ) - // InternalContextFinderTestLanguage.g:1294:2: iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF + // InternalContextFinderTestLanguage.g:1281:59: (iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF ) + // InternalContextFinderTestLanguage.g:1282:2: iv_ruleNodeExclusion1List= ruleNodeExclusion1List EOF { newCompositeNode(grammarAccess.getNodeExclusion1ListRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3258,11 +3319,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3271,19 +3332,20 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNodeExclusion1List" - // InternalContextFinderTestLanguage.g:1301:1: ruleNodeExclusion1List returns [EObject current=null] : ( (otherlv_0= RULE_ID ) )+ ; + // InternalContextFinderTestLanguage.g:1288:1: ruleNodeExclusion1List returns [EObject current=null] : ( (otherlv_0= RULE_ID ) )+ ; public final EObject ruleNodeExclusion1List() throws RecognitionException { EObject current = null; Token otherlv_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1304:28: ( ( (otherlv_0= RULE_ID ) )+ ) - // InternalContextFinderTestLanguage.g:1305:1: ( (otherlv_0= RULE_ID ) )+ + // InternalContextFinderTestLanguage.g:1294:2: ( ( (otherlv_0= RULE_ID ) )+ ) + // InternalContextFinderTestLanguage.g:1295:2: ( (otherlv_0= RULE_ID ) )+ { - // InternalContextFinderTestLanguage.g:1305:1: ( (otherlv_0= RULE_ID ) )+ + // InternalContextFinderTestLanguage.g:1295:2: ( (otherlv_0= RULE_ID ) )+ int cnt16=0; loop16: do { @@ -3297,20 +3359,20 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt switch (alt16) { case 1 : - // InternalContextFinderTestLanguage.g:1306:1: (otherlv_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1296:3: (otherlv_0= RULE_ID ) { - // InternalContextFinderTestLanguage.g:1306:1: (otherlv_0= RULE_ID ) - // InternalContextFinderTestLanguage.g:1307:3: otherlv_0= RULE_ID + // InternalContextFinderTestLanguage.g:1296:3: (otherlv_0= RULE_ID ) + // InternalContextFinderTestLanguage.g:1297:4: otherlv_0= RULE_ID { - if (current==null) { - current = createModelElement(grammarAccess.getNodeExclusion1ListRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNodeExclusion1ListRule()); + } + otherlv_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1ListAccess().getRefModelCrossReference_0()); - + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion1ListAccess().getRefModelCrossReference_0()); + } @@ -3330,13 +3392,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3345,7 +3409,7 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "entryRuleNodeExclusion2List" - // InternalContextFinderTestLanguage.g:1326:1: entryRuleNodeExclusion2List returns [EObject current=null] : iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF ; + // InternalContextFinderTestLanguage.g:1311:1: entryRuleNodeExclusion2List returns [EObject current=null] : iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF ; public final EObject entryRuleNodeExclusion2List() throws RecognitionException { EObject current = null; @@ -3353,8 +3417,8 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt try { - // InternalContextFinderTestLanguage.g:1327:2: (iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF ) - // InternalContextFinderTestLanguage.g:1328:2: iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF + // InternalContextFinderTestLanguage.g:1311:59: (iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF ) + // InternalContextFinderTestLanguage.g:1312:2: iv_ruleNodeExclusion2List= ruleNodeExclusion2List EOF { newCompositeNode(grammarAccess.getNodeExclusion2ListRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3368,11 +3432,11 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3381,19 +3445,20 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleNodeExclusion2List" - // InternalContextFinderTestLanguage.g:1335:1: ruleNodeExclusion2List returns [EObject current=null] : ( (otherlv_0= RULE_STRING ) )+ ; + // InternalContextFinderTestLanguage.g:1318:1: ruleNodeExclusion2List returns [EObject current=null] : ( (otherlv_0= RULE_STRING ) )+ ; public final EObject ruleNodeExclusion2List() throws RecognitionException { EObject current = null; Token otherlv_0=null; - enterRule(); - + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1338:28: ( ( (otherlv_0= RULE_STRING ) )+ ) - // InternalContextFinderTestLanguage.g:1339:1: ( (otherlv_0= RULE_STRING ) )+ + // InternalContextFinderTestLanguage.g:1324:2: ( ( (otherlv_0= RULE_STRING ) )+ ) + // InternalContextFinderTestLanguage.g:1325:2: ( (otherlv_0= RULE_STRING ) )+ { - // InternalContextFinderTestLanguage.g:1339:1: ( (otherlv_0= RULE_STRING ) )+ + // InternalContextFinderTestLanguage.g:1325:2: ( (otherlv_0= RULE_STRING ) )+ int cnt17=0; loop17: do { @@ -3407,20 +3472,20 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt switch (alt17) { case 1 : - // InternalContextFinderTestLanguage.g:1340:1: (otherlv_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:1326:3: (otherlv_0= RULE_STRING ) { - // InternalContextFinderTestLanguage.g:1340:1: (otherlv_0= RULE_STRING ) - // InternalContextFinderTestLanguage.g:1341:3: otherlv_0= RULE_STRING + // InternalContextFinderTestLanguage.g:1326:3: (otherlv_0= RULE_STRING ) + // InternalContextFinderTestLanguage.g:1327:4: otherlv_0= RULE_STRING { - if (current==null) { - current = createModelElement(grammarAccess.getNodeExclusion2ListRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNodeExclusion2ListRule()); + } + otherlv_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_14); - newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2ListAccess().getRefModelCrossReference_0()); - + newLeafNode(otherlv_0, grammarAccess.getNodeExclusion2ListAccess().getRefModelCrossReference_0()); + } @@ -3440,13 +3505,15 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3455,38 +3522,42 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleValueExclusionTestEn1" - // InternalContextFinderTestLanguage.g:1362:1: ruleValueExclusionTestEn1 returns [Enumerator current=null] : (enumLiteral_0= 'lit1' ) ; + // InternalContextFinderTestLanguage.g:1341:1: ruleValueExclusionTestEn1 returns [Enumerator current=null] : (enumLiteral_0= 'lit1' ) ; public final Enumerator ruleValueExclusionTestEn1() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1364:28: ( (enumLiteral_0= 'lit1' ) ) - // InternalContextFinderTestLanguage.g:1365:1: (enumLiteral_0= 'lit1' ) + // InternalContextFinderTestLanguage.g:1347:2: ( (enumLiteral_0= 'lit1' ) ) + // InternalContextFinderTestLanguage.g:1348:2: (enumLiteral_0= 'lit1' ) { - // InternalContextFinderTestLanguage.g:1365:1: (enumLiteral_0= 'lit1' ) - // InternalContextFinderTestLanguage.g:1365:3: enumLiteral_0= 'lit1' + // InternalContextFinderTestLanguage.g:1348:2: (enumLiteral_0= 'lit1' ) + // InternalContextFinderTestLanguage.g:1349:3: enumLiteral_0= 'lit1' { enumLiteral_0=(Token)match(input,25,FollowSets000.FOLLOW_2); - current = grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration()); - + current = grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn1Access().getLit1EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3495,38 +3566,42 @@ public class InternalContextFinderTestLanguageParser extends AbstractInternalAnt // $ANTLR start "ruleValueExclusionTestEn2" - // InternalContextFinderTestLanguage.g:1375:1: ruleValueExclusionTestEn2 returns [Enumerator current=null] : (enumLiteral_0= 'lit2' ) ; + // InternalContextFinderTestLanguage.g:1358:1: ruleValueExclusionTestEn2 returns [Enumerator current=null] : (enumLiteral_0= 'lit2' ) ; public final Enumerator ruleValueExclusionTestEn2() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalContextFinderTestLanguage.g:1377:28: ( (enumLiteral_0= 'lit2' ) ) - // InternalContextFinderTestLanguage.g:1378:1: (enumLiteral_0= 'lit2' ) + // InternalContextFinderTestLanguage.g:1364:2: ( (enumLiteral_0= 'lit2' ) ) + // InternalContextFinderTestLanguage.g:1365:2: (enumLiteral_0= 'lit2' ) { - // InternalContextFinderTestLanguage.g:1378:1: (enumLiteral_0= 'lit2' ) - // InternalContextFinderTestLanguage.g:1378:3: enumLiteral_0= 'lit2' + // InternalContextFinderTestLanguage.g:1365:2: (enumLiteral_0= 'lit2' ) + // InternalContextFinderTestLanguage.g:1366:3: enumLiteral_0= 'lit2' { enumLiteral_0=(Token)match(input,26,FollowSets000.FOLLOW_2); - current = grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration()); - + current = grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getValueExclusionTestEn2Access().getLit2EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.g index 5a6f045b4..34c6fa8a8 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.g +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguage.g @@ -5,7 +5,6 @@ grammar InternalHiddenTokenSequencerTestLanguage; options { superClass=AbstractInternalAntlrParser; - } @lexer::header { @@ -17,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer; } @parser::header { -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -35,177 +34,169 @@ import org.eclipse.xtext.serializer.services.HiddenTokenSequencerTestLanguageGra @parser::members { private HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess; - + public InternalHiddenTokenSequencerTestLanguageParser(TokenStream input, HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected HiddenTokenSequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; } + } -@rulecatch { - catch (RecognitionException re) { - recover(input,re); +@rulecatch { + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } } - - - // Entry rule entryRuleModel -entryRuleModel returns [EObject current=null] - : +entryRuleModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getModelRule()); } - iv_ruleModel=ruleModel - { $current=$iv_ruleModel.current; } - EOF -; + iv_ruleModel=ruleModel + { $current=$iv_ruleModel.current; } + EOF; // Rule Model -ruleModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - { - newCompositeNode(grammarAccess.getModelAccess().getDomainModelDomainModelParserRuleCall_0()); - } - lv_domainModel_0_0=ruleDomainModel { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "domainModel", - lv_domainModel_0_0, - "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.DomainModel"); - afterParserOrEnumRuleCall(); - } - -) -) +ruleModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getDomainModelDomainModelParserRuleCall_0()); + } + lv_domainModel_0_0=ruleDomainModel + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "domainModel", + lv_domainModel_0_0, + "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.DomainModel"); + afterParserOrEnumRuleCall(); + } + ) + ) ; - - - - // Entry rule entryRuleDomainModel -entryRuleDomainModel returns [EObject current=null] - : +entryRuleDomainModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getDomainModelRule()); } - iv_ruleDomainModel=ruleDomainModel - { $current=$iv_ruleDomainModel.current; } - EOF -; + iv_ruleDomainModel=ruleDomainModel + { $current=$iv_ruleDomainModel.current; } + EOF; // Rule DomainModel -ruleDomainModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='entities' - { - newLeafNode(otherlv_0, grammarAccess.getDomainModelAccess().getEntitiesKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getDomainModelAccess().getEntitiesEntityParserRuleCall_1_0()); - } - lv_entities_1_0=ruleEntity { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDomainModelRule()); - } - add( - $current, - "entities", - lv_entities_1_0, - "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Entity"); - afterParserOrEnumRuleCall(); - } - -) -)* otherlv_2='end' - { - newLeafNode(otherlv_2, grammarAccess.getDomainModelAccess().getEndKeyword_2()); - } -) +ruleDomainModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='entities' + { + newLeafNode(otherlv_0, grammarAccess.getDomainModelAccess().getEntitiesKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getDomainModelAccess().getEntitiesEntityParserRuleCall_1_0()); + } + lv_entities_1_0=ruleEntity + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDomainModelRule()); + } + add( + $current, + "entities", + lv_entities_1_0, + "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Entity"); + afterParserOrEnumRuleCall(); + } + ) + )* + otherlv_2='end' + { + newLeafNode(otherlv_2, grammarAccess.getDomainModelAccess().getEndKeyword_2()); + } + ) ; - - - - // Entry rule entryRuleEntity -entryRuleEntity returns [EObject current=null] - : +entryRuleEntity returns [EObject current=null]: { newCompositeNode(grammarAccess.getEntityRule()); } - iv_ruleEntity=ruleEntity - { $current=$iv_ruleEntity.current; } - EOF -; + iv_ruleEntity=ruleEntity + { $current=$iv_ruleEntity.current; } + EOF; // Rule Entity -ruleEntity returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - lv_name_0_0=RULE_ID - { - newLeafNode(lv_name_0_0, grammarAccess.getEntityAccess().getNameIDTerminalRuleCall_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEntityRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_description_1_0=RULE_STRING - { - newLeafNode(lv_description_1_0, grammarAccess.getEntityAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getEntityRule()); - } - setWithLastConsumed( - $current, - "description", - lv_description_1_0, - "org.eclipse.xtext.common.Terminals.STRING"); - } - -) -)) +ruleEntity returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_name_0_0=RULE_ID + { + newLeafNode(lv_name_0_0, grammarAccess.getEntityAccess().getNameIDTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEntityRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_description_1_0=RULE_STRING + { + newLeafNode(lv_description_1_0, grammarAccess.getEntityAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEntityRule()); + } + setWithLastConsumed( + $current, + "description", + lv_description_1_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ) ; - - - - RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; @@ -219,5 +210,3 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_WS : (' '|'\t'|'\r'|'\n')+; RULE_ANY_OTHER : .; - - diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageLexer.java index 71fe358d8..27b97705e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageLexer.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageLexer.java @@ -83,10 +83,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:209:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalHiddenTokenSequencerTestLanguage.g:209:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalHiddenTokenSequencerTestLanguage.g:200:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalHiddenTokenSequencerTestLanguage.g:200:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalHiddenTokenSequencerTestLanguage.g:209:11: ( '^' )? + // InternalHiddenTokenSequencerTestLanguage.g:200:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -95,7 +95,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } switch (alt1) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:209:11: '^' + // InternalHiddenTokenSequencerTestLanguage.g:200:11: '^' { match('^'); @@ -113,7 +113,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalHiddenTokenSequencerTestLanguage.g:209:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalHiddenTokenSequencerTestLanguage.g:200:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -162,10 +162,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:211:10: ( ( '0' .. '9' )+ ) - // InternalHiddenTokenSequencerTestLanguage.g:211:12: ( '0' .. '9' )+ + // InternalHiddenTokenSequencerTestLanguage.g:202:10: ( ( '0' .. '9' )+ ) + // InternalHiddenTokenSequencerTestLanguage.g:202:12: ( '0' .. '9' )+ { - // InternalHiddenTokenSequencerTestLanguage.g:211:12: ( '0' .. '9' )+ + // InternalHiddenTokenSequencerTestLanguage.g:202:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -179,7 +179,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { switch (alt3) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:211:13: '0' .. '9' + // InternalHiddenTokenSequencerTestLanguage.g:202:13: '0' .. '9' { matchRange('0','9'); @@ -211,10 +211,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:213:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalHiddenTokenSequencerTestLanguage.g:213:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalHiddenTokenSequencerTestLanguage.g:204:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalHiddenTokenSequencerTestLanguage.g:204:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalHiddenTokenSequencerTestLanguage.g:213:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalHiddenTokenSequencerTestLanguage.g:204:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -232,10 +232,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:213:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalHiddenTokenSequencerTestLanguage.g:204:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalHiddenTokenSequencerTestLanguage.g:213:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalHiddenTokenSequencerTestLanguage.g:204:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -251,7 +251,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:213:21: '\\\\' . + // InternalHiddenTokenSequencerTestLanguage.g:204:21: '\\\\' . { match('\\'); matchAny(); @@ -259,7 +259,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalHiddenTokenSequencerTestLanguage.g:213:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalHiddenTokenSequencerTestLanguage.g:204:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -284,10 +284,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalHiddenTokenSequencerTestLanguage.g:213:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalHiddenTokenSequencerTestLanguage.g:204:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalHiddenTokenSequencerTestLanguage.g:213:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalHiddenTokenSequencerTestLanguage.g:204:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -303,7 +303,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { switch (alt5) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:213:54: '\\\\' . + // InternalHiddenTokenSequencerTestLanguage.g:204:54: '\\\\' . { match('\\'); matchAny(); @@ -311,7 +311,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalHiddenTokenSequencerTestLanguage.g:213:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalHiddenTokenSequencerTestLanguage.g:204:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -354,12 +354,12 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:215:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalHiddenTokenSequencerTestLanguage.g:215:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalHiddenTokenSequencerTestLanguage.g:206:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalHiddenTokenSequencerTestLanguage.g:206:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalHiddenTokenSequencerTestLanguage.g:215:24: ( options {greedy=false; } : . )* + // InternalHiddenTokenSequencerTestLanguage.g:206:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -384,7 +384,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:215:52: . + // InternalHiddenTokenSequencerTestLanguage.g:206:52: . { matchAny(); @@ -414,12 +414,12 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:217:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalHiddenTokenSequencerTestLanguage.g:217:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalHiddenTokenSequencerTestLanguage.g:208:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalHiddenTokenSequencerTestLanguage.g:208:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalHiddenTokenSequencerTestLanguage.g:217:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalHiddenTokenSequencerTestLanguage.g:208:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -432,7 +432,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { switch (alt8) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:217:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalHiddenTokenSequencerTestLanguage.g:208:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -452,7 +452,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } } while (true); - // InternalHiddenTokenSequencerTestLanguage.g:217:40: ( ( '\\r' )? '\\n' )? + // InternalHiddenTokenSequencerTestLanguage.g:208:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -461,9 +461,9 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } switch (alt10) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:217:41: ( '\\r' )? '\\n' + // InternalHiddenTokenSequencerTestLanguage.g:208:41: ( '\\r' )? '\\n' { - // InternalHiddenTokenSequencerTestLanguage.g:217:41: ( '\\r' )? + // InternalHiddenTokenSequencerTestLanguage.g:208:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -472,7 +472,7 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:217:41: '\\r' + // InternalHiddenTokenSequencerTestLanguage.g:208:41: '\\r' { match('\r'); @@ -504,10 +504,10 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:219:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalHiddenTokenSequencerTestLanguage.g:219:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalHiddenTokenSequencerTestLanguage.g:210:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalHiddenTokenSequencerTestLanguage.g:210:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalHiddenTokenSequencerTestLanguage.g:219:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalHiddenTokenSequencerTestLanguage.g:210:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -561,8 +561,8 @@ public class InternalHiddenTokenSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalHiddenTokenSequencerTestLanguage.g:221:16: ( . ) - // InternalHiddenTokenSequencerTestLanguage.g:221:18: . + // InternalHiddenTokenSequencerTestLanguage.g:212:16: ( . ) + // InternalHiddenTokenSequencerTestLanguage.g:212:18: . { matchAny(); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageParser.java index 4dd361211..df6f14aa3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalHiddenTokenSequencerTestLanguageParser.java @@ -1,4 +1,4 @@ -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -53,18 +53,18 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte private HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess; - + public InternalHiddenTokenSequencerTestLanguageParser(TokenStream input, HiddenTokenSequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected HiddenTokenSequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; @@ -72,8 +72,9 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte + // $ANTLR start "entryRuleModel" - // InternalHiddenTokenSequencerTestLanguage.g:67:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; + // InternalHiddenTokenSequencerTestLanguage.g:64:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; public final EObject entryRuleModel() throws RecognitionException { EObject current = null; @@ -81,8 +82,8 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte try { - // InternalHiddenTokenSequencerTestLanguage.g:68:2: (iv_ruleModel= ruleModel EOF ) - // InternalHiddenTokenSequencerTestLanguage.g:69:2: iv_ruleModel= ruleModel EOF + // InternalHiddenTokenSequencerTestLanguage.g:64:46: (iv_ruleModel= ruleModel EOF ) + // InternalHiddenTokenSequencerTestLanguage.g:65:2: iv_ruleModel= ruleModel EOF { newCompositeNode(grammarAccess.getModelRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -96,11 +97,11 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -109,44 +110,45 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte // $ANTLR start "ruleModel" - // InternalHiddenTokenSequencerTestLanguage.g:76:1: ruleModel returns [EObject current=null] : ( (lv_domainModel_0_0= ruleDomainModel ) ) ; + // InternalHiddenTokenSequencerTestLanguage.g:71:1: ruleModel returns [EObject current=null] : ( (lv_domainModel_0_0= ruleDomainModel ) ) ; public final EObject ruleModel() throws RecognitionException { EObject current = null; EObject lv_domainModel_0_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalHiddenTokenSequencerTestLanguage.g:79:28: ( ( (lv_domainModel_0_0= ruleDomainModel ) ) ) - // InternalHiddenTokenSequencerTestLanguage.g:80:1: ( (lv_domainModel_0_0= ruleDomainModel ) ) + // InternalHiddenTokenSequencerTestLanguage.g:77:2: ( ( (lv_domainModel_0_0= ruleDomainModel ) ) ) + // InternalHiddenTokenSequencerTestLanguage.g:78:2: ( (lv_domainModel_0_0= ruleDomainModel ) ) { - // InternalHiddenTokenSequencerTestLanguage.g:80:1: ( (lv_domainModel_0_0= ruleDomainModel ) ) - // InternalHiddenTokenSequencerTestLanguage.g:81:1: (lv_domainModel_0_0= ruleDomainModel ) + // InternalHiddenTokenSequencerTestLanguage.g:78:2: ( (lv_domainModel_0_0= ruleDomainModel ) ) + // InternalHiddenTokenSequencerTestLanguage.g:79:3: (lv_domainModel_0_0= ruleDomainModel ) { - // InternalHiddenTokenSequencerTestLanguage.g:81:1: (lv_domainModel_0_0= ruleDomainModel ) - // InternalHiddenTokenSequencerTestLanguage.g:82:3: lv_domainModel_0_0= ruleDomainModel + // InternalHiddenTokenSequencerTestLanguage.g:79:3: (lv_domainModel_0_0= ruleDomainModel ) + // InternalHiddenTokenSequencerTestLanguage.g:80:4: lv_domainModel_0_0= ruleDomainModel { - - newCompositeNode(grammarAccess.getModelAccess().getDomainModelDomainModelParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getDomainModelDomainModelParserRuleCall_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_domainModel_0_0=ruleDomainModel(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "domainModel", - lv_domainModel_0_0, - "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.DomainModel"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "domainModel", + lv_domainModel_0_0, + "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.DomainModel"); + afterParserOrEnumRuleCall(); + } @@ -156,13 +158,15 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -171,7 +175,7 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte // $ANTLR start "entryRuleDomainModel" - // InternalHiddenTokenSequencerTestLanguage.g:106:1: entryRuleDomainModel returns [EObject current=null] : iv_ruleDomainModel= ruleDomainModel EOF ; + // InternalHiddenTokenSequencerTestLanguage.g:100:1: entryRuleDomainModel returns [EObject current=null] : iv_ruleDomainModel= ruleDomainModel EOF ; public final EObject entryRuleDomainModel() throws RecognitionException { EObject current = null; @@ -179,8 +183,8 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte try { - // InternalHiddenTokenSequencerTestLanguage.g:107:2: (iv_ruleDomainModel= ruleDomainModel EOF ) - // InternalHiddenTokenSequencerTestLanguage.g:108:2: iv_ruleDomainModel= ruleDomainModel EOF + // InternalHiddenTokenSequencerTestLanguage.g:100:52: (iv_ruleDomainModel= ruleDomainModel EOF ) + // InternalHiddenTokenSequencerTestLanguage.g:101:2: iv_ruleDomainModel= ruleDomainModel EOF { newCompositeNode(grammarAccess.getDomainModelRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -194,11 +198,11 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -207,7 +211,7 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte // $ANTLR start "ruleDomainModel" - // InternalHiddenTokenSequencerTestLanguage.g:115:1: ruleDomainModel returns [EObject current=null] : (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) ; + // InternalHiddenTokenSequencerTestLanguage.g:107:1: ruleDomainModel returns [EObject current=null] : (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) ; public final EObject ruleDomainModel() throws RecognitionException { EObject current = null; @@ -216,20 +220,21 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte EObject lv_entities_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalHiddenTokenSequencerTestLanguage.g:118:28: ( (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) ) - // InternalHiddenTokenSequencerTestLanguage.g:119:1: (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) + // InternalHiddenTokenSequencerTestLanguage.g:113:2: ( (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) ) + // InternalHiddenTokenSequencerTestLanguage.g:114:2: (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) { - // InternalHiddenTokenSequencerTestLanguage.g:119:1: (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) - // InternalHiddenTokenSequencerTestLanguage.g:119:3: otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' + // InternalHiddenTokenSequencerTestLanguage.g:114:2: (otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' ) + // InternalHiddenTokenSequencerTestLanguage.g:115:3: otherlv_0= 'entities' ( (lv_entities_1_0= ruleEntity ) )* otherlv_2= 'end' { otherlv_0=(Token)match(input,11,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getDomainModelAccess().getEntitiesKeyword_0()); - - // InternalHiddenTokenSequencerTestLanguage.g:123:1: ( (lv_entities_1_0= ruleEntity ) )* + newLeafNode(otherlv_0, grammarAccess.getDomainModelAccess().getEntitiesKeyword_0()); + + // InternalHiddenTokenSequencerTestLanguage.g:119:3: ( (lv_entities_1_0= ruleEntity ) )* loop1: do { int alt1=2; @@ -242,30 +247,30 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte switch (alt1) { case 1 : - // InternalHiddenTokenSequencerTestLanguage.g:124:1: (lv_entities_1_0= ruleEntity ) + // InternalHiddenTokenSequencerTestLanguage.g:120:4: (lv_entities_1_0= ruleEntity ) { - // InternalHiddenTokenSequencerTestLanguage.g:124:1: (lv_entities_1_0= ruleEntity ) - // InternalHiddenTokenSequencerTestLanguage.g:125:3: lv_entities_1_0= ruleEntity + // InternalHiddenTokenSequencerTestLanguage.g:120:4: (lv_entities_1_0= ruleEntity ) + // InternalHiddenTokenSequencerTestLanguage.g:121:5: lv_entities_1_0= ruleEntity { - - newCompositeNode(grammarAccess.getDomainModelAccess().getEntitiesEntityParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getDomainModelAccess().getEntitiesEntityParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_3); lv_entities_1_0=ruleEntity(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getDomainModelRule()); - } - add( - current, - "entities", - lv_entities_1_0, - "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Entity"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getDomainModelRule()); + } + add( + current, + "entities", + lv_entities_1_0, + "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Entity"); + afterParserOrEnumRuleCall(); + } @@ -280,21 +285,23 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte otherlv_2=(Token)match(input,12,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getDomainModelAccess().getEndKeyword_2()); - + newLeafNode(otherlv_2, grammarAccess.getDomainModelAccess().getEndKeyword_2()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -303,7 +310,7 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte // $ANTLR start "entryRuleEntity" - // InternalHiddenTokenSequencerTestLanguage.g:153:1: entryRuleEntity returns [EObject current=null] : iv_ruleEntity= ruleEntity EOF ; + // InternalHiddenTokenSequencerTestLanguage.g:146:1: entryRuleEntity returns [EObject current=null] : iv_ruleEntity= ruleEntity EOF ; public final EObject entryRuleEntity() throws RecognitionException { EObject current = null; @@ -311,8 +318,8 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte try { - // InternalHiddenTokenSequencerTestLanguage.g:154:2: (iv_ruleEntity= ruleEntity EOF ) - // InternalHiddenTokenSequencerTestLanguage.g:155:2: iv_ruleEntity= ruleEntity EOF + // InternalHiddenTokenSequencerTestLanguage.g:146:47: (iv_ruleEntity= ruleEntity EOF ) + // InternalHiddenTokenSequencerTestLanguage.g:147:2: iv_ruleEntity= ruleEntity EOF { newCompositeNode(grammarAccess.getEntityRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -326,11 +333,11 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -339,68 +346,69 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte // $ANTLR start "ruleEntity" - // InternalHiddenTokenSequencerTestLanguage.g:162:1: ruleEntity returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) ; + // InternalHiddenTokenSequencerTestLanguage.g:153:1: ruleEntity returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) ; public final EObject ruleEntity() throws RecognitionException { EObject current = null; Token lv_name_0_0=null; Token lv_description_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalHiddenTokenSequencerTestLanguage.g:165:28: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) ) - // InternalHiddenTokenSequencerTestLanguage.g:166:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) + // InternalHiddenTokenSequencerTestLanguage.g:159:2: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) ) + // InternalHiddenTokenSequencerTestLanguage.g:160:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) { - // InternalHiddenTokenSequencerTestLanguage.g:166:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) - // InternalHiddenTokenSequencerTestLanguage.g:166:2: ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) + // InternalHiddenTokenSequencerTestLanguage.g:160:2: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) ) + // InternalHiddenTokenSequencerTestLanguage.g:161:3: ( (lv_name_0_0= RULE_ID ) ) ( (lv_description_1_0= RULE_STRING ) ) { - // InternalHiddenTokenSequencerTestLanguage.g:166:2: ( (lv_name_0_0= RULE_ID ) ) - // InternalHiddenTokenSequencerTestLanguage.g:167:1: (lv_name_0_0= RULE_ID ) + // InternalHiddenTokenSequencerTestLanguage.g:161:3: ( (lv_name_0_0= RULE_ID ) ) + // InternalHiddenTokenSequencerTestLanguage.g:162:4: (lv_name_0_0= RULE_ID ) { - // InternalHiddenTokenSequencerTestLanguage.g:167:1: (lv_name_0_0= RULE_ID ) - // InternalHiddenTokenSequencerTestLanguage.g:168:3: lv_name_0_0= RULE_ID + // InternalHiddenTokenSequencerTestLanguage.g:162:4: (lv_name_0_0= RULE_ID ) + // InternalHiddenTokenSequencerTestLanguage.g:163:5: lv_name_0_0= RULE_ID { lv_name_0_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_4); - newLeafNode(lv_name_0_0, grammarAccess.getEntityAccess().getNameIDTerminalRuleCall_0_0()); - + newLeafNode(lv_name_0_0, grammarAccess.getEntityAccess().getNameIDTerminalRuleCall_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getEntityRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getEntityRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalHiddenTokenSequencerTestLanguage.g:184:2: ( (lv_description_1_0= RULE_STRING ) ) - // InternalHiddenTokenSequencerTestLanguage.g:185:1: (lv_description_1_0= RULE_STRING ) + // InternalHiddenTokenSequencerTestLanguage.g:179:3: ( (lv_description_1_0= RULE_STRING ) ) + // InternalHiddenTokenSequencerTestLanguage.g:180:4: (lv_description_1_0= RULE_STRING ) { - // InternalHiddenTokenSequencerTestLanguage.g:185:1: (lv_description_1_0= RULE_STRING ) - // InternalHiddenTokenSequencerTestLanguage.g:186:3: lv_description_1_0= RULE_STRING + // InternalHiddenTokenSequencerTestLanguage.g:180:4: (lv_description_1_0= RULE_STRING ) + // InternalHiddenTokenSequencerTestLanguage.g:181:5: lv_description_1_0= RULE_STRING { lv_description_1_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_2); - newLeafNode(lv_description_1_0, grammarAccess.getEntityAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); - + newLeafNode(lv_description_1_0, grammarAccess.getEntityAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getEntityRule()); - } - setWithLastConsumed( - current, - "description", - lv_description_1_0, - "org.eclipse.xtext.common.Terminals.STRING"); - + if (current==null) { + current = createModelElement(grammarAccess.getEntityRule()); + } + setWithLastConsumed( + current, + "description", + lv_description_1_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } @@ -413,13 +421,15 @@ public class InternalHiddenTokenSequencerTestLanguageParser extends AbstractInte } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.g index ef58575c6..2f611c508 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.g +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguage.g @@ -5,7 +5,6 @@ grammar InternalSequencerTestLanguage; options { superClass=AbstractInternalAntlrParser; - } @lexer::header { @@ -17,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer; } @parser::header { -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -36,4721 +35,4718 @@ import org.eclipse.xtext.serializer.services.SequencerTestLanguageGrammarAccess; @parser::members { private SequencerTestLanguageGrammarAccess grammarAccess; - + public InternalSequencerTestLanguageParser(TokenStream input, SequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected SequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; } + } -@rulecatch { - catch (RecognitionException re) { - recover(input,re); +@rulecatch { + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } } - - - // Entry rule entryRuleModel -entryRuleModel returns [EObject current=null] - : +entryRuleModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getModelRule()); } - iv_ruleModel=ruleModel - { $current=$iv_ruleModel.current; } - EOF -; + iv_ruleModel=ruleModel + { $current=$iv_ruleModel.current; } + EOF; // Rule Model -ruleModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX1SimpleGroupParserRuleCall_0_0()); - } - lv_x1_0_0=ruleSimpleGroup { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x1", - lv_x1_0_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleGroup"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX2SimpleAlternativeParserRuleCall_1_0()); - } - lv_x2_1_0=ruleSimpleAlternative { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x2", - lv_x2_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleAlternative"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX3SimpleMultiplicitiesParserRuleCall_2_0()); - } - lv_x3_2_0=ruleSimpleMultiplicities { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x3", - lv_x3_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleMultiplicities"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX4GroupMultiplicitiesParserRuleCall_3_0()); - } - lv_x4_3_0=ruleGroupMultiplicities { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x4", - lv_x4_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.GroupMultiplicities"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX5AlternativeMultiplicitiesParserRuleCall_4_0()); - } - lv_x5_4_0=ruleAlternativeMultiplicities { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x5", - lv_x5_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AlternativeMultiplicities"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX6List1ParserRuleCall_5_0()); - } - lv_x6_5_0=ruleList1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x6", - lv_x6_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.List1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX7List2ParserRuleCall_6_0()); - } - lv_x7_6_0=ruleList2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x7", - lv_x7_6_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.List2"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX8AltList1ParserRuleCall_7_0()); - } - lv_x8_7_0=ruleAltList1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x8", - lv_x8_7_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX9AltList2ParserRuleCall_8_0()); - } - lv_x9_8_0=ruleAltList2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x9", - lv_x9_8_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList2"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX10SingleKeywordsParserRuleCall_9_0()); - } - lv_x10_9_0=ruleSingleKeywords { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x10", - lv_x10_9_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywords"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX11SingleKeywordsOrIDParserRuleCall_10_0()); - } - lv_x11_10_0=ruleSingleKeywordsOrID { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x11", - lv_x11_10_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywordsOrID"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX12SingleTerminalsParserRuleCall_11_0()); - } - lv_x12_11_0=ruleSingleTerminals { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x12", - lv_x12_11_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleTerminals"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX10MultiKeywordsParserRuleCall_12_0()); - } - lv_x10_12_0=ruleMultiKeywords { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x10", - lv_x10_12_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywords"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX11MultiKeywordsOrIDParserRuleCall_13_0()); - } - lv_x11_13_0=ruleMultiKeywordsOrID { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x11", - lv_x11_13_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywordsOrID"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX12MultiTerminalsParserRuleCall_14_0()); - } - lv_x12_14_0=ruleMultiTerminals { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x12", - lv_x12_14_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiTerminals"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX13SingleEnumParserRuleCall_15_0()); - } - lv_x13_15_0=ruleSingleEnum { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x13", - lv_x13_15_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleEnum"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX14SingleCrossReferenceParserRuleCall_16_0()); - } - lv_x14_16_0=ruleSingleCrossReference { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x14", - lv_x14_16_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleCrossReference"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX15SingleContainmentReferenceParserRuleCall_17_0()); - } - lv_x15_17_0=ruleSingleContainmentReference { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x15", - lv_x15_17_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReference"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX19DependentAlternative1ParserRuleCall_18_0()); - } - lv_x19_18_0=ruleDependentAlternative1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x19", - lv_x19_18_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX20DependentAlternative2ParserRuleCall_19_0()); - } - lv_x20_19_0=ruleDependentAlternative2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x20", - lv_x20_19_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative2"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX21OptionalParserRuleCall_20_0()); - } - lv_x21_20_0=ruleOptional { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x21", - lv_x21_20_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Optional"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX22FloatParserRuleCall_21_0()); - } - lv_x22_21_0=ruleFloat { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x22", - lv_x22_21_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Float"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX23UnorderedAlternativeParserRuleCall_22_0()); - } - lv_x23_22_0=ruleUnorderedAlternative { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x23", - lv_x23_22_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternative"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX24UnorderedGroupParserRuleCall_23_0()); - } - lv_x24_23_0=ruleUnorderedGroup { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x24", - lv_x24_23_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroup"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX25UnorderedGroupOptionalParserRuleCall_24_0()); - } - lv_x25_24_0=ruleUnorderedGroupOptional { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x25", - lv_x25_24_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupOptional"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX26UnorderedGroupBooleanParserRuleCall_25_0()); - } - lv_x26_25_0=ruleUnorderedGroupBoolean { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x26", - lv_x26_25_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupBoolean"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX27Complex1ParserRuleCall_26_0()); - } - lv_x27_26_0=ruleComplex1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x27", - lv_x27_26_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Complex1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX28OptionalDoubleParserRuleCall_27_0()); - } - lv_x28_27_0=ruleOptionalDouble { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x28", - lv_x28_27_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.OptionalDouble"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX29NullValueGeneratedParserRuleCall_28_0()); - } - lv_x29_28_0=ruleNullValueGenerated { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x29", - lv_x29_28_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueGenerated"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX30NullValueInterpretedParserRuleCall_29_0()); - } - lv_x30_29_0=ruleNullValueInterpreted { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x30", - lv_x30_29_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueInterpreted"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX31NullCrossRefGeneratedParserRuleCall_30_0()); - } - lv_x31_30_0=ruleNullCrossRefGenerated { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x31", - lv_x31_30_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefGenerated"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX32NullCrossRefInterpretedParserRuleCall_31_0()); - } - lv_x32_31_0=ruleNullCrossRefInterpreted { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x32", - lv_x32_31_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefInterpreted"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX33FragmentCallerParserRuleCall_32_0()); - } - lv_x33_32_0=ruleFragmentCaller { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x33", - lv_x33_32_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.FragmentCaller"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX34ParameterCallerParserRuleCall_33_0()); - } - lv_x34_33_0=ruleParameterCaller { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x34", - lv_x34_33_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterCaller"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX35ParameterDelegationParserRuleCall_34_0()); - } - lv_x35_34_0=ruleParameterDelegation { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x35", - lv_x35_34_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterDelegation"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX1SimpleGroupParserRuleCall_0_0()); + } + lv_x1_0_0=ruleSimpleGroup + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x1", + lv_x1_0_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleGroup"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX2SimpleAlternativeParserRuleCall_1_0()); + } + lv_x2_1_0=ruleSimpleAlternative + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x2", + lv_x2_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleAlternative"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX3SimpleMultiplicitiesParserRuleCall_2_0()); + } + lv_x3_2_0=ruleSimpleMultiplicities + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x3", + lv_x3_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleMultiplicities"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX4GroupMultiplicitiesParserRuleCall_3_0()); + } + lv_x4_3_0=ruleGroupMultiplicities + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x4", + lv_x4_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.GroupMultiplicities"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX5AlternativeMultiplicitiesParserRuleCall_4_0()); + } + lv_x5_4_0=ruleAlternativeMultiplicities + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x5", + lv_x5_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AlternativeMultiplicities"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX6List1ParserRuleCall_5_0()); + } + lv_x6_5_0=ruleList1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x6", + lv_x6_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.List1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX7List2ParserRuleCall_6_0()); + } + lv_x7_6_0=ruleList2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x7", + lv_x7_6_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.List2"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX8AltList1ParserRuleCall_7_0()); + } + lv_x8_7_0=ruleAltList1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x8", + lv_x8_7_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX9AltList2ParserRuleCall_8_0()); + } + lv_x9_8_0=ruleAltList2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x9", + lv_x9_8_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList2"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX10SingleKeywordsParserRuleCall_9_0()); + } + lv_x10_9_0=ruleSingleKeywords + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x10", + lv_x10_9_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywords"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX11SingleKeywordsOrIDParserRuleCall_10_0()); + } + lv_x11_10_0=ruleSingleKeywordsOrID + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x11", + lv_x11_10_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywordsOrID"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX12SingleTerminalsParserRuleCall_11_0()); + } + lv_x12_11_0=ruleSingleTerminals + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x12", + lv_x12_11_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleTerminals"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX10MultiKeywordsParserRuleCall_12_0()); + } + lv_x10_12_0=ruleMultiKeywords + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x10", + lv_x10_12_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywords"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX11MultiKeywordsOrIDParserRuleCall_13_0()); + } + lv_x11_13_0=ruleMultiKeywordsOrID + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x11", + lv_x11_13_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywordsOrID"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX12MultiTerminalsParserRuleCall_14_0()); + } + lv_x12_14_0=ruleMultiTerminals + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x12", + lv_x12_14_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiTerminals"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX13SingleEnumParserRuleCall_15_0()); + } + lv_x13_15_0=ruleSingleEnum + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x13", + lv_x13_15_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleEnum"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX14SingleCrossReferenceParserRuleCall_16_0()); + } + lv_x14_16_0=ruleSingleCrossReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x14", + lv_x14_16_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleCrossReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX15SingleContainmentReferenceParserRuleCall_17_0()); + } + lv_x15_17_0=ruleSingleContainmentReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x15", + lv_x15_17_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX19DependentAlternative1ParserRuleCall_18_0()); + } + lv_x19_18_0=ruleDependentAlternative1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x19", + lv_x19_18_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX20DependentAlternative2ParserRuleCall_19_0()); + } + lv_x20_19_0=ruleDependentAlternative2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x20", + lv_x20_19_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative2"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX21OptionalParserRuleCall_20_0()); + } + lv_x21_20_0=ruleOptional + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x21", + lv_x21_20_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Optional"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX22FloatParserRuleCall_21_0()); + } + lv_x22_21_0=ruleFloat + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x22", + lv_x22_21_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Float"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX23UnorderedAlternativeParserRuleCall_22_0()); + } + lv_x23_22_0=ruleUnorderedAlternative + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x23", + lv_x23_22_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternative"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX24UnorderedGroupParserRuleCall_23_0()); + } + lv_x24_23_0=ruleUnorderedGroup + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x24", + lv_x24_23_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroup"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX25UnorderedGroupOptionalParserRuleCall_24_0()); + } + lv_x25_24_0=ruleUnorderedGroupOptional + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x25", + lv_x25_24_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupOptional"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX26UnorderedGroupBooleanParserRuleCall_25_0()); + } + lv_x26_25_0=ruleUnorderedGroupBoolean + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x26", + lv_x26_25_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupBoolean"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX27Complex1ParserRuleCall_26_0()); + } + lv_x27_26_0=ruleComplex1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x27", + lv_x27_26_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Complex1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX28OptionalDoubleParserRuleCall_27_0()); + } + lv_x28_27_0=ruleOptionalDouble + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x28", + lv_x28_27_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.OptionalDouble"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX29NullValueGeneratedParserRuleCall_28_0()); + } + lv_x29_28_0=ruleNullValueGenerated + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x29", + lv_x29_28_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueGenerated"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX30NullValueInterpretedParserRuleCall_29_0()); + } + lv_x30_29_0=ruleNullValueInterpreted + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x30", + lv_x30_29_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueInterpreted"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX31NullCrossRefGeneratedParserRuleCall_30_0()); + } + lv_x31_30_0=ruleNullCrossRefGenerated + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x31", + lv_x31_30_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefGenerated"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX32NullCrossRefInterpretedParserRuleCall_31_0()); + } + lv_x32_31_0=ruleNullCrossRefInterpreted + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x32", + lv_x32_31_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefInterpreted"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX33FragmentCallerParserRuleCall_32_0()); + } + lv_x33_32_0=ruleFragmentCaller + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x33", + lv_x33_32_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.FragmentCaller"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX34ParameterCallerParserRuleCall_33_0()); + } + lv_x34_33_0=ruleParameterCaller + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x34", + lv_x34_33_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterCaller"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX35ParameterDelegationParserRuleCall_34_0()); + } + lv_x35_34_0=ruleParameterDelegation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x35", + lv_x35_34_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterDelegation"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleSimpleGroup -entryRuleSimpleGroup returns [EObject current=null] - : +entryRuleSimpleGroup returns [EObject current=null]: { newCompositeNode(grammarAccess.getSimpleGroupRule()); } - iv_ruleSimpleGroup=ruleSimpleGroup - { $current=$iv_ruleSimpleGroup.current; } - EOF -; + iv_ruleSimpleGroup=ruleSimpleGroup + { $current=$iv_ruleSimpleGroup.current; } + EOF; // Rule SimpleGroup -ruleSimpleGroup returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#1' - { - newLeafNode(otherlv_0, grammarAccess.getSimpleGroupAccess().getNumberSignDigitOneKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleSimpleGroup returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#1' { - newLeafNode(lv_val1_1_0, grammarAccess.getSimpleGroupAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getSimpleGroupAccess().getNumberSignDigitOneKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleGroupRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val2_2_0=RULE_ID - { - newLeafNode(lv_val2_2_0, grammarAccess.getSimpleGroupAccess().getVal2IDTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleGroupRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getSimpleGroupAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleGroupRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val2_2_0=RULE_ID + { + newLeafNode(lv_val2_2_0, grammarAccess.getSimpleGroupAccess().getVal2IDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleGroupRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleSimpleAlternative -entryRuleSimpleAlternative returns [EObject current=null] - : +entryRuleSimpleAlternative returns [EObject current=null]: { newCompositeNode(grammarAccess.getSimpleAlternativeRule()); } - iv_ruleSimpleAlternative=ruleSimpleAlternative - { $current=$iv_ruleSimpleAlternative.current; } - EOF -; + iv_ruleSimpleAlternative=ruleSimpleAlternative + { $current=$iv_ruleSimpleAlternative.current; } + EOF; // Rule SimpleAlternative -ruleSimpleAlternative returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#2' - { - newLeafNode(otherlv_0, grammarAccess.getSimpleAlternativeAccess().getNumberSignDigitTwoKeyword_0()); - } -(( otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getSimpleAlternativeAccess().getKw1Keyword_1_0_0()); - } -( -( - lv_val1_2_0=RULE_ID +ruleSimpleAlternative returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#2' { - newLeafNode(lv_val1_2_0, grammarAccess.getSimpleAlternativeAccess().getVal1IDTerminalRuleCall_1_0_1_0()); + newLeafNode(otherlv_0, grammarAccess.getSimpleAlternativeAccess().getNumberSignDigitTwoKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleAlternativeRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_3='kw2' - { - newLeafNode(otherlv_3, grammarAccess.getSimpleAlternativeAccess().getKw2Keyword_1_1_0()); - } -( -( - lv_val2_4_0=RULE_ID - { - newLeafNode(lv_val2_4_0, grammarAccess.getSimpleAlternativeAccess().getVal2IDTerminalRuleCall_1_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleAlternativeRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))) + ( + ( + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getSimpleAlternativeAccess().getKw1Keyword_1_0_0()); + } + ( + ( + lv_val1_2_0=RULE_ID + { + newLeafNode(lv_val1_2_0, grammarAccess.getSimpleAlternativeAccess().getVal1IDTerminalRuleCall_1_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleAlternativeRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_3='kw2' + { + newLeafNode(otherlv_3, grammarAccess.getSimpleAlternativeAccess().getKw2Keyword_1_1_0()); + } + ( + ( + lv_val2_4_0=RULE_ID + { + newLeafNode(lv_val2_4_0, grammarAccess.getSimpleAlternativeAccess().getVal2IDTerminalRuleCall_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleAlternativeRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSimpleMultiplicities -entryRuleSimpleMultiplicities returns [EObject current=null] - : +entryRuleSimpleMultiplicities returns [EObject current=null]: { newCompositeNode(grammarAccess.getSimpleMultiplicitiesRule()); } - iv_ruleSimpleMultiplicities=ruleSimpleMultiplicities - { $current=$iv_ruleSimpleMultiplicities.current; } - EOF -; + iv_ruleSimpleMultiplicities=ruleSimpleMultiplicities + { $current=$iv_ruleSimpleMultiplicities.current; } + EOF; // Rule SimpleMultiplicities -ruleSimpleMultiplicities returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#3' - { - newLeafNode(otherlv_0, grammarAccess.getSimpleMultiplicitiesAccess().getNumberSignDigitThreeKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleSimpleMultiplicities returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#3' { - newLeafNode(lv_val1_1_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getSimpleMultiplicitiesAccess().getNumberSignDigitThreeKeyword_0()); } + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_2='kw1' { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getSimpleMultiplicitiesAccess().getKw1Keyword_2()); - } -( -( - lv_val2_3_0=RULE_ID - { - newLeafNode(lv_val2_3_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0()); + newLeafNode(otherlv_2, grammarAccess.getSimpleMultiplicitiesAccess().getKw1Keyword_2()); } + ( + ( + lv_val2_3_0=RULE_ID + { + newLeafNode(lv_val2_3_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + otherlv_4='kw2' { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)? otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getSimpleMultiplicitiesAccess().getKw2Keyword_4()); - } -( -( - lv_val3_5_0=RULE_ID - { - newLeafNode(lv_val3_5_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal3IDTerminalRuleCall_5_0()); + newLeafNode(otherlv_4, grammarAccess.getSimpleMultiplicitiesAccess().getKw2Keyword_4()); } + ( + ( + lv_val3_5_0=RULE_ID + { + newLeafNode(lv_val3_5_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal3IDTerminalRuleCall_5_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val3", + lv_val3_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )+ + otherlv_6='kw3' { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val3", - lv_val3_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)+ otherlv_6='kw3' - { - newLeafNode(otherlv_6, grammarAccess.getSimpleMultiplicitiesAccess().getKw3Keyword_6()); - } -( -( - lv_val4_7_0=RULE_ID - { - newLeafNode(lv_val4_7_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal4IDTerminalRuleCall_7_0()); + newLeafNode(otherlv_6, grammarAccess.getSimpleMultiplicitiesAccess().getKw3Keyword_6()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val4", - lv_val4_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)*) + ( + ( + lv_val4_7_0=RULE_ID + { + newLeafNode(lv_val4_7_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal4IDTerminalRuleCall_7_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val4", + lv_val4_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )* + ) ; - - - - // Entry rule entryRuleGroupMultiplicities -entryRuleGroupMultiplicities returns [EObject current=null] - : +entryRuleGroupMultiplicities returns [EObject current=null]: { newCompositeNode(grammarAccess.getGroupMultiplicitiesRule()); } - iv_ruleGroupMultiplicities=ruleGroupMultiplicities - { $current=$iv_ruleGroupMultiplicities.current; } - EOF -; + iv_ruleGroupMultiplicities=ruleGroupMultiplicities + { $current=$iv_ruleGroupMultiplicities.current; } + EOF; // Rule GroupMultiplicities -ruleGroupMultiplicities returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#4' - { - newLeafNode(otherlv_0, grammarAccess.getGroupMultiplicitiesAccess().getNumberSignDigitFourKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleGroupMultiplicities returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#4' { - newLeafNode(lv_val1_1_0, grammarAccess.getGroupMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getGroupMultiplicitiesAccess().getNumberSignDigitFourKeyword_0()); } + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getGroupMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_2='kw1' { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getGroupMultiplicitiesAccess().getKw1Keyword_2()); - } -(( -( - lv_val2_3_0=RULE_ID - { - newLeafNode(lv_val2_3_0, grammarAccess.getGroupMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0_0()); + newLeafNode(otherlv_2, grammarAccess.getGroupMultiplicitiesAccess().getKw1Keyword_2()); } + ( + ( + ( + lv_val2_3_0=RULE_ID + { + newLeafNode(lv_val2_3_0, grammarAccess.getGroupMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val3_4_0=RULE_ID + { + newLeafNode(lv_val3_4_0, grammarAccess.getGroupMultiplicitiesAccess().getVal3IDTerminalRuleCall_3_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )? + otherlv_5='kw2' { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val3_4_0=RULE_ID - { - newLeafNode(lv_val3_4_0, grammarAccess.getGroupMultiplicitiesAccess().getVal3IDTerminalRuleCall_3_1_0()); + newLeafNode(otherlv_5, grammarAccess.getGroupMultiplicitiesAccess().getKw2Keyword_4()); } + ( + ( + ( + lv_val4_6_0=RULE_ID + { + newLeafNode(lv_val4_6_0, grammarAccess.getGroupMultiplicitiesAccess().getVal4IDTerminalRuleCall_5_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val4", + lv_val4_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val5_7_0=RULE_ID + { + newLeafNode(lv_val5_7_0, grammarAccess.getGroupMultiplicitiesAccess().getVal5IDTerminalRuleCall_5_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val5", + lv_val5_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )+ + otherlv_8='kw3' { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))? otherlv_5='kw2' - { - newLeafNode(otherlv_5, grammarAccess.getGroupMultiplicitiesAccess().getKw2Keyword_4()); - } -(( -( - lv_val4_6_0=RULE_ID - { - newLeafNode(lv_val4_6_0, grammarAccess.getGroupMultiplicitiesAccess().getVal4IDTerminalRuleCall_5_0_0()); + newLeafNode(otherlv_8, grammarAccess.getGroupMultiplicitiesAccess().getKw3Keyword_6()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val4", - lv_val4_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val5_7_0=RULE_ID - { - newLeafNode(lv_val5_7_0, grammarAccess.getGroupMultiplicitiesAccess().getVal5IDTerminalRuleCall_5_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val5", - lv_val5_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))+ otherlv_8='kw3' - { - newLeafNode(otherlv_8, grammarAccess.getGroupMultiplicitiesAccess().getKw3Keyword_6()); - } -(( -( - lv_val6_9_0=RULE_ID - { - newLeafNode(lv_val6_9_0, grammarAccess.getGroupMultiplicitiesAccess().getVal6IDTerminalRuleCall_7_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val6", - lv_val6_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val7_10_0=RULE_ID - { - newLeafNode(lv_val7_10_0, grammarAccess.getGroupMultiplicitiesAccess().getVal7IDTerminalRuleCall_7_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val7", - lv_val7_10_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))*) + ( + ( + ( + lv_val6_9_0=RULE_ID + { + newLeafNode(lv_val6_9_0, grammarAccess.getGroupMultiplicitiesAccess().getVal6IDTerminalRuleCall_7_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val6", + lv_val6_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val7_10_0=RULE_ID + { + newLeafNode(lv_val7_10_0, grammarAccess.getGroupMultiplicitiesAccess().getVal7IDTerminalRuleCall_7_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val7", + lv_val7_10_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRuleAlternativeMultiplicities -entryRuleAlternativeMultiplicities returns [EObject current=null] - : +entryRuleAlternativeMultiplicities returns [EObject current=null]: { newCompositeNode(grammarAccess.getAlternativeMultiplicitiesRule()); } - iv_ruleAlternativeMultiplicities=ruleAlternativeMultiplicities - { $current=$iv_ruleAlternativeMultiplicities.current; } - EOF -; + iv_ruleAlternativeMultiplicities=ruleAlternativeMultiplicities + { $current=$iv_ruleAlternativeMultiplicities.current; } + EOF; // Rule AlternativeMultiplicities -ruleAlternativeMultiplicities returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#5' - { - newLeafNode(otherlv_0, grammarAccess.getAlternativeMultiplicitiesAccess().getNumberSignDigitFiveKeyword_0()); - } -(( -( - lv_val2_1_0=RULE_ID +ruleAlternativeMultiplicities returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#5' { - newLeafNode(lv_val2_1_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal2IDTerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getAlternativeMultiplicitiesAccess().getNumberSignDigitFiveKeyword_0()); } + ( + ( + ( + lv_val2_1_0=RULE_ID + { + newLeafNode(lv_val2_1_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal2IDTerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + | + ( + otherlv_2='kw1' + { + newLeafNode(otherlv_2, grammarAccess.getAlternativeMultiplicitiesAccess().getKw1Keyword_1_1_0()); + } + ( + ( + lv_val3_3_0=RULE_ID + { + newLeafNode(lv_val3_3_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal3IDTerminalRuleCall_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + )? + otherlv_4='kw2' { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - |( otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getAlternativeMultiplicitiesAccess().getKw1Keyword_1_1_0()); - } -( -( - lv_val3_3_0=RULE_ID - { - newLeafNode(lv_val3_3_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal3IDTerminalRuleCall_1_1_1_0()); + newLeafNode(otherlv_4, grammarAccess.getAlternativeMultiplicitiesAccess().getKw2Keyword_2()); } + ( + ( + ( + lv_val4_5_0=RULE_ID + { + newLeafNode(lv_val4_5_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal4IDTerminalRuleCall_3_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + | + ( + otherlv_6='kw3' + { + newLeafNode(otherlv_6, grammarAccess.getAlternativeMultiplicitiesAccess().getKw3Keyword_3_1_0()); + } + ( + ( + lv_val5_7_0=RULE_ID + { + newLeafNode(lv_val5_7_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal5IDTerminalRuleCall_3_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val5", + lv_val5_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + )+ + otherlv_8='kw4' { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))? otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getAlternativeMultiplicitiesAccess().getKw2Keyword_2()); - } -(( -( - lv_val4_5_0=RULE_ID - { - newLeafNode(lv_val4_5_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal4IDTerminalRuleCall_3_0_0()); + newLeafNode(otherlv_8, grammarAccess.getAlternativeMultiplicitiesAccess().getKw4Keyword_4()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - |( otherlv_6='kw3' - { - newLeafNode(otherlv_6, grammarAccess.getAlternativeMultiplicitiesAccess().getKw3Keyword_3_1_0()); - } -( -( - lv_val5_7_0=RULE_ID - { - newLeafNode(lv_val5_7_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal5IDTerminalRuleCall_3_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val5", - lv_val5_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))+ otherlv_8='kw4' - { - newLeafNode(otherlv_8, grammarAccess.getAlternativeMultiplicitiesAccess().getKw4Keyword_4()); - } -(( -( - lv_val6_9_0=RULE_ID - { - newLeafNode(lv_val6_9_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal6IDTerminalRuleCall_5_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val6", - lv_val6_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - |( otherlv_10='kw5' - { - newLeafNode(otherlv_10, grammarAccess.getAlternativeMultiplicitiesAccess().getKw5Keyword_5_1_0()); - } -( -( - lv_val7_11_0=RULE_ID - { - newLeafNode(lv_val7_11_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal7IDTerminalRuleCall_5_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - $current, - "val7", - lv_val7_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))*) + ( + ( + ( + lv_val6_9_0=RULE_ID + { + newLeafNode(lv_val6_9_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal6IDTerminalRuleCall_5_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val6", + lv_val6_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + | + ( + otherlv_10='kw5' + { + newLeafNode(otherlv_10, grammarAccess.getAlternativeMultiplicitiesAccess().getKw5Keyword_5_1_0()); + } + ( + ( + lv_val7_11_0=RULE_ID + { + newLeafNode(lv_val7_11_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal7IDTerminalRuleCall_5_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + $current, + "val7", + lv_val7_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + )* + ) ; - - - - // Entry rule entryRuleList1 -entryRuleList1 returns [EObject current=null] - : +entryRuleList1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getList1Rule()); } - iv_ruleList1=ruleList1 - { $current=$iv_ruleList1.current; } - EOF -; + iv_ruleList1=ruleList1 + { $current=$iv_ruleList1.current; } + EOF; // Rule List1 -ruleList1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#6' - { - newLeafNode(otherlv_0, grammarAccess.getList1Access().getNumberSignDigitSixKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleList1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#6' { - newLeafNode(lv_val1_1_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getList1Access().getNumberSignDigitSixKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getList1Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getList1Access().getCommaKeyword_2_0()); - } -( -( - lv_val1_3_0=RULE_ID - { - newLeafNode(lv_val1_3_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getList1Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))*) + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getList1Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getList1Access().getCommaKeyword_2_0()); + } + ( + ( + lv_val1_3_0=RULE_ID + { + newLeafNode(lv_val1_3_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getList1Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRuleList2 -entryRuleList2 returns [EObject current=null] - : +entryRuleList2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getList2Rule()); } - iv_ruleList2=ruleList2 - { $current=$iv_ruleList2.current; } - EOF -; + iv_ruleList2=ruleList2 + { $current=$iv_ruleList2.current; } + EOF; // Rule List2 -ruleList2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#7' - { - newLeafNode(otherlv_0, grammarAccess.getList2Access().getNumberSignDigitSevenKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getList2Access().getList2Action_1(), - $current); - } -)(( -( - lv_val1_2_0=RULE_ID +ruleList2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#7' { - newLeafNode(lv_val1_2_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_0_0()); + newLeafNode(otherlv_0, grammarAccess.getList2Access().getNumberSignDigitSevenKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getList2Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getList2Access().getCommaKeyword_2_1_0()); - } -( -( - lv_val1_4_0=RULE_ID - { - newLeafNode(lv_val1_4_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getList2Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))*)?) + ( + { + $current = forceCreateModelElement( + grammarAccess.getList2Access().getList2Action_1(), + $current); + } + ) + ( + ( + ( + lv_val1_2_0=RULE_ID + { + newLeafNode(lv_val1_2_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getList2Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getList2Access().getCommaKeyword_2_1_0()); + } + ( + ( + lv_val1_4_0=RULE_ID + { + newLeafNode(lv_val1_4_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getList2Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )* + )? + ) ; - - - - // Entry rule entryRuleAltList1 -entryRuleAltList1 returns [EObject current=null] - : +entryRuleAltList1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAltList1Rule()); } - iv_ruleAltList1=ruleAltList1 - { $current=$iv_ruleAltList1.current; } - EOF -; + iv_ruleAltList1=ruleAltList1 + { $current=$iv_ruleAltList1.current; } + EOF; // Rule AltList1 -ruleAltList1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#8' - { - newLeafNode(otherlv_0, grammarAccess.getAltList1Access().getNumberSignDigitEightKeyword_0()); - } -((( -( - lv_val1_1_0=RULE_ID +ruleAltList1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#8' { - newLeafNode(lv_val1_1_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_0_0_0()); + newLeafNode(otherlv_0, grammarAccess.getAltList1Access().getNumberSignDigitEightKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val2_2_0=RULE_ID - { - newLeafNode(lv_val2_2_0, grammarAccess.getAltList1Access().getVal2IDTerminalRuleCall_1_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_3='kw1' - { - newLeafNode(otherlv_3, grammarAccess.getAltList1Access().getKw1Keyword_1_1_0()); - } -( -( - lv_val1_4_0=RULE_ID - { - newLeafNode(lv_val1_4_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val3_5_0=RULE_ID - { - newLeafNode(lv_val3_5_0, grammarAccess.getAltList1Access().getVal3IDTerminalRuleCall_1_1_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_6='kw2' - { - newLeafNode(otherlv_6, grammarAccess.getAltList1Access().getKw2Keyword_1_2_0()); - } -( -( - lv_val1_7_0=RULE_ID - { - newLeafNode(lv_val1_7_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val4_8_0=RULE_ID - { - newLeafNode(lv_val4_8_0, grammarAccess.getAltList1Access().getVal4IDTerminalRuleCall_1_2_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - $current, - "val4", - lv_val4_8_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?))) + ( + ( + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val2_2_0=RULE_ID + { + newLeafNode(lv_val2_2_0, grammarAccess.getAltList1Access().getVal2IDTerminalRuleCall_1_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_3='kw1' + { + newLeafNode(otherlv_3, grammarAccess.getAltList1Access().getKw1Keyword_1_1_0()); + } + ( + ( + lv_val1_4_0=RULE_ID + { + newLeafNode(lv_val1_4_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val3_5_0=RULE_ID + { + newLeafNode(lv_val3_5_0, grammarAccess.getAltList1Access().getVal3IDTerminalRuleCall_1_1_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_6='kw2' + { + newLeafNode(otherlv_6, grammarAccess.getAltList1Access().getKw2Keyword_1_2_0()); + } + ( + ( + lv_val1_7_0=RULE_ID + { + newLeafNode(lv_val1_7_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val4_8_0=RULE_ID + { + newLeafNode(lv_val4_8_0, grammarAccess.getAltList1Access().getVal4IDTerminalRuleCall_1_2_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + $current, + "val4", + lv_val4_8_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + ) + ) ; - - - - // Entry rule entryRuleAltList2 -entryRuleAltList2 returns [EObject current=null] - : +entryRuleAltList2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAltList2Rule()); } - iv_ruleAltList2=ruleAltList2 - { $current=$iv_ruleAltList2.current; } - EOF -; + iv_ruleAltList2=ruleAltList2 + { $current=$iv_ruleAltList2.current; } + EOF; // Rule AltList2 -ruleAltList2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#9' - { - newLeafNode(otherlv_0, grammarAccess.getAltList2Access().getNumberSignDigitNineKeyword_0()); - } -((( -( - lv_val1_1_0=RULE_ID +ruleAltList2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#9' { - newLeafNode(lv_val1_1_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_0_0_0()); + newLeafNode(otherlv_0, grammarAccess.getAltList2Access().getNumberSignDigitNineKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val2_2_0=RULE_ID - { - newLeafNode(lv_val2_2_0, grammarAccess.getAltList2Access().getVal2IDTerminalRuleCall_1_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList2Rule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_3='kw' - { - newLeafNode(otherlv_3, grammarAccess.getAltList2Access().getKwKeyword_1_1_0()); - } -( -( - lv_val1_4_0=RULE_ID - { - newLeafNode(lv_val1_4_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( otherlv_5=',' - { - newLeafNode(otherlv_5, grammarAccess.getAltList2Access().getCommaKeyword_1_1_2_0()); - } -( -( - lv_val1_6_0=RULE_ID - { - newLeafNode(lv_val1_6_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))*( -( - lv_val3_7_0=RULE_ID - { - newLeafNode(lv_val3_7_0, grammarAccess.getAltList2Access().getVal3IDTerminalRuleCall_1_1_3_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAltList2Rule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))) + ( + ( + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val2_2_0=RULE_ID + { + newLeafNode(lv_val2_2_0, grammarAccess.getAltList2Access().getVal2IDTerminalRuleCall_1_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList2Rule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_3='kw' + { + newLeafNode(otherlv_3, grammarAccess.getAltList2Access().getKwKeyword_1_1_0()); + } + ( + ( + lv_val1_4_0=RULE_ID + { + newLeafNode(lv_val1_4_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAltList2Access().getCommaKeyword_1_1_2_0()); + } + ( + ( + lv_val1_6_0=RULE_ID + { + newLeafNode(lv_val1_6_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )* + ( + ( + lv_val3_7_0=RULE_ID + { + newLeafNode(lv_val3_7_0, grammarAccess.getAltList2Access().getVal3IDTerminalRuleCall_1_1_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAltList2Rule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleKeywords -entryRuleSingleKeywords returns [EObject current=null] - : +entryRuleSingleKeywords returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleKeywordsRule()); } - iv_ruleSingleKeywords=ruleSingleKeywords - { $current=$iv_ruleSingleKeywords.current; } - EOF -; + iv_ruleSingleKeywords=ruleSingleKeywords + { $current=$iv_ruleSingleKeywords.current; } + EOF; // Rule SingleKeywords -ruleSingleKeywords returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#10' - { - newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsAccess().getNumberSignDigitOneDigitZeroKeyword_0()); - } -( -( -( - lv_val_1_1= 'kw1' - { - newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsAccess().getValKw1Keyword_1_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed($current, "val", lv_val_1_1, null); - } - - | lv_val_1_2= 'kw2' - { - newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsAccess().getValKw2Keyword_1_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed($current, "val", lv_val_1_2, null); - } - - | lv_val_1_3= 'kw3' - { - newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsAccess().getValKw3Keyword_1_0_2()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed($current, "val", lv_val_1_3, null); - } - -) - -) -)) +ruleSingleKeywords returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#10' + { + newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsAccess().getNumberSignDigitOneDigitZeroKeyword_0()); + } + ( + ( + ( + lv_val_1_1='kw1' + { + newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsAccess().getValKw1Keyword_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed($current, "val", lv_val_1_1, null); + } + | + lv_val_1_2='kw2' + { + newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsAccess().getValKw2Keyword_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed($current, "val", lv_val_1_2, null); + } + | + lv_val_1_3='kw3' + { + newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsAccess().getValKw3Keyword_1_0_2()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed($current, "val", lv_val_1_3, null); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleKeywordsOrID -entryRuleSingleKeywordsOrID returns [EObject current=null] - : +entryRuleSingleKeywordsOrID returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleKeywordsOrIDRule()); } - iv_ruleSingleKeywordsOrID=ruleSingleKeywordsOrID - { $current=$iv_ruleSingleKeywordsOrID.current; } - EOF -; + iv_ruleSingleKeywordsOrID=ruleSingleKeywordsOrID + { $current=$iv_ruleSingleKeywordsOrID.current; } + EOF; // Rule SingleKeywordsOrID -ruleSingleKeywordsOrID returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#11' - { - newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsOrIDAccess().getNumberSignDigitOneDigitOneKeyword_0()); - } -( -( -( - lv_val_1_1= 'kw1' - { - newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed($current, "val", lv_val_1_1, null); - } - - | lv_val_1_2= 'kw2' - { - newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed($current, "val", lv_val_1_2, null); - } - - | lv_val_1_3= 'kw3' - { - newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed($current, "val", lv_val_1_3, null); - } - - | lv_val_1_4=RULE_ID +ruleSingleKeywordsOrID returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#11' { - newLeafNode(lv_val_1_4, grammarAccess.getSingleKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsOrIDAccess().getNumberSignDigitOneDigitOneKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_4, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) - -) -)) + ( + ( + ( + lv_val_1_1='kw1' + { + newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed($current, "val", lv_val_1_1, null); + } + | + lv_val_1_2='kw2' + { + newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed($current, "val", lv_val_1_2, null); + } + | + lv_val_1_3='kw3' + { + newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed($current, "val", lv_val_1_3, null); + } + | + lv_val_1_4=RULE_ID + { + newLeafNode(lv_val_1_4, grammarAccess.getSingleKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_4, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleTerminals -entryRuleSingleTerminals returns [EObject current=null] - : +entryRuleSingleTerminals returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleTerminalsRule()); } - iv_ruleSingleTerminals=ruleSingleTerminals - { $current=$iv_ruleSingleTerminals.current; } - EOF -; + iv_ruleSingleTerminals=ruleSingleTerminals + { $current=$iv_ruleSingleTerminals.current; } + EOF; // Rule SingleTerminals -ruleSingleTerminals returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#12' - { - newLeafNode(otherlv_0, grammarAccess.getSingleTerminalsAccess().getNumberSignDigitOneDigitTwoKeyword_0()); - } -( -( -( - lv_val_1_1=RULE_ID1 +ruleSingleTerminals returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#12' { - newLeafNode(lv_val_1_1, grammarAccess.getSingleTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getSingleTerminalsAccess().getNumberSignDigitOneDigitTwoKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleTerminalsRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - } - - | lv_val_1_2=RULE_ID2 - { - newLeafNode(lv_val_1_2, grammarAccess.getSingleTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleTerminalsRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - } - -) - -) -)) + ( + ( + ( + lv_val_1_1=RULE_ID1 + { + newLeafNode(lv_val_1_1, grammarAccess.getSingleTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleTerminalsRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } + | + lv_val_1_2=RULE_ID2 + { + newLeafNode(lv_val_1_2, grammarAccess.getSingleTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleTerminalsRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleEnum -entryRuleSingleEnum returns [EObject current=null] - : +entryRuleSingleEnum returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleEnumRule()); } - iv_ruleSingleEnum=ruleSingleEnum - { $current=$iv_ruleSingleEnum.current; } - EOF -; + iv_ruleSingleEnum=ruleSingleEnum + { $current=$iv_ruleSingleEnum.current; } + EOF; // Rule SingleEnum -ruleSingleEnum returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#13' - { - newLeafNode(otherlv_0, grammarAccess.getSingleEnumAccess().getNumberSignDigitOneDigitThreeKeyword_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum1EnumRuleCall_1_0_0()); - } - lv_val_1_1=ruleDefEnum1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - $current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum2EnumRuleCall_1_0_1()); - } - lv_val_1_2=ruleDefEnum2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - $current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum2"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum3EnumRuleCall_1_0_2()); - } - lv_val_1_3=ruleDefEnum3 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - $current, - "val", - lv_val_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum3"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) +ruleSingleEnum returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#13' + { + newLeafNode(otherlv_0, grammarAccess.getSingleEnumAccess().getNumberSignDigitOneDigitThreeKeyword_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum1EnumRuleCall_1_0_0()); + } + lv_val_1_1=ruleDefEnum1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + $current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum2EnumRuleCall_1_0_1()); + } + lv_val_1_2=ruleDefEnum2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + $current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum2"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum3EnumRuleCall_1_0_2()); + } + lv_val_1_3=ruleDefEnum3 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + $current, + "val", + lv_val_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum3"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleCrossReference -entryRuleSingleCrossReference returns [EObject current=null] - : +entryRuleSingleCrossReference returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleCrossReferenceRule()); } - iv_ruleSingleCrossReference=ruleSingleCrossReference - { $current=$iv_ruleSingleCrossReference.current; } - EOF -; + iv_ruleSingleCrossReference=ruleSingleCrossReference + { $current=$iv_ruleSingleCrossReference.current; } + EOF; // Rule SingleCrossReference -ruleSingleCrossReference returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#14' - { - newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitOneDigitFourKeyword_0()); - } -( -( -( - lv_name_1_1=RULE_ID1 +ruleSingleCrossReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#14' { - newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameID1TerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitOneDigitFourKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - } - - | lv_name_1_2=RULE_ID2 - { - newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameID2TerminalRuleCall_1_0_1()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - } - - | lv_name_1_3=RULE_ID3 - { - newLeafNode(lv_name_1_3, grammarAccess.getSingleCrossReferenceAccess().getNameID3TerminalRuleCall_1_0_2()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID3"); - } - -) - -) -)(( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_2=RULE_ID1 - { - newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_0_0()); - } - -) -) - |( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_3=RULE_ID2 - { - newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_1_0()); - } - -) -) - |( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_4=RULE_ID3 - { - newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_2_0()); - } - -) -))) + ( + ( + ( + lv_name_1_1=RULE_ID1 + { + newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameID1TerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } + | + lv_name_1_2=RULE_ID2 + { + newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameID2TerminalRuleCall_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } + | + lv_name_1_3=RULE_ID3 + { + newLeafNode(lv_name_1_3, grammarAccess.getSingleCrossReferenceAccess().getNameID3TerminalRuleCall_1_0_2()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID3"); + } + ) + ) + ) + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_2=RULE_ID1 + { + newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_0_0()); + } + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_3=RULE_ID2 + { + newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_1_0()); + } + ) + ) + | + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_4=RULE_ID3 + { + newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_2_0()); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleContainmentReference -entryRuleSingleContainmentReference returns [EObject current=null] - : +entryRuleSingleContainmentReference returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleContainmentReferenceRule()); } - iv_ruleSingleContainmentReference=ruleSingleContainmentReference - { $current=$iv_ruleSingleContainmentReference.current; } - EOF -; + iv_ruleSingleContainmentReference=ruleSingleContainmentReference + { $current=$iv_ruleSingleContainmentReference.current; } + EOF; // Rule SingleContainmentReference -ruleSingleContainmentReference returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#15' - { - newLeafNode(otherlv_0, grammarAccess.getSingleContainmentReferenceAccess().getNumberSignDigitOneDigitFiveKeyword_0()); - } -( -( -( - { - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0()); - } - lv_child_1_1=ruleSingleContainmentReferenceChild1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - $current, - "child", - lv_child_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild1"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1()); - } - lv_child_1_2=ruleSingleContainmentReferenceChild2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - $current, - "child", - lv_child_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild2"); - afterParserOrEnumRuleCall(); - } - - | { - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2()); - } - lv_child_1_3=ruleSingleContainmentReferenceChild3 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - $current, - "child", - lv_child_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild3"); - afterParserOrEnumRuleCall(); - } - -) - -) -)) +ruleSingleContainmentReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#15' + { + newLeafNode(otherlv_0, grammarAccess.getSingleContainmentReferenceAccess().getNumberSignDigitOneDigitFiveKeyword_0()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0()); + } + lv_child_1_1=ruleSingleContainmentReferenceChild1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + $current, + "child", + lv_child_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild1"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1()); + } + lv_child_1_2=ruleSingleContainmentReferenceChild2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + $current, + "child", + lv_child_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild2"); + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2()); + } + lv_child_1_3=ruleSingleContainmentReferenceChild3 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + $current, + "child", + lv_child_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild3"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleSingleContainmentReferenceChild1 -entryRuleSingleContainmentReferenceChild1 returns [EObject current=null] - : +entryRuleSingleContainmentReferenceChild1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild1Rule()); } - iv_ruleSingleContainmentReferenceChild1=ruleSingleContainmentReferenceChild1 - { $current=$iv_ruleSingleContainmentReferenceChild1.current; } - EOF -; + iv_ruleSingleContainmentReferenceChild1=ruleSingleContainmentReferenceChild1 + { $current=$iv_ruleSingleContainmentReferenceChild1.current; } + EOF; // Rule SingleContainmentReferenceChild1 -ruleSingleContainmentReferenceChild1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_val_0_0= 'kw1' - { - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild1Access().getValKw1Keyword_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild1Rule()); - } - setWithLastConsumed($current, "val", lv_val_0_0, "kw1"); - } - -) -) +ruleSingleContainmentReferenceChild1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_val_0_0='kw1' + { + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild1Access().getValKw1Keyword_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild1Rule()); + } + setWithLastConsumed($current, "val", lv_val_0_0, "kw1"); + } + ) + ) ; - - - - // Entry rule entryRuleSingleContainmentReferenceChild2 -entryRuleSingleContainmentReferenceChild2 returns [EObject current=null] - : +entryRuleSingleContainmentReferenceChild2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild2Rule()); } - iv_ruleSingleContainmentReferenceChild2=ruleSingleContainmentReferenceChild2 - { $current=$iv_ruleSingleContainmentReferenceChild2.current; } - EOF -; + iv_ruleSingleContainmentReferenceChild2=ruleSingleContainmentReferenceChild2 + { $current=$iv_ruleSingleContainmentReferenceChild2.current; } + EOF; // Rule SingleContainmentReferenceChild2 -ruleSingleContainmentReferenceChild2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_val_0_0= 'kw2' - { - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild2Access().getValKw2Keyword_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild2Rule()); - } - setWithLastConsumed($current, "val", lv_val_0_0, "kw2"); - } - -) -) +ruleSingleContainmentReferenceChild2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_val_0_0='kw2' + { + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild2Access().getValKw2Keyword_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild2Rule()); + } + setWithLastConsumed($current, "val", lv_val_0_0, "kw2"); + } + ) + ) ; - - - - // Entry rule entryRuleSingleContainmentReferenceChild3 -entryRuleSingleContainmentReferenceChild3 returns [EObject current=null] - : +entryRuleSingleContainmentReferenceChild3 returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild3Rule()); } - iv_ruleSingleContainmentReferenceChild3=ruleSingleContainmentReferenceChild3 - { $current=$iv_ruleSingleContainmentReferenceChild3.current; } - EOF -; + iv_ruleSingleContainmentReferenceChild3=ruleSingleContainmentReferenceChild3 + { $current=$iv_ruleSingleContainmentReferenceChild3.current; } + EOF; // Rule SingleContainmentReferenceChild3 -ruleSingleContainmentReferenceChild3 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_val_0_0= 'kw3' - { - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild3Access().getValKw3Keyword_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild3Rule()); - } - setWithLastConsumed($current, "val", lv_val_0_0, "kw3"); - } - -) -) +ruleSingleContainmentReferenceChild3 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_val_0_0='kw3' + { + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild3Access().getValKw3Keyword_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleContainmentReferenceChild3Rule()); + } + setWithLastConsumed($current, "val", lv_val_0_0, "kw3"); + } + ) + ) ; - - - - // Entry rule entryRuleMultiKeywords -entryRuleMultiKeywords returns [EObject current=null] - : +entryRuleMultiKeywords returns [EObject current=null]: { newCompositeNode(grammarAccess.getMultiKeywordsRule()); } - iv_ruleMultiKeywords=ruleMultiKeywords - { $current=$iv_ruleMultiKeywords.current; } - EOF -; + iv_ruleMultiKeywords=ruleMultiKeywords + { $current=$iv_ruleMultiKeywords.current; } + EOF; // Rule MultiKeywords -ruleMultiKeywords returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#16' - { - newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsAccess().getNumberSignDigitOneDigitSixKeyword_0()); - } -( -( -( - lv_val_1_1= 'kw1' - { - newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsAccess().getValKw1Keyword_1_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed($current, "val", lv_val_1_1, null); - } - - | lv_val_1_2= 'kw2' - { - newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsAccess().getValKw2Keyword_1_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed($current, "val", lv_val_1_2, null); - } - - | lv_val_1_3= 'kw3' - { - newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsAccess().getValKw3Keyword_1_0_2()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed($current, "val", lv_val_1_3, null); - } - -) - -) -)) +ruleMultiKeywords returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#16' + { + newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsAccess().getNumberSignDigitOneDigitSixKeyword_0()); + } + ( + ( + ( + lv_val_1_1='kw1' + { + newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsAccess().getValKw1Keyword_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed($current, "val", lv_val_1_1, null); + } + | + lv_val_1_2='kw2' + { + newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsAccess().getValKw2Keyword_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed($current, "val", lv_val_1_2, null); + } + | + lv_val_1_3='kw3' + { + newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsAccess().getValKw3Keyword_1_0_2()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed($current, "val", lv_val_1_3, null); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleMultiKeywordsOrID -entryRuleMultiKeywordsOrID returns [EObject current=null] - : +entryRuleMultiKeywordsOrID returns [EObject current=null]: { newCompositeNode(grammarAccess.getMultiKeywordsOrIDRule()); } - iv_ruleMultiKeywordsOrID=ruleMultiKeywordsOrID - { $current=$iv_ruleMultiKeywordsOrID.current; } - EOF -; + iv_ruleMultiKeywordsOrID=ruleMultiKeywordsOrID + { $current=$iv_ruleMultiKeywordsOrID.current; } + EOF; // Rule MultiKeywordsOrID -ruleMultiKeywordsOrID returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#17' - { - newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsOrIDAccess().getNumberSignDigitOneDigitSevenKeyword_0()); - } -( -( -( - lv_val_1_1= 'kw1' - { - newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed($current, "val", lv_val_1_1, null); - } - - | lv_val_1_2= 'kw2' - { - newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed($current, "val", lv_val_1_2, null); - } - - | lv_val_1_3= 'kw3' - { - newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed($current, "val", lv_val_1_3, null); - } - - | lv_val_1_4=RULE_ID +ruleMultiKeywordsOrID returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#17' { - newLeafNode(lv_val_1_4, grammarAccess.getMultiKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsOrIDAccess().getNumberSignDigitOneDigitSevenKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_1_4, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) - -) -)) + ( + ( + ( + lv_val_1_1='kw1' + { + newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed($current, "val", lv_val_1_1, null); + } + | + lv_val_1_2='kw2' + { + newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed($current, "val", lv_val_1_2, null); + } + | + lv_val_1_3='kw3' + { + newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed($current, "val", lv_val_1_3, null); + } + | + lv_val_1_4=RULE_ID + { + newLeafNode(lv_val_1_4, grammarAccess.getMultiKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_1_4, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleMultiTerminals -entryRuleMultiTerminals returns [EObject current=null] - : +entryRuleMultiTerminals returns [EObject current=null]: { newCompositeNode(grammarAccess.getMultiTerminalsRule()); } - iv_ruleMultiTerminals=ruleMultiTerminals - { $current=$iv_ruleMultiTerminals.current; } - EOF -; + iv_ruleMultiTerminals=ruleMultiTerminals + { $current=$iv_ruleMultiTerminals.current; } + EOF; // Rule MultiTerminals -ruleMultiTerminals returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#18' - { - newLeafNode(otherlv_0, grammarAccess.getMultiTerminalsAccess().getNumberSignDigitOneDigitEightKeyword_0()); - } -( -( -( - lv_val_1_1=RULE_ID1 +ruleMultiTerminals returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#18' { - newLeafNode(lv_val_1_1, grammarAccess.getMultiTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getMultiTerminalsAccess().getNumberSignDigitOneDigitEightKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiTerminalsRule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - } - - | lv_val_1_2=RULE_ID2 - { - newLeafNode(lv_val_1_2, grammarAccess.getMultiTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMultiTerminalsRule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - } - -) - -) -)) + ( + ( + ( + lv_val_1_1=RULE_ID1 + { + newLeafNode(lv_val_1_1, grammarAccess.getMultiTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiTerminalsRule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } + | + lv_val_1_2=RULE_ID2 + { + newLeafNode(lv_val_1_2, grammarAccess.getMultiTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMultiTerminalsRule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleDependentAlternative1 -entryRuleDependentAlternative1 returns [EObject current=null] - : +entryRuleDependentAlternative1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getDependentAlternative1Rule()); } - iv_ruleDependentAlternative1=ruleDependentAlternative1 - { $current=$iv_ruleDependentAlternative1.current; } - EOF -; + iv_ruleDependentAlternative1=ruleDependentAlternative1 + { $current=$iv_ruleDependentAlternative1.current; } + EOF; // Rule DependentAlternative1 -ruleDependentAlternative1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#19' - { - newLeafNode(otherlv_0, grammarAccess.getDependentAlternative1Access().getNumberSignDigitOneDigitNineKeyword_0()); - } -(( -( - lv_val_1_0=RULE_ID +ruleDependentAlternative1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#19' { - newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getDependentAlternative1Access().getNumberSignDigitOneDigitNineKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - |(( -( - lv_val_2_0=RULE_ID - { - newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_1_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_flag_3_0= 'kw1' - { - newLeafNode(lv_flag_3_0, grammarAccess.getDependentAlternative1Access().getFlagKw1Keyword_1_1_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed($current, "flag", true, "kw1"); - } - -) -)))) + ( + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + | + ( + ( + ( + lv_val_2_0=RULE_ID + { + newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_flag_3_0='kw1' + { + newLeafNode(lv_flag_3_0, grammarAccess.getDependentAlternative1Access().getFlagKw1Keyword_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed($current, "flag", true, "kw1"); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleDependentAlternative2 -entryRuleDependentAlternative2 returns [EObject current=null] - : +entryRuleDependentAlternative2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getDependentAlternative2Rule()); } - iv_ruleDependentAlternative2=ruleDependentAlternative2 - { $current=$iv_ruleDependentAlternative2.current; } - EOF -; + iv_ruleDependentAlternative2=ruleDependentAlternative2 + { $current=$iv_ruleDependentAlternative2.current; } + EOF; // Rule DependentAlternative2 -ruleDependentAlternative2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#20' - { - newLeafNode(otherlv_0, grammarAccess.getDependentAlternative2Access().getNumberSignDigitTwoDigitZeroKeyword_0()); - } -((( -( - lv_val_1_0=RULE_ID +ruleDependentAlternative2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#20' { - newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_0_0()); + newLeafNode(otherlv_0, grammarAccess.getDependentAlternative2Access().getNumberSignDigitTwoDigitZeroKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( -( - lv_val_2_0=RULE_ID - { - newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)+) - |(( -( - lv_val_3_0=RULE_ID - { - newLeafNode(lv_val_3_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_1_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - $current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)+( -( - lv_flag_4_0= 'kw1' - { - newLeafNode(lv_flag_4_0, grammarAccess.getDependentAlternative2Access().getFlagKw1Keyword_1_1_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - setWithLastConsumed($current, "flag", true, "kw1"); - } - -) -)))) + ( + ( + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + lv_val_2_0=RULE_ID + { + newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )+ + ) + | + ( + ( + ( + lv_val_3_0=RULE_ID + { + newLeafNode(lv_val_3_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + $current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )+ + ( + ( + lv_flag_4_0='kw1' + { + newLeafNode(lv_flag_4_0, grammarAccess.getDependentAlternative2Access().getFlagKw1Keyword_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + setWithLastConsumed($current, "flag", true, "kw1"); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleOptional -entryRuleOptional returns [EObject current=null] - : +entryRuleOptional returns [EObject current=null]: { newCompositeNode(grammarAccess.getOptionalRule()); } - iv_ruleOptional=ruleOptional - { $current=$iv_ruleOptional.current; } - EOF -; + iv_ruleOptional=ruleOptional + { $current=$iv_ruleOptional.current; } + EOF; // Rule Optional -ruleOptional returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#21' - { - newLeafNode(otherlv_0, grammarAccess.getOptionalAccess().getNumberSignDigitTwoDigitOneKeyword_0()); - } -( -( - lv_int0_1_0=RULE_INT +ruleOptional returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#21' { - newLeafNode(lv_int0_1_0, grammarAccess.getOptionalAccess().getInt0INTTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getOptionalAccess().getNumberSignDigitTwoDigitOneKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - $current, - "int0", - lv_int0_1_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -)(( -( - lv_int1_2_0=RULE_INT - { - newLeafNode(lv_int1_2_0, grammarAccess.getOptionalAccess().getInt1INTTerminalRuleCall_2_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - $current, - "int1", - lv_int1_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -)( -( - lv_int2_3_0=RULE_INT - { - newLeafNode(lv_int2_3_0, grammarAccess.getOptionalAccess().getInt2INTTerminalRuleCall_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - $current, - "int2", - lv_int2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -))?) + ( + ( + lv_int0_1_0=RULE_INT + { + newLeafNode(lv_int0_1_0, grammarAccess.getOptionalAccess().getInt0INTTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + $current, + "int0", + lv_int0_1_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + ( + ( + ( + lv_int1_2_0=RULE_INT + { + newLeafNode(lv_int1_2_0, grammarAccess.getOptionalAccess().getInt1INTTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + $current, + "int1", + lv_int1_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + ( + ( + lv_int2_3_0=RULE_INT + { + newLeafNode(lv_int2_3_0, grammarAccess.getOptionalAccess().getInt2INTTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + $current, + "int2", + lv_int2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )? + ) ; - - - - // Entry rule entryRuleFloat -entryRuleFloat returns [EObject current=null] - : +entryRuleFloat returns [EObject current=null]: { newCompositeNode(grammarAccess.getFloatRule()); } - iv_ruleFloat=ruleFloat - { $current=$iv_ruleFloat.current; } - EOF -; + iv_ruleFloat=ruleFloat + { $current=$iv_ruleFloat.current; } + EOF; // Rule Float -ruleFloat returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#22' - { - newLeafNode(otherlv_0, grammarAccess.getFloatAccess().getNumberSignDigitTwoDigitTwoKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getFloatAccess().getFloatAction_1(), - $current); - } -) otherlv_2='Bye' - { - newLeafNode(otherlv_2, grammarAccess.getFloatAccess().getByeKeyword_2()); - } -) +ruleFloat returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#22' + { + newLeafNode(otherlv_0, grammarAccess.getFloatAccess().getNumberSignDigitTwoDigitTwoKeyword_0()); + } + ( + { + $current = forceCreateModelElement( + grammarAccess.getFloatAccess().getFloatAction_1(), + $current); + } + ) + otherlv_2='Bye' + { + newLeafNode(otherlv_2, grammarAccess.getFloatAccess().getByeKeyword_2()); + } + ) ; - - - - // Entry rule entryRuleUnorderedAlternative -entryRuleUnorderedAlternative returns [EObject current=null] - : +entryRuleUnorderedAlternative returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedAlternativeRule()); } - iv_ruleUnorderedAlternative=ruleUnorderedAlternative - { $current=$iv_ruleUnorderedAlternative.current; } - EOF -; + iv_ruleUnorderedAlternative=ruleUnorderedAlternative + { $current=$iv_ruleUnorderedAlternative.current; } + EOF; // Rule UnorderedAlternative -ruleUnorderedAlternative returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#23' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeAccess().getNumberSignDigitTwoDigitThreeKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getUnorderedAlternativeAccess().getUnorderedAlternativeAction_1(), - $current); - } -)(( -( - lv_val1_2_0=RULE_ID +ruleUnorderedAlternative returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#23' { - newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedAlternativeAccess().getVal1IDTerminalRuleCall_2_0_0()); + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeAccess().getNumberSignDigitTwoDigitThreeKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - |( -( - lv_val2_3_0=RULE_INT - { - newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedAlternativeAccess().getVal2INTTerminalRuleCall_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); - } - addWithLastConsumed( - $current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal3UnorderedAlternativeValParserRuleCall_2_2_0()); - } - lv_val3_4_0=ruleUnorderedAlternativeVal { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); - } - add( - $current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0()); - } - lv_val4_5_0=ruleUnorderedAlternativeValDelegate { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); - } - add( - $current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeValDelegate"); - afterParserOrEnumRuleCall(); - } - -) -))*) + ( + { + $current = forceCreateModelElement( + grammarAccess.getUnorderedAlternativeAccess().getUnorderedAlternativeAction_1(), + $current); + } + ) + ( + ( + ( + lv_val1_2_0=RULE_ID + { + newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedAlternativeAccess().getVal1IDTerminalRuleCall_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + | + ( + ( + lv_val2_3_0=RULE_INT + { + newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedAlternativeAccess().getVal2INTTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); + } + addWithLastConsumed( + $current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal3UnorderedAlternativeValParserRuleCall_2_2_0()); + } + lv_val3_4_0=ruleUnorderedAlternativeVal + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); + } + add( + $current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0()); + } + lv_val4_5_0=ruleUnorderedAlternativeValDelegate + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); + } + add( + $current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeValDelegate"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRuleUnorderedAlternativeVal -entryRuleUnorderedAlternativeVal returns [EObject current=null] - : +entryRuleUnorderedAlternativeVal returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedAlternativeValRule()); } - iv_ruleUnorderedAlternativeVal=ruleUnorderedAlternativeVal - { $current=$iv_ruleUnorderedAlternativeVal.current; } - EOF -; + iv_ruleUnorderedAlternativeVal=ruleUnorderedAlternativeVal + { $current=$iv_ruleUnorderedAlternativeVal.current; } + EOF; // Rule UnorderedAlternativeVal -ruleUnorderedAlternativeVal returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeValAccess().getKw1Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleUnorderedAlternativeVal returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeValAccess().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeValAccess().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedAlternativeValRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeValAccess().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedAlternativeValRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleUnorderedAlternativeValDelegate -entryRuleUnorderedAlternativeValDelegate returns [EObject current=null] - : +entryRuleUnorderedAlternativeValDelegate returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateRule()); } - iv_ruleUnorderedAlternativeValDelegate=ruleUnorderedAlternativeValDelegate - { $current=$iv_ruleUnorderedAlternativeValDelegate.current; } - EOF -; + iv_ruleUnorderedAlternativeValDelegate=ruleUnorderedAlternativeValDelegate + { $current=$iv_ruleUnorderedAlternativeValDelegate.current; } + EOF; // Rule UnorderedAlternativeValDelegate -ruleUnorderedAlternativeValDelegate returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: - - { - newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateAccess().getUnorderedAlternativeVal2ParserRuleCall()); - } - this_UnorderedAlternativeVal2_0=ruleUnorderedAlternativeVal2 - { - $current = $this_UnorderedAlternativeVal2_0.current; - afterParserOrEnumRuleCall(); - } - +ruleUnorderedAlternativeValDelegate returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateAccess().getUnorderedAlternativeVal2ParserRuleCall()); + } + this_UnorderedAlternativeVal2_0=ruleUnorderedAlternativeVal2 + { + $current = $this_UnorderedAlternativeVal2_0.current; + afterParserOrEnumRuleCall(); + } ; - - - - // Entry rule entryRuleUnorderedAlternativeVal2 -entryRuleUnorderedAlternativeVal2 returns [EObject current=null] - : +entryRuleUnorderedAlternativeVal2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedAlternativeVal2Rule()); } - iv_ruleUnorderedAlternativeVal2=ruleUnorderedAlternativeVal2 - { $current=$iv_ruleUnorderedAlternativeVal2.current; } - EOF -; + iv_ruleUnorderedAlternativeVal2=ruleUnorderedAlternativeVal2 + { $current=$iv_ruleUnorderedAlternativeVal2.current; } + EOF; // Rule UnorderedAlternativeVal2 -ruleUnorderedAlternativeVal2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeVal2Access().getKw2Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleUnorderedAlternativeVal2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeVal2Access().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeVal2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedAlternativeVal2Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeVal2Access().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedAlternativeVal2Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleUnorderedGroup -entryRuleUnorderedGroup returns [EObject current=null] - : +entryRuleUnorderedGroup returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupRule()); } - iv_ruleUnorderedGroup=ruleUnorderedGroup - { $current=$iv_ruleUnorderedGroup.current; } - EOF -; + iv_ruleUnorderedGroup=ruleUnorderedGroup + { $current=$iv_ruleUnorderedGroup.current; } + EOF; // Rule UnorderedGroup -ruleUnorderedGroup returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#24' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupAccess().getNumberSignDigitTwoDigitFourKeyword_0()); - } -( - -( - { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } +ruleUnorderedGroup returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: ( + otherlv_0='#24' + { + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupAccess().getNumberSignDigitTwoDigitFourKeyword_0()); + } ( - - ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ( + ( + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0); + } + ({true}?=>(( + lv_val1_2_0=RULE_ID + { + newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedGroupAccess().getVal1IDTerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0); - } - ({true}?=>( -( - lv_val1_2_0=RULE_ID - { - newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedGroupAccess().getVal1IDTerminalRuleCall_1_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1); + } + ({true}?=>(( + lv_val2_3_0=RULE_INT + { + newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedGroupAccess().getVal2INTTerminalRuleCall_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1); - } - ({true}?=>( -( - lv_val2_3_0=RULE_INT - { - newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedGroupAccess().getVal2INTTerminalRuleCall_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2); + } + ({true}?=>(( + { + newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal3UnorderedGroupValParserRuleCall_1_2_0()); + } + lv_val3_4_0=ruleUnorderedGroupVal + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); + } + set( + $current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal"); + afterParserOrEnumRuleCall(); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2); - } - ({true}?=>( -( - { - newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal3UnorderedGroupValParserRuleCall_1_2_0()); - } - lv_val3_4_0=ruleUnorderedGroupVal { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); - } - set( - $current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal"); - afterParserOrEnumRuleCall(); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3); + } + ({true}?=>(( + { + newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal4UnorderedGroupValDelegateParserRuleCall_1_3_0()); + } + lv_val4_5_0=ruleUnorderedGroupValDelegate + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); + } + set( + $current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupValDelegate"); + afterParserOrEnumRuleCall(); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3); - } - ({true}?=>( -( - { - newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal4UnorderedGroupValDelegateParserRuleCall_1_3_0()); - } - lv_val4_5_0=ruleUnorderedGroupValDelegate { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); - } - set( - $current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupValDelegate"); - afterParserOrEnumRuleCall(); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } - ) - ) - - )+ - {getUnorderedGroupHelper().canLeave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1())}? + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ) + ) + )+ + {getUnorderedGroupHelper().canLeave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1())}? + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } + ) ) -) - { - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - } - -)) ; - - - - // Entry rule entryRuleUnorderedGroupVal -entryRuleUnorderedGroupVal returns [EObject current=null] - : +entryRuleUnorderedGroupVal returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupValRule()); } - iv_ruleUnorderedGroupVal=ruleUnorderedGroupVal - { $current=$iv_ruleUnorderedGroupVal.current; } - EOF -; + iv_ruleUnorderedGroupVal=ruleUnorderedGroupVal + { $current=$iv_ruleUnorderedGroupVal.current; } + EOF; // Rule UnorderedGroupVal -ruleUnorderedGroupVal returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw1' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupValAccess().getKw1Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleUnorderedGroupVal returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw1' { - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupValAccess().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupValAccess().getKw1Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupValRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupValAccess().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupValRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleUnorderedGroupValDelegate -entryRuleUnorderedGroupValDelegate returns [EObject current=null] - : +entryRuleUnorderedGroupValDelegate returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupValDelegateRule()); } - iv_ruleUnorderedGroupValDelegate=ruleUnorderedGroupValDelegate - { $current=$iv_ruleUnorderedGroupValDelegate.current; } - EOF -; + iv_ruleUnorderedGroupValDelegate=ruleUnorderedGroupValDelegate + { $current=$iv_ruleUnorderedGroupValDelegate.current; } + EOF; // Rule UnorderedGroupValDelegate -ruleUnorderedGroupValDelegate returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: - - { - newCompositeNode(grammarAccess.getUnorderedGroupValDelegateAccess().getUnorderedGroupVal2ParserRuleCall()); - } - this_UnorderedGroupVal2_0=ruleUnorderedGroupVal2 - { - $current = $this_UnorderedGroupVal2_0.current; - afterParserOrEnumRuleCall(); - } - +ruleUnorderedGroupValDelegate returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getUnorderedGroupValDelegateAccess().getUnorderedGroupVal2ParserRuleCall()); + } + this_UnorderedGroupVal2_0=ruleUnorderedGroupVal2 + { + $current = $this_UnorderedGroupVal2_0.current; + afterParserOrEnumRuleCall(); + } ; - - - - // Entry rule entryRuleUnorderedGroupVal2 -entryRuleUnorderedGroupVal2 returns [EObject current=null] - : +entryRuleUnorderedGroupVal2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupVal2Rule()); } - iv_ruleUnorderedGroupVal2=ruleUnorderedGroupVal2 - { $current=$iv_ruleUnorderedGroupVal2.current; } - EOF -; + iv_ruleUnorderedGroupVal2=ruleUnorderedGroupVal2 + { $current=$iv_ruleUnorderedGroupVal2.current; } + EOF; // Rule UnorderedGroupVal2 -ruleUnorderedGroupVal2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kw2' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupVal2Access().getKw2Keyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleUnorderedGroupVal2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kw2' { - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupVal2Access().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupVal2Access().getKw2Keyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupVal2Rule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupVal2Access().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupVal2Rule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleUnorderedGroupOptional -entryRuleUnorderedGroupOptional returns [EObject current=null] - : +entryRuleUnorderedGroupOptional returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupOptionalRule()); } - iv_ruleUnorderedGroupOptional=ruleUnorderedGroupOptional - { $current=$iv_ruleUnorderedGroupOptional.current; } - EOF -; + iv_ruleUnorderedGroupOptional=ruleUnorderedGroupOptional + { $current=$iv_ruleUnorderedGroupOptional.current; } + EOF; // Rule UnorderedGroupOptional -ruleUnorderedGroupOptional returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#25' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupOptionalAccess().getNumberSignDigitTwoDigitFiveKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroupOptionalAction_1(), - $current); - } -)( - -( - { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - } +ruleUnorderedGroupOptional returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: ( + otherlv_0='#25' + { + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupOptionalAccess().getNumberSignDigitTwoDigitFiveKeyword_0()); + } ( - - ( + { + $current = forceCreateModelElement( + grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroupOptionalAction_1(), + $current); + } + ) + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } + ( + ( + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0); + } + ({true}?=>(otherlv_3='kw1' + { + newLeafNode(otherlv_3, grammarAccess.getUnorderedGroupOptionalAccess().getKw1Keyword_2_0_0()); + } + ( + ( + lv_val1_4_0=RULE_ID + { + newLeafNode(lv_val1_4_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal1IDTerminalRuleCall_2_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0); - } - ({true}?=>( otherlv_3='kw1' - { - newLeafNode(otherlv_3, grammarAccess.getUnorderedGroupOptionalAccess().getKw1Keyword_2_0_0()); - } -( -( - lv_val1_4_0=RULE_ID - { - newLeafNode(lv_val1_4_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal1IDTerminalRuleCall_2_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1); + } + ({true}?=>(otherlv_5='kw2' + { + newLeafNode(otherlv_5, grammarAccess.getUnorderedGroupOptionalAccess().getKw2Keyword_2_1_0()); + } + ( + ( + lv_va2_6_0=RULE_ID + { + newLeafNode(lv_va2_6_0, grammarAccess.getUnorderedGroupOptionalAccess().getVa2IDTerminalRuleCall_2_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + $current, + "va2", + lv_va2_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1); - } - ({true}?=>( otherlv_5='kw2' - { - newLeafNode(otherlv_5, grammarAccess.getUnorderedGroupOptionalAccess().getKw2Keyword_2_1_0()); - } -( -( - lv_va2_6_0=RULE_ID - { - newLeafNode(lv_va2_6_0, grammarAccess.getUnorderedGroupOptionalAccess().getVa2IDTerminalRuleCall_2_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - $current, - "va2", - lv_va2_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2); + } + ({true}?=>(otherlv_7='kw3' + { + newLeafNode(otherlv_7, grammarAccess.getUnorderedGroupOptionalAccess().getKw3Keyword_2_2_0()); + } + ( + ( + lv_val3_8_0=RULE_ID + { + newLeafNode(lv_val3_8_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal3IDTerminalRuleCall_2_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_8_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2); - } - ({true}?=>( otherlv_7='kw3' - { - newLeafNode(otherlv_7, grammarAccess.getUnorderedGroupOptionalAccess().getKw3Keyword_2_2_0()); - } -( -( - lv_val3_8_0=RULE_ID - { - newLeafNode(lv_val3_8_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal3IDTerminalRuleCall_2_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_8_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - } - ) - ) - - )* + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } + ) ) -) - { - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - } - -)) ; - - - - // Entry rule entryRuleUnorderedGroupBoolean -entryRuleUnorderedGroupBoolean returns [EObject current=null] - : +entryRuleUnorderedGroupBoolean returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnorderedGroupBooleanRule()); } - iv_ruleUnorderedGroupBoolean=ruleUnorderedGroupBoolean - { $current=$iv_ruleUnorderedGroupBoolean.current; } - EOF -; + iv_ruleUnorderedGroupBoolean=ruleUnorderedGroupBoolean + { $current=$iv_ruleUnorderedGroupBoolean.current; } + EOF; // Rule UnorderedGroupBoolean -ruleUnorderedGroupBoolean returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#26' - { - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupBooleanAccess().getNumberSignDigitTwoDigitSixKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroupBooleanAction_1(), - $current); - } -)( - -( - { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - } +ruleUnorderedGroupBoolean returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: ( + otherlv_0='#26' + { + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupBooleanAccess().getNumberSignDigitTwoDigitSixKeyword_0()); + } ( - - ( + { + $current = forceCreateModelElement( + grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroupBooleanAction_1(), + $current); + } + ) + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } + ( + ( + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0); + } + ({true}?=>(( + lv_val1_3_0='kw1' + { + newLeafNode(lv_val1_3_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal1Kw1Keyword_2_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed($current, "val1", true, "kw1"); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0); - } - ({true}?=>( -( - lv_val1_3_0= 'kw1' - { - newLeafNode(lv_val1_3_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal1Kw1Keyword_2_0_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed($current, "val1", true, "kw1"); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1); + } + ({true}?=>(( + lv_val2_4_0='kw2' + { + newLeafNode(lv_val2_4_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal2Kw2Keyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed($current, "val2", true, "kw2"); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1); - } - ({true}?=>( -( - lv_val2_4_0= 'kw2' - { - newLeafNode(lv_val2_4_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal2Kw2Keyword_2_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed($current, "val2", true, "kw2"); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - } - ) - ) | - - ( + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } + ) + )| + ( {getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2); + } + ({true}?=>(( + lv_val3_5_0='kw3' + { + newLeafNode(lv_val3_5_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal3Kw3Keyword_2_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed($current, "val3", true, "kw3"); + } + ) + )) { - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2); - } - ({true}?=>( -( - lv_val3_5_0= 'kw3' - { - newLeafNode(lv_val3_5_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal3Kw3Keyword_2_2_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed($current, "val3", true, "kw3"); - } - -) -)) - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - } - ) - ) - - )* + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } + ) ) -) - { - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - } - -)) ; - - - - // Entry rule entryRuleComplex1 -entryRuleComplex1 returns [EObject current=null] - : +entryRuleComplex1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getComplex1Rule()); } - iv_ruleComplex1=ruleComplex1 - { $current=$iv_ruleComplex1.current; } - EOF -; + iv_ruleComplex1=ruleComplex1 + { $current=$iv_ruleComplex1.current; } + EOF; // Rule Complex1 -ruleComplex1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#27' - { - newLeafNode(otherlv_0, grammarAccess.getComplex1Access().getNumberSignDigitTwoDigitSevenKeyword_0()); - } -( - { - $current = forceCreateModelElement( - grammarAccess.getComplex1Access().getComplex1Action_1(), - $current); - } -)( otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getComplex1Access().getKw1Keyword_2_0()); - } -( -( - lv_val1_3_0=RULE_ID +ruleComplex1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#27' { - newLeafNode(lv_val1_3_0, grammarAccess.getComplex1Access().getVal1IDTerminalRuleCall_2_1_0()); + newLeafNode(otherlv_0, grammarAccess.getComplex1Access().getNumberSignDigitTwoDigitSevenKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))?( otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getComplex1Access().getKw2Keyword_3_0()); - } -( -( - lv_val2_5_0=RULE_ID - { - newLeafNode(lv_val2_5_0, grammarAccess.getComplex1Access().getVal2IDTerminalRuleCall_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))?(( otherlv_6='kw3' - { - newLeafNode(otherlv_6, grammarAccess.getComplex1Access().getKw3Keyword_4_0_0()); - } -( -( - lv_val3_7_0=RULE_ID - { - newLeafNode(lv_val3_7_0, grammarAccess.getComplex1Access().getVal3IDTerminalRuleCall_4_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - $current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_8='kw4' - { - newLeafNode(otherlv_8, grammarAccess.getComplex1Access().getKw4Keyword_4_1_0()); - } -( -( - lv_val4_9_0=RULE_ID - { - newLeafNode(lv_val4_9_0, grammarAccess.getComplex1Access().getVal4IDTerminalRuleCall_4_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - $current, - "val4", - lv_val4_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_10='kw5' - { - newLeafNode(otherlv_10, grammarAccess.getComplex1Access().getKw5Keyword_4_2_0()); - } -( -( - lv_val5_11_0=RULE_ID - { - newLeafNode(lv_val5_11_0, grammarAccess.getComplex1Access().getVal5IDTerminalRuleCall_4_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - $current, - "val5", - lv_val5_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_12='kw6' - { - newLeafNode(otherlv_12, grammarAccess.getComplex1Access().getKw6Keyword_4_3_0()); - } -( -( - lv_val6_13_0=RULE_ID - { - newLeafNode(lv_val6_13_0, grammarAccess.getComplex1Access().getVal6IDTerminalRuleCall_4_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - $current, - "val6", - lv_val6_13_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)))*) + ( + { + $current = forceCreateModelElement( + grammarAccess.getComplex1Access().getComplex1Action_1(), + $current); + } + ) + ( + otherlv_2='kw1' + { + newLeafNode(otherlv_2, grammarAccess.getComplex1Access().getKw1Keyword_2_0()); + } + ( + ( + lv_val1_3_0=RULE_ID + { + newLeafNode(lv_val1_3_0, grammarAccess.getComplex1Access().getVal1IDTerminalRuleCall_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )? + ( + otherlv_4='kw2' + { + newLeafNode(otherlv_4, grammarAccess.getComplex1Access().getKw2Keyword_3_0()); + } + ( + ( + lv_val2_5_0=RULE_ID + { + newLeafNode(lv_val2_5_0, grammarAccess.getComplex1Access().getVal2IDTerminalRuleCall_3_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )? + ( + ( + otherlv_6='kw3' + { + newLeafNode(otherlv_6, grammarAccess.getComplex1Access().getKw3Keyword_4_0_0()); + } + ( + ( + lv_val3_7_0=RULE_ID + { + newLeafNode(lv_val3_7_0, grammarAccess.getComplex1Access().getVal3IDTerminalRuleCall_4_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + $current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_8='kw4' + { + newLeafNode(otherlv_8, grammarAccess.getComplex1Access().getKw4Keyword_4_1_0()); + } + ( + ( + lv_val4_9_0=RULE_ID + { + newLeafNode(lv_val4_9_0, grammarAccess.getComplex1Access().getVal4IDTerminalRuleCall_4_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + $current, + "val4", + lv_val4_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_10='kw5' + { + newLeafNode(otherlv_10, grammarAccess.getComplex1Access().getKw5Keyword_4_2_0()); + } + ( + ( + lv_val5_11_0=RULE_ID + { + newLeafNode(lv_val5_11_0, grammarAccess.getComplex1Access().getVal5IDTerminalRuleCall_4_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + $current, + "val5", + lv_val5_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_12='kw6' + { + newLeafNode(otherlv_12, grammarAccess.getComplex1Access().getKw6Keyword_4_3_0()); + } + ( + ( + lv_val6_13_0=RULE_ID + { + newLeafNode(lv_val6_13_0, grammarAccess.getComplex1Access().getVal6IDTerminalRuleCall_4_3_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + $current, + "val6", + lv_val6_13_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + )* + ) ; - - - - // Entry rule entryRuleOptionalDouble -entryRuleOptionalDouble returns [EObject current=null] - : +entryRuleOptionalDouble returns [EObject current=null]: { newCompositeNode(grammarAccess.getOptionalDoubleRule()); } - iv_ruleOptionalDouble=ruleOptionalDouble - { $current=$iv_ruleOptionalDouble.current; } - EOF -; + iv_ruleOptionalDouble=ruleOptionalDouble + { $current=$iv_ruleOptionalDouble.current; } + EOF; // Rule OptionalDouble -ruleOptionalDouble returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#28' - { - newLeafNode(otherlv_0, grammarAccess.getOptionalDoubleAccess().getNumberSignDigitTwoDigitEightKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble0DOUBLEParserRuleCall_1_0()); - } - lv_double0_1_0=ruleDOUBLE { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - $current, - "double0", - lv_double0_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - } - -) -)(( -( - { - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble1DOUBLEParserRuleCall_2_0_0()); - } - lv_double1_2_0=ruleDOUBLE { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - $current, - "double1", - lv_double1_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - { - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble2DOUBLEParserRuleCall_2_1_0()); - } - lv_double2_3_0=ruleDOUBLE { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - $current, - "double2", - lv_double2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - } - -) -))?) +ruleOptionalDouble returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#28' + { + newLeafNode(otherlv_0, grammarAccess.getOptionalDoubleAccess().getNumberSignDigitTwoDigitEightKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble0DOUBLEParserRuleCall_1_0()); + } + lv_double0_1_0=ruleDOUBLE + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + $current, + "double0", + lv_double0_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + { + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble1DOUBLEParserRuleCall_2_0_0()); + } + lv_double1_2_0=ruleDOUBLE + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + $current, + "double1", + lv_double1_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble2DOUBLEParserRuleCall_2_1_0()); + } + lv_double2_3_0=ruleDOUBLE + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + $current, + "double2", + lv_double2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) ; - - - - // Entry rule entryRuleDOUBLE -entryRuleDOUBLE returns [String current=null] - : - { newCompositeNode(grammarAccess.getDOUBLERule()); } - iv_ruleDOUBLE=ruleDOUBLE - { $current=$iv_ruleDOUBLE.current.getText(); } - EOF -; +entryRuleDOUBLE returns [String current=null]: + { newCompositeNode(grammarAccess.getDOUBLERule()); } + iv_ruleDOUBLE=ruleDOUBLE + { $current=$iv_ruleDOUBLE.current.getText(); } + EOF; // Rule DOUBLE -ruleDOUBLE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_INT_0=RULE_INT { - $current.merge(this_INT_0); - } - - { - newLeafNode(this_INT_0, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_0()); - } -( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getDOUBLEAccess().getFullStopKeyword_1_0()); - } - this_INT_2=RULE_INT { - $current.merge(this_INT_2); - } - - { - newLeafNode(this_INT_2, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_1_1()); - } -)?) - ; - - - - +ruleDOUBLE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + this_INT_0=RULE_INT + { + $current.merge(this_INT_0); + } + { + newLeafNode(this_INT_0, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_0()); + } + ( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDOUBLEAccess().getFullStopKeyword_1_0()); + } + this_INT_2=RULE_INT + { + $current.merge(this_INT_2); + } + { + newLeafNode(this_INT_2, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_1_1()); + } + )? + ) +; // Entry rule entryRuleNullValueGenerated -entryRuleNullValueGenerated returns [EObject current=null] - : +entryRuleNullValueGenerated returns [EObject current=null]: { newCompositeNode(grammarAccess.getNullValueGeneratedRule()); } - iv_ruleNullValueGenerated=ruleNullValueGenerated - { $current=$iv_ruleNullValueGenerated.current; } - EOF -; + iv_ruleNullValueGenerated=ruleNullValueGenerated + { $current=$iv_ruleNullValueGenerated.current; } + EOF; // Rule NullValueGenerated -ruleNullValueGenerated returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#29' - { - newLeafNode(otherlv_0, grammarAccess.getNullValueGeneratedAccess().getNumberSignDigitTwoDigitNineKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getNullValueGeneratedAccess().getValueNULL_STRINGParserRuleCall_1_0()); - } - lv_value_1_0=ruleNULL_STRING { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getNullValueGeneratedRule()); - } - set( - $current, - "value", - lv_value_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleNullValueGenerated returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#29' + { + newLeafNode(otherlv_0, grammarAccess.getNullValueGeneratedAccess().getNumberSignDigitTwoDigitNineKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getNullValueGeneratedAccess().getValueNULL_STRINGParserRuleCall_1_0()); + } + lv_value_1_0=ruleNULL_STRING + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNullValueGeneratedRule()); + } + set( + $current, + "value", + lv_value_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleNullValueInterpreted -entryRuleNullValueInterpreted returns [EObject current=null] - : +entryRuleNullValueInterpreted returns [EObject current=null]: { newCompositeNode(grammarAccess.getNullValueInterpretedRule()); } - iv_ruleNullValueInterpreted=ruleNullValueInterpreted - { $current=$iv_ruleNullValueInterpreted.current; } - EOF -; + iv_ruleNullValueInterpreted=ruleNullValueInterpreted + { $current=$iv_ruleNullValueInterpreted.current; } + EOF; // Rule NullValueInterpreted -ruleNullValueInterpreted returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#30' - { - newLeafNode(otherlv_0, grammarAccess.getNullValueInterpretedAccess().getNumberSignDigitThreeDigitZeroKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getNullValueInterpretedAccess().getValueNULL_STRINGParserRuleCall_1_0()); - } - lv_value_1_0=ruleNULL_STRING { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getNullValueInterpretedRule()); - } - set( - $current, - "value", - lv_value_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); - afterParserOrEnumRuleCall(); - } - -) -)( -( - lv_foo_2_0=RULE_ID +ruleNullValueInterpreted returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#30' { - newLeafNode(lv_foo_2_0, grammarAccess.getNullValueInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getNullValueInterpretedAccess().getNumberSignDigitThreeDigitZeroKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNullValueInterpretedRule()); - } - setWithLastConsumed( - $current, - "foo", - lv_foo_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) + ( + ( + { + newCompositeNode(grammarAccess.getNullValueInterpretedAccess().getValueNULL_STRINGParserRuleCall_1_0()); + } + lv_value_1_0=ruleNULL_STRING + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getNullValueInterpretedRule()); + } + set( + $current, + "value", + lv_value_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + lv_foo_2_0=RULE_ID + { + newLeafNode(lv_foo_2_0, grammarAccess.getNullValueInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNullValueInterpretedRule()); + } + setWithLastConsumed( + $current, + "foo", + lv_foo_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) ; - - - - // Entry rule entryRuleNULL_STRING -entryRuleNULL_STRING returns [String current=null] - : - { newCompositeNode(grammarAccess.getNULL_STRINGRule()); } - iv_ruleNULL_STRING=ruleNULL_STRING - { $current=$iv_ruleNULL_STRING.current.getText(); } - EOF -; +entryRuleNULL_STRING returns [String current=null]: + { newCompositeNode(grammarAccess.getNULL_STRINGRule()); } + iv_ruleNULL_STRING=ruleNULL_STRING + { $current=$iv_ruleNULL_STRING.current.getText(); } + EOF; // Rule NULL_STRING -ruleNULL_STRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: - this_STRING_0=RULE_STRING { +ruleNULL_STRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + this_STRING_0=RULE_STRING + { $current.merge(this_STRING_0); - } - - { - newLeafNode(this_STRING_0, grammarAccess.getNULL_STRINGAccess().getSTRINGTerminalRuleCall()); - } - - ; - - - - + } + { + newLeafNode(this_STRING_0, grammarAccess.getNULL_STRINGAccess().getSTRINGTerminalRuleCall()); + } +; // Entry rule entryRuleNullCrossRefGenerated -entryRuleNullCrossRefGenerated returns [EObject current=null] - : +entryRuleNullCrossRefGenerated returns [EObject current=null]: { newCompositeNode(grammarAccess.getNullCrossRefGeneratedRule()); } - iv_ruleNullCrossRefGenerated=ruleNullCrossRefGenerated - { $current=$iv_ruleNullCrossRefGenerated.current; } - EOF -; + iv_ruleNullCrossRefGenerated=ruleNullCrossRefGenerated + { $current=$iv_ruleNullCrossRefGenerated.current; } + EOF; // Rule NullCrossRefGenerated -ruleNullCrossRefGenerated returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#31' - { - newLeafNode(otherlv_0, grammarAccess.getNullCrossRefGeneratedAccess().getNumberSignDigitThreeDigitOneKeyword_0()); - } -( -( +ruleNullCrossRefGenerated returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#31' { - if ($current==null) { - $current = createModelElement(grammarAccess.getNullCrossRefGeneratedRule()); - } - } - otherlv_1=RULE_ID - { - newLeafNode(otherlv_1, grammarAccess.getNullCrossRefGeneratedAccess().getRefEObjectCrossReference_1_0()); - } - -) -)) + newLeafNode(otherlv_0, grammarAccess.getNullCrossRefGeneratedAccess().getNumberSignDigitThreeDigitOneKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNullCrossRefGeneratedRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getNullCrossRefGeneratedAccess().getRefEObjectCrossReference_1_0()); + } + ) + ) + ) ; - - - - // Entry rule entryRuleNullCrossRefInterpreted -entryRuleNullCrossRefInterpreted returns [EObject current=null] - : +entryRuleNullCrossRefInterpreted returns [EObject current=null]: { newCompositeNode(grammarAccess.getNullCrossRefInterpretedRule()); } - iv_ruleNullCrossRefInterpreted=ruleNullCrossRefInterpreted - { $current=$iv_ruleNullCrossRefInterpreted.current; } - EOF -; + iv_ruleNullCrossRefInterpreted=ruleNullCrossRefInterpreted + { $current=$iv_ruleNullCrossRefInterpreted.current; } + EOF; // Rule NullCrossRefInterpreted -ruleNullCrossRefInterpreted returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#32' - { - newLeafNode(otherlv_0, grammarAccess.getNullCrossRefInterpretedAccess().getNumberSignDigitThreeDigitTwoKeyword_0()); - } -( -( +ruleNullCrossRefInterpreted returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#32' { - if ($current==null) { - $current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); - } - } - otherlv_1=RULE_ID - { - newLeafNode(otherlv_1, grammarAccess.getNullCrossRefInterpretedAccess().getRefEObjectCrossReference_1_0()); - } - -) -)( -( - lv_foo_2_0=RULE_ID - { - newLeafNode(lv_foo_2_0, grammarAccess.getNullCrossRefInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getNullCrossRefInterpretedAccess().getNumberSignDigitThreeDigitTwoKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); - } - setWithLastConsumed( - $current, - "foo", - lv_foo_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); + } + } + otherlv_1=RULE_ID + { + newLeafNode(otherlv_1, grammarAccess.getNullCrossRefInterpretedAccess().getRefEObjectCrossReference_1_0()); + } + ) + ) + ( + ( + lv_foo_2_0=RULE_ID + { + newLeafNode(lv_foo_2_0, grammarAccess.getNullCrossRefInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); + } + setWithLastConsumed( + $current, + "foo", + lv_foo_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) ; - - - - // Entry rule entryRuleFragmentCaller -entryRuleFragmentCaller returns [EObject current=null] - : +entryRuleFragmentCaller returns [EObject current=null]: { newCompositeNode(grammarAccess.getFragmentCallerRule()); } - iv_ruleFragmentCaller=ruleFragmentCaller - { $current=$iv_ruleFragmentCaller.current; } - EOF -; + iv_ruleFragmentCaller=ruleFragmentCaller + { $current=$iv_ruleFragmentCaller.current; } + EOF; // Rule FragmentCaller -ruleFragmentCaller returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#33' - { - newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitThreeDigitThreeKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleFragmentCaller returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#33' { - newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitThreeDigitThreeKeyword_0()); } + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); } - newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - } - this_Fragment1_2=ruleFragment1[$current] - { - $current = $this_Fragment1_2.current; - afterParserOrEnumRuleCall(); - } -( -( - lv_val_3_0=RULE_ID + this_Fragment1_2=ruleFragment1[$current] { - newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + $current = $this_Fragment1_2.current; + afterParserOrEnumRuleCall(); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_3_0=RULE_ID + { + newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Rule Fragment1 -ruleFragment1 [EObject in_current] returns [EObject current=in_current] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_fragVal_0_0=RULE_ID - { - newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragment1Rule()); - } - setWithLastConsumed( - $current, - "fragVal", - lv_fragVal_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) +ruleFragment1[EObject in_current] returns [EObject current=in_current] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_fragVal_0_0=RULE_ID + { + newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragment1Rule()); + } + setWithLastConsumed( + $current, + "fragVal", + lv_fragVal_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) ; - - - - // Entry rule entryRuleParameterCaller -entryRuleParameterCaller returns [EObject current=null] - : +entryRuleParameterCaller returns [EObject current=null]: { newCompositeNode(grammarAccess.getParameterCallerRule()); } - iv_ruleParameterCaller=ruleParameterCaller - { $current=$iv_ruleParameterCaller.current; } - EOF -; + iv_ruleParameterCaller=ruleParameterCaller + { $current=$iv_ruleParameterCaller.current; } + EOF; // Rule ParameterCaller -ruleParameterCaller returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#34' - { - newLeafNode(otherlv_0, grammarAccess.getParameterCallerAccess().getNumberSignDigitThreeDigitFourKeyword_0()); - } -(( otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getParameterCallerAccess().getKw1Keyword_1_0_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_0_1_0()); - } - lv_p_2_0=norm3_Parameterized { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - $current, - "p", - lv_p_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_3='kw2' - { - newLeafNode(otherlv_3, grammarAccess.getParameterCallerAccess().getKw2Keyword_1_1_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_1_1_0()); - } - lv_p_4_0=norm1_Parameterized { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - $current, - "p", - lv_p_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_5='kw3' - { - newLeafNode(otherlv_5, grammarAccess.getParameterCallerAccess().getKw3Keyword_1_2_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_2_1_0()); - } - lv_p_6_0=norm2_Parameterized { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - $current, - "p", - lv_p_6_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_7='kw4' - { - newLeafNode(otherlv_7, grammarAccess.getParameterCallerAccess().getKw4Keyword_1_3_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_3_1_0()); - } - lv_p_8_0=ruleParameterized { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - $current, - "p", - lv_p_8_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - } - -) -)))) +ruleParameterCaller returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#34' + { + newLeafNode(otherlv_0, grammarAccess.getParameterCallerAccess().getNumberSignDigitThreeDigitFourKeyword_0()); + } + ( + ( + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getParameterCallerAccess().getKw1Keyword_1_0_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_0_1_0()); + } + lv_p_2_0=norm3_Parameterized + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + $current, + "p", + lv_p_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_3='kw2' + { + newLeafNode(otherlv_3, grammarAccess.getParameterCallerAccess().getKw2Keyword_1_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_1_1_0()); + } + lv_p_4_0=norm1_Parameterized + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + $current, + "p", + lv_p_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_5='kw3' + { + newLeafNode(otherlv_5, grammarAccess.getParameterCallerAccess().getKw3Keyword_1_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_2_1_0()); + } + lv_p_6_0=norm2_Parameterized + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + $current, + "p", + lv_p_6_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_7='kw4' + { + newLeafNode(otherlv_7, grammarAccess.getParameterCallerAccess().getKw4Keyword_1_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_3_1_0()); + } + lv_p_8_0=ruleParameterized + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + $current, + "p", + lv_p_8_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleParameterized -entryRuleParameterized returns [EObject current=null] - : +entryRuleParameterized returns [EObject current=null]: { newCompositeNode(grammarAccess.getParameterizedRule()); } - iv_ruleParameterized=ruleParameterized - { $current=$iv_ruleParameterized.current; } - EOF -; + iv_ruleParameterized=ruleParameterized + { $current=$iv_ruleParameterized.current; } + EOF; // Rule Parameterized -ruleParameterized returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwp2' - { - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); - } -( -( - lv_v2_1_0=RULE_ID +ruleParameterized returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwp2' { - newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - $current, - "v2", - lv_v2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_v2_1_0=RULE_ID + { + newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + $current, + "v2", + lv_v2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Rule Parameterized -norm1_Parameterized returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwp1' - { - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); - } -( -( - lv_v1_1_0=RULE_ID +norm1_Parameterized returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwp1' { - newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - $current, - "v1", - lv_v1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_v1_1_0=RULE_ID + { + newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + $current, + "v1", + lv_v1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Rule Parameterized -norm2_Parameterized returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwp2' - { - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); - } -( -( - lv_v2_1_0=RULE_ID +norm2_Parameterized returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwp2' { - newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - $current, - "v2", - lv_v2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)( otherlv_2='kwp3' - { - newLeafNode(otherlv_2, grammarAccess.getParameterizedAccess().getKwp3Keyword_1_2_0()); - } -( -( - lv_v3_3_0=RULE_ID - { - newLeafNode(lv_v3_3_0, grammarAccess.getParameterizedAccess().getV3IDTerminalRuleCall_1_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - $current, - "v3", - lv_v3_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -))?) + ( + ( + lv_v2_1_0=RULE_ID + { + newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + $current, + "v2", + lv_v2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + otherlv_2='kwp3' + { + newLeafNode(otherlv_2, grammarAccess.getParameterizedAccess().getKwp3Keyword_1_2_0()); + } + ( + ( + lv_v3_3_0=RULE_ID + { + newLeafNode(lv_v3_3_0, grammarAccess.getParameterizedAccess().getV3IDTerminalRuleCall_1_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + $current, + "v3", + lv_v3_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + )? + ) ; - - - - // Rule Parameterized -norm3_Parameterized returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwp1' - { - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); - } -( -( - lv_v1_1_0=RULE_ID +norm3_Parameterized returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwp1' { - newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - $current, - "v1", - lv_v1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_v1_1_0=RULE_ID + { + newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + $current, + "v1", + lv_v1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleParameterDelegation -entryRuleParameterDelegation returns [EObject current=null] - : +entryRuleParameterDelegation returns [EObject current=null]: { newCompositeNode(grammarAccess.getParameterDelegationRule()); } - iv_ruleParameterDelegation=ruleParameterDelegation - { $current=$iv_ruleParameterDelegation.current; } - EOF -; + iv_ruleParameterDelegation=ruleParameterDelegation + { $current=$iv_ruleParameterDelegation.current; } + EOF; // Rule ParameterDelegation -ruleParameterDelegation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#35' - { - newLeafNode(otherlv_0, grammarAccess.getParameterDelegationAccess().getNumberSignDigitThreeDigitFiveKeyword_0()); - } -(( otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getParameterDelegationAccess().getKw1Keyword_1_0_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_0_1_0()); - } - lv_p_2_0=norm3_Delegation { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); - } - set( - $current, - "p", - lv_p_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - } - -) -)) - |( otherlv_3='kw2' - { - newLeafNode(otherlv_3, grammarAccess.getParameterDelegationAccess().getKw2Keyword_1_1_0()); - } -( -( - { - newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_1_1_0()); - } - lv_p_4_0=norm1_Delegation { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); - } - set( - $current, - "p", - lv_p_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - } - -) -)))) +ruleParameterDelegation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#35' + { + newLeafNode(otherlv_0, grammarAccess.getParameterDelegationAccess().getNumberSignDigitThreeDigitFiveKeyword_0()); + } + ( + ( + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getParameterDelegationAccess().getKw1Keyword_1_0_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_0_1_0()); + } + lv_p_2_0=norm3_Delegation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); + } + set( + $current, + "p", + lv_p_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + | + ( + otherlv_3='kw2' + { + newLeafNode(otherlv_3, grammarAccess.getParameterDelegationAccess().getKw2Keyword_1_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_1_1_0()); + } + lv_p_4_0=norm1_Delegation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); + } + set( + $current, + "p", + lv_p_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) + ) + ) ; - - - - // Entry rule entryRuleDelegation -entryRuleDelegation returns [EObject current=null] - : +entryRuleDelegation returns [EObject current=null]: { newCompositeNode(grammarAccess.getDelegationRule()); } - iv_ruleDelegation=ruleDelegation - { $current=$iv_ruleDelegation.current; } - EOF -; + iv_ruleDelegation=ruleDelegation + { $current=$iv_ruleDelegation.current; } + EOF; // Rule Delegation -ruleDelegation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_np_0_0=RULE_INT +ruleDelegation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_np_0_0=RULE_INT + { + newLeafNode(lv_np_0_0, grammarAccess.getDelegationAccess().getNpINTTerminalRuleCall_0_0_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDelegationRule()); + } + setWithLastConsumed( + $current, + "np", + lv_np_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) +; + + +// Rule Delegation +norm1_Delegation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwd' { - newLeafNode(lv_np_0_0, grammarAccess.getDelegationAccess().getNpINTTerminalRuleCall_0_0_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); } { - if ($current==null) { - $current = createModelElement(grammarAccess.getDelegationRule()); - } - setWithLastConsumed( - $current, - "np", - lv_np_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - } - -) -) -; - - - - - - -// Rule Delegation -norm1_Delegation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwd' - { - newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); - } - - { - newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); - } - this_Delegation_1=ruleDelegation - { - $current = $this_Delegation_1.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), - $current); - } -)( -( - { - newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); - } - lv_rc2_3_0=ruleDelegation { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDelegationRule()); - } - set( - $current, - "rc2", - lv_rc2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - } - -) -))?) -; - - - - - - -// Rule Delegation -norm2_Delegation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_p_0_0=RULE_ID + newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); + } + this_Delegation_1=ruleDelegation { - newLeafNode(lv_p_0_0, grammarAccess.getDelegationAccess().getPIDTerminalRuleCall_0_0_0_0_0()); + $current = $this_Delegation_1.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), + $current); + } + ) + ( + ( + { + newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); + } + lv_rc2_3_0=ruleDelegation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDelegationRule()); + } + set( + $current, + "rc2", + lv_rc2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) +; + + +// Rule Delegation +norm2_Delegation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_p_0_0=RULE_ID + { + newLeafNode(lv_p_0_0, grammarAccess.getDelegationAccess().getPIDTerminalRuleCall_0_0_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDelegationRule()); + } + setWithLastConsumed( + $current, + "p", + lv_p_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) +; + + +// Rule Delegation +norm3_Delegation returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='kwd' + { + newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); } { - if ($current==null) { - $current = createModelElement(grammarAccess.getDelegationRule()); - } - setWithLastConsumed( - $current, - "p", - lv_p_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) + newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); + } + this_Delegation_1=norm2_Delegation + { + $current = $this_Delegation_1.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), + $current); + } + ) + ( + ( + { + newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); + } + lv_rc2_3_0=norm2_Delegation + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getDelegationRule()); + } + set( + $current, + "rc2", + lv_rc2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ) ; - - - - - -// Rule Delegation -norm3_Delegation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='kwd' - { - newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); - } - - { - newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); - } - this_Delegation_1=norm2_Delegation - { - $current = $this_Delegation_1.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), - $current); - } -)( -( - { - newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); - } - lv_rc2_3_0=norm2_Delegation { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getDelegationRule()); - } - set( - $current, - "rc2", - lv_rc2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - } - -) -))?) -; - - - - - // Rule DefEnum1 -ruleDefEnum1 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='kw1' - { - $current = grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration()); - } -); - - +ruleDefEnum1 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='kw1' + { + $current = grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration()); + } + ) +; // Rule DefEnum2 -ruleDefEnum2 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='kw2' - { - $current = grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration()); - } -); - - +ruleDefEnum2 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='kw2' + { + $current = grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration()); + } + ) +; // Rule DefEnum3 -ruleDefEnum3 returns [Enumerator current=null] - @init { enterRule(); } - @after { leaveRule(); }: -( enumLiteral_0='kw3' - { - $current = grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration()); - } -); - - +ruleDefEnum3 returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + enumLiteral_0='kw3' + { + $current = grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration()); + } + ) +; RULE_ID1 : '$1' RULE_ID; @@ -4771,5 +4767,3 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_WS : (' '|'\t'|'\r'|'\n')+; RULE_ANY_OTHER : .; - - diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageLexer.java index c952c544f..c8fdac33a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageLexer.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageLexer.java @@ -1118,8 +1118,8 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID1; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4755:10: ( '$1' RULE_ID ) - // InternalSequencerTestLanguage.g:4755:12: '$1' RULE_ID + // InternalSequencerTestLanguage.g:4751:10: ( '$1' RULE_ID ) + // InternalSequencerTestLanguage.g:4751:12: '$1' RULE_ID { match("$1"); @@ -1140,8 +1140,8 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID2; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4757:10: ( '$2' RULE_ID ) - // InternalSequencerTestLanguage.g:4757:12: '$2' RULE_ID + // InternalSequencerTestLanguage.g:4753:10: ( '$2' RULE_ID ) + // InternalSequencerTestLanguage.g:4753:12: '$2' RULE_ID { match("$2"); @@ -1162,8 +1162,8 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID3; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4759:10: ( '$3' RULE_ID ) - // InternalSequencerTestLanguage.g:4759:12: '$3' RULE_ID + // InternalSequencerTestLanguage.g:4755:10: ( '$3' RULE_ID ) + // InternalSequencerTestLanguage.g:4755:12: '$3' RULE_ID { match("$3"); @@ -1184,10 +1184,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4761:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSequencerTestLanguage.g:4761:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSequencerTestLanguage.g:4757:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSequencerTestLanguage.g:4757:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSequencerTestLanguage.g:4761:11: ( '^' )? + // InternalSequencerTestLanguage.g:4757:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1196,7 +1196,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } switch (alt1) { case 1 : - // InternalSequencerTestLanguage.g:4761:11: '^' + // InternalSequencerTestLanguage.g:4757:11: '^' { match('^'); @@ -1214,7 +1214,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSequencerTestLanguage.g:4761:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSequencerTestLanguage.g:4757:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -1263,10 +1263,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4763:10: ( ( '0' .. '9' )+ ) - // InternalSequencerTestLanguage.g:4763:12: ( '0' .. '9' )+ + // InternalSequencerTestLanguage.g:4759:10: ( ( '0' .. '9' )+ ) + // InternalSequencerTestLanguage.g:4759:12: ( '0' .. '9' )+ { - // InternalSequencerTestLanguage.g:4763:12: ( '0' .. '9' )+ + // InternalSequencerTestLanguage.g:4759:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -1280,7 +1280,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { switch (alt3) { case 1 : - // InternalSequencerTestLanguage.g:4763:13: '0' .. '9' + // InternalSequencerTestLanguage.g:4759:13: '0' .. '9' { matchRange('0','9'); @@ -1312,10 +1312,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4765:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalSequencerTestLanguage.g:4765:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSequencerTestLanguage.g:4761:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalSequencerTestLanguage.g:4761:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalSequencerTestLanguage.g:4765:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSequencerTestLanguage.g:4761:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1333,10 +1333,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSequencerTestLanguage.g:4765:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSequencerTestLanguage.g:4761:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSequencerTestLanguage.g:4765:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSequencerTestLanguage.g:4761:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1352,7 +1352,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSequencerTestLanguage.g:4765:21: '\\\\' . + // InternalSequencerTestLanguage.g:4761:21: '\\\\' . { match('\\'); matchAny(); @@ -1360,7 +1360,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSequencerTestLanguage.g:4765:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalSequencerTestLanguage.g:4761:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1385,10 +1385,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSequencerTestLanguage.g:4765:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSequencerTestLanguage.g:4761:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSequencerTestLanguage.g:4765:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSequencerTestLanguage.g:4761:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1404,7 +1404,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { switch (alt5) { case 1 : - // InternalSequencerTestLanguage.g:4765:54: '\\\\' . + // InternalSequencerTestLanguage.g:4761:54: '\\\\' . { match('\\'); matchAny(); @@ -1412,7 +1412,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSequencerTestLanguage.g:4765:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSequencerTestLanguage.g:4761:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1455,12 +1455,12 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4767:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSequencerTestLanguage.g:4767:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSequencerTestLanguage.g:4763:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSequencerTestLanguage.g:4763:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSequencerTestLanguage.g:4767:24: ( options {greedy=false; } : . )* + // InternalSequencerTestLanguage.g:4763:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1485,7 +1485,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalSequencerTestLanguage.g:4767:52: . + // InternalSequencerTestLanguage.g:4763:52: . { matchAny(); @@ -1515,12 +1515,12 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4769:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSequencerTestLanguage.g:4769:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSequencerTestLanguage.g:4765:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSequencerTestLanguage.g:4765:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalSequencerTestLanguage.g:4769:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSequencerTestLanguage.g:4765:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1533,7 +1533,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { switch (alt8) { case 1 : - // InternalSequencerTestLanguage.g:4769:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalSequencerTestLanguage.g:4765:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1553,7 +1553,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } } while (true); - // InternalSequencerTestLanguage.g:4769:40: ( ( '\\r' )? '\\n' )? + // InternalSequencerTestLanguage.g:4765:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1562,9 +1562,9 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } switch (alt10) { case 1 : - // InternalSequencerTestLanguage.g:4769:41: ( '\\r' )? '\\n' + // InternalSequencerTestLanguage.g:4765:41: ( '\\r' )? '\\n' { - // InternalSequencerTestLanguage.g:4769:41: ( '\\r' )? + // InternalSequencerTestLanguage.g:4765:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1573,7 +1573,7 @@ public class InternalSequencerTestLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // InternalSequencerTestLanguage.g:4769:41: '\\r' + // InternalSequencerTestLanguage.g:4765:41: '\\r' { match('\r'); @@ -1605,10 +1605,10 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4771:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSequencerTestLanguage.g:4771:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSequencerTestLanguage.g:4767:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSequencerTestLanguage.g:4767:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSequencerTestLanguage.g:4771:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSequencerTestLanguage.g:4767:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1662,8 +1662,8 @@ public class InternalSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSequencerTestLanguage.g:4773:16: ( . ) - // InternalSequencerTestLanguage.g:4773:18: . + // InternalSequencerTestLanguage.g:4769:16: ( . ) + // InternalSequencerTestLanguage.g:4769:18: . { matchAny(); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageParser.java index 1b00c0d46..4be77d09a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSequencerTestLanguageParser.java @@ -1,4 +1,4 @@ -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -104,18 +104,18 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa private SequencerTestLanguageGrammarAccess grammarAccess; - + public InternalSequencerTestLanguageParser(TokenStream input, SequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected SequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; @@ -123,8 +123,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa + // $ANTLR start "entryRuleModel" - // InternalSequencerTestLanguage.g:68:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; + // InternalSequencerTestLanguage.g:65:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; public final EObject entryRuleModel() throws RecognitionException { EObject current = null; @@ -132,8 +133,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:69:2: (iv_ruleModel= ruleModel EOF ) - // InternalSequencerTestLanguage.g:70:2: iv_ruleModel= ruleModel EOF + // InternalSequencerTestLanguage.g:65:46: (iv_ruleModel= ruleModel EOF ) + // InternalSequencerTestLanguage.g:66:2: iv_ruleModel= ruleModel EOF { newCompositeNode(grammarAccess.getModelRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -147,11 +148,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -160,7 +161,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleModel" - // InternalSequencerTestLanguage.g:77:1: ruleModel returns [EObject current=null] : ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) ; + // InternalSequencerTestLanguage.g:72:1: ruleModel returns [EObject current=null] : ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) ; public final EObject ruleModel() throws RecognitionException { EObject current = null; @@ -235,13 +236,14 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_x35_34_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:80:28: ( ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) ) - // InternalSequencerTestLanguage.g:81:1: ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) + // InternalSequencerTestLanguage.g:78:2: ( ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) ) + // InternalSequencerTestLanguage.g:79:2: ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) { - // InternalSequencerTestLanguage.g:81:1: ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) + // InternalSequencerTestLanguage.g:79:2: ( ( (lv_x1_0_0= ruleSimpleGroup ) ) | ( (lv_x2_1_0= ruleSimpleAlternative ) ) | ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) | ( (lv_x4_3_0= ruleGroupMultiplicities ) ) | ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) | ( (lv_x6_5_0= ruleList1 ) ) | ( (lv_x7_6_0= ruleList2 ) ) | ( (lv_x8_7_0= ruleAltList1 ) ) | ( (lv_x9_8_0= ruleAltList2 ) ) | ( (lv_x10_9_0= ruleSingleKeywords ) ) | ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) | ( (lv_x12_11_0= ruleSingleTerminals ) ) | ( (lv_x10_12_0= ruleMultiKeywords ) ) | ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) | ( (lv_x12_14_0= ruleMultiTerminals ) ) | ( (lv_x13_15_0= ruleSingleEnum ) ) | ( (lv_x14_16_0= ruleSingleCrossReference ) ) | ( (lv_x15_17_0= ruleSingleContainmentReference ) ) | ( (lv_x19_18_0= ruleDependentAlternative1 ) ) | ( (lv_x20_19_0= ruleDependentAlternative2 ) ) | ( (lv_x21_20_0= ruleOptional ) ) | ( (lv_x22_21_0= ruleFloat ) ) | ( (lv_x23_22_0= ruleUnorderedAlternative ) ) | ( (lv_x24_23_0= ruleUnorderedGroup ) ) | ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) | ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) | ( (lv_x27_26_0= ruleComplex1 ) ) | ( (lv_x28_27_0= ruleOptionalDouble ) ) | ( (lv_x29_28_0= ruleNullValueGenerated ) ) | ( (lv_x30_29_0= ruleNullValueInterpreted ) ) | ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) | ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) | ( (lv_x33_32_0= ruleFragmentCaller ) ) | ( (lv_x34_33_0= ruleParameterCaller ) ) | ( (lv_x35_34_0= ruleParameterDelegation ) ) ) int alt1=35; switch ( input.LA(1) ) { case 14: @@ -428,33 +430,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt1) { case 1 : - // InternalSequencerTestLanguage.g:81:2: ( (lv_x1_0_0= ruleSimpleGroup ) ) + // InternalSequencerTestLanguage.g:80:3: ( (lv_x1_0_0= ruleSimpleGroup ) ) { - // InternalSequencerTestLanguage.g:81:2: ( (lv_x1_0_0= ruleSimpleGroup ) ) - // InternalSequencerTestLanguage.g:82:1: (lv_x1_0_0= ruleSimpleGroup ) + // InternalSequencerTestLanguage.g:80:3: ( (lv_x1_0_0= ruleSimpleGroup ) ) + // InternalSequencerTestLanguage.g:81:4: (lv_x1_0_0= ruleSimpleGroup ) { - // InternalSequencerTestLanguage.g:82:1: (lv_x1_0_0= ruleSimpleGroup ) - // InternalSequencerTestLanguage.g:83:3: lv_x1_0_0= ruleSimpleGroup + // InternalSequencerTestLanguage.g:81:4: (lv_x1_0_0= ruleSimpleGroup ) + // InternalSequencerTestLanguage.g:82:5: lv_x1_0_0= ruleSimpleGroup { - - newCompositeNode(grammarAccess.getModelAccess().getX1SimpleGroupParserRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX1SimpleGroupParserRuleCall_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x1_0_0=ruleSimpleGroup(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x1", - lv_x1_0_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleGroup"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x1", + lv_x1_0_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleGroup"); + afterParserOrEnumRuleCall(); + } @@ -465,33 +467,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:100:6: ( (lv_x2_1_0= ruleSimpleAlternative ) ) + // InternalSequencerTestLanguage.g:100:3: ( (lv_x2_1_0= ruleSimpleAlternative ) ) { - // InternalSequencerTestLanguage.g:100:6: ( (lv_x2_1_0= ruleSimpleAlternative ) ) - // InternalSequencerTestLanguage.g:101:1: (lv_x2_1_0= ruleSimpleAlternative ) + // InternalSequencerTestLanguage.g:100:3: ( (lv_x2_1_0= ruleSimpleAlternative ) ) + // InternalSequencerTestLanguage.g:101:4: (lv_x2_1_0= ruleSimpleAlternative ) { - // InternalSequencerTestLanguage.g:101:1: (lv_x2_1_0= ruleSimpleAlternative ) - // InternalSequencerTestLanguage.g:102:3: lv_x2_1_0= ruleSimpleAlternative + // InternalSequencerTestLanguage.g:101:4: (lv_x2_1_0= ruleSimpleAlternative ) + // InternalSequencerTestLanguage.g:102:5: lv_x2_1_0= ruleSimpleAlternative { - - newCompositeNode(grammarAccess.getModelAccess().getX2SimpleAlternativeParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX2SimpleAlternativeParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x2_1_0=ruleSimpleAlternative(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x2", - lv_x2_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleAlternative"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x2", + lv_x2_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleAlternative"); + afterParserOrEnumRuleCall(); + } @@ -502,33 +504,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:119:6: ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) + // InternalSequencerTestLanguage.g:120:3: ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) { - // InternalSequencerTestLanguage.g:119:6: ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) - // InternalSequencerTestLanguage.g:120:1: (lv_x3_2_0= ruleSimpleMultiplicities ) + // InternalSequencerTestLanguage.g:120:3: ( (lv_x3_2_0= ruleSimpleMultiplicities ) ) + // InternalSequencerTestLanguage.g:121:4: (lv_x3_2_0= ruleSimpleMultiplicities ) { - // InternalSequencerTestLanguage.g:120:1: (lv_x3_2_0= ruleSimpleMultiplicities ) - // InternalSequencerTestLanguage.g:121:3: lv_x3_2_0= ruleSimpleMultiplicities + // InternalSequencerTestLanguage.g:121:4: (lv_x3_2_0= ruleSimpleMultiplicities ) + // InternalSequencerTestLanguage.g:122:5: lv_x3_2_0= ruleSimpleMultiplicities { - - newCompositeNode(grammarAccess.getModelAccess().getX3SimpleMultiplicitiesParserRuleCall_2_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX3SimpleMultiplicitiesParserRuleCall_2_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x3_2_0=ruleSimpleMultiplicities(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x3", - lv_x3_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleMultiplicities"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x3", + lv_x3_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleMultiplicities"); + afterParserOrEnumRuleCall(); + } @@ -539,33 +541,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 4 : - // InternalSequencerTestLanguage.g:138:6: ( (lv_x4_3_0= ruleGroupMultiplicities ) ) + // InternalSequencerTestLanguage.g:140:3: ( (lv_x4_3_0= ruleGroupMultiplicities ) ) { - // InternalSequencerTestLanguage.g:138:6: ( (lv_x4_3_0= ruleGroupMultiplicities ) ) - // InternalSequencerTestLanguage.g:139:1: (lv_x4_3_0= ruleGroupMultiplicities ) + // InternalSequencerTestLanguage.g:140:3: ( (lv_x4_3_0= ruleGroupMultiplicities ) ) + // InternalSequencerTestLanguage.g:141:4: (lv_x4_3_0= ruleGroupMultiplicities ) { - // InternalSequencerTestLanguage.g:139:1: (lv_x4_3_0= ruleGroupMultiplicities ) - // InternalSequencerTestLanguage.g:140:3: lv_x4_3_0= ruleGroupMultiplicities + // InternalSequencerTestLanguage.g:141:4: (lv_x4_3_0= ruleGroupMultiplicities ) + // InternalSequencerTestLanguage.g:142:5: lv_x4_3_0= ruleGroupMultiplicities { - - newCompositeNode(grammarAccess.getModelAccess().getX4GroupMultiplicitiesParserRuleCall_3_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX4GroupMultiplicitiesParserRuleCall_3_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x4_3_0=ruleGroupMultiplicities(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x4", - lv_x4_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.GroupMultiplicities"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x4", + lv_x4_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.GroupMultiplicities"); + afterParserOrEnumRuleCall(); + } @@ -576,33 +578,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 5 : - // InternalSequencerTestLanguage.g:157:6: ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) + // InternalSequencerTestLanguage.g:160:3: ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) { - // InternalSequencerTestLanguage.g:157:6: ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) - // InternalSequencerTestLanguage.g:158:1: (lv_x5_4_0= ruleAlternativeMultiplicities ) + // InternalSequencerTestLanguage.g:160:3: ( (lv_x5_4_0= ruleAlternativeMultiplicities ) ) + // InternalSequencerTestLanguage.g:161:4: (lv_x5_4_0= ruleAlternativeMultiplicities ) { - // InternalSequencerTestLanguage.g:158:1: (lv_x5_4_0= ruleAlternativeMultiplicities ) - // InternalSequencerTestLanguage.g:159:3: lv_x5_4_0= ruleAlternativeMultiplicities + // InternalSequencerTestLanguage.g:161:4: (lv_x5_4_0= ruleAlternativeMultiplicities ) + // InternalSequencerTestLanguage.g:162:5: lv_x5_4_0= ruleAlternativeMultiplicities { - - newCompositeNode(grammarAccess.getModelAccess().getX5AlternativeMultiplicitiesParserRuleCall_4_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX5AlternativeMultiplicitiesParserRuleCall_4_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x5_4_0=ruleAlternativeMultiplicities(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x5", - lv_x5_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AlternativeMultiplicities"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x5", + lv_x5_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AlternativeMultiplicities"); + afterParserOrEnumRuleCall(); + } @@ -613,33 +615,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 6 : - // InternalSequencerTestLanguage.g:176:6: ( (lv_x6_5_0= ruleList1 ) ) + // InternalSequencerTestLanguage.g:180:3: ( (lv_x6_5_0= ruleList1 ) ) { - // InternalSequencerTestLanguage.g:176:6: ( (lv_x6_5_0= ruleList1 ) ) - // InternalSequencerTestLanguage.g:177:1: (lv_x6_5_0= ruleList1 ) + // InternalSequencerTestLanguage.g:180:3: ( (lv_x6_5_0= ruleList1 ) ) + // InternalSequencerTestLanguage.g:181:4: (lv_x6_5_0= ruleList1 ) { - // InternalSequencerTestLanguage.g:177:1: (lv_x6_5_0= ruleList1 ) - // InternalSequencerTestLanguage.g:178:3: lv_x6_5_0= ruleList1 + // InternalSequencerTestLanguage.g:181:4: (lv_x6_5_0= ruleList1 ) + // InternalSequencerTestLanguage.g:182:5: lv_x6_5_0= ruleList1 { - - newCompositeNode(grammarAccess.getModelAccess().getX6List1ParserRuleCall_5_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX6List1ParserRuleCall_5_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x6_5_0=ruleList1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x6", - lv_x6_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.List1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x6", + lv_x6_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.List1"); + afterParserOrEnumRuleCall(); + } @@ -650,33 +652,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 7 : - // InternalSequencerTestLanguage.g:195:6: ( (lv_x7_6_0= ruleList2 ) ) + // InternalSequencerTestLanguage.g:200:3: ( (lv_x7_6_0= ruleList2 ) ) { - // InternalSequencerTestLanguage.g:195:6: ( (lv_x7_6_0= ruleList2 ) ) - // InternalSequencerTestLanguage.g:196:1: (lv_x7_6_0= ruleList2 ) + // InternalSequencerTestLanguage.g:200:3: ( (lv_x7_6_0= ruleList2 ) ) + // InternalSequencerTestLanguage.g:201:4: (lv_x7_6_0= ruleList2 ) { - // InternalSequencerTestLanguage.g:196:1: (lv_x7_6_0= ruleList2 ) - // InternalSequencerTestLanguage.g:197:3: lv_x7_6_0= ruleList2 + // InternalSequencerTestLanguage.g:201:4: (lv_x7_6_0= ruleList2 ) + // InternalSequencerTestLanguage.g:202:5: lv_x7_6_0= ruleList2 { - - newCompositeNode(grammarAccess.getModelAccess().getX7List2ParserRuleCall_6_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX7List2ParserRuleCall_6_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x7_6_0=ruleList2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x7", - lv_x7_6_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.List2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x7", + lv_x7_6_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.List2"); + afterParserOrEnumRuleCall(); + } @@ -687,33 +689,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 8 : - // InternalSequencerTestLanguage.g:214:6: ( (lv_x8_7_0= ruleAltList1 ) ) + // InternalSequencerTestLanguage.g:220:3: ( (lv_x8_7_0= ruleAltList1 ) ) { - // InternalSequencerTestLanguage.g:214:6: ( (lv_x8_7_0= ruleAltList1 ) ) - // InternalSequencerTestLanguage.g:215:1: (lv_x8_7_0= ruleAltList1 ) + // InternalSequencerTestLanguage.g:220:3: ( (lv_x8_7_0= ruleAltList1 ) ) + // InternalSequencerTestLanguage.g:221:4: (lv_x8_7_0= ruleAltList1 ) { - // InternalSequencerTestLanguage.g:215:1: (lv_x8_7_0= ruleAltList1 ) - // InternalSequencerTestLanguage.g:216:3: lv_x8_7_0= ruleAltList1 + // InternalSequencerTestLanguage.g:221:4: (lv_x8_7_0= ruleAltList1 ) + // InternalSequencerTestLanguage.g:222:5: lv_x8_7_0= ruleAltList1 { - - newCompositeNode(grammarAccess.getModelAccess().getX8AltList1ParserRuleCall_7_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX8AltList1ParserRuleCall_7_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x8_7_0=ruleAltList1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x8", - lv_x8_7_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x8", + lv_x8_7_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList1"); + afterParserOrEnumRuleCall(); + } @@ -724,33 +726,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 9 : - // InternalSequencerTestLanguage.g:233:6: ( (lv_x9_8_0= ruleAltList2 ) ) + // InternalSequencerTestLanguage.g:240:3: ( (lv_x9_8_0= ruleAltList2 ) ) { - // InternalSequencerTestLanguage.g:233:6: ( (lv_x9_8_0= ruleAltList2 ) ) - // InternalSequencerTestLanguage.g:234:1: (lv_x9_8_0= ruleAltList2 ) + // InternalSequencerTestLanguage.g:240:3: ( (lv_x9_8_0= ruleAltList2 ) ) + // InternalSequencerTestLanguage.g:241:4: (lv_x9_8_0= ruleAltList2 ) { - // InternalSequencerTestLanguage.g:234:1: (lv_x9_8_0= ruleAltList2 ) - // InternalSequencerTestLanguage.g:235:3: lv_x9_8_0= ruleAltList2 + // InternalSequencerTestLanguage.g:241:4: (lv_x9_8_0= ruleAltList2 ) + // InternalSequencerTestLanguage.g:242:5: lv_x9_8_0= ruleAltList2 { - - newCompositeNode(grammarAccess.getModelAccess().getX9AltList2ParserRuleCall_8_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX9AltList2ParserRuleCall_8_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x9_8_0=ruleAltList2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x9", - lv_x9_8_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x9", + lv_x9_8_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList2"); + afterParserOrEnumRuleCall(); + } @@ -761,33 +763,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 10 : - // InternalSequencerTestLanguage.g:252:6: ( (lv_x10_9_0= ruleSingleKeywords ) ) + // InternalSequencerTestLanguage.g:260:3: ( (lv_x10_9_0= ruleSingleKeywords ) ) { - // InternalSequencerTestLanguage.g:252:6: ( (lv_x10_9_0= ruleSingleKeywords ) ) - // InternalSequencerTestLanguage.g:253:1: (lv_x10_9_0= ruleSingleKeywords ) + // InternalSequencerTestLanguage.g:260:3: ( (lv_x10_9_0= ruleSingleKeywords ) ) + // InternalSequencerTestLanguage.g:261:4: (lv_x10_9_0= ruleSingleKeywords ) { - // InternalSequencerTestLanguage.g:253:1: (lv_x10_9_0= ruleSingleKeywords ) - // InternalSequencerTestLanguage.g:254:3: lv_x10_9_0= ruleSingleKeywords + // InternalSequencerTestLanguage.g:261:4: (lv_x10_9_0= ruleSingleKeywords ) + // InternalSequencerTestLanguage.g:262:5: lv_x10_9_0= ruleSingleKeywords { - - newCompositeNode(grammarAccess.getModelAccess().getX10SingleKeywordsParserRuleCall_9_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX10SingleKeywordsParserRuleCall_9_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x10_9_0=ruleSingleKeywords(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x10", - lv_x10_9_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywords"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x10", + lv_x10_9_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywords"); + afterParserOrEnumRuleCall(); + } @@ -798,33 +800,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 11 : - // InternalSequencerTestLanguage.g:271:6: ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) + // InternalSequencerTestLanguage.g:280:3: ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) { - // InternalSequencerTestLanguage.g:271:6: ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) - // InternalSequencerTestLanguage.g:272:1: (lv_x11_10_0= ruleSingleKeywordsOrID ) + // InternalSequencerTestLanguage.g:280:3: ( (lv_x11_10_0= ruleSingleKeywordsOrID ) ) + // InternalSequencerTestLanguage.g:281:4: (lv_x11_10_0= ruleSingleKeywordsOrID ) { - // InternalSequencerTestLanguage.g:272:1: (lv_x11_10_0= ruleSingleKeywordsOrID ) - // InternalSequencerTestLanguage.g:273:3: lv_x11_10_0= ruleSingleKeywordsOrID + // InternalSequencerTestLanguage.g:281:4: (lv_x11_10_0= ruleSingleKeywordsOrID ) + // InternalSequencerTestLanguage.g:282:5: lv_x11_10_0= ruleSingleKeywordsOrID { - - newCompositeNode(grammarAccess.getModelAccess().getX11SingleKeywordsOrIDParserRuleCall_10_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX11SingleKeywordsOrIDParserRuleCall_10_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x11_10_0=ruleSingleKeywordsOrID(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x11", - lv_x11_10_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywordsOrID"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x11", + lv_x11_10_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywordsOrID"); + afterParserOrEnumRuleCall(); + } @@ -835,33 +837,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 12 : - // InternalSequencerTestLanguage.g:290:6: ( (lv_x12_11_0= ruleSingleTerminals ) ) + // InternalSequencerTestLanguage.g:300:3: ( (lv_x12_11_0= ruleSingleTerminals ) ) { - // InternalSequencerTestLanguage.g:290:6: ( (lv_x12_11_0= ruleSingleTerminals ) ) - // InternalSequencerTestLanguage.g:291:1: (lv_x12_11_0= ruleSingleTerminals ) + // InternalSequencerTestLanguage.g:300:3: ( (lv_x12_11_0= ruleSingleTerminals ) ) + // InternalSequencerTestLanguage.g:301:4: (lv_x12_11_0= ruleSingleTerminals ) { - // InternalSequencerTestLanguage.g:291:1: (lv_x12_11_0= ruleSingleTerminals ) - // InternalSequencerTestLanguage.g:292:3: lv_x12_11_0= ruleSingleTerminals + // InternalSequencerTestLanguage.g:301:4: (lv_x12_11_0= ruleSingleTerminals ) + // InternalSequencerTestLanguage.g:302:5: lv_x12_11_0= ruleSingleTerminals { - - newCompositeNode(grammarAccess.getModelAccess().getX12SingleTerminalsParserRuleCall_11_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX12SingleTerminalsParserRuleCall_11_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x12_11_0=ruleSingleTerminals(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x12", - lv_x12_11_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleTerminals"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x12", + lv_x12_11_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleTerminals"); + afterParserOrEnumRuleCall(); + } @@ -872,33 +874,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 13 : - // InternalSequencerTestLanguage.g:309:6: ( (lv_x10_12_0= ruleMultiKeywords ) ) + // InternalSequencerTestLanguage.g:320:3: ( (lv_x10_12_0= ruleMultiKeywords ) ) { - // InternalSequencerTestLanguage.g:309:6: ( (lv_x10_12_0= ruleMultiKeywords ) ) - // InternalSequencerTestLanguage.g:310:1: (lv_x10_12_0= ruleMultiKeywords ) + // InternalSequencerTestLanguage.g:320:3: ( (lv_x10_12_0= ruleMultiKeywords ) ) + // InternalSequencerTestLanguage.g:321:4: (lv_x10_12_0= ruleMultiKeywords ) { - // InternalSequencerTestLanguage.g:310:1: (lv_x10_12_0= ruleMultiKeywords ) - // InternalSequencerTestLanguage.g:311:3: lv_x10_12_0= ruleMultiKeywords + // InternalSequencerTestLanguage.g:321:4: (lv_x10_12_0= ruleMultiKeywords ) + // InternalSequencerTestLanguage.g:322:5: lv_x10_12_0= ruleMultiKeywords { - - newCompositeNode(grammarAccess.getModelAccess().getX10MultiKeywordsParserRuleCall_12_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX10MultiKeywordsParserRuleCall_12_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x10_12_0=ruleMultiKeywords(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x10", - lv_x10_12_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywords"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x10", + lv_x10_12_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywords"); + afterParserOrEnumRuleCall(); + } @@ -909,33 +911,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 14 : - // InternalSequencerTestLanguage.g:328:6: ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) + // InternalSequencerTestLanguage.g:340:3: ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) { - // InternalSequencerTestLanguage.g:328:6: ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) - // InternalSequencerTestLanguage.g:329:1: (lv_x11_13_0= ruleMultiKeywordsOrID ) + // InternalSequencerTestLanguage.g:340:3: ( (lv_x11_13_0= ruleMultiKeywordsOrID ) ) + // InternalSequencerTestLanguage.g:341:4: (lv_x11_13_0= ruleMultiKeywordsOrID ) { - // InternalSequencerTestLanguage.g:329:1: (lv_x11_13_0= ruleMultiKeywordsOrID ) - // InternalSequencerTestLanguage.g:330:3: lv_x11_13_0= ruleMultiKeywordsOrID + // InternalSequencerTestLanguage.g:341:4: (lv_x11_13_0= ruleMultiKeywordsOrID ) + // InternalSequencerTestLanguage.g:342:5: lv_x11_13_0= ruleMultiKeywordsOrID { - - newCompositeNode(grammarAccess.getModelAccess().getX11MultiKeywordsOrIDParserRuleCall_13_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX11MultiKeywordsOrIDParserRuleCall_13_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x11_13_0=ruleMultiKeywordsOrID(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x11", - lv_x11_13_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywordsOrID"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x11", + lv_x11_13_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywordsOrID"); + afterParserOrEnumRuleCall(); + } @@ -946,33 +948,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 15 : - // InternalSequencerTestLanguage.g:347:6: ( (lv_x12_14_0= ruleMultiTerminals ) ) + // InternalSequencerTestLanguage.g:360:3: ( (lv_x12_14_0= ruleMultiTerminals ) ) { - // InternalSequencerTestLanguage.g:347:6: ( (lv_x12_14_0= ruleMultiTerminals ) ) - // InternalSequencerTestLanguage.g:348:1: (lv_x12_14_0= ruleMultiTerminals ) + // InternalSequencerTestLanguage.g:360:3: ( (lv_x12_14_0= ruleMultiTerminals ) ) + // InternalSequencerTestLanguage.g:361:4: (lv_x12_14_0= ruleMultiTerminals ) { - // InternalSequencerTestLanguage.g:348:1: (lv_x12_14_0= ruleMultiTerminals ) - // InternalSequencerTestLanguage.g:349:3: lv_x12_14_0= ruleMultiTerminals + // InternalSequencerTestLanguage.g:361:4: (lv_x12_14_0= ruleMultiTerminals ) + // InternalSequencerTestLanguage.g:362:5: lv_x12_14_0= ruleMultiTerminals { - - newCompositeNode(grammarAccess.getModelAccess().getX12MultiTerminalsParserRuleCall_14_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX12MultiTerminalsParserRuleCall_14_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x12_14_0=ruleMultiTerminals(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x12", - lv_x12_14_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiTerminals"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x12", + lv_x12_14_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiTerminals"); + afterParserOrEnumRuleCall(); + } @@ -983,33 +985,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 16 : - // InternalSequencerTestLanguage.g:366:6: ( (lv_x13_15_0= ruleSingleEnum ) ) + // InternalSequencerTestLanguage.g:380:3: ( (lv_x13_15_0= ruleSingleEnum ) ) { - // InternalSequencerTestLanguage.g:366:6: ( (lv_x13_15_0= ruleSingleEnum ) ) - // InternalSequencerTestLanguage.g:367:1: (lv_x13_15_0= ruleSingleEnum ) + // InternalSequencerTestLanguage.g:380:3: ( (lv_x13_15_0= ruleSingleEnum ) ) + // InternalSequencerTestLanguage.g:381:4: (lv_x13_15_0= ruleSingleEnum ) { - // InternalSequencerTestLanguage.g:367:1: (lv_x13_15_0= ruleSingleEnum ) - // InternalSequencerTestLanguage.g:368:3: lv_x13_15_0= ruleSingleEnum + // InternalSequencerTestLanguage.g:381:4: (lv_x13_15_0= ruleSingleEnum ) + // InternalSequencerTestLanguage.g:382:5: lv_x13_15_0= ruleSingleEnum { - - newCompositeNode(grammarAccess.getModelAccess().getX13SingleEnumParserRuleCall_15_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX13SingleEnumParserRuleCall_15_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x13_15_0=ruleSingleEnum(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x13", - lv_x13_15_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleEnum"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x13", + lv_x13_15_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleEnum"); + afterParserOrEnumRuleCall(); + } @@ -1020,33 +1022,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 17 : - // InternalSequencerTestLanguage.g:385:6: ( (lv_x14_16_0= ruleSingleCrossReference ) ) + // InternalSequencerTestLanguage.g:400:3: ( (lv_x14_16_0= ruleSingleCrossReference ) ) { - // InternalSequencerTestLanguage.g:385:6: ( (lv_x14_16_0= ruleSingleCrossReference ) ) - // InternalSequencerTestLanguage.g:386:1: (lv_x14_16_0= ruleSingleCrossReference ) + // InternalSequencerTestLanguage.g:400:3: ( (lv_x14_16_0= ruleSingleCrossReference ) ) + // InternalSequencerTestLanguage.g:401:4: (lv_x14_16_0= ruleSingleCrossReference ) { - // InternalSequencerTestLanguage.g:386:1: (lv_x14_16_0= ruleSingleCrossReference ) - // InternalSequencerTestLanguage.g:387:3: lv_x14_16_0= ruleSingleCrossReference + // InternalSequencerTestLanguage.g:401:4: (lv_x14_16_0= ruleSingleCrossReference ) + // InternalSequencerTestLanguage.g:402:5: lv_x14_16_0= ruleSingleCrossReference { - - newCompositeNode(grammarAccess.getModelAccess().getX14SingleCrossReferenceParserRuleCall_16_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX14SingleCrossReferenceParserRuleCall_16_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x14_16_0=ruleSingleCrossReference(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x14", - lv_x14_16_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleCrossReference"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x14", + lv_x14_16_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleCrossReference"); + afterParserOrEnumRuleCall(); + } @@ -1057,33 +1059,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 18 : - // InternalSequencerTestLanguage.g:404:6: ( (lv_x15_17_0= ruleSingleContainmentReference ) ) + // InternalSequencerTestLanguage.g:420:3: ( (lv_x15_17_0= ruleSingleContainmentReference ) ) { - // InternalSequencerTestLanguage.g:404:6: ( (lv_x15_17_0= ruleSingleContainmentReference ) ) - // InternalSequencerTestLanguage.g:405:1: (lv_x15_17_0= ruleSingleContainmentReference ) + // InternalSequencerTestLanguage.g:420:3: ( (lv_x15_17_0= ruleSingleContainmentReference ) ) + // InternalSequencerTestLanguage.g:421:4: (lv_x15_17_0= ruleSingleContainmentReference ) { - // InternalSequencerTestLanguage.g:405:1: (lv_x15_17_0= ruleSingleContainmentReference ) - // InternalSequencerTestLanguage.g:406:3: lv_x15_17_0= ruleSingleContainmentReference + // InternalSequencerTestLanguage.g:421:4: (lv_x15_17_0= ruleSingleContainmentReference ) + // InternalSequencerTestLanguage.g:422:5: lv_x15_17_0= ruleSingleContainmentReference { - - newCompositeNode(grammarAccess.getModelAccess().getX15SingleContainmentReferenceParserRuleCall_17_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX15SingleContainmentReferenceParserRuleCall_17_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x15_17_0=ruleSingleContainmentReference(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x15", - lv_x15_17_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReference"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x15", + lv_x15_17_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReference"); + afterParserOrEnumRuleCall(); + } @@ -1094,33 +1096,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 19 : - // InternalSequencerTestLanguage.g:423:6: ( (lv_x19_18_0= ruleDependentAlternative1 ) ) + // InternalSequencerTestLanguage.g:440:3: ( (lv_x19_18_0= ruleDependentAlternative1 ) ) { - // InternalSequencerTestLanguage.g:423:6: ( (lv_x19_18_0= ruleDependentAlternative1 ) ) - // InternalSequencerTestLanguage.g:424:1: (lv_x19_18_0= ruleDependentAlternative1 ) + // InternalSequencerTestLanguage.g:440:3: ( (lv_x19_18_0= ruleDependentAlternative1 ) ) + // InternalSequencerTestLanguage.g:441:4: (lv_x19_18_0= ruleDependentAlternative1 ) { - // InternalSequencerTestLanguage.g:424:1: (lv_x19_18_0= ruleDependentAlternative1 ) - // InternalSequencerTestLanguage.g:425:3: lv_x19_18_0= ruleDependentAlternative1 + // InternalSequencerTestLanguage.g:441:4: (lv_x19_18_0= ruleDependentAlternative1 ) + // InternalSequencerTestLanguage.g:442:5: lv_x19_18_0= ruleDependentAlternative1 { - - newCompositeNode(grammarAccess.getModelAccess().getX19DependentAlternative1ParserRuleCall_18_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX19DependentAlternative1ParserRuleCall_18_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x19_18_0=ruleDependentAlternative1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x19", - lv_x19_18_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x19", + lv_x19_18_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative1"); + afterParserOrEnumRuleCall(); + } @@ -1131,33 +1133,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 20 : - // InternalSequencerTestLanguage.g:442:6: ( (lv_x20_19_0= ruleDependentAlternative2 ) ) + // InternalSequencerTestLanguage.g:460:3: ( (lv_x20_19_0= ruleDependentAlternative2 ) ) { - // InternalSequencerTestLanguage.g:442:6: ( (lv_x20_19_0= ruleDependentAlternative2 ) ) - // InternalSequencerTestLanguage.g:443:1: (lv_x20_19_0= ruleDependentAlternative2 ) + // InternalSequencerTestLanguage.g:460:3: ( (lv_x20_19_0= ruleDependentAlternative2 ) ) + // InternalSequencerTestLanguage.g:461:4: (lv_x20_19_0= ruleDependentAlternative2 ) { - // InternalSequencerTestLanguage.g:443:1: (lv_x20_19_0= ruleDependentAlternative2 ) - // InternalSequencerTestLanguage.g:444:3: lv_x20_19_0= ruleDependentAlternative2 + // InternalSequencerTestLanguage.g:461:4: (lv_x20_19_0= ruleDependentAlternative2 ) + // InternalSequencerTestLanguage.g:462:5: lv_x20_19_0= ruleDependentAlternative2 { - - newCompositeNode(grammarAccess.getModelAccess().getX20DependentAlternative2ParserRuleCall_19_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX20DependentAlternative2ParserRuleCall_19_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x20_19_0=ruleDependentAlternative2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x20", - lv_x20_19_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x20", + lv_x20_19_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative2"); + afterParserOrEnumRuleCall(); + } @@ -1168,33 +1170,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 21 : - // InternalSequencerTestLanguage.g:461:6: ( (lv_x21_20_0= ruleOptional ) ) + // InternalSequencerTestLanguage.g:480:3: ( (lv_x21_20_0= ruleOptional ) ) { - // InternalSequencerTestLanguage.g:461:6: ( (lv_x21_20_0= ruleOptional ) ) - // InternalSequencerTestLanguage.g:462:1: (lv_x21_20_0= ruleOptional ) + // InternalSequencerTestLanguage.g:480:3: ( (lv_x21_20_0= ruleOptional ) ) + // InternalSequencerTestLanguage.g:481:4: (lv_x21_20_0= ruleOptional ) { - // InternalSequencerTestLanguage.g:462:1: (lv_x21_20_0= ruleOptional ) - // InternalSequencerTestLanguage.g:463:3: lv_x21_20_0= ruleOptional + // InternalSequencerTestLanguage.g:481:4: (lv_x21_20_0= ruleOptional ) + // InternalSequencerTestLanguage.g:482:5: lv_x21_20_0= ruleOptional { - - newCompositeNode(grammarAccess.getModelAccess().getX21OptionalParserRuleCall_20_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX21OptionalParserRuleCall_20_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x21_20_0=ruleOptional(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x21", - lv_x21_20_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Optional"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x21", + lv_x21_20_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Optional"); + afterParserOrEnumRuleCall(); + } @@ -1205,33 +1207,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 22 : - // InternalSequencerTestLanguage.g:480:6: ( (lv_x22_21_0= ruleFloat ) ) + // InternalSequencerTestLanguage.g:500:3: ( (lv_x22_21_0= ruleFloat ) ) { - // InternalSequencerTestLanguage.g:480:6: ( (lv_x22_21_0= ruleFloat ) ) - // InternalSequencerTestLanguage.g:481:1: (lv_x22_21_0= ruleFloat ) + // InternalSequencerTestLanguage.g:500:3: ( (lv_x22_21_0= ruleFloat ) ) + // InternalSequencerTestLanguage.g:501:4: (lv_x22_21_0= ruleFloat ) { - // InternalSequencerTestLanguage.g:481:1: (lv_x22_21_0= ruleFloat ) - // InternalSequencerTestLanguage.g:482:3: lv_x22_21_0= ruleFloat + // InternalSequencerTestLanguage.g:501:4: (lv_x22_21_0= ruleFloat ) + // InternalSequencerTestLanguage.g:502:5: lv_x22_21_0= ruleFloat { - - newCompositeNode(grammarAccess.getModelAccess().getX22FloatParserRuleCall_21_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX22FloatParserRuleCall_21_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x22_21_0=ruleFloat(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x22", - lv_x22_21_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Float"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x22", + lv_x22_21_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Float"); + afterParserOrEnumRuleCall(); + } @@ -1242,33 +1244,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 23 : - // InternalSequencerTestLanguage.g:499:6: ( (lv_x23_22_0= ruleUnorderedAlternative ) ) + // InternalSequencerTestLanguage.g:520:3: ( (lv_x23_22_0= ruleUnorderedAlternative ) ) { - // InternalSequencerTestLanguage.g:499:6: ( (lv_x23_22_0= ruleUnorderedAlternative ) ) - // InternalSequencerTestLanguage.g:500:1: (lv_x23_22_0= ruleUnorderedAlternative ) + // InternalSequencerTestLanguage.g:520:3: ( (lv_x23_22_0= ruleUnorderedAlternative ) ) + // InternalSequencerTestLanguage.g:521:4: (lv_x23_22_0= ruleUnorderedAlternative ) { - // InternalSequencerTestLanguage.g:500:1: (lv_x23_22_0= ruleUnorderedAlternative ) - // InternalSequencerTestLanguage.g:501:3: lv_x23_22_0= ruleUnorderedAlternative + // InternalSequencerTestLanguage.g:521:4: (lv_x23_22_0= ruleUnorderedAlternative ) + // InternalSequencerTestLanguage.g:522:5: lv_x23_22_0= ruleUnorderedAlternative { - - newCompositeNode(grammarAccess.getModelAccess().getX23UnorderedAlternativeParserRuleCall_22_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX23UnorderedAlternativeParserRuleCall_22_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x23_22_0=ruleUnorderedAlternative(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x23", - lv_x23_22_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternative"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x23", + lv_x23_22_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternative"); + afterParserOrEnumRuleCall(); + } @@ -1279,33 +1281,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 24 : - // InternalSequencerTestLanguage.g:518:6: ( (lv_x24_23_0= ruleUnorderedGroup ) ) + // InternalSequencerTestLanguage.g:540:3: ( (lv_x24_23_0= ruleUnorderedGroup ) ) { - // InternalSequencerTestLanguage.g:518:6: ( (lv_x24_23_0= ruleUnorderedGroup ) ) - // InternalSequencerTestLanguage.g:519:1: (lv_x24_23_0= ruleUnorderedGroup ) + // InternalSequencerTestLanguage.g:540:3: ( (lv_x24_23_0= ruleUnorderedGroup ) ) + // InternalSequencerTestLanguage.g:541:4: (lv_x24_23_0= ruleUnorderedGroup ) { - // InternalSequencerTestLanguage.g:519:1: (lv_x24_23_0= ruleUnorderedGroup ) - // InternalSequencerTestLanguage.g:520:3: lv_x24_23_0= ruleUnorderedGroup + // InternalSequencerTestLanguage.g:541:4: (lv_x24_23_0= ruleUnorderedGroup ) + // InternalSequencerTestLanguage.g:542:5: lv_x24_23_0= ruleUnorderedGroup { - - newCompositeNode(grammarAccess.getModelAccess().getX24UnorderedGroupParserRuleCall_23_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX24UnorderedGroupParserRuleCall_23_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x24_23_0=ruleUnorderedGroup(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x24", - lv_x24_23_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroup"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x24", + lv_x24_23_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroup"); + afterParserOrEnumRuleCall(); + } @@ -1316,33 +1318,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 25 : - // InternalSequencerTestLanguage.g:537:6: ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) + // InternalSequencerTestLanguage.g:560:3: ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) { - // InternalSequencerTestLanguage.g:537:6: ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) - // InternalSequencerTestLanguage.g:538:1: (lv_x25_24_0= ruleUnorderedGroupOptional ) + // InternalSequencerTestLanguage.g:560:3: ( (lv_x25_24_0= ruleUnorderedGroupOptional ) ) + // InternalSequencerTestLanguage.g:561:4: (lv_x25_24_0= ruleUnorderedGroupOptional ) { - // InternalSequencerTestLanguage.g:538:1: (lv_x25_24_0= ruleUnorderedGroupOptional ) - // InternalSequencerTestLanguage.g:539:3: lv_x25_24_0= ruleUnorderedGroupOptional + // InternalSequencerTestLanguage.g:561:4: (lv_x25_24_0= ruleUnorderedGroupOptional ) + // InternalSequencerTestLanguage.g:562:5: lv_x25_24_0= ruleUnorderedGroupOptional { - - newCompositeNode(grammarAccess.getModelAccess().getX25UnorderedGroupOptionalParserRuleCall_24_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX25UnorderedGroupOptionalParserRuleCall_24_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x25_24_0=ruleUnorderedGroupOptional(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x25", - lv_x25_24_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupOptional"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x25", + lv_x25_24_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupOptional"); + afterParserOrEnumRuleCall(); + } @@ -1353,33 +1355,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 26 : - // InternalSequencerTestLanguage.g:556:6: ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) + // InternalSequencerTestLanguage.g:580:3: ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) { - // InternalSequencerTestLanguage.g:556:6: ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) - // InternalSequencerTestLanguage.g:557:1: (lv_x26_25_0= ruleUnorderedGroupBoolean ) + // InternalSequencerTestLanguage.g:580:3: ( (lv_x26_25_0= ruleUnorderedGroupBoolean ) ) + // InternalSequencerTestLanguage.g:581:4: (lv_x26_25_0= ruleUnorderedGroupBoolean ) { - // InternalSequencerTestLanguage.g:557:1: (lv_x26_25_0= ruleUnorderedGroupBoolean ) - // InternalSequencerTestLanguage.g:558:3: lv_x26_25_0= ruleUnorderedGroupBoolean + // InternalSequencerTestLanguage.g:581:4: (lv_x26_25_0= ruleUnorderedGroupBoolean ) + // InternalSequencerTestLanguage.g:582:5: lv_x26_25_0= ruleUnorderedGroupBoolean { - - newCompositeNode(grammarAccess.getModelAccess().getX26UnorderedGroupBooleanParserRuleCall_25_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX26UnorderedGroupBooleanParserRuleCall_25_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x26_25_0=ruleUnorderedGroupBoolean(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x26", - lv_x26_25_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupBoolean"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x26", + lv_x26_25_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupBoolean"); + afterParserOrEnumRuleCall(); + } @@ -1390,33 +1392,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 27 : - // InternalSequencerTestLanguage.g:575:6: ( (lv_x27_26_0= ruleComplex1 ) ) + // InternalSequencerTestLanguage.g:600:3: ( (lv_x27_26_0= ruleComplex1 ) ) { - // InternalSequencerTestLanguage.g:575:6: ( (lv_x27_26_0= ruleComplex1 ) ) - // InternalSequencerTestLanguage.g:576:1: (lv_x27_26_0= ruleComplex1 ) + // InternalSequencerTestLanguage.g:600:3: ( (lv_x27_26_0= ruleComplex1 ) ) + // InternalSequencerTestLanguage.g:601:4: (lv_x27_26_0= ruleComplex1 ) { - // InternalSequencerTestLanguage.g:576:1: (lv_x27_26_0= ruleComplex1 ) - // InternalSequencerTestLanguage.g:577:3: lv_x27_26_0= ruleComplex1 + // InternalSequencerTestLanguage.g:601:4: (lv_x27_26_0= ruleComplex1 ) + // InternalSequencerTestLanguage.g:602:5: lv_x27_26_0= ruleComplex1 { - - newCompositeNode(grammarAccess.getModelAccess().getX27Complex1ParserRuleCall_26_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX27Complex1ParserRuleCall_26_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x27_26_0=ruleComplex1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x27", - lv_x27_26_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Complex1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x27", + lv_x27_26_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Complex1"); + afterParserOrEnumRuleCall(); + } @@ -1427,33 +1429,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 28 : - // InternalSequencerTestLanguage.g:594:6: ( (lv_x28_27_0= ruleOptionalDouble ) ) + // InternalSequencerTestLanguage.g:620:3: ( (lv_x28_27_0= ruleOptionalDouble ) ) { - // InternalSequencerTestLanguage.g:594:6: ( (lv_x28_27_0= ruleOptionalDouble ) ) - // InternalSequencerTestLanguage.g:595:1: (lv_x28_27_0= ruleOptionalDouble ) + // InternalSequencerTestLanguage.g:620:3: ( (lv_x28_27_0= ruleOptionalDouble ) ) + // InternalSequencerTestLanguage.g:621:4: (lv_x28_27_0= ruleOptionalDouble ) { - // InternalSequencerTestLanguage.g:595:1: (lv_x28_27_0= ruleOptionalDouble ) - // InternalSequencerTestLanguage.g:596:3: lv_x28_27_0= ruleOptionalDouble + // InternalSequencerTestLanguage.g:621:4: (lv_x28_27_0= ruleOptionalDouble ) + // InternalSequencerTestLanguage.g:622:5: lv_x28_27_0= ruleOptionalDouble { - - newCompositeNode(grammarAccess.getModelAccess().getX28OptionalDoubleParserRuleCall_27_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX28OptionalDoubleParserRuleCall_27_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x28_27_0=ruleOptionalDouble(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x28", - lv_x28_27_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.OptionalDouble"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x28", + lv_x28_27_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.OptionalDouble"); + afterParserOrEnumRuleCall(); + } @@ -1464,33 +1466,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 29 : - // InternalSequencerTestLanguage.g:613:6: ( (lv_x29_28_0= ruleNullValueGenerated ) ) + // InternalSequencerTestLanguage.g:640:3: ( (lv_x29_28_0= ruleNullValueGenerated ) ) { - // InternalSequencerTestLanguage.g:613:6: ( (lv_x29_28_0= ruleNullValueGenerated ) ) - // InternalSequencerTestLanguage.g:614:1: (lv_x29_28_0= ruleNullValueGenerated ) + // InternalSequencerTestLanguage.g:640:3: ( (lv_x29_28_0= ruleNullValueGenerated ) ) + // InternalSequencerTestLanguage.g:641:4: (lv_x29_28_0= ruleNullValueGenerated ) { - // InternalSequencerTestLanguage.g:614:1: (lv_x29_28_0= ruleNullValueGenerated ) - // InternalSequencerTestLanguage.g:615:3: lv_x29_28_0= ruleNullValueGenerated + // InternalSequencerTestLanguage.g:641:4: (lv_x29_28_0= ruleNullValueGenerated ) + // InternalSequencerTestLanguage.g:642:5: lv_x29_28_0= ruleNullValueGenerated { - - newCompositeNode(grammarAccess.getModelAccess().getX29NullValueGeneratedParserRuleCall_28_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX29NullValueGeneratedParserRuleCall_28_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x29_28_0=ruleNullValueGenerated(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x29", - lv_x29_28_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueGenerated"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x29", + lv_x29_28_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueGenerated"); + afterParserOrEnumRuleCall(); + } @@ -1501,33 +1503,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 30 : - // InternalSequencerTestLanguage.g:632:6: ( (lv_x30_29_0= ruleNullValueInterpreted ) ) + // InternalSequencerTestLanguage.g:660:3: ( (lv_x30_29_0= ruleNullValueInterpreted ) ) { - // InternalSequencerTestLanguage.g:632:6: ( (lv_x30_29_0= ruleNullValueInterpreted ) ) - // InternalSequencerTestLanguage.g:633:1: (lv_x30_29_0= ruleNullValueInterpreted ) + // InternalSequencerTestLanguage.g:660:3: ( (lv_x30_29_0= ruleNullValueInterpreted ) ) + // InternalSequencerTestLanguage.g:661:4: (lv_x30_29_0= ruleNullValueInterpreted ) { - // InternalSequencerTestLanguage.g:633:1: (lv_x30_29_0= ruleNullValueInterpreted ) - // InternalSequencerTestLanguage.g:634:3: lv_x30_29_0= ruleNullValueInterpreted + // InternalSequencerTestLanguage.g:661:4: (lv_x30_29_0= ruleNullValueInterpreted ) + // InternalSequencerTestLanguage.g:662:5: lv_x30_29_0= ruleNullValueInterpreted { - - newCompositeNode(grammarAccess.getModelAccess().getX30NullValueInterpretedParserRuleCall_29_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX30NullValueInterpretedParserRuleCall_29_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x30_29_0=ruleNullValueInterpreted(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x30", - lv_x30_29_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueInterpreted"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x30", + lv_x30_29_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueInterpreted"); + afterParserOrEnumRuleCall(); + } @@ -1538,33 +1540,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 31 : - // InternalSequencerTestLanguage.g:651:6: ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) + // InternalSequencerTestLanguage.g:680:3: ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) { - // InternalSequencerTestLanguage.g:651:6: ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) - // InternalSequencerTestLanguage.g:652:1: (lv_x31_30_0= ruleNullCrossRefGenerated ) + // InternalSequencerTestLanguage.g:680:3: ( (lv_x31_30_0= ruleNullCrossRefGenerated ) ) + // InternalSequencerTestLanguage.g:681:4: (lv_x31_30_0= ruleNullCrossRefGenerated ) { - // InternalSequencerTestLanguage.g:652:1: (lv_x31_30_0= ruleNullCrossRefGenerated ) - // InternalSequencerTestLanguage.g:653:3: lv_x31_30_0= ruleNullCrossRefGenerated + // InternalSequencerTestLanguage.g:681:4: (lv_x31_30_0= ruleNullCrossRefGenerated ) + // InternalSequencerTestLanguage.g:682:5: lv_x31_30_0= ruleNullCrossRefGenerated { - - newCompositeNode(grammarAccess.getModelAccess().getX31NullCrossRefGeneratedParserRuleCall_30_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX31NullCrossRefGeneratedParserRuleCall_30_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x31_30_0=ruleNullCrossRefGenerated(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x31", - lv_x31_30_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefGenerated"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x31", + lv_x31_30_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefGenerated"); + afterParserOrEnumRuleCall(); + } @@ -1575,33 +1577,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 32 : - // InternalSequencerTestLanguage.g:670:6: ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) + // InternalSequencerTestLanguage.g:700:3: ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) { - // InternalSequencerTestLanguage.g:670:6: ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) - // InternalSequencerTestLanguage.g:671:1: (lv_x32_31_0= ruleNullCrossRefInterpreted ) + // InternalSequencerTestLanguage.g:700:3: ( (lv_x32_31_0= ruleNullCrossRefInterpreted ) ) + // InternalSequencerTestLanguage.g:701:4: (lv_x32_31_0= ruleNullCrossRefInterpreted ) { - // InternalSequencerTestLanguage.g:671:1: (lv_x32_31_0= ruleNullCrossRefInterpreted ) - // InternalSequencerTestLanguage.g:672:3: lv_x32_31_0= ruleNullCrossRefInterpreted + // InternalSequencerTestLanguage.g:701:4: (lv_x32_31_0= ruleNullCrossRefInterpreted ) + // InternalSequencerTestLanguage.g:702:5: lv_x32_31_0= ruleNullCrossRefInterpreted { - - newCompositeNode(grammarAccess.getModelAccess().getX32NullCrossRefInterpretedParserRuleCall_31_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX32NullCrossRefInterpretedParserRuleCall_31_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x32_31_0=ruleNullCrossRefInterpreted(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x32", - lv_x32_31_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefInterpreted"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x32", + lv_x32_31_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefInterpreted"); + afterParserOrEnumRuleCall(); + } @@ -1612,33 +1614,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 33 : - // InternalSequencerTestLanguage.g:689:6: ( (lv_x33_32_0= ruleFragmentCaller ) ) + // InternalSequencerTestLanguage.g:720:3: ( (lv_x33_32_0= ruleFragmentCaller ) ) { - // InternalSequencerTestLanguage.g:689:6: ( (lv_x33_32_0= ruleFragmentCaller ) ) - // InternalSequencerTestLanguage.g:690:1: (lv_x33_32_0= ruleFragmentCaller ) + // InternalSequencerTestLanguage.g:720:3: ( (lv_x33_32_0= ruleFragmentCaller ) ) + // InternalSequencerTestLanguage.g:721:4: (lv_x33_32_0= ruleFragmentCaller ) { - // InternalSequencerTestLanguage.g:690:1: (lv_x33_32_0= ruleFragmentCaller ) - // InternalSequencerTestLanguage.g:691:3: lv_x33_32_0= ruleFragmentCaller + // InternalSequencerTestLanguage.g:721:4: (lv_x33_32_0= ruleFragmentCaller ) + // InternalSequencerTestLanguage.g:722:5: lv_x33_32_0= ruleFragmentCaller { - - newCompositeNode(grammarAccess.getModelAccess().getX33FragmentCallerParserRuleCall_32_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX33FragmentCallerParserRuleCall_32_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x33_32_0=ruleFragmentCaller(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x33", - lv_x33_32_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.FragmentCaller"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x33", + lv_x33_32_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.FragmentCaller"); + afterParserOrEnumRuleCall(); + } @@ -1649,33 +1651,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 34 : - // InternalSequencerTestLanguage.g:708:6: ( (lv_x34_33_0= ruleParameterCaller ) ) + // InternalSequencerTestLanguage.g:740:3: ( (lv_x34_33_0= ruleParameterCaller ) ) { - // InternalSequencerTestLanguage.g:708:6: ( (lv_x34_33_0= ruleParameterCaller ) ) - // InternalSequencerTestLanguage.g:709:1: (lv_x34_33_0= ruleParameterCaller ) + // InternalSequencerTestLanguage.g:740:3: ( (lv_x34_33_0= ruleParameterCaller ) ) + // InternalSequencerTestLanguage.g:741:4: (lv_x34_33_0= ruleParameterCaller ) { - // InternalSequencerTestLanguage.g:709:1: (lv_x34_33_0= ruleParameterCaller ) - // InternalSequencerTestLanguage.g:710:3: lv_x34_33_0= ruleParameterCaller + // InternalSequencerTestLanguage.g:741:4: (lv_x34_33_0= ruleParameterCaller ) + // InternalSequencerTestLanguage.g:742:5: lv_x34_33_0= ruleParameterCaller { - - newCompositeNode(grammarAccess.getModelAccess().getX34ParameterCallerParserRuleCall_33_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX34ParameterCallerParserRuleCall_33_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x34_33_0=ruleParameterCaller(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x34", - lv_x34_33_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterCaller"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x34", + lv_x34_33_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterCaller"); + afterParserOrEnumRuleCall(); + } @@ -1686,33 +1688,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 35 : - // InternalSequencerTestLanguage.g:727:6: ( (lv_x35_34_0= ruleParameterDelegation ) ) + // InternalSequencerTestLanguage.g:760:3: ( (lv_x35_34_0= ruleParameterDelegation ) ) { - // InternalSequencerTestLanguage.g:727:6: ( (lv_x35_34_0= ruleParameterDelegation ) ) - // InternalSequencerTestLanguage.g:728:1: (lv_x35_34_0= ruleParameterDelegation ) + // InternalSequencerTestLanguage.g:760:3: ( (lv_x35_34_0= ruleParameterDelegation ) ) + // InternalSequencerTestLanguage.g:761:4: (lv_x35_34_0= ruleParameterDelegation ) { - // InternalSequencerTestLanguage.g:728:1: (lv_x35_34_0= ruleParameterDelegation ) - // InternalSequencerTestLanguage.g:729:3: lv_x35_34_0= ruleParameterDelegation + // InternalSequencerTestLanguage.g:761:4: (lv_x35_34_0= ruleParameterDelegation ) + // InternalSequencerTestLanguage.g:762:5: lv_x35_34_0= ruleParameterDelegation { - - newCompositeNode(grammarAccess.getModelAccess().getX35ParameterDelegationParserRuleCall_34_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX35ParameterDelegationParserRuleCall_34_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_x35_34_0=ruleParameterDelegation(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x35", - lv_x35_34_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterDelegation"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x35", + lv_x35_34_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterDelegation"); + afterParserOrEnumRuleCall(); + } @@ -1728,13 +1730,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1743,7 +1747,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSimpleGroup" - // InternalSequencerTestLanguage.g:753:1: entryRuleSimpleGroup returns [EObject current=null] : iv_ruleSimpleGroup= ruleSimpleGroup EOF ; + // InternalSequencerTestLanguage.g:783:1: entryRuleSimpleGroup returns [EObject current=null] : iv_ruleSimpleGroup= ruleSimpleGroup EOF ; public final EObject entryRuleSimpleGroup() throws RecognitionException { EObject current = null; @@ -1751,8 +1755,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:754:2: (iv_ruleSimpleGroup= ruleSimpleGroup EOF ) - // InternalSequencerTestLanguage.g:755:2: iv_ruleSimpleGroup= ruleSimpleGroup EOF + // InternalSequencerTestLanguage.g:783:52: (iv_ruleSimpleGroup= ruleSimpleGroup EOF ) + // InternalSequencerTestLanguage.g:784:2: iv_ruleSimpleGroup= ruleSimpleGroup EOF { newCompositeNode(grammarAccess.getSimpleGroupRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1766,11 +1770,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1779,7 +1783,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSimpleGroup" - // InternalSequencerTestLanguage.g:762:1: ruleSimpleGroup returns [EObject current=null] : (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:790:1: ruleSimpleGroup returns [EObject current=null] : (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) ; public final EObject ruleSimpleGroup() throws RecognitionException { EObject current = null; @@ -1787,65 +1791,66 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val1_1_0=null; Token lv_val2_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:765:28: ( (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:766:1: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:796:2: ( (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:797:2: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:766:1: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:766:3: otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:797:2: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:798:3: otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) { otherlv_0=(Token)match(input,14,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getSimpleGroupAccess().getNumberSignDigitOneKeyword_0()); - - // InternalSequencerTestLanguage.g:770:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:771:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getSimpleGroupAccess().getNumberSignDigitOneKeyword_0()); + + // InternalSequencerTestLanguage.g:802:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:803:4: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:771:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:772:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:803:4: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:804:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val1_1_0, grammarAccess.getSimpleGroupAccess().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getSimpleGroupAccess().getVal1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleGroupRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleGroupRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:788:2: ( (lv_val2_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:789:1: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:820:3: ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:821:4: (lv_val2_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:789:1: (lv_val2_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:790:3: lv_val2_2_0= RULE_ID + // InternalSequencerTestLanguage.g:821:4: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:822:5: lv_val2_2_0= RULE_ID { lv_val2_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val2_2_0, grammarAccess.getSimpleGroupAccess().getVal2IDTerminalRuleCall_2_0()); - + newLeafNode(lv_val2_2_0, grammarAccess.getSimpleGroupAccess().getVal2IDTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleGroupRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleGroupRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1858,13 +1863,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1873,7 +1880,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSimpleAlternative" - // InternalSequencerTestLanguage.g:814:1: entryRuleSimpleAlternative returns [EObject current=null] : iv_ruleSimpleAlternative= ruleSimpleAlternative EOF ; + // InternalSequencerTestLanguage.g:842:1: entryRuleSimpleAlternative returns [EObject current=null] : iv_ruleSimpleAlternative= ruleSimpleAlternative EOF ; public final EObject entryRuleSimpleAlternative() throws RecognitionException { EObject current = null; @@ -1881,8 +1888,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:815:2: (iv_ruleSimpleAlternative= ruleSimpleAlternative EOF ) - // InternalSequencerTestLanguage.g:816:2: iv_ruleSimpleAlternative= ruleSimpleAlternative EOF + // InternalSequencerTestLanguage.g:842:58: (iv_ruleSimpleAlternative= ruleSimpleAlternative EOF ) + // InternalSequencerTestLanguage.g:843:2: iv_ruleSimpleAlternative= ruleSimpleAlternative EOF { newCompositeNode(grammarAccess.getSimpleAlternativeRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -1896,11 +1903,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1909,7 +1916,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSimpleAlternative" - // InternalSequencerTestLanguage.g:823:1: ruleSimpleAlternative returns [EObject current=null] : (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:849:1: ruleSimpleAlternative returns [EObject current=null] : (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) ; public final EObject ruleSimpleAlternative() throws RecognitionException { EObject current = null; @@ -1919,20 +1926,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_3=null; Token lv_val2_4_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:826:28: ( (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:827:1: (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:855:2: ( (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:856:2: (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) { - // InternalSequencerTestLanguage.g:827:1: (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:827:3: otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:856:2: (otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:857:3: otherlv_0= '#2' ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) { otherlv_0=(Token)match(input,15,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_0, grammarAccess.getSimpleAlternativeAccess().getNumberSignDigitTwoKeyword_0()); - - // InternalSequencerTestLanguage.g:831:1: ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getSimpleAlternativeAccess().getNumberSignDigitTwoKeyword_0()); + + // InternalSequencerTestLanguage.g:861:3: ( (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) ) int alt2=2; int LA2_0 = input.LA(1); @@ -1950,35 +1958,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt2) { case 1 : - // InternalSequencerTestLanguage.g:831:2: (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:862:4: (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:831:2: (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:831:4: otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:862:4: (otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:863:5: otherlv_1= 'kw1' ( (lv_val1_2_0= RULE_ID ) ) { otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_1, grammarAccess.getSimpleAlternativeAccess().getKw1Keyword_1_0_0()); - - // InternalSequencerTestLanguage.g:835:1: ( (lv_val1_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:836:1: (lv_val1_2_0= RULE_ID ) + newLeafNode(otherlv_1, grammarAccess.getSimpleAlternativeAccess().getKw1Keyword_1_0_0()); + + // InternalSequencerTestLanguage.g:867:5: ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:868:6: (lv_val1_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:836:1: (lv_val1_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:837:3: lv_val1_2_0= RULE_ID + // InternalSequencerTestLanguage.g:868:6: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:869:7: lv_val1_2_0= RULE_ID { lv_val1_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val1_2_0, grammarAccess.getSimpleAlternativeAccess().getVal1IDTerminalRuleCall_1_0_1_0()); - + newLeafNode(lv_val1_2_0, grammarAccess.getSimpleAlternativeAccess().getVal1IDTerminalRuleCall_1_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleAlternativeRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleAlternativeRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -1992,35 +2000,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:854:6: (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:887:4: (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:854:6: (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:854:8: otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:887:4: (otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:888:5: otherlv_3= 'kw2' ( (lv_val2_4_0= RULE_ID ) ) { otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getSimpleAlternativeAccess().getKw2Keyword_1_1_0()); - - // InternalSequencerTestLanguage.g:858:1: ( (lv_val2_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:859:1: (lv_val2_4_0= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getSimpleAlternativeAccess().getKw2Keyword_1_1_0()); + + // InternalSequencerTestLanguage.g:892:5: ( (lv_val2_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:893:6: (lv_val2_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:859:1: (lv_val2_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:860:3: lv_val2_4_0= RULE_ID + // InternalSequencerTestLanguage.g:893:6: (lv_val2_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:894:7: lv_val2_4_0= RULE_ID { lv_val2_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val2_4_0, grammarAccess.getSimpleAlternativeAccess().getVal2IDTerminalRuleCall_1_1_1_0()); - + newLeafNode(lv_val2_4_0, grammarAccess.getSimpleAlternativeAccess().getVal2IDTerminalRuleCall_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleAlternativeRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleAlternativeRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2042,13 +2050,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2057,7 +2067,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSimpleMultiplicities" - // InternalSequencerTestLanguage.g:884:1: entryRuleSimpleMultiplicities returns [EObject current=null] : iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF ; + // InternalSequencerTestLanguage.g:916:1: entryRuleSimpleMultiplicities returns [EObject current=null] : iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF ; public final EObject entryRuleSimpleMultiplicities() throws RecognitionException { EObject current = null; @@ -2065,8 +2075,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:885:2: (iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF ) - // InternalSequencerTestLanguage.g:886:2: iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF + // InternalSequencerTestLanguage.g:916:61: (iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF ) + // InternalSequencerTestLanguage.g:917:2: iv_ruleSimpleMultiplicities= ruleSimpleMultiplicities EOF { newCompositeNode(grammarAccess.getSimpleMultiplicitiesRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2080,11 +2090,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2093,7 +2103,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSimpleMultiplicities" - // InternalSequencerTestLanguage.g:893:1: ruleSimpleMultiplicities returns [EObject current=null] : (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) ; + // InternalSequencerTestLanguage.g:923:1: ruleSimpleMultiplicities returns [EObject current=null] : (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) ; public final EObject ruleSimpleMultiplicities() throws RecognitionException { EObject current = null; @@ -2106,39 +2116,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_6=null; Token lv_val4_7_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:896:28: ( (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) ) - // InternalSequencerTestLanguage.g:897:1: (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) + // InternalSequencerTestLanguage.g:929:2: ( (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) ) + // InternalSequencerTestLanguage.g:930:2: (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) { - // InternalSequencerTestLanguage.g:897:1: (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) - // InternalSequencerTestLanguage.g:897:3: otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* + // InternalSequencerTestLanguage.g:930:2: (otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* ) + // InternalSequencerTestLanguage.g:931:3: otherlv_0= '#3' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) )? otherlv_4= 'kw2' ( (lv_val3_5_0= RULE_ID ) )+ otherlv_6= 'kw3' ( (lv_val4_7_0= RULE_ID ) )* { otherlv_0=(Token)match(input,18,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getSimpleMultiplicitiesAccess().getNumberSignDigitThreeKeyword_0()); - - // InternalSequencerTestLanguage.g:901:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:902:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getSimpleMultiplicitiesAccess().getNumberSignDigitThreeKeyword_0()); + + // InternalSequencerTestLanguage.g:935:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:936:4: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:902:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:903:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:936:4: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:937:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_5); - newLeafNode(lv_val1_1_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2147,9 +2158,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_6); - newLeafNode(otherlv_2, grammarAccess.getSimpleMultiplicitiesAccess().getKw1Keyword_2()); - - // InternalSequencerTestLanguage.g:923:1: ( (lv_val2_3_0= RULE_ID ) )? + newLeafNode(otherlv_2, grammarAccess.getSimpleMultiplicitiesAccess().getKw1Keyword_2()); + + // InternalSequencerTestLanguage.g:957:3: ( (lv_val2_3_0= RULE_ID ) )? int alt3=2; int LA3_0 = input.LA(1); @@ -2158,25 +2169,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt3) { case 1 : - // InternalSequencerTestLanguage.g:924:1: (lv_val2_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:958:4: (lv_val2_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:924:1: (lv_val2_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:925:3: lv_val2_3_0= RULE_ID + // InternalSequencerTestLanguage.g:958:4: (lv_val2_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:959:5: lv_val2_3_0= RULE_ID { lv_val2_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_7); - newLeafNode(lv_val2_3_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2188,9 +2199,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_4=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_4, grammarAccess.getSimpleMultiplicitiesAccess().getKw2Keyword_4()); - - // InternalSequencerTestLanguage.g:945:1: ( (lv_val3_5_0= RULE_ID ) )+ + newLeafNode(otherlv_4, grammarAccess.getSimpleMultiplicitiesAccess().getKw2Keyword_4()); + + // InternalSequencerTestLanguage.g:979:3: ( (lv_val3_5_0= RULE_ID ) )+ int cnt4=0; loop4: do { @@ -2204,25 +2215,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt4) { case 1 : - // InternalSequencerTestLanguage.g:946:1: (lv_val3_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:980:4: (lv_val3_5_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:946:1: (lv_val3_5_0= RULE_ID ) - // InternalSequencerTestLanguage.g:947:3: lv_val3_5_0= RULE_ID + // InternalSequencerTestLanguage.g:980:4: (lv_val3_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:981:5: lv_val3_5_0= RULE_ID { lv_val3_5_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_8); - newLeafNode(lv_val3_5_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal3IDTerminalRuleCall_5_0()); - + newLeafNode(lv_val3_5_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal3IDTerminalRuleCall_5_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val3", - lv_val3_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val3", + lv_val3_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2241,9 +2252,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_6=(Token)match(input,19,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_6, grammarAccess.getSimpleMultiplicitiesAccess().getKw3Keyword_6()); - - // InternalSequencerTestLanguage.g:967:1: ( (lv_val4_7_0= RULE_ID ) )* + newLeafNode(otherlv_6, grammarAccess.getSimpleMultiplicitiesAccess().getKw3Keyword_6()); + + // InternalSequencerTestLanguage.g:1001:3: ( (lv_val4_7_0= RULE_ID ) )* loop5: do { int alt5=2; @@ -2256,25 +2267,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt5) { case 1 : - // InternalSequencerTestLanguage.g:968:1: (lv_val4_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1002:4: (lv_val4_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:968:1: (lv_val4_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:969:3: lv_val4_7_0= RULE_ID + // InternalSequencerTestLanguage.g:1002:4: (lv_val4_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1003:5: lv_val4_7_0= RULE_ID { lv_val4_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_9); - newLeafNode(lv_val4_7_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal4IDTerminalRuleCall_7_0()); - + newLeafNode(lv_val4_7_0, grammarAccess.getSimpleMultiplicitiesAccess().getVal4IDTerminalRuleCall_7_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val4", - lv_val4_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSimpleMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val4", + lv_val4_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2293,13 +2304,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2308,7 +2321,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleGroupMultiplicities" - // InternalSequencerTestLanguage.g:993:1: entryRuleGroupMultiplicities returns [EObject current=null] : iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF ; + // InternalSequencerTestLanguage.g:1023:1: entryRuleGroupMultiplicities returns [EObject current=null] : iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF ; public final EObject entryRuleGroupMultiplicities() throws RecognitionException { EObject current = null; @@ -2316,8 +2329,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:994:2: (iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF ) - // InternalSequencerTestLanguage.g:995:2: iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF + // InternalSequencerTestLanguage.g:1023:60: (iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF ) + // InternalSequencerTestLanguage.g:1024:2: iv_ruleGroupMultiplicities= ruleGroupMultiplicities EOF { newCompositeNode(grammarAccess.getGroupMultiplicitiesRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2331,11 +2344,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2344,7 +2357,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleGroupMultiplicities" - // InternalSequencerTestLanguage.g:1002:1: ruleGroupMultiplicities returns [EObject current=null] : (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) ; + // InternalSequencerTestLanguage.g:1030:1: ruleGroupMultiplicities returns [EObject current=null] : (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) ; public final EObject ruleGroupMultiplicities() throws RecognitionException { EObject current = null; @@ -2360,39 +2373,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val6_9_0=null; Token lv_val7_10_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1005:28: ( (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) ) - // InternalSequencerTestLanguage.g:1006:1: (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) + // InternalSequencerTestLanguage.g:1036:2: ( (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) ) + // InternalSequencerTestLanguage.g:1037:2: (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) { - // InternalSequencerTestLanguage.g:1006:1: (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) - // InternalSequencerTestLanguage.g:1006:3: otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1037:2: (otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* ) + // InternalSequencerTestLanguage.g:1038:3: otherlv_0= '#4' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? otherlv_5= 'kw2' ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ otherlv_8= 'kw3' ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* { otherlv_0=(Token)match(input,20,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getGroupMultiplicitiesAccess().getNumberSignDigitFourKeyword_0()); - - // InternalSequencerTestLanguage.g:1010:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1011:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getGroupMultiplicitiesAccess().getNumberSignDigitFourKeyword_0()); + + // InternalSequencerTestLanguage.g:1042:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1043:4: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1011:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1012:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:1043:4: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1044:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_5); - newLeafNode(lv_val1_1_0, grammarAccess.getGroupMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getGroupMultiplicitiesAccess().getVal1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2401,9 +2415,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_6); - newLeafNode(otherlv_2, grammarAccess.getGroupMultiplicitiesAccess().getKw1Keyword_2()); - - // InternalSequencerTestLanguage.g:1032:1: ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? + newLeafNode(otherlv_2, grammarAccess.getGroupMultiplicitiesAccess().getKw1Keyword_2()); + + // InternalSequencerTestLanguage.g:1064:3: ( ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) )? int alt6=2; int LA6_0 = input.LA(1); @@ -2412,54 +2426,54 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt6) { case 1 : - // InternalSequencerTestLanguage.g:1032:2: ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1065:4: ( (lv_val2_3_0= RULE_ID ) ) ( (lv_val3_4_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1032:2: ( (lv_val2_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1033:1: (lv_val2_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1065:4: ( (lv_val2_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1066:5: (lv_val2_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1033:1: (lv_val2_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1034:3: lv_val2_3_0= RULE_ID + // InternalSequencerTestLanguage.g:1066:5: (lv_val2_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1067:6: lv_val2_3_0= RULE_ID { lv_val2_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val2_3_0, grammarAccess.getGroupMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getGroupMultiplicitiesAccess().getVal2IDTerminalRuleCall_3_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1050:2: ( (lv_val3_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1051:1: (lv_val3_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1083:4: ( (lv_val3_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1084:5: (lv_val3_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1051:1: (lv_val3_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1052:3: lv_val3_4_0= RULE_ID + // InternalSequencerTestLanguage.g:1084:5: (lv_val3_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1085:6: lv_val3_4_0= RULE_ID { lv_val3_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_7); - newLeafNode(lv_val3_4_0, grammarAccess.getGroupMultiplicitiesAccess().getVal3IDTerminalRuleCall_3_1_0()); - + newLeafNode(lv_val3_4_0, grammarAccess.getGroupMultiplicitiesAccess().getVal3IDTerminalRuleCall_3_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2474,9 +2488,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_5=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_5, grammarAccess.getGroupMultiplicitiesAccess().getKw2Keyword_4()); - - // InternalSequencerTestLanguage.g:1072:1: ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ + newLeafNode(otherlv_5, grammarAccess.getGroupMultiplicitiesAccess().getKw2Keyword_4()); + + // InternalSequencerTestLanguage.g:1106:3: ( ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) )+ int cnt7=0; loop7: do { @@ -2490,54 +2504,54 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt7) { case 1 : - // InternalSequencerTestLanguage.g:1072:2: ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1107:4: ( (lv_val4_6_0= RULE_ID ) ) ( (lv_val5_7_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1072:2: ( (lv_val4_6_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1073:1: (lv_val4_6_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1107:4: ( (lv_val4_6_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1108:5: (lv_val4_6_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1073:1: (lv_val4_6_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1074:3: lv_val4_6_0= RULE_ID + // InternalSequencerTestLanguage.g:1108:5: (lv_val4_6_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1109:6: lv_val4_6_0= RULE_ID { lv_val4_6_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val4_6_0, grammarAccess.getGroupMultiplicitiesAccess().getVal4IDTerminalRuleCall_5_0_0()); - + newLeafNode(lv_val4_6_0, grammarAccess.getGroupMultiplicitiesAccess().getVal4IDTerminalRuleCall_5_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val4", - lv_val4_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val4", + lv_val4_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1090:2: ( (lv_val5_7_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1091:1: (lv_val5_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1125:4: ( (lv_val5_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1126:5: (lv_val5_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1091:1: (lv_val5_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1092:3: lv_val5_7_0= RULE_ID + // InternalSequencerTestLanguage.g:1126:5: (lv_val5_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1127:6: lv_val5_7_0= RULE_ID { lv_val5_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_8); - newLeafNode(lv_val5_7_0, grammarAccess.getGroupMultiplicitiesAccess().getVal5IDTerminalRuleCall_5_1_0()); - + newLeafNode(lv_val5_7_0, grammarAccess.getGroupMultiplicitiesAccess().getVal5IDTerminalRuleCall_5_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val5", - lv_val5_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val5", + lv_val5_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2559,9 +2573,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_8=(Token)match(input,19,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_8, grammarAccess.getGroupMultiplicitiesAccess().getKw3Keyword_6()); - - // InternalSequencerTestLanguage.g:1112:1: ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* + newLeafNode(otherlv_8, grammarAccess.getGroupMultiplicitiesAccess().getKw3Keyword_6()); + + // InternalSequencerTestLanguage.g:1148:3: ( ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) )* loop8: do { int alt8=2; @@ -2574,54 +2588,54 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt8) { case 1 : - // InternalSequencerTestLanguage.g:1112:2: ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1149:4: ( (lv_val6_9_0= RULE_ID ) ) ( (lv_val7_10_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1112:2: ( (lv_val6_9_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1113:1: (lv_val6_9_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1149:4: ( (lv_val6_9_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1150:5: (lv_val6_9_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1113:1: (lv_val6_9_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1114:3: lv_val6_9_0= RULE_ID + // InternalSequencerTestLanguage.g:1150:5: (lv_val6_9_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1151:6: lv_val6_9_0= RULE_ID { lv_val6_9_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val6_9_0, grammarAccess.getGroupMultiplicitiesAccess().getVal6IDTerminalRuleCall_7_0_0()); - + newLeafNode(lv_val6_9_0, grammarAccess.getGroupMultiplicitiesAccess().getVal6IDTerminalRuleCall_7_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val6", - lv_val6_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val6", + lv_val6_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1130:2: ( (lv_val7_10_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1131:1: (lv_val7_10_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1167:4: ( (lv_val7_10_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1168:5: (lv_val7_10_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1131:1: (lv_val7_10_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1132:3: lv_val7_10_0= RULE_ID + // InternalSequencerTestLanguage.g:1168:5: (lv_val7_10_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1169:6: lv_val7_10_0= RULE_ID { lv_val7_10_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_9); - newLeafNode(lv_val7_10_0, grammarAccess.getGroupMultiplicitiesAccess().getVal7IDTerminalRuleCall_7_1_0()); - + newLeafNode(lv_val7_10_0, grammarAccess.getGroupMultiplicitiesAccess().getVal7IDTerminalRuleCall_7_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val7", - lv_val7_10_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getGroupMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val7", + lv_val7_10_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2643,13 +2657,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2658,7 +2674,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleAlternativeMultiplicities" - // InternalSequencerTestLanguage.g:1156:1: entryRuleAlternativeMultiplicities returns [EObject current=null] : iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF ; + // InternalSequencerTestLanguage.g:1190:1: entryRuleAlternativeMultiplicities returns [EObject current=null] : iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF ; public final EObject entryRuleAlternativeMultiplicities() throws RecognitionException { EObject current = null; @@ -2666,8 +2682,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1157:2: (iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF ) - // InternalSequencerTestLanguage.g:1158:2: iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF + // InternalSequencerTestLanguage.g:1190:66: (iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF ) + // InternalSequencerTestLanguage.g:1191:2: iv_ruleAlternativeMultiplicities= ruleAlternativeMultiplicities EOF { newCompositeNode(grammarAccess.getAlternativeMultiplicitiesRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -2681,11 +2697,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2694,7 +2710,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAlternativeMultiplicities" - // InternalSequencerTestLanguage.g:1165:1: ruleAlternativeMultiplicities returns [EObject current=null] : (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) ; + // InternalSequencerTestLanguage.g:1197:1: ruleAlternativeMultiplicities returns [EObject current=null] : (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) ; public final EObject ruleAlternativeMultiplicities() throws RecognitionException { EObject current = null; @@ -2711,20 +2727,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_10=null; Token lv_val7_11_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1168:28: ( (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) ) - // InternalSequencerTestLanguage.g:1169:1: (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) + // InternalSequencerTestLanguage.g:1203:2: ( (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:1204:2: (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) { - // InternalSequencerTestLanguage.g:1169:1: (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) - // InternalSequencerTestLanguage.g:1169:3: otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* + // InternalSequencerTestLanguage.g:1204:2: (otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* ) + // InternalSequencerTestLanguage.g:1205:3: otherlv_0= '#5' ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? otherlv_4= 'kw2' ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ otherlv_8= 'kw4' ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* { otherlv_0=(Token)match(input,21,FollowSets000.FOLLOW_10); - newLeafNode(otherlv_0, grammarAccess.getAlternativeMultiplicitiesAccess().getNumberSignDigitFiveKeyword_0()); - - // InternalSequencerTestLanguage.g:1173:1: ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? + newLeafNode(otherlv_0, grammarAccess.getAlternativeMultiplicitiesAccess().getNumberSignDigitFiveKeyword_0()); + + // InternalSequencerTestLanguage.g:1209:3: ( ( (lv_val2_1_0= RULE_ID ) ) | (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) )? int alt9=3; int LA9_0 = input.LA(1); @@ -2736,28 +2753,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt9) { case 1 : - // InternalSequencerTestLanguage.g:1173:2: ( (lv_val2_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1210:4: ( (lv_val2_1_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1173:2: ( (lv_val2_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1174:1: (lv_val2_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1210:4: ( (lv_val2_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1211:5: (lv_val2_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1174:1: (lv_val2_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1175:3: lv_val2_1_0= RULE_ID + // InternalSequencerTestLanguage.g:1211:5: (lv_val2_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1212:6: lv_val2_1_0= RULE_ID { lv_val2_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_7); - newLeafNode(lv_val2_1_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal2IDTerminalRuleCall_1_0_0()); - + newLeafNode(lv_val2_1_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal2IDTerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2768,35 +2785,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:1192:6: (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1229:4: (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1192:6: (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1192:8: otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1229:4: (otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1230:5: otherlv_2= 'kw1' ( (lv_val3_3_0= RULE_ID ) ) { otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getAlternativeMultiplicitiesAccess().getKw1Keyword_1_1_0()); - - // InternalSequencerTestLanguage.g:1196:1: ( (lv_val3_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1197:1: (lv_val3_3_0= RULE_ID ) + newLeafNode(otherlv_2, grammarAccess.getAlternativeMultiplicitiesAccess().getKw1Keyword_1_1_0()); + + // InternalSequencerTestLanguage.g:1234:5: ( (lv_val3_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1235:6: (lv_val3_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1197:1: (lv_val3_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1198:3: lv_val3_3_0= RULE_ID + // InternalSequencerTestLanguage.g:1235:6: (lv_val3_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1236:7: lv_val3_3_0= RULE_ID { lv_val3_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_7); - newLeafNode(lv_val3_3_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal3IDTerminalRuleCall_1_1_1_0()); - + newLeafNode(lv_val3_3_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal3IDTerminalRuleCall_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2814,9 +2831,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_4=(Token)match(input,17,FollowSets000.FOLLOW_8); - newLeafNode(otherlv_4, grammarAccess.getAlternativeMultiplicitiesAccess().getKw2Keyword_2()); - - // InternalSequencerTestLanguage.g:1218:1: ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ + newLeafNode(otherlv_4, grammarAccess.getAlternativeMultiplicitiesAccess().getKw2Keyword_2()); + + // InternalSequencerTestLanguage.g:1258:3: ( ( (lv_val4_5_0= RULE_ID ) ) | (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) )+ int cnt10=0; loop10: do { @@ -2833,28 +2850,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt10) { case 1 : - // InternalSequencerTestLanguage.g:1218:2: ( (lv_val4_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1259:4: ( (lv_val4_5_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1218:2: ( (lv_val4_5_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1219:1: (lv_val4_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1259:4: ( (lv_val4_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1260:5: (lv_val4_5_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1219:1: (lv_val4_5_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1220:3: lv_val4_5_0= RULE_ID + // InternalSequencerTestLanguage.g:1260:5: (lv_val4_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1261:6: lv_val4_5_0= RULE_ID { lv_val4_5_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_11); - newLeafNode(lv_val4_5_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal4IDTerminalRuleCall_3_0_0()); - + newLeafNode(lv_val4_5_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal4IDTerminalRuleCall_3_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2865,35 +2882,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:1237:6: (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1278:4: (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1237:6: (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1237:8: otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1278:4: (otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1279:5: otherlv_6= 'kw3' ( (lv_val5_7_0= RULE_ID ) ) { otherlv_6=(Token)match(input,19,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_6, grammarAccess.getAlternativeMultiplicitiesAccess().getKw3Keyword_3_1_0()); - - // InternalSequencerTestLanguage.g:1241:1: ( (lv_val5_7_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1242:1: (lv_val5_7_0= RULE_ID ) + newLeafNode(otherlv_6, grammarAccess.getAlternativeMultiplicitiesAccess().getKw3Keyword_3_1_0()); + + // InternalSequencerTestLanguage.g:1283:5: ( (lv_val5_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1284:6: (lv_val5_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1242:1: (lv_val5_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1243:3: lv_val5_7_0= RULE_ID + // InternalSequencerTestLanguage.g:1284:6: (lv_val5_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1285:7: lv_val5_7_0= RULE_ID { lv_val5_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_11); - newLeafNode(lv_val5_7_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal5IDTerminalRuleCall_3_1_1_0()); - + newLeafNode(lv_val5_7_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal5IDTerminalRuleCall_3_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val5", - lv_val5_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val5", + lv_val5_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2918,9 +2935,9 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa otherlv_8=(Token)match(input,22,FollowSets000.FOLLOW_12); - newLeafNode(otherlv_8, grammarAccess.getAlternativeMultiplicitiesAccess().getKw4Keyword_4()); - - // InternalSequencerTestLanguage.g:1263:1: ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* + newLeafNode(otherlv_8, grammarAccess.getAlternativeMultiplicitiesAccess().getKw4Keyword_4()); + + // InternalSequencerTestLanguage.g:1307:3: ( ( (lv_val6_9_0= RULE_ID ) ) | (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) )* loop11: do { int alt11=3; @@ -2936,28 +2953,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt11) { case 1 : - // InternalSequencerTestLanguage.g:1263:2: ( (lv_val6_9_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1308:4: ( (lv_val6_9_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1263:2: ( (lv_val6_9_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1264:1: (lv_val6_9_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1308:4: ( (lv_val6_9_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1309:5: (lv_val6_9_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1264:1: (lv_val6_9_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1265:3: lv_val6_9_0= RULE_ID + // InternalSequencerTestLanguage.g:1309:5: (lv_val6_9_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1310:6: lv_val6_9_0= RULE_ID { lv_val6_9_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_12); - newLeafNode(lv_val6_9_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal6IDTerminalRuleCall_5_0_0()); - + newLeafNode(lv_val6_9_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal6IDTerminalRuleCall_5_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val6", - lv_val6_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val6", + lv_val6_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -2968,35 +2985,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:1282:6: (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1327:4: (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1282:6: (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1282:8: otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1327:4: (otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1328:5: otherlv_10= 'kw5' ( (lv_val7_11_0= RULE_ID ) ) { otherlv_10=(Token)match(input,23,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_10, grammarAccess.getAlternativeMultiplicitiesAccess().getKw5Keyword_5_1_0()); - - // InternalSequencerTestLanguage.g:1286:1: ( (lv_val7_11_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1287:1: (lv_val7_11_0= RULE_ID ) + newLeafNode(otherlv_10, grammarAccess.getAlternativeMultiplicitiesAccess().getKw5Keyword_5_1_0()); + + // InternalSequencerTestLanguage.g:1332:5: ( (lv_val7_11_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1333:6: (lv_val7_11_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1287:1: (lv_val7_11_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1288:3: lv_val7_11_0= RULE_ID + // InternalSequencerTestLanguage.g:1333:6: (lv_val7_11_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1334:7: lv_val7_11_0= RULE_ID { lv_val7_11_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_12); - newLeafNode(lv_val7_11_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal7IDTerminalRuleCall_5_1_1_0()); - + newLeafNode(lv_val7_11_0, grammarAccess.getAlternativeMultiplicitiesAccess().getVal7IDTerminalRuleCall_5_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); - } - addWithLastConsumed( - current, - "val7", - lv_val7_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeMultiplicitiesRule()); + } + addWithLastConsumed( + current, + "val7", + lv_val7_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3021,13 +3038,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3036,7 +3055,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleList1" - // InternalSequencerTestLanguage.g:1312:1: entryRuleList1 returns [EObject current=null] : iv_ruleList1= ruleList1 EOF ; + // InternalSequencerTestLanguage.g:1356:1: entryRuleList1 returns [EObject current=null] : iv_ruleList1= ruleList1 EOF ; public final EObject entryRuleList1() throws RecognitionException { EObject current = null; @@ -3044,8 +3063,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1313:2: (iv_ruleList1= ruleList1 EOF ) - // InternalSequencerTestLanguage.g:1314:2: iv_ruleList1= ruleList1 EOF + // InternalSequencerTestLanguage.g:1356:46: (iv_ruleList1= ruleList1 EOF ) + // InternalSequencerTestLanguage.g:1357:2: iv_ruleList1= ruleList1 EOF { newCompositeNode(grammarAccess.getList1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3059,11 +3078,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3072,7 +3091,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleList1" - // InternalSequencerTestLanguage.g:1321:1: ruleList1 returns [EObject current=null] : (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) ; + // InternalSequencerTestLanguage.g:1363:1: ruleList1 returns [EObject current=null] : (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) ; public final EObject ruleList1() throws RecognitionException { EObject current = null; @@ -3081,46 +3100,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_2=null; Token lv_val1_3_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1324:28: ( (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) ) - // InternalSequencerTestLanguage.g:1325:1: (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) + // InternalSequencerTestLanguage.g:1369:2: ( (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) ) + // InternalSequencerTestLanguage.g:1370:2: (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) { - // InternalSequencerTestLanguage.g:1325:1: (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) - // InternalSequencerTestLanguage.g:1325:3: otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1370:2: (otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* ) + // InternalSequencerTestLanguage.g:1371:3: otherlv_0= '#6' ( (lv_val1_1_0= RULE_ID ) ) (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* { otherlv_0=(Token)match(input,24,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getList1Access().getNumberSignDigitSixKeyword_0()); - - // InternalSequencerTestLanguage.g:1329:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1330:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getList1Access().getNumberSignDigitSixKeyword_0()); + + // InternalSequencerTestLanguage.g:1375:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1376:4: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1330:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1331:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:1376:4: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1377:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(lv_val1_1_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getList1Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getList1Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1347:2: (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1393:3: (otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) )* loop12: do { int alt12=2; @@ -3133,32 +3153,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt12) { case 1 : - // InternalSequencerTestLanguage.g:1347:4: otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1394:4: otherlv_2= ',' ( (lv_val1_3_0= RULE_ID ) ) { otherlv_2=(Token)match(input,25,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getList1Access().getCommaKeyword_2_0()); - - // InternalSequencerTestLanguage.g:1351:1: ( (lv_val1_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1352:1: (lv_val1_3_0= RULE_ID ) + newLeafNode(otherlv_2, grammarAccess.getList1Access().getCommaKeyword_2_0()); + + // InternalSequencerTestLanguage.g:1398:4: ( (lv_val1_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1399:5: (lv_val1_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1352:1: (lv_val1_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1353:3: lv_val1_3_0= RULE_ID + // InternalSequencerTestLanguage.g:1399:5: (lv_val1_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1400:6: lv_val1_3_0= RULE_ID { lv_val1_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(lv_val1_3_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_2_1_0()); - + newLeafNode(lv_val1_3_0, grammarAccess.getList1Access().getVal1IDTerminalRuleCall_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getList1Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getList1Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3180,13 +3200,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3195,7 +3217,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleList2" - // InternalSequencerTestLanguage.g:1377:1: entryRuleList2 returns [EObject current=null] : iv_ruleList2= ruleList2 EOF ; + // InternalSequencerTestLanguage.g:1421:1: entryRuleList2 returns [EObject current=null] : iv_ruleList2= ruleList2 EOF ; public final EObject entryRuleList2() throws RecognitionException { EObject current = null; @@ -3203,8 +3225,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1378:2: (iv_ruleList2= ruleList2 EOF ) - // InternalSequencerTestLanguage.g:1379:2: iv_ruleList2= ruleList2 EOF + // InternalSequencerTestLanguage.g:1421:46: (iv_ruleList2= ruleList2 EOF ) + // InternalSequencerTestLanguage.g:1422:2: iv_ruleList2= ruleList2 EOF { newCompositeNode(grammarAccess.getList2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3218,11 +3240,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3231,7 +3253,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleList2" - // InternalSequencerTestLanguage.g:1386:1: ruleList2 returns [EObject current=null] : (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) ; + // InternalSequencerTestLanguage.g:1428:1: ruleList2 returns [EObject current=null] : (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) ; public final EObject ruleList2() throws RecognitionException { EObject current = null; @@ -3240,31 +3262,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_3=null; Token lv_val1_4_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1389:28: ( (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) ) - // InternalSequencerTestLanguage.g:1390:1: (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) + // InternalSequencerTestLanguage.g:1434:2: ( (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) ) + // InternalSequencerTestLanguage.g:1435:2: (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) { - // InternalSequencerTestLanguage.g:1390:1: (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) - // InternalSequencerTestLanguage.g:1390:3: otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? + // InternalSequencerTestLanguage.g:1435:2: (otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? ) + // InternalSequencerTestLanguage.g:1436:3: otherlv_0= '#7' () ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? { otherlv_0=(Token)match(input,26,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_0, grammarAccess.getList2Access().getNumberSignDigitSevenKeyword_0()); - - // InternalSequencerTestLanguage.g:1394:1: () - // InternalSequencerTestLanguage.g:1395:5: + newLeafNode(otherlv_0, grammarAccess.getList2Access().getNumberSignDigitSevenKeyword_0()); + + // InternalSequencerTestLanguage.g:1440:3: () + // InternalSequencerTestLanguage.g:1441:4: { - current = forceCreateModelElement( - grammarAccess.getList2Access().getList2Action_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getList2Access().getList2Action_1(), + current); + } - // InternalSequencerTestLanguage.g:1400:2: ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? + // InternalSequencerTestLanguage.g:1447:3: ( ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* )? int alt14=2; int LA14_0 = input.LA(1); @@ -3273,35 +3296,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt14) { case 1 : - // InternalSequencerTestLanguage.g:1400:3: ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1448:4: ( (lv_val1_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* { - // InternalSequencerTestLanguage.g:1400:3: ( (lv_val1_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1401:1: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1448:4: ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1449:5: (lv_val1_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1401:1: (lv_val1_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1402:3: lv_val1_2_0= RULE_ID + // InternalSequencerTestLanguage.g:1449:5: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1450:6: lv_val1_2_0= RULE_ID { lv_val1_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(lv_val1_2_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_0_0()); - + newLeafNode(lv_val1_2_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getList2Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getList2Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1418:2: (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1466:4: (otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) )* loop13: do { int alt13=2; @@ -3314,32 +3337,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt13) { case 1 : - // InternalSequencerTestLanguage.g:1418:4: otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1467:5: otherlv_3= ',' ( (lv_val1_4_0= RULE_ID ) ) { otherlv_3=(Token)match(input,25,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getList2Access().getCommaKeyword_2_1_0()); - - // InternalSequencerTestLanguage.g:1422:1: ( (lv_val1_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1423:1: (lv_val1_4_0= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getList2Access().getCommaKeyword_2_1_0()); + + // InternalSequencerTestLanguage.g:1471:5: ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1472:6: (lv_val1_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1423:1: (lv_val1_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1424:3: lv_val1_4_0= RULE_ID + // InternalSequencerTestLanguage.g:1472:6: (lv_val1_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1473:7: lv_val1_4_0= RULE_ID { lv_val1_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); - newLeafNode(lv_val1_4_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_1_1_0()); - + newLeafNode(lv_val1_4_0, grammarAccess.getList2Access().getVal1IDTerminalRuleCall_2_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getList2Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getList2Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3367,13 +3390,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3382,7 +3407,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleAltList1" - // InternalSequencerTestLanguage.g:1448:1: entryRuleAltList1 returns [EObject current=null] : iv_ruleAltList1= ruleAltList1 EOF ; + // InternalSequencerTestLanguage.g:1495:1: entryRuleAltList1 returns [EObject current=null] : iv_ruleAltList1= ruleAltList1 EOF ; public final EObject entryRuleAltList1() throws RecognitionException { EObject current = null; @@ -3390,8 +3415,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1449:2: (iv_ruleAltList1= ruleAltList1 EOF ) - // InternalSequencerTestLanguage.g:1450:2: iv_ruleAltList1= ruleAltList1 EOF + // InternalSequencerTestLanguage.g:1495:49: (iv_ruleAltList1= ruleAltList1 EOF ) + // InternalSequencerTestLanguage.g:1496:2: iv_ruleAltList1= ruleAltList1 EOF { newCompositeNode(grammarAccess.getAltList1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3405,11 +3430,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3418,7 +3443,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAltList1" - // InternalSequencerTestLanguage.g:1457:1: ruleAltList1 returns [EObject current=null] : (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) ; + // InternalSequencerTestLanguage.g:1502:1: ruleAltList1 returns [EObject current=null] : (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) ; public final EObject ruleAltList1() throws RecognitionException { EObject current = null; @@ -3432,20 +3457,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val1_7_0=null; Token lv_val4_8_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1460:28: ( (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) ) - // InternalSequencerTestLanguage.g:1461:1: (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) + // InternalSequencerTestLanguage.g:1508:2: ( (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) ) + // InternalSequencerTestLanguage.g:1509:2: (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) { - // InternalSequencerTestLanguage.g:1461:1: (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) - // InternalSequencerTestLanguage.g:1461:3: otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) + // InternalSequencerTestLanguage.g:1509:2: (otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) ) + // InternalSequencerTestLanguage.g:1510:3: otherlv_0= '#8' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) { otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_10); - newLeafNode(otherlv_0, grammarAccess.getAltList1Access().getNumberSignDigitEightKeyword_0()); - - // InternalSequencerTestLanguage.g:1465:1: ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) + newLeafNode(otherlv_0, grammarAccess.getAltList1Access().getNumberSignDigitEightKeyword_0()); + + // InternalSequencerTestLanguage.g:1514:3: ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) | (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) ) int alt16=3; switch ( input.LA(1) ) { case RULE_ID: @@ -3472,57 +3498,57 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt16) { case 1 : - // InternalSequencerTestLanguage.g:1465:2: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1515:4: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1465:2: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1465:3: ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1515:4: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1516:5: ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1465:3: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1466:1: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1516:5: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1517:6: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1466:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1467:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:1517:6: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1518:7: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val1_1_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_0_0_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_0_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1483:2: ( (lv_val2_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1484:1: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1534:5: ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1535:6: (lv_val2_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1484:1: (lv_val2_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1485:3: lv_val2_2_0= RULE_ID + // InternalSequencerTestLanguage.g:1535:6: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1536:7: lv_val2_2_0= RULE_ID { lv_val2_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val2_2_0, grammarAccess.getAltList1Access().getVal2IDTerminalRuleCall_1_0_1_0()); - + newLeafNode(lv_val2_2_0, grammarAccess.getAltList1Access().getVal2IDTerminalRuleCall_1_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3536,61 +3562,61 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:1502:6: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1554:4: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1502:6: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1502:8: otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1554:4: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1555:5: otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ( (lv_val3_5_0= RULE_ID ) ) { otherlv_3=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getAltList1Access().getKw1Keyword_1_1_0()); - - // InternalSequencerTestLanguage.g:1506:1: ( (lv_val1_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1507:1: (lv_val1_4_0= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getAltList1Access().getKw1Keyword_1_1_0()); + + // InternalSequencerTestLanguage.g:1559:5: ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1560:6: (lv_val1_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1507:1: (lv_val1_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1508:3: lv_val1_4_0= RULE_ID + // InternalSequencerTestLanguage.g:1560:6: (lv_val1_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1561:7: lv_val1_4_0= RULE_ID { lv_val1_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val1_4_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_1_1_0()); - + newLeafNode(lv_val1_4_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1524:2: ( (lv_val3_5_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1525:1: (lv_val3_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1577:5: ( (lv_val3_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1578:6: (lv_val3_5_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1525:1: (lv_val3_5_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1526:3: lv_val3_5_0= RULE_ID + // InternalSequencerTestLanguage.g:1578:6: (lv_val3_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1579:7: lv_val3_5_0= RULE_ID { lv_val3_5_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val3_5_0, grammarAccess.getAltList1Access().getVal3IDTerminalRuleCall_1_1_2_0()); - + newLeafNode(lv_val3_5_0, grammarAccess.getAltList1Access().getVal3IDTerminalRuleCall_1_1_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3604,42 +3630,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:1543:6: (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:1597:4: (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) { - // InternalSequencerTestLanguage.g:1543:6: (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) - // InternalSequencerTestLanguage.g:1543:8: otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:1597:4: (otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:1598:5: otherlv_6= 'kw2' ( (lv_val1_7_0= RULE_ID ) ) ( (lv_val4_8_0= RULE_ID ) )? { otherlv_6=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_6, grammarAccess.getAltList1Access().getKw2Keyword_1_2_0()); - - // InternalSequencerTestLanguage.g:1547:1: ( (lv_val1_7_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1548:1: (lv_val1_7_0= RULE_ID ) + newLeafNode(otherlv_6, grammarAccess.getAltList1Access().getKw2Keyword_1_2_0()); + + // InternalSequencerTestLanguage.g:1602:5: ( (lv_val1_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1603:6: (lv_val1_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1548:1: (lv_val1_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1549:3: lv_val1_7_0= RULE_ID + // InternalSequencerTestLanguage.g:1603:6: (lv_val1_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1604:7: lv_val1_7_0= RULE_ID { lv_val1_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_9); - newLeafNode(lv_val1_7_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_2_1_0()); - + newLeafNode(lv_val1_7_0, grammarAccess.getAltList1Access().getVal1IDTerminalRuleCall_1_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1565:2: ( (lv_val4_8_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:1620:5: ( (lv_val4_8_0= RULE_ID ) )? int alt15=2; int LA15_0 = input.LA(1); @@ -3648,25 +3674,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt15) { case 1 : - // InternalSequencerTestLanguage.g:1566:1: (lv_val4_8_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1621:6: (lv_val4_8_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1566:1: (lv_val4_8_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1567:3: lv_val4_8_0= RULE_ID + // InternalSequencerTestLanguage.g:1621:6: (lv_val4_8_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1622:7: lv_val4_8_0= RULE_ID { lv_val4_8_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val4_8_0, grammarAccess.getAltList1Access().getVal4IDTerminalRuleCall_1_2_2_0()); - + newLeafNode(lv_val4_8_0, grammarAccess.getAltList1Access().getVal4IDTerminalRuleCall_1_2_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList1Rule()); - } - setWithLastConsumed( - current, - "val4", - lv_val4_8_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList1Rule()); + } + setWithLastConsumed( + current, + "val4", + lv_val4_8_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3691,13 +3717,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3706,7 +3734,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleAltList2" - // InternalSequencerTestLanguage.g:1591:1: entryRuleAltList2 returns [EObject current=null] : iv_ruleAltList2= ruleAltList2 EOF ; + // InternalSequencerTestLanguage.g:1644:1: entryRuleAltList2 returns [EObject current=null] : iv_ruleAltList2= ruleAltList2 EOF ; public final EObject entryRuleAltList2() throws RecognitionException { EObject current = null; @@ -3714,8 +3742,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1592:2: (iv_ruleAltList2= ruleAltList2 EOF ) - // InternalSequencerTestLanguage.g:1593:2: iv_ruleAltList2= ruleAltList2 EOF + // InternalSequencerTestLanguage.g:1644:49: (iv_ruleAltList2= ruleAltList2 EOF ) + // InternalSequencerTestLanguage.g:1645:2: iv_ruleAltList2= ruleAltList2 EOF { newCompositeNode(grammarAccess.getAltList2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -3729,11 +3757,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3742,7 +3770,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleAltList2" - // InternalSequencerTestLanguage.g:1600:1: ruleAltList2 returns [EObject current=null] : (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:1651:1: ruleAltList2 returns [EObject current=null] : (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) ; public final EObject ruleAltList2() throws RecognitionException { EObject current = null; @@ -3755,20 +3783,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val1_6_0=null; Token lv_val3_7_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1603:28: ( (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:1604:1: (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:1657:2: ( (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:1658:2: (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) { - // InternalSequencerTestLanguage.g:1604:1: (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:1604:3: otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:1658:2: (otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:1659:3: otherlv_0= '#9' ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) { otherlv_0=(Token)match(input,28,FollowSets000.FOLLOW_14); - newLeafNode(otherlv_0, grammarAccess.getAltList2Access().getNumberSignDigitNineKeyword_0()); - - // InternalSequencerTestLanguage.g:1608:1: ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getAltList2Access().getNumberSignDigitNineKeyword_0()); + + // InternalSequencerTestLanguage.g:1663:3: ( ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) | (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) ) int alt18=2; int LA18_0 = input.LA(1); @@ -3786,57 +3815,57 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt18) { case 1 : - // InternalSequencerTestLanguage.g:1608:2: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1664:4: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1608:2: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1608:3: ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1664:4: ( ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1665:5: ( (lv_val1_1_0= RULE_ID ) ) ( (lv_val2_2_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1608:3: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1609:1: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1665:5: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1666:6: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1609:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1610:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:1666:6: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1667:7: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val1_1_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_0_0_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_0_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1626:2: ( (lv_val2_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1627:1: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1683:5: ( (lv_val2_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1684:6: (lv_val2_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1627:1: (lv_val2_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1628:3: lv_val2_2_0= RULE_ID + // InternalSequencerTestLanguage.g:1684:6: (lv_val2_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1685:7: lv_val2_2_0= RULE_ID { lv_val2_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val2_2_0, grammarAccess.getAltList2Access().getVal2IDTerminalRuleCall_1_0_1_0()); - + newLeafNode(lv_val2_2_0, grammarAccess.getAltList2Access().getVal2IDTerminalRuleCall_1_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList2Rule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList2Rule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3850,42 +3879,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:1645:6: (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1703:4: (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:1645:6: (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1645:8: otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1703:4: (otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1704:5: otherlv_3= 'kw' ( (lv_val1_4_0= RULE_ID ) ) (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* ( (lv_val3_7_0= RULE_ID ) ) { otherlv_3=(Token)match(input,29,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getAltList2Access().getKwKeyword_1_1_0()); - - // InternalSequencerTestLanguage.g:1649:1: ( (lv_val1_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1650:1: (lv_val1_4_0= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getAltList2Access().getKwKeyword_1_1_0()); + + // InternalSequencerTestLanguage.g:1708:5: ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1709:6: (lv_val1_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1650:1: (lv_val1_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1651:3: lv_val1_4_0= RULE_ID + // InternalSequencerTestLanguage.g:1709:6: (lv_val1_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1710:7: lv_val1_4_0= RULE_ID { lv_val1_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_15); - newLeafNode(lv_val1_4_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_1_0()); - + newLeafNode(lv_val1_4_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:1667:2: (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* + // InternalSequencerTestLanguage.g:1726:5: (otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) )* loop17: do { int alt17=2; @@ -3898,32 +3927,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt17) { case 1 : - // InternalSequencerTestLanguage.g:1667:4: otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1727:6: otherlv_5= ',' ( (lv_val1_6_0= RULE_ID ) ) { otherlv_5=(Token)match(input,25,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_5, grammarAccess.getAltList2Access().getCommaKeyword_1_1_2_0()); - - // InternalSequencerTestLanguage.g:1671:1: ( (lv_val1_6_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1672:1: (lv_val1_6_0= RULE_ID ) + newLeafNode(otherlv_5, grammarAccess.getAltList2Access().getCommaKeyword_1_1_2_0()); + + // InternalSequencerTestLanguage.g:1731:6: ( (lv_val1_6_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1732:7: (lv_val1_6_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1672:1: (lv_val1_6_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1673:3: lv_val1_6_0= RULE_ID + // InternalSequencerTestLanguage.g:1732:7: (lv_val1_6_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1733:8: lv_val1_6_0= RULE_ID { lv_val1_6_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_15); - newLeafNode(lv_val1_6_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_2_1_0()); - + newLeafNode(lv_val1_6_0, grammarAccess.getAltList2Access().getVal1IDTerminalRuleCall_1_1_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList2Rule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList2Rule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3939,26 +3968,26 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } while (true); - // InternalSequencerTestLanguage.g:1689:4: ( (lv_val3_7_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1690:1: (lv_val3_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1750:5: ( (lv_val3_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1751:6: (lv_val3_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:1690:1: (lv_val3_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:1691:3: lv_val3_7_0= RULE_ID + // InternalSequencerTestLanguage.g:1751:6: (lv_val3_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:1752:7: lv_val3_7_0= RULE_ID { lv_val3_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val3_7_0, grammarAccess.getAltList2Access().getVal3IDTerminalRuleCall_1_1_3_0()); - + newLeafNode(lv_val3_7_0, grammarAccess.getAltList2Access().getVal3IDTerminalRuleCall_1_1_3_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getAltList2Rule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAltList2Rule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -3980,13 +4009,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3995,7 +4026,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleKeywords" - // InternalSequencerTestLanguage.g:1715:1: entryRuleSingleKeywords returns [EObject current=null] : iv_ruleSingleKeywords= ruleSingleKeywords EOF ; + // InternalSequencerTestLanguage.g:1774:1: entryRuleSingleKeywords returns [EObject current=null] : iv_ruleSingleKeywords= ruleSingleKeywords EOF ; public final EObject entryRuleSingleKeywords() throws RecognitionException { EObject current = null; @@ -4003,8 +4034,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1716:2: (iv_ruleSingleKeywords= ruleSingleKeywords EOF ) - // InternalSequencerTestLanguage.g:1717:2: iv_ruleSingleKeywords= ruleSingleKeywords EOF + // InternalSequencerTestLanguage.g:1774:55: (iv_ruleSingleKeywords= ruleSingleKeywords EOF ) + // InternalSequencerTestLanguage.g:1775:2: iv_ruleSingleKeywords= ruleSingleKeywords EOF { newCompositeNode(grammarAccess.getSingleKeywordsRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -4018,11 +4049,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4031,7 +4062,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleKeywords" - // InternalSequencerTestLanguage.g:1724:1: ruleSingleKeywords returns [EObject current=null] : (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ; + // InternalSequencerTestLanguage.g:1781:1: ruleSingleKeywords returns [EObject current=null] : (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ; public final EObject ruleSingleKeywords() throws RecognitionException { EObject current = null; @@ -4040,26 +4071,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_2=null; Token lv_val_1_3=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1727:28: ( (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ) - // InternalSequencerTestLanguage.g:1728:1: (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:1787:2: ( (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ) + // InternalSequencerTestLanguage.g:1788:2: (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) { - // InternalSequencerTestLanguage.g:1728:1: (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) - // InternalSequencerTestLanguage.g:1728:3: otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:1788:2: (otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:1789:3: otherlv_0= '#10' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) { otherlv_0=(Token)match(input,30,FollowSets000.FOLLOW_16); - newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsAccess().getNumberSignDigitOneDigitZeroKeyword_0()); - - // InternalSequencerTestLanguage.g:1732:1: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) - // InternalSequencerTestLanguage.g:1733:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsAccess().getNumberSignDigitOneDigitZeroKeyword_0()); + + // InternalSequencerTestLanguage.g:1793:3: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:1794:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) { - // InternalSequencerTestLanguage.g:1733:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) - // InternalSequencerTestLanguage.g:1734:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) + // InternalSequencerTestLanguage.g:1794:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) + // InternalSequencerTestLanguage.g:1795:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) { - // InternalSequencerTestLanguage.g:1734:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) + // InternalSequencerTestLanguage.g:1795:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) int alt19=3; switch ( input.LA(1) ) { case 16: @@ -4086,50 +4118,50 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt19) { case 1 : - // InternalSequencerTestLanguage.g:1735:3: lv_val_1_1= 'kw1' + // InternalSequencerTestLanguage.g:1796:6: lv_val_1_1= 'kw1' { lv_val_1_1=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsAccess().getValKw1Keyword_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsAccess().getValKw1Keyword_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed(current, "val", lv_val_1_1, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed(current, "val", lv_val_1_1, null); + } break; case 2 : - // InternalSequencerTestLanguage.g:1747:8: lv_val_1_2= 'kw2' + // InternalSequencerTestLanguage.g:1807:6: lv_val_1_2= 'kw2' { lv_val_1_2=(Token)match(input,17,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsAccess().getValKw2Keyword_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsAccess().getValKw2Keyword_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed(current, "val", lv_val_1_2, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed(current, "val", lv_val_1_2, null); + } break; case 3 : - // InternalSequencerTestLanguage.g:1759:8: lv_val_1_3= 'kw3' + // InternalSequencerTestLanguage.g:1818:6: lv_val_1_3= 'kw3' { lv_val_1_3=(Token)match(input,19,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsAccess().getValKw3Keyword_1_0_2()); - + newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsAccess().getValKw3Keyword_1_0_2()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsRule()); - } - setWithLastConsumed(current, "val", lv_val_1_3, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsRule()); + } + setWithLastConsumed(current, "val", lv_val_1_3, null); + } break; @@ -4148,13 +4180,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4163,7 +4197,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleKeywordsOrID" - // InternalSequencerTestLanguage.g:1782:1: entryRuleSingleKeywordsOrID returns [EObject current=null] : iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF ; + // InternalSequencerTestLanguage.g:1835:1: entryRuleSingleKeywordsOrID returns [EObject current=null] : iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF ; public final EObject entryRuleSingleKeywordsOrID() throws RecognitionException { EObject current = null; @@ -4171,8 +4205,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1783:2: (iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF ) - // InternalSequencerTestLanguage.g:1784:2: iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF + // InternalSequencerTestLanguage.g:1835:59: (iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF ) + // InternalSequencerTestLanguage.g:1836:2: iv_ruleSingleKeywordsOrID= ruleSingleKeywordsOrID EOF { newCompositeNode(grammarAccess.getSingleKeywordsOrIDRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -4186,11 +4220,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4199,7 +4233,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleKeywordsOrID" - // InternalSequencerTestLanguage.g:1791:1: ruleSingleKeywordsOrID returns [EObject current=null] : (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ; + // InternalSequencerTestLanguage.g:1842:1: ruleSingleKeywordsOrID returns [EObject current=null] : (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ; public final EObject ruleSingleKeywordsOrID() throws RecognitionException { EObject current = null; @@ -4209,26 +4243,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_3=null; Token lv_val_1_4=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1794:28: ( (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:1795:1: (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:1848:2: ( (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:1849:2: (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) { - // InternalSequencerTestLanguage.g:1795:1: (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:1795:3: otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1849:2: (otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:1850:3: otherlv_0= '#11' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) { otherlv_0=(Token)match(input,31,FollowSets000.FOLLOW_17); - newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsOrIDAccess().getNumberSignDigitOneDigitOneKeyword_0()); - - // InternalSequencerTestLanguage.g:1799:1: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:1800:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleKeywordsOrIDAccess().getNumberSignDigitOneDigitOneKeyword_0()); + + // InternalSequencerTestLanguage.g:1854:3: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:1855:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:1800:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) - // InternalSequencerTestLanguage.g:1801:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) + // InternalSequencerTestLanguage.g:1855:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) + // InternalSequencerTestLanguage.g:1856:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) { - // InternalSequencerTestLanguage.g:1801:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) + // InternalSequencerTestLanguage.g:1856:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) int alt20=4; switch ( input.LA(1) ) { case 16: @@ -4260,70 +4295,70 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt20) { case 1 : - // InternalSequencerTestLanguage.g:1802:3: lv_val_1_1= 'kw1' + // InternalSequencerTestLanguage.g:1857:6: lv_val_1_1= 'kw1' { lv_val_1_1=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getSingleKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed(current, "val", lv_val_1_1, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed(current, "val", lv_val_1_1, null); + } break; case 2 : - // InternalSequencerTestLanguage.g:1814:8: lv_val_1_2= 'kw2' + // InternalSequencerTestLanguage.g:1868:6: lv_val_1_2= 'kw2' { lv_val_1_2=(Token)match(input,17,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getSingleKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed(current, "val", lv_val_1_2, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed(current, "val", lv_val_1_2, null); + } break; case 3 : - // InternalSequencerTestLanguage.g:1826:8: lv_val_1_3= 'kw3' + // InternalSequencerTestLanguage.g:1879:6: lv_val_1_3= 'kw3' { lv_val_1_3=(Token)match(input,19,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); - + newLeafNode(lv_val_1_3, grammarAccess.getSingleKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed(current, "val", lv_val_1_3, null); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed(current, "val", lv_val_1_3, null); + } break; case 4 : - // InternalSequencerTestLanguage.g:1838:8: lv_val_1_4= RULE_ID + // InternalSequencerTestLanguage.g:1890:6: lv_val_1_4= RULE_ID { lv_val_1_4=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_4, grammarAccess.getSingleKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); - + newLeafNode(lv_val_1_4, grammarAccess.getSingleKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_4, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleKeywordsOrIDRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_4, + "org.eclipse.xtext.common.Terminals.ID"); + } break; @@ -4342,13 +4377,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4357,7 +4394,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleTerminals" - // InternalSequencerTestLanguage.g:1864:1: entryRuleSingleTerminals returns [EObject current=null] : iv_ruleSingleTerminals= ruleSingleTerminals EOF ; + // InternalSequencerTestLanguage.g:1911:1: entryRuleSingleTerminals returns [EObject current=null] : iv_ruleSingleTerminals= ruleSingleTerminals EOF ; public final EObject entryRuleSingleTerminals() throws RecognitionException { EObject current = null; @@ -4365,8 +4402,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1865:2: (iv_ruleSingleTerminals= ruleSingleTerminals EOF ) - // InternalSequencerTestLanguage.g:1866:2: iv_ruleSingleTerminals= ruleSingleTerminals EOF + // InternalSequencerTestLanguage.g:1911:56: (iv_ruleSingleTerminals= ruleSingleTerminals EOF ) + // InternalSequencerTestLanguage.g:1912:2: iv_ruleSingleTerminals= ruleSingleTerminals EOF { newCompositeNode(grammarAccess.getSingleTerminalsRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -4380,11 +4417,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4393,7 +4430,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleTerminals" - // InternalSequencerTestLanguage.g:1873:1: ruleSingleTerminals returns [EObject current=null] : (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ; + // InternalSequencerTestLanguage.g:1918:1: ruleSingleTerminals returns [EObject current=null] : (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ; public final EObject ruleSingleTerminals() throws RecognitionException { EObject current = null; @@ -4401,26 +4438,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_1=null; Token lv_val_1_2=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1876:28: ( (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ) - // InternalSequencerTestLanguage.g:1877:1: (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) + // InternalSequencerTestLanguage.g:1924:2: ( (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ) + // InternalSequencerTestLanguage.g:1925:2: (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) { - // InternalSequencerTestLanguage.g:1877:1: (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) - // InternalSequencerTestLanguage.g:1877:3: otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) + // InternalSequencerTestLanguage.g:1925:2: (otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) + // InternalSequencerTestLanguage.g:1926:3: otherlv_0= '#12' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) { otherlv_0=(Token)match(input,32,FollowSets000.FOLLOW_18); - newLeafNode(otherlv_0, grammarAccess.getSingleTerminalsAccess().getNumberSignDigitOneDigitTwoKeyword_0()); - - // InternalSequencerTestLanguage.g:1881:1: ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) - // InternalSequencerTestLanguage.g:1882:1: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleTerminalsAccess().getNumberSignDigitOneDigitTwoKeyword_0()); + + // InternalSequencerTestLanguage.g:1930:3: ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) + // InternalSequencerTestLanguage.g:1931:4: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) { - // InternalSequencerTestLanguage.g:1882:1: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) - // InternalSequencerTestLanguage.g:1883:1: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) + // InternalSequencerTestLanguage.g:1931:4: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) + // InternalSequencerTestLanguage.g:1932:5: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) { - // InternalSequencerTestLanguage.g:1883:1: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) + // InternalSequencerTestLanguage.g:1932:5: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) int alt21=2; int LA21_0 = input.LA(1); @@ -4438,42 +4476,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt21) { case 1 : - // InternalSequencerTestLanguage.g:1884:3: lv_val_1_1= RULE_ID1 + // InternalSequencerTestLanguage.g:1933:6: lv_val_1_1= RULE_ID1 { lv_val_1_1=(Token)match(input,RULE_ID1,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getSingleTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getSingleTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleTerminalsRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleTerminalsRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } break; case 2 : - // InternalSequencerTestLanguage.g:1899:8: lv_val_1_2= RULE_ID2 + // InternalSequencerTestLanguage.g:1948:6: lv_val_1_2= RULE_ID2 { lv_val_1_2=(Token)match(input,RULE_ID2,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getSingleTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getSingleTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleTerminalsRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleTerminalsRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } break; @@ -4492,13 +4530,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4507,7 +4547,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleEnum" - // InternalSequencerTestLanguage.g:1925:1: entryRuleSingleEnum returns [EObject current=null] : iv_ruleSingleEnum= ruleSingleEnum EOF ; + // InternalSequencerTestLanguage.g:1969:1: entryRuleSingleEnum returns [EObject current=null] : iv_ruleSingleEnum= ruleSingleEnum EOF ; public final EObject entryRuleSingleEnum() throws RecognitionException { EObject current = null; @@ -4515,8 +4555,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:1926:2: (iv_ruleSingleEnum= ruleSingleEnum EOF ) - // InternalSequencerTestLanguage.g:1927:2: iv_ruleSingleEnum= ruleSingleEnum EOF + // InternalSequencerTestLanguage.g:1969:51: (iv_ruleSingleEnum= ruleSingleEnum EOF ) + // InternalSequencerTestLanguage.g:1970:2: iv_ruleSingleEnum= ruleSingleEnum EOF { newCompositeNode(grammarAccess.getSingleEnumRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -4530,11 +4570,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4543,7 +4583,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleEnum" - // InternalSequencerTestLanguage.g:1934:1: ruleSingleEnum returns [EObject current=null] : (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) ; + // InternalSequencerTestLanguage.g:1976:1: ruleSingleEnum returns [EObject current=null] : (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) ; public final EObject ruleSingleEnum() throws RecognitionException { EObject current = null; @@ -4555,26 +4595,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Enumerator lv_val_1_3 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:1937:28: ( (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) ) - // InternalSequencerTestLanguage.g:1938:1: (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) + // InternalSequencerTestLanguage.g:1982:2: ( (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) ) + // InternalSequencerTestLanguage.g:1983:2: (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) { - // InternalSequencerTestLanguage.g:1938:1: (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) - // InternalSequencerTestLanguage.g:1938:3: otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) + // InternalSequencerTestLanguage.g:1983:2: (otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) ) + // InternalSequencerTestLanguage.g:1984:3: otherlv_0= '#13' ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) { otherlv_0=(Token)match(input,33,FollowSets000.FOLLOW_16); - newLeafNode(otherlv_0, grammarAccess.getSingleEnumAccess().getNumberSignDigitOneDigitThreeKeyword_0()); - - // InternalSequencerTestLanguage.g:1942:1: ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) - // InternalSequencerTestLanguage.g:1943:1: ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleEnumAccess().getNumberSignDigitOneDigitThreeKeyword_0()); + + // InternalSequencerTestLanguage.g:1988:3: ( ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) ) + // InternalSequencerTestLanguage.g:1989:4: ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) { - // InternalSequencerTestLanguage.g:1943:1: ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) - // InternalSequencerTestLanguage.g:1944:1: (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) + // InternalSequencerTestLanguage.g:1989:4: ( (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) ) + // InternalSequencerTestLanguage.g:1990:5: (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) { - // InternalSequencerTestLanguage.g:1944:1: (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) + // InternalSequencerTestLanguage.g:1990:5: (lv_val_1_1= ruleDefEnum1 | lv_val_1_2= ruleDefEnum2 | lv_val_1_3= ruleDefEnum3 ) int alt22=3; switch ( input.LA(1) ) { case 16: @@ -4601,77 +4642,77 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt22) { case 1 : - // InternalSequencerTestLanguage.g:1945:3: lv_val_1_1= ruleDefEnum1 + // InternalSequencerTestLanguage.g:1991:6: lv_val_1_1= ruleDefEnum1 { - - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum1EnumRuleCall_1_0_0()); - + + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum1EnumRuleCall_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_1_1=ruleDefEnum1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalSequencerTestLanguage.g:1960:8: lv_val_1_2= ruleDefEnum2 + // InternalSequencerTestLanguage.g:2007:6: lv_val_1_2= ruleDefEnum2 { - - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum2EnumRuleCall_1_0_1()); - + + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum2EnumRuleCall_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_1_2=ruleDefEnum2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum2"); + afterParserOrEnumRuleCall(); + } break; case 3 : - // InternalSequencerTestLanguage.g:1975:8: lv_val_1_3= ruleDefEnum3 + // InternalSequencerTestLanguage.g:2023:6: lv_val_1_3= ruleDefEnum3 { - - newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum3EnumRuleCall_1_0_2()); - + + newCompositeNode(grammarAccess.getSingleEnumAccess().getValDefEnum3EnumRuleCall_1_0_2()); + pushFollow(FollowSets000.FOLLOW_2); lv_val_1_3=ruleDefEnum3(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleEnumRule()); - } - set( - current, - "val", - lv_val_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum3"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleEnumRule()); + } + set( + current, + "val", + lv_val_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum3"); + afterParserOrEnumRuleCall(); + } break; @@ -4690,13 +4731,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4705,7 +4748,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleCrossReference" - // InternalSequencerTestLanguage.g:2001:1: entryRuleSingleCrossReference returns [EObject current=null] : iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ; + // InternalSequencerTestLanguage.g:2045:1: entryRuleSingleCrossReference returns [EObject current=null] : iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ; public final EObject entryRuleSingleCrossReference() throws RecognitionException { EObject current = null; @@ -4713,8 +4756,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2002:2: (iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ) - // InternalSequencerTestLanguage.g:2003:2: iv_ruleSingleCrossReference= ruleSingleCrossReference EOF + // InternalSequencerTestLanguage.g:2045:61: (iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ) + // InternalSequencerTestLanguage.g:2046:2: iv_ruleSingleCrossReference= ruleSingleCrossReference EOF { newCompositeNode(grammarAccess.getSingleCrossReferenceRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -4728,11 +4771,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4741,7 +4784,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleCrossReference" - // InternalSequencerTestLanguage.g:2010:1: ruleSingleCrossReference returns [EObject current=null] : (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) ; + // InternalSequencerTestLanguage.g:2052:1: ruleSingleCrossReference returns [EObject current=null] : (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) ; public final EObject ruleSingleCrossReference() throws RecognitionException { EObject current = null; @@ -4753,26 +4796,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_3=null; Token otherlv_4=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2013:28: ( (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) ) - // InternalSequencerTestLanguage.g:2014:1: (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) + // InternalSequencerTestLanguage.g:2058:2: ( (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) ) + // InternalSequencerTestLanguage.g:2059:2: (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) { - // InternalSequencerTestLanguage.g:2014:1: (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) - // InternalSequencerTestLanguage.g:2014:3: otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) + // InternalSequencerTestLanguage.g:2059:2: (otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) ) + // InternalSequencerTestLanguage.g:2060:3: otherlv_0= '#14' ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) { otherlv_0=(Token)match(input,34,FollowSets000.FOLLOW_19); - newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitOneDigitFourKeyword_0()); - - // InternalSequencerTestLanguage.g:2018:1: ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) - // InternalSequencerTestLanguage.g:2019:1: ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitOneDigitFourKeyword_0()); + + // InternalSequencerTestLanguage.g:2064:3: ( ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) ) + // InternalSequencerTestLanguage.g:2065:4: ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) { - // InternalSequencerTestLanguage.g:2019:1: ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) - // InternalSequencerTestLanguage.g:2020:1: (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) + // InternalSequencerTestLanguage.g:2065:4: ( (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) ) + // InternalSequencerTestLanguage.g:2066:5: (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) { - // InternalSequencerTestLanguage.g:2020:1: (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) + // InternalSequencerTestLanguage.g:2066:5: (lv_name_1_1= RULE_ID1 | lv_name_1_2= RULE_ID2 | lv_name_1_3= RULE_ID3 ) int alt23=3; switch ( input.LA(1) ) { case RULE_ID1: @@ -4799,62 +4843,62 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt23) { case 1 : - // InternalSequencerTestLanguage.g:2021:3: lv_name_1_1= RULE_ID1 + // InternalSequencerTestLanguage.g:2067:6: lv_name_1_1= RULE_ID1 { lv_name_1_1=(Token)match(input,RULE_ID1,FollowSets000.FOLLOW_19); - newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameID1TerminalRuleCall_1_0_0()); - + newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameID1TerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } break; case 2 : - // InternalSequencerTestLanguage.g:2036:8: lv_name_1_2= RULE_ID2 + // InternalSequencerTestLanguage.g:2082:6: lv_name_1_2= RULE_ID2 { lv_name_1_2=(Token)match(input,RULE_ID2,FollowSets000.FOLLOW_19); - newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameID2TerminalRuleCall_1_0_1()); - + newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameID2TerminalRuleCall_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } break; case 3 : - // InternalSequencerTestLanguage.g:2051:8: lv_name_1_3= RULE_ID3 + // InternalSequencerTestLanguage.g:2097:6: lv_name_1_3= RULE_ID3 { lv_name_1_3=(Token)match(input,RULE_ID3,FollowSets000.FOLLOW_19); - newLeafNode(lv_name_1_3, grammarAccess.getSingleCrossReferenceAccess().getNameID3TerminalRuleCall_1_0_2()); - + newLeafNode(lv_name_1_3, grammarAccess.getSingleCrossReferenceAccess().getNameID3TerminalRuleCall_1_0_2()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID3"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID3"); + } break; @@ -4867,7 +4911,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - // InternalSequencerTestLanguage.g:2069:2: ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) + // InternalSequencerTestLanguage.g:2114:3: ( ( (otherlv_2= RULE_ID1 ) ) | ( (otherlv_3= RULE_ID2 ) ) | ( (otherlv_4= RULE_ID3 ) ) ) int alt24=3; switch ( input.LA(1) ) { case RULE_ID1: @@ -4894,23 +4938,23 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt24) { case 1 : - // InternalSequencerTestLanguage.g:2069:3: ( (otherlv_2= RULE_ID1 ) ) + // InternalSequencerTestLanguage.g:2115:4: ( (otherlv_2= RULE_ID1 ) ) { - // InternalSequencerTestLanguage.g:2069:3: ( (otherlv_2= RULE_ID1 ) ) - // InternalSequencerTestLanguage.g:2070:1: (otherlv_2= RULE_ID1 ) + // InternalSequencerTestLanguage.g:2115:4: ( (otherlv_2= RULE_ID1 ) ) + // InternalSequencerTestLanguage.g:2116:5: (otherlv_2= RULE_ID1 ) { - // InternalSequencerTestLanguage.g:2070:1: (otherlv_2= RULE_ID1 ) - // InternalSequencerTestLanguage.g:2071:3: otherlv_2= RULE_ID1 + // InternalSequencerTestLanguage.g:2116:5: (otherlv_2= RULE_ID1 ) + // InternalSequencerTestLanguage.g:2117:6: otherlv_2= RULE_ID1 { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + otherlv_2=(Token)match(input,RULE_ID1,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_0_0()); - + newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_0_0()); + } @@ -4921,23 +4965,23 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:2083:6: ( (otherlv_3= RULE_ID2 ) ) + // InternalSequencerTestLanguage.g:2129:4: ( (otherlv_3= RULE_ID2 ) ) { - // InternalSequencerTestLanguage.g:2083:6: ( (otherlv_3= RULE_ID2 ) ) - // InternalSequencerTestLanguage.g:2084:1: (otherlv_3= RULE_ID2 ) + // InternalSequencerTestLanguage.g:2129:4: ( (otherlv_3= RULE_ID2 ) ) + // InternalSequencerTestLanguage.g:2130:5: (otherlv_3= RULE_ID2 ) { - // InternalSequencerTestLanguage.g:2084:1: (otherlv_3= RULE_ID2 ) - // InternalSequencerTestLanguage.g:2085:3: otherlv_3= RULE_ID2 + // InternalSequencerTestLanguage.g:2130:5: (otherlv_3= RULE_ID2 ) + // InternalSequencerTestLanguage.g:2131:6: otherlv_3= RULE_ID2 { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + otherlv_3=(Token)match(input,RULE_ID2,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_1_0()); - + newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_1_0()); + } @@ -4948,23 +4992,23 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:2097:6: ( (otherlv_4= RULE_ID3 ) ) + // InternalSequencerTestLanguage.g:2143:4: ( (otherlv_4= RULE_ID3 ) ) { - // InternalSequencerTestLanguage.g:2097:6: ( (otherlv_4= RULE_ID3 ) ) - // InternalSequencerTestLanguage.g:2098:1: (otherlv_4= RULE_ID3 ) + // InternalSequencerTestLanguage.g:2143:4: ( (otherlv_4= RULE_ID3 ) ) + // InternalSequencerTestLanguage.g:2144:5: (otherlv_4= RULE_ID3 ) { - // InternalSequencerTestLanguage.g:2098:1: (otherlv_4= RULE_ID3 ) - // InternalSequencerTestLanguage.g:2099:3: otherlv_4= RULE_ID3 + // InternalSequencerTestLanguage.g:2144:5: (otherlv_4= RULE_ID3 ) + // InternalSequencerTestLanguage.g:2145:6: otherlv_4= RULE_ID3 { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + otherlv_4=(Token)match(input,RULE_ID3,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_2_0()); - + newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getRefSingleCrossReferenceCrossReference_2_2_0()); + } @@ -4983,13 +5027,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4998,7 +5044,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleContainmentReference" - // InternalSequencerTestLanguage.g:2118:1: entryRuleSingleContainmentReference returns [EObject current=null] : iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF ; + // InternalSequencerTestLanguage.g:2161:1: entryRuleSingleContainmentReference returns [EObject current=null] : iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF ; public final EObject entryRuleSingleContainmentReference() throws RecognitionException { EObject current = null; @@ -5006,8 +5052,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2119:2: (iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF ) - // InternalSequencerTestLanguage.g:2120:2: iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF + // InternalSequencerTestLanguage.g:2161:67: (iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF ) + // InternalSequencerTestLanguage.g:2162:2: iv_ruleSingleContainmentReference= ruleSingleContainmentReference EOF { newCompositeNode(grammarAccess.getSingleContainmentReferenceRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5021,11 +5067,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5034,7 +5080,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleContainmentReference" - // InternalSequencerTestLanguage.g:2127:1: ruleSingleContainmentReference returns [EObject current=null] : (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) ; + // InternalSequencerTestLanguage.g:2168:1: ruleSingleContainmentReference returns [EObject current=null] : (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) ; public final EObject ruleSingleContainmentReference() throws RecognitionException { EObject current = null; @@ -5046,26 +5092,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_child_1_3 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2130:28: ( (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) ) - // InternalSequencerTestLanguage.g:2131:1: (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) + // InternalSequencerTestLanguage.g:2174:2: ( (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) ) + // InternalSequencerTestLanguage.g:2175:2: (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) { - // InternalSequencerTestLanguage.g:2131:1: (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) - // InternalSequencerTestLanguage.g:2131:3: otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) + // InternalSequencerTestLanguage.g:2175:2: (otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) ) + // InternalSequencerTestLanguage.g:2176:3: otherlv_0= '#15' ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) { otherlv_0=(Token)match(input,35,FollowSets000.FOLLOW_16); - newLeafNode(otherlv_0, grammarAccess.getSingleContainmentReferenceAccess().getNumberSignDigitOneDigitFiveKeyword_0()); - - // InternalSequencerTestLanguage.g:2135:1: ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) - // InternalSequencerTestLanguage.g:2136:1: ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) + newLeafNode(otherlv_0, grammarAccess.getSingleContainmentReferenceAccess().getNumberSignDigitOneDigitFiveKeyword_0()); + + // InternalSequencerTestLanguage.g:2180:3: ( ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) ) + // InternalSequencerTestLanguage.g:2181:4: ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) { - // InternalSequencerTestLanguage.g:2136:1: ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) - // InternalSequencerTestLanguage.g:2137:1: (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) + // InternalSequencerTestLanguage.g:2181:4: ( (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) ) + // InternalSequencerTestLanguage.g:2182:5: (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) { - // InternalSequencerTestLanguage.g:2137:1: (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) + // InternalSequencerTestLanguage.g:2182:5: (lv_child_1_1= ruleSingleContainmentReferenceChild1 | lv_child_1_2= ruleSingleContainmentReferenceChild2 | lv_child_1_3= ruleSingleContainmentReferenceChild3 ) int alt25=3; switch ( input.LA(1) ) { case 16: @@ -5092,77 +5139,77 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt25) { case 1 : - // InternalSequencerTestLanguage.g:2138:3: lv_child_1_1= ruleSingleContainmentReferenceChild1 + // InternalSequencerTestLanguage.g:2183:6: lv_child_1_1= ruleSingleContainmentReferenceChild1 { - - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0()); - + + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_child_1_1=ruleSingleContainmentReferenceChild1(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - current, - "child", - lv_child_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + current, + "child", + lv_child_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild1"); + afterParserOrEnumRuleCall(); + } break; case 2 : - // InternalSequencerTestLanguage.g:2153:8: lv_child_1_2= ruleSingleContainmentReferenceChild2 + // InternalSequencerTestLanguage.g:2199:6: lv_child_1_2= ruleSingleContainmentReferenceChild2 { - - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1()); - + + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1()); + pushFollow(FollowSets000.FOLLOW_2); lv_child_1_2=ruleSingleContainmentReferenceChild2(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - current, - "child", - lv_child_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + current, + "child", + lv_child_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild2"); + afterParserOrEnumRuleCall(); + } break; case 3 : - // InternalSequencerTestLanguage.g:2168:8: lv_child_1_3= ruleSingleContainmentReferenceChild3 + // InternalSequencerTestLanguage.g:2215:6: lv_child_1_3= ruleSingleContainmentReferenceChild3 { - - newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2()); - + + newCompositeNode(grammarAccess.getSingleContainmentReferenceAccess().getChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2()); + pushFollow(FollowSets000.FOLLOW_2); lv_child_1_3=ruleSingleContainmentReferenceChild3(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); - } - set( - current, - "child", - lv_child_1_3, - "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild3"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getSingleContainmentReferenceRule()); + } + set( + current, + "child", + lv_child_1_3, + "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild3"); + afterParserOrEnumRuleCall(); + } break; @@ -5181,13 +5228,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5196,7 +5245,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleContainmentReferenceChild1" - // InternalSequencerTestLanguage.g:2194:1: entryRuleSingleContainmentReferenceChild1 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF ; + // InternalSequencerTestLanguage.g:2237:1: entryRuleSingleContainmentReferenceChild1 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF ; public final EObject entryRuleSingleContainmentReferenceChild1() throws RecognitionException { EObject current = null; @@ -5204,8 +5253,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2195:2: (iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF ) - // InternalSequencerTestLanguage.g:2196:2: iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF + // InternalSequencerTestLanguage.g:2237:73: (iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF ) + // InternalSequencerTestLanguage.g:2238:2: iv_ruleSingleContainmentReferenceChild1= ruleSingleContainmentReferenceChild1 EOF { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5219,11 +5268,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5232,34 +5281,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleContainmentReferenceChild1" - // InternalSequencerTestLanguage.g:2203:1: ruleSingleContainmentReferenceChild1 returns [EObject current=null] : ( (lv_val_0_0= 'kw1' ) ) ; + // InternalSequencerTestLanguage.g:2244:1: ruleSingleContainmentReferenceChild1 returns [EObject current=null] : ( (lv_val_0_0= 'kw1' ) ) ; public final EObject ruleSingleContainmentReferenceChild1() throws RecognitionException { EObject current = null; Token lv_val_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2206:28: ( ( (lv_val_0_0= 'kw1' ) ) ) - // InternalSequencerTestLanguage.g:2207:1: ( (lv_val_0_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2250:2: ( ( (lv_val_0_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:2251:2: ( (lv_val_0_0= 'kw1' ) ) { - // InternalSequencerTestLanguage.g:2207:1: ( (lv_val_0_0= 'kw1' ) ) - // InternalSequencerTestLanguage.g:2208:1: (lv_val_0_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2251:2: ( (lv_val_0_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2252:3: (lv_val_0_0= 'kw1' ) { - // InternalSequencerTestLanguage.g:2208:1: (lv_val_0_0= 'kw1' ) - // InternalSequencerTestLanguage.g:2209:3: lv_val_0_0= 'kw1' + // InternalSequencerTestLanguage.g:2252:3: (lv_val_0_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2253:4: lv_val_0_0= 'kw1' { lv_val_0_0=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild1Access().getValKw1Keyword_0()); - + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild1Access().getValKw1Keyword_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleContainmentReferenceChild1Rule()); - } - setWithLastConsumed(current, "val", lv_val_0_0, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleContainmentReferenceChild1Rule()); + } + setWithLastConsumed(current, "val", lv_val_0_0, "kw1"); + } @@ -5269,13 +5319,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5284,7 +5336,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleContainmentReferenceChild2" - // InternalSequencerTestLanguage.g:2230:1: entryRuleSingleContainmentReferenceChild2 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF ; + // InternalSequencerTestLanguage.g:2268:1: entryRuleSingleContainmentReferenceChild2 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF ; public final EObject entryRuleSingleContainmentReferenceChild2() throws RecognitionException { EObject current = null; @@ -5292,8 +5344,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2231:2: (iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF ) - // InternalSequencerTestLanguage.g:2232:2: iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF + // InternalSequencerTestLanguage.g:2268:73: (iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF ) + // InternalSequencerTestLanguage.g:2269:2: iv_ruleSingleContainmentReferenceChild2= ruleSingleContainmentReferenceChild2 EOF { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5307,11 +5359,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5320,34 +5372,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleContainmentReferenceChild2" - // InternalSequencerTestLanguage.g:2239:1: ruleSingleContainmentReferenceChild2 returns [EObject current=null] : ( (lv_val_0_0= 'kw2' ) ) ; + // InternalSequencerTestLanguage.g:2275:1: ruleSingleContainmentReferenceChild2 returns [EObject current=null] : ( (lv_val_0_0= 'kw2' ) ) ; public final EObject ruleSingleContainmentReferenceChild2() throws RecognitionException { EObject current = null; Token lv_val_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2242:28: ( ( (lv_val_0_0= 'kw2' ) ) ) - // InternalSequencerTestLanguage.g:2243:1: ( (lv_val_0_0= 'kw2' ) ) + // InternalSequencerTestLanguage.g:2281:2: ( ( (lv_val_0_0= 'kw2' ) ) ) + // InternalSequencerTestLanguage.g:2282:2: ( (lv_val_0_0= 'kw2' ) ) { - // InternalSequencerTestLanguage.g:2243:1: ( (lv_val_0_0= 'kw2' ) ) - // InternalSequencerTestLanguage.g:2244:1: (lv_val_0_0= 'kw2' ) + // InternalSequencerTestLanguage.g:2282:2: ( (lv_val_0_0= 'kw2' ) ) + // InternalSequencerTestLanguage.g:2283:3: (lv_val_0_0= 'kw2' ) { - // InternalSequencerTestLanguage.g:2244:1: (lv_val_0_0= 'kw2' ) - // InternalSequencerTestLanguage.g:2245:3: lv_val_0_0= 'kw2' + // InternalSequencerTestLanguage.g:2283:3: (lv_val_0_0= 'kw2' ) + // InternalSequencerTestLanguage.g:2284:4: lv_val_0_0= 'kw2' { lv_val_0_0=(Token)match(input,17,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild2Access().getValKw2Keyword_0()); - + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild2Access().getValKw2Keyword_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleContainmentReferenceChild2Rule()); - } - setWithLastConsumed(current, "val", lv_val_0_0, "kw2"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleContainmentReferenceChild2Rule()); + } + setWithLastConsumed(current, "val", lv_val_0_0, "kw2"); + } @@ -5357,13 +5410,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5372,7 +5427,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleSingleContainmentReferenceChild3" - // InternalSequencerTestLanguage.g:2266:1: entryRuleSingleContainmentReferenceChild3 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF ; + // InternalSequencerTestLanguage.g:2299:1: entryRuleSingleContainmentReferenceChild3 returns [EObject current=null] : iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF ; public final EObject entryRuleSingleContainmentReferenceChild3() throws RecognitionException { EObject current = null; @@ -5380,8 +5435,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2267:2: (iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF ) - // InternalSequencerTestLanguage.g:2268:2: iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF + // InternalSequencerTestLanguage.g:2299:73: (iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF ) + // InternalSequencerTestLanguage.g:2300:2: iv_ruleSingleContainmentReferenceChild3= ruleSingleContainmentReferenceChild3 EOF { newCompositeNode(grammarAccess.getSingleContainmentReferenceChild3Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5395,11 +5450,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5408,34 +5463,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleSingleContainmentReferenceChild3" - // InternalSequencerTestLanguage.g:2275:1: ruleSingleContainmentReferenceChild3 returns [EObject current=null] : ( (lv_val_0_0= 'kw3' ) ) ; + // InternalSequencerTestLanguage.g:2306:1: ruleSingleContainmentReferenceChild3 returns [EObject current=null] : ( (lv_val_0_0= 'kw3' ) ) ; public final EObject ruleSingleContainmentReferenceChild3() throws RecognitionException { EObject current = null; Token lv_val_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2278:28: ( ( (lv_val_0_0= 'kw3' ) ) ) - // InternalSequencerTestLanguage.g:2279:1: ( (lv_val_0_0= 'kw3' ) ) + // InternalSequencerTestLanguage.g:2312:2: ( ( (lv_val_0_0= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:2313:2: ( (lv_val_0_0= 'kw3' ) ) { - // InternalSequencerTestLanguage.g:2279:1: ( (lv_val_0_0= 'kw3' ) ) - // InternalSequencerTestLanguage.g:2280:1: (lv_val_0_0= 'kw3' ) + // InternalSequencerTestLanguage.g:2313:2: ( (lv_val_0_0= 'kw3' ) ) + // InternalSequencerTestLanguage.g:2314:3: (lv_val_0_0= 'kw3' ) { - // InternalSequencerTestLanguage.g:2280:1: (lv_val_0_0= 'kw3' ) - // InternalSequencerTestLanguage.g:2281:3: lv_val_0_0= 'kw3' + // InternalSequencerTestLanguage.g:2314:3: (lv_val_0_0= 'kw3' ) + // InternalSequencerTestLanguage.g:2315:4: lv_val_0_0= 'kw3' { lv_val_0_0=(Token)match(input,19,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild3Access().getValKw3Keyword_0()); - + newLeafNode(lv_val_0_0, grammarAccess.getSingleContainmentReferenceChild3Access().getValKw3Keyword_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getSingleContainmentReferenceChild3Rule()); - } - setWithLastConsumed(current, "val", lv_val_0_0, "kw3"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleContainmentReferenceChild3Rule()); + } + setWithLastConsumed(current, "val", lv_val_0_0, "kw3"); + } @@ -5445,13 +5501,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5460,7 +5518,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleMultiKeywords" - // InternalSequencerTestLanguage.g:2302:1: entryRuleMultiKeywords returns [EObject current=null] : iv_ruleMultiKeywords= ruleMultiKeywords EOF ; + // InternalSequencerTestLanguage.g:2330:1: entryRuleMultiKeywords returns [EObject current=null] : iv_ruleMultiKeywords= ruleMultiKeywords EOF ; public final EObject entryRuleMultiKeywords() throws RecognitionException { EObject current = null; @@ -5468,8 +5526,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2303:2: (iv_ruleMultiKeywords= ruleMultiKeywords EOF ) - // InternalSequencerTestLanguage.g:2304:2: iv_ruleMultiKeywords= ruleMultiKeywords EOF + // InternalSequencerTestLanguage.g:2330:54: (iv_ruleMultiKeywords= ruleMultiKeywords EOF ) + // InternalSequencerTestLanguage.g:2331:2: iv_ruleMultiKeywords= ruleMultiKeywords EOF { newCompositeNode(grammarAccess.getMultiKeywordsRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5483,11 +5541,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5496,7 +5554,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleMultiKeywords" - // InternalSequencerTestLanguage.g:2311:1: ruleMultiKeywords returns [EObject current=null] : (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ; + // InternalSequencerTestLanguage.g:2337:1: ruleMultiKeywords returns [EObject current=null] : (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ; public final EObject ruleMultiKeywords() throws RecognitionException { EObject current = null; @@ -5505,26 +5563,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_2=null; Token lv_val_1_3=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2314:28: ( (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ) - // InternalSequencerTestLanguage.g:2315:1: (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:2343:2: ( (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) ) + // InternalSequencerTestLanguage.g:2344:2: (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) { - // InternalSequencerTestLanguage.g:2315:1: (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) - // InternalSequencerTestLanguage.g:2315:3: otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:2344:2: (otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:2345:3: otherlv_0= '#16' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) { otherlv_0=(Token)match(input,36,FollowSets000.FOLLOW_16); - newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsAccess().getNumberSignDigitOneDigitSixKeyword_0()); - - // InternalSequencerTestLanguage.g:2319:1: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) - // InternalSequencerTestLanguage.g:2320:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) + newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsAccess().getNumberSignDigitOneDigitSixKeyword_0()); + + // InternalSequencerTestLanguage.g:2349:3: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:2350:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) { - // InternalSequencerTestLanguage.g:2320:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) - // InternalSequencerTestLanguage.g:2321:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) + // InternalSequencerTestLanguage.g:2350:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) ) + // InternalSequencerTestLanguage.g:2351:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) { - // InternalSequencerTestLanguage.g:2321:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) + // InternalSequencerTestLanguage.g:2351:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' ) int alt26=3; switch ( input.LA(1) ) { case 16: @@ -5551,50 +5610,50 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt26) { case 1 : - // InternalSequencerTestLanguage.g:2322:3: lv_val_1_1= 'kw1' + // InternalSequencerTestLanguage.g:2352:6: lv_val_1_1= 'kw1' { lv_val_1_1=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsAccess().getValKw1Keyword_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsAccess().getValKw1Keyword_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed(current, "val", lv_val_1_1, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed(current, "val", lv_val_1_1, null); + } break; case 2 : - // InternalSequencerTestLanguage.g:2334:8: lv_val_1_2= 'kw2' + // InternalSequencerTestLanguage.g:2363:6: lv_val_1_2= 'kw2' { lv_val_1_2=(Token)match(input,17,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsAccess().getValKw2Keyword_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsAccess().getValKw2Keyword_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed(current, "val", lv_val_1_2, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed(current, "val", lv_val_1_2, null); + } break; case 3 : - // InternalSequencerTestLanguage.g:2346:8: lv_val_1_3= 'kw3' + // InternalSequencerTestLanguage.g:2374:6: lv_val_1_3= 'kw3' { lv_val_1_3=(Token)match(input,19,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsAccess().getValKw3Keyword_1_0_2()); - + newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsAccess().getValKw3Keyword_1_0_2()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsRule()); - } - addWithLastConsumed(current, "val", lv_val_1_3, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsRule()); + } + addWithLastConsumed(current, "val", lv_val_1_3, null); + } break; @@ -5613,13 +5672,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5628,7 +5689,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleMultiKeywordsOrID" - // InternalSequencerTestLanguage.g:2369:1: entryRuleMultiKeywordsOrID returns [EObject current=null] : iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF ; + // InternalSequencerTestLanguage.g:2391:1: entryRuleMultiKeywordsOrID returns [EObject current=null] : iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF ; public final EObject entryRuleMultiKeywordsOrID() throws RecognitionException { EObject current = null; @@ -5636,8 +5697,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2370:2: (iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF ) - // InternalSequencerTestLanguage.g:2371:2: iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF + // InternalSequencerTestLanguage.g:2391:58: (iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF ) + // InternalSequencerTestLanguage.g:2392:2: iv_ruleMultiKeywordsOrID= ruleMultiKeywordsOrID EOF { newCompositeNode(grammarAccess.getMultiKeywordsOrIDRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5651,11 +5712,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5664,7 +5725,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleMultiKeywordsOrID" - // InternalSequencerTestLanguage.g:2378:1: ruleMultiKeywordsOrID returns [EObject current=null] : (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ; + // InternalSequencerTestLanguage.g:2398:1: ruleMultiKeywordsOrID returns [EObject current=null] : (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ; public final EObject ruleMultiKeywordsOrID() throws RecognitionException { EObject current = null; @@ -5674,26 +5735,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_3=null; Token lv_val_1_4=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2381:28: ( (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:2382:1: (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:2404:2: ( (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:2405:2: (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) { - // InternalSequencerTestLanguage.g:2382:1: (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:2382:3: otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:2405:2: (otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:2406:3: otherlv_0= '#17' ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) { otherlv_0=(Token)match(input,37,FollowSets000.FOLLOW_17); - newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsOrIDAccess().getNumberSignDigitOneDigitSevenKeyword_0()); - - // InternalSequencerTestLanguage.g:2386:1: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:2387:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) + newLeafNode(otherlv_0, grammarAccess.getMultiKeywordsOrIDAccess().getNumberSignDigitOneDigitSevenKeyword_0()); + + // InternalSequencerTestLanguage.g:2410:3: ( ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:2411:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:2387:1: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2388:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) + // InternalSequencerTestLanguage.g:2411:4: ( (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2412:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) { - // InternalSequencerTestLanguage.g:2388:1: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) + // InternalSequencerTestLanguage.g:2412:5: (lv_val_1_1= 'kw1' | lv_val_1_2= 'kw2' | lv_val_1_3= 'kw3' | lv_val_1_4= RULE_ID ) int alt27=4; switch ( input.LA(1) ) { case 16: @@ -5725,70 +5787,70 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt27) { case 1 : - // InternalSequencerTestLanguage.g:2389:3: lv_val_1_1= 'kw1' + // InternalSequencerTestLanguage.g:2413:6: lv_val_1_1= 'kw1' { lv_val_1_1=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getMultiKeywordsOrIDAccess().getValKw1Keyword_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed(current, "val", lv_val_1_1, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed(current, "val", lv_val_1_1, null); + } break; case 2 : - // InternalSequencerTestLanguage.g:2401:8: lv_val_1_2= 'kw2' + // InternalSequencerTestLanguage.g:2424:6: lv_val_1_2= 'kw2' { lv_val_1_2=(Token)match(input,17,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getMultiKeywordsOrIDAccess().getValKw2Keyword_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed(current, "val", lv_val_1_2, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed(current, "val", lv_val_1_2, null); + } break; case 3 : - // InternalSequencerTestLanguage.g:2413:8: lv_val_1_3= 'kw3' + // InternalSequencerTestLanguage.g:2435:6: lv_val_1_3= 'kw3' { lv_val_1_3=(Token)match(input,19,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); - + newLeafNode(lv_val_1_3, grammarAccess.getMultiKeywordsOrIDAccess().getValKw3Keyword_1_0_2()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed(current, "val", lv_val_1_3, null); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed(current, "val", lv_val_1_3, null); + } break; case 4 : - // InternalSequencerTestLanguage.g:2425:8: lv_val_1_4= RULE_ID + // InternalSequencerTestLanguage.g:2446:6: lv_val_1_4= RULE_ID { lv_val_1_4=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_4, grammarAccess.getMultiKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); - + newLeafNode(lv_val_1_4, grammarAccess.getMultiKeywordsOrIDAccess().getValIDTerminalRuleCall_1_0_3()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); - } - addWithLastConsumed( - current, - "val", - lv_val_1_4, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiKeywordsOrIDRule()); + } + addWithLastConsumed( + current, + "val", + lv_val_1_4, + "org.eclipse.xtext.common.Terminals.ID"); + } break; @@ -5807,13 +5869,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5822,7 +5886,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleMultiTerminals" - // InternalSequencerTestLanguage.g:2451:1: entryRuleMultiTerminals returns [EObject current=null] : iv_ruleMultiTerminals= ruleMultiTerminals EOF ; + // InternalSequencerTestLanguage.g:2467:1: entryRuleMultiTerminals returns [EObject current=null] : iv_ruleMultiTerminals= ruleMultiTerminals EOF ; public final EObject entryRuleMultiTerminals() throws RecognitionException { EObject current = null; @@ -5830,8 +5894,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2452:2: (iv_ruleMultiTerminals= ruleMultiTerminals EOF ) - // InternalSequencerTestLanguage.g:2453:2: iv_ruleMultiTerminals= ruleMultiTerminals EOF + // InternalSequencerTestLanguage.g:2467:55: (iv_ruleMultiTerminals= ruleMultiTerminals EOF ) + // InternalSequencerTestLanguage.g:2468:2: iv_ruleMultiTerminals= ruleMultiTerminals EOF { newCompositeNode(grammarAccess.getMultiTerminalsRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5845,11 +5909,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5858,7 +5922,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleMultiTerminals" - // InternalSequencerTestLanguage.g:2460:1: ruleMultiTerminals returns [EObject current=null] : (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ; + // InternalSequencerTestLanguage.g:2474:1: ruleMultiTerminals returns [EObject current=null] : (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ; public final EObject ruleMultiTerminals() throws RecognitionException { EObject current = null; @@ -5866,26 +5930,27 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_1_1=null; Token lv_val_1_2=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2463:28: ( (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ) - // InternalSequencerTestLanguage.g:2464:1: (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) + // InternalSequencerTestLanguage.g:2480:2: ( (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) ) + // InternalSequencerTestLanguage.g:2481:2: (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) { - // InternalSequencerTestLanguage.g:2464:1: (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) - // InternalSequencerTestLanguage.g:2464:3: otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) + // InternalSequencerTestLanguage.g:2481:2: (otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) ) + // InternalSequencerTestLanguage.g:2482:3: otherlv_0= '#18' ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) { otherlv_0=(Token)match(input,38,FollowSets000.FOLLOW_18); - newLeafNode(otherlv_0, grammarAccess.getMultiTerminalsAccess().getNumberSignDigitOneDigitEightKeyword_0()); - - // InternalSequencerTestLanguage.g:2468:1: ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) - // InternalSequencerTestLanguage.g:2469:1: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) + newLeafNode(otherlv_0, grammarAccess.getMultiTerminalsAccess().getNumberSignDigitOneDigitEightKeyword_0()); + + // InternalSequencerTestLanguage.g:2486:3: ( ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) ) + // InternalSequencerTestLanguage.g:2487:4: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) { - // InternalSequencerTestLanguage.g:2469:1: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) - // InternalSequencerTestLanguage.g:2470:1: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) + // InternalSequencerTestLanguage.g:2487:4: ( (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) ) + // InternalSequencerTestLanguage.g:2488:5: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) { - // InternalSequencerTestLanguage.g:2470:1: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) + // InternalSequencerTestLanguage.g:2488:5: (lv_val_1_1= RULE_ID1 | lv_val_1_2= RULE_ID2 ) int alt28=2; int LA28_0 = input.LA(1); @@ -5903,42 +5968,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt28) { case 1 : - // InternalSequencerTestLanguage.g:2471:3: lv_val_1_1= RULE_ID1 + // InternalSequencerTestLanguage.g:2489:6: lv_val_1_1= RULE_ID1 { lv_val_1_1=(Token)match(input,RULE_ID1,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_1, grammarAccess.getMultiTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); - + newLeafNode(lv_val_1_1, grammarAccess.getMultiTerminalsAccess().getValID1TerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiTerminalsRule()); - } - addWithLastConsumed( - current, - "val", - lv_val_1_1, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiTerminalsRule()); + } + addWithLastConsumed( + current, + "val", + lv_val_1_1, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID1"); + } break; case 2 : - // InternalSequencerTestLanguage.g:2486:8: lv_val_1_2= RULE_ID2 + // InternalSequencerTestLanguage.g:2504:6: lv_val_1_2= RULE_ID2 { lv_val_1_2=(Token)match(input,RULE_ID2,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_2, grammarAccess.getMultiTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); - + newLeafNode(lv_val_1_2, grammarAccess.getMultiTerminalsAccess().getValID2TerminalRuleCall_1_0_1()); + - if (current==null) { - current = createModelElement(grammarAccess.getMultiTerminalsRule()); - } - addWithLastConsumed( - current, - "val", - lv_val_1_2, - "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); - + if (current==null) { + current = createModelElement(grammarAccess.getMultiTerminalsRule()); + } + addWithLastConsumed( + current, + "val", + lv_val_1_2, + "org.eclipse.xtext.serializer.SequencerTestLanguage.ID2"); + } break; @@ -5957,13 +6022,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5972,7 +6039,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleDependentAlternative1" - // InternalSequencerTestLanguage.g:2512:1: entryRuleDependentAlternative1 returns [EObject current=null] : iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF ; + // InternalSequencerTestLanguage.g:2525:1: entryRuleDependentAlternative1 returns [EObject current=null] : iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF ; public final EObject entryRuleDependentAlternative1() throws RecognitionException { EObject current = null; @@ -5980,8 +6047,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2513:2: (iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF ) - // InternalSequencerTestLanguage.g:2514:2: iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF + // InternalSequencerTestLanguage.g:2525:62: (iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF ) + // InternalSequencerTestLanguage.g:2526:2: iv_ruleDependentAlternative1= ruleDependentAlternative1 EOF { newCompositeNode(grammarAccess.getDependentAlternative1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -5995,11 +6062,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6008,7 +6075,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDependentAlternative1" - // InternalSequencerTestLanguage.g:2521:1: ruleDependentAlternative1 returns [EObject current=null] : (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:2532:1: ruleDependentAlternative1 returns [EObject current=null] : (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) ; public final EObject ruleDependentAlternative1() throws RecognitionException { EObject current = null; @@ -6017,20 +6084,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_2_0=null; Token lv_flag_3_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2524:28: ( (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:2525:1: (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:2538:2: ( (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:2539:2: (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) { - // InternalSequencerTestLanguage.g:2525:1: (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) - // InternalSequencerTestLanguage.g:2525:3: otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) + // InternalSequencerTestLanguage.g:2539:2: (otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:2540:3: otherlv_0= '#19' ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) { otherlv_0=(Token)match(input,39,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getDependentAlternative1Access().getNumberSignDigitOneDigitNineKeyword_0()); - - // InternalSequencerTestLanguage.g:2529:1: ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getDependentAlternative1Access().getNumberSignDigitOneDigitNineKeyword_0()); + + // InternalSequencerTestLanguage.g:2544:3: ( ( (lv_val_1_0= RULE_ID ) ) | ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) ) int alt29=2; int LA29_0 = input.LA(1); @@ -6058,28 +6126,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt29) { case 1 : - // InternalSequencerTestLanguage.g:2529:2: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2545:4: ( (lv_val_1_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:2529:2: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2530:1: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2545:4: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2546:5: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2530:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2531:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:2546:5: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2547:6: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_0_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -6090,53 +6158,53 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:2548:6: ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:2564:4: ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) { - // InternalSequencerTestLanguage.g:2548:6: ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) - // InternalSequencerTestLanguage.g:2548:7: ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2564:4: ( ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:2565:5: ( (lv_val_2_0= RULE_ID ) ) ( (lv_flag_3_0= 'kw1' ) ) { - // InternalSequencerTestLanguage.g:2548:7: ( (lv_val_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2549:1: (lv_val_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2565:5: ( (lv_val_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2566:6: (lv_val_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2549:1: (lv_val_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2550:3: lv_val_2_0= RULE_ID + // InternalSequencerTestLanguage.g:2566:6: (lv_val_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2567:7: lv_val_2_0= RULE_ID { lv_val_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_5); - newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_1_0_0()); - + newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative1Access().getValIDTerminalRuleCall_1_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:2566:2: ( (lv_flag_3_0= 'kw1' ) ) - // InternalSequencerTestLanguage.g:2567:1: (lv_flag_3_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2583:5: ( (lv_flag_3_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2584:6: (lv_flag_3_0= 'kw1' ) { - // InternalSequencerTestLanguage.g:2567:1: (lv_flag_3_0= 'kw1' ) - // InternalSequencerTestLanguage.g:2568:3: lv_flag_3_0= 'kw1' + // InternalSequencerTestLanguage.g:2584:6: (lv_flag_3_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2585:7: lv_flag_3_0= 'kw1' { lv_flag_3_0=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_flag_3_0, grammarAccess.getDependentAlternative1Access().getFlagKw1Keyword_1_1_1_0()); - + newLeafNode(lv_flag_3_0, grammarAccess.getDependentAlternative1Access().getFlagKw1Keyword_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative1Rule()); - } - setWithLastConsumed(current, "flag", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative1Rule()); + } + setWithLastConsumed(current, "flag", true, "kw1"); + } @@ -6158,13 +6226,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6173,7 +6243,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleDependentAlternative2" - // InternalSequencerTestLanguage.g:2589:1: entryRuleDependentAlternative2 returns [EObject current=null] : iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF ; + // InternalSequencerTestLanguage.g:2603:1: entryRuleDependentAlternative2 returns [EObject current=null] : iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF ; public final EObject entryRuleDependentAlternative2() throws RecognitionException { EObject current = null; @@ -6181,8 +6251,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2590:2: (iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF ) - // InternalSequencerTestLanguage.g:2591:2: iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF + // InternalSequencerTestLanguage.g:2603:62: (iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF ) + // InternalSequencerTestLanguage.g:2604:2: iv_ruleDependentAlternative2= ruleDependentAlternative2 EOF { newCompositeNode(grammarAccess.getDependentAlternative2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -6196,11 +6266,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6209,7 +6279,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDependentAlternative2" - // InternalSequencerTestLanguage.g:2598:1: ruleDependentAlternative2 returns [EObject current=null] : (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:2610:1: ruleDependentAlternative2 returns [EObject current=null] : (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) ; public final EObject ruleDependentAlternative2() throws RecognitionException { EObject current = null; @@ -6219,56 +6289,57 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val_3_0=null; Token lv_flag_4_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2601:28: ( (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:2602:1: (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:2616:2: ( (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:2617:2: (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) { - // InternalSequencerTestLanguage.g:2602:1: (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) - // InternalSequencerTestLanguage.g:2602:3: otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) + // InternalSequencerTestLanguage.g:2617:2: (otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:2618:3: otherlv_0= '#20' ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) { otherlv_0=(Token)match(input,40,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getDependentAlternative2Access().getNumberSignDigitTwoDigitZeroKeyword_0()); - - // InternalSequencerTestLanguage.g:2606:1: ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getDependentAlternative2Access().getNumberSignDigitTwoDigitZeroKeyword_0()); + + // InternalSequencerTestLanguage.g:2622:3: ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) ) int alt32=2; alt32 = dfa32.predict(input); switch (alt32) { case 1 : - // InternalSequencerTestLanguage.g:2606:2: ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) + // InternalSequencerTestLanguage.g:2623:4: ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) { - // InternalSequencerTestLanguage.g:2606:2: ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) - // InternalSequencerTestLanguage.g:2606:3: ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ + // InternalSequencerTestLanguage.g:2623:4: ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) + // InternalSequencerTestLanguage.g:2624:5: ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ { - // InternalSequencerTestLanguage.g:2606:3: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2607:1: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2624:5: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2625:6: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2607:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2608:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:2625:6: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2626:7: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_0_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:2624:2: ( (lv_val_2_0= RULE_ID ) )+ + // InternalSequencerTestLanguage.g:2642:5: ( (lv_val_2_0= RULE_ID ) )+ int cnt30=0; loop30: do { @@ -6282,25 +6353,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt30) { case 1 : - // InternalSequencerTestLanguage.g:2625:1: (lv_val_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2643:6: (lv_val_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2625:1: (lv_val_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2626:3: lv_val_2_0= RULE_ID + // InternalSequencerTestLanguage.g:2643:6: (lv_val_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2644:7: lv_val_2_0= RULE_ID { lv_val_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_9); - newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_1_0()); - + newLeafNode(lv_val_2_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -6324,12 +6395,12 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:2643:6: ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:2662:4: ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) { - // InternalSequencerTestLanguage.g:2643:6: ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) - // InternalSequencerTestLanguage.g:2643:7: ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2662:4: ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:2663:5: ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) { - // InternalSequencerTestLanguage.g:2643:7: ( (lv_val_3_0= RULE_ID ) )+ + // InternalSequencerTestLanguage.g:2663:5: ( (lv_val_3_0= RULE_ID ) )+ int cnt31=0; loop31: do { @@ -6343,25 +6414,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt31) { case 1 : - // InternalSequencerTestLanguage.g:2644:1: (lv_val_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2664:6: (lv_val_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2644:1: (lv_val_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2645:3: lv_val_3_0= RULE_ID + // InternalSequencerTestLanguage.g:2664:6: (lv_val_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2665:7: lv_val_3_0= RULE_ID { lv_val_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_20); - newLeafNode(lv_val_3_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_1_0_0()); - + newLeafNode(lv_val_3_0, grammarAccess.getDependentAlternative2Access().getValIDTerminalRuleCall_1_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - addWithLastConsumed( - current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + addWithLastConsumed( + current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -6378,22 +6449,22 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa cnt31++; } while (true); - // InternalSequencerTestLanguage.g:2661:3: ( (lv_flag_4_0= 'kw1' ) ) - // InternalSequencerTestLanguage.g:2662:1: (lv_flag_4_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2681:5: ( (lv_flag_4_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:2682:6: (lv_flag_4_0= 'kw1' ) { - // InternalSequencerTestLanguage.g:2662:1: (lv_flag_4_0= 'kw1' ) - // InternalSequencerTestLanguage.g:2663:3: lv_flag_4_0= 'kw1' + // InternalSequencerTestLanguage.g:2682:6: (lv_flag_4_0= 'kw1' ) + // InternalSequencerTestLanguage.g:2683:7: lv_flag_4_0= 'kw1' { lv_flag_4_0=(Token)match(input,16,FollowSets000.FOLLOW_2); - newLeafNode(lv_flag_4_0, grammarAccess.getDependentAlternative2Access().getFlagKw1Keyword_1_1_1_0()); - + newLeafNode(lv_flag_4_0, grammarAccess.getDependentAlternative2Access().getFlagKw1Keyword_1_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDependentAlternative2Rule()); - } - setWithLastConsumed(current, "flag", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getDependentAlternative2Rule()); + } + setWithLastConsumed(current, "flag", true, "kw1"); + } @@ -6415,13 +6486,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6430,7 +6503,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleOptional" - // InternalSequencerTestLanguage.g:2684:1: entryRuleOptional returns [EObject current=null] : iv_ruleOptional= ruleOptional EOF ; + // InternalSequencerTestLanguage.g:2701:1: entryRuleOptional returns [EObject current=null] : iv_ruleOptional= ruleOptional EOF ; public final EObject entryRuleOptional() throws RecognitionException { EObject current = null; @@ -6438,8 +6511,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2685:2: (iv_ruleOptional= ruleOptional EOF ) - // InternalSequencerTestLanguage.g:2686:2: iv_ruleOptional= ruleOptional EOF + // InternalSequencerTestLanguage.g:2701:49: (iv_ruleOptional= ruleOptional EOF ) + // InternalSequencerTestLanguage.g:2702:2: iv_ruleOptional= ruleOptional EOF { newCompositeNode(grammarAccess.getOptionalRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -6453,11 +6526,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6466,7 +6539,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleOptional" - // InternalSequencerTestLanguage.g:2693:1: ruleOptional returns [EObject current=null] : (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) ; + // InternalSequencerTestLanguage.g:2708:1: ruleOptional returns [EObject current=null] : (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) ; public final EObject ruleOptional() throws RecognitionException { EObject current = null; @@ -6475,46 +6548,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_int1_2_0=null; Token lv_int2_3_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2696:28: ( (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) ) - // InternalSequencerTestLanguage.g:2697:1: (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) + // InternalSequencerTestLanguage.g:2714:2: ( (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) ) + // InternalSequencerTestLanguage.g:2715:2: (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) { - // InternalSequencerTestLanguage.g:2697:1: (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) - // InternalSequencerTestLanguage.g:2697:3: otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? + // InternalSequencerTestLanguage.g:2715:2: (otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? ) + // InternalSequencerTestLanguage.g:2716:3: otherlv_0= '#21' ( (lv_int0_1_0= RULE_INT ) ) ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? { otherlv_0=(Token)match(input,41,FollowSets000.FOLLOW_21); - newLeafNode(otherlv_0, grammarAccess.getOptionalAccess().getNumberSignDigitTwoDigitOneKeyword_0()); - - // InternalSequencerTestLanguage.g:2701:1: ( (lv_int0_1_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:2702:1: (lv_int0_1_0= RULE_INT ) + newLeafNode(otherlv_0, grammarAccess.getOptionalAccess().getNumberSignDigitTwoDigitOneKeyword_0()); + + // InternalSequencerTestLanguage.g:2720:3: ( (lv_int0_1_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2721:4: (lv_int0_1_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:2702:1: (lv_int0_1_0= RULE_INT ) - // InternalSequencerTestLanguage.g:2703:3: lv_int0_1_0= RULE_INT + // InternalSequencerTestLanguage.g:2721:4: (lv_int0_1_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2722:5: lv_int0_1_0= RULE_INT { lv_int0_1_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_22); - newLeafNode(lv_int0_1_0, grammarAccess.getOptionalAccess().getInt0INTTerminalRuleCall_1_0()); - + newLeafNode(lv_int0_1_0, grammarAccess.getOptionalAccess().getInt0INTTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - current, - "int0", - lv_int0_1_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + current, + "int0", + lv_int0_1_0, + "org.eclipse.xtext.common.Terminals.INT"); + } } - // InternalSequencerTestLanguage.g:2719:2: ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? + // InternalSequencerTestLanguage.g:2738:3: ( ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) )? int alt33=2; int LA33_0 = input.LA(1); @@ -6523,54 +6597,54 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt33) { case 1 : - // InternalSequencerTestLanguage.g:2719:3: ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2739:4: ( (lv_int1_2_0= RULE_INT ) ) ( (lv_int2_3_0= RULE_INT ) ) { - // InternalSequencerTestLanguage.g:2719:3: ( (lv_int1_2_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:2720:1: (lv_int1_2_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2739:4: ( (lv_int1_2_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2740:5: (lv_int1_2_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:2720:1: (lv_int1_2_0= RULE_INT ) - // InternalSequencerTestLanguage.g:2721:3: lv_int1_2_0= RULE_INT + // InternalSequencerTestLanguage.g:2740:5: (lv_int1_2_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2741:6: lv_int1_2_0= RULE_INT { lv_int1_2_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_21); - newLeafNode(lv_int1_2_0, grammarAccess.getOptionalAccess().getInt1INTTerminalRuleCall_2_0_0()); - + newLeafNode(lv_int1_2_0, grammarAccess.getOptionalAccess().getInt1INTTerminalRuleCall_2_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - current, - "int1", - lv_int1_2_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + current, + "int1", + lv_int1_2_0, + "org.eclipse.xtext.common.Terminals.INT"); + } } - // InternalSequencerTestLanguage.g:2737:2: ( (lv_int2_3_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:2738:1: (lv_int2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2757:4: ( (lv_int2_3_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2758:5: (lv_int2_3_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:2738:1: (lv_int2_3_0= RULE_INT ) - // InternalSequencerTestLanguage.g:2739:3: lv_int2_3_0= RULE_INT + // InternalSequencerTestLanguage.g:2758:5: (lv_int2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2759:6: lv_int2_3_0= RULE_INT { lv_int2_3_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_2); - newLeafNode(lv_int2_3_0, grammarAccess.getOptionalAccess().getInt2INTTerminalRuleCall_2_1_0()); - + newLeafNode(lv_int2_3_0, grammarAccess.getOptionalAccess().getInt2INTTerminalRuleCall_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getOptionalRule()); - } - setWithLastConsumed( - current, - "int2", - lv_int2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getOptionalRule()); + } + setWithLastConsumed( + current, + "int2", + lv_int2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -6589,13 +6663,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6604,7 +6680,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleFloat" - // InternalSequencerTestLanguage.g:2763:1: entryRuleFloat returns [EObject current=null] : iv_ruleFloat= ruleFloat EOF ; + // InternalSequencerTestLanguage.g:2780:1: entryRuleFloat returns [EObject current=null] : iv_ruleFloat= ruleFloat EOF ; public final EObject entryRuleFloat() throws RecognitionException { EObject current = null; @@ -6612,8 +6688,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2764:2: (iv_ruleFloat= ruleFloat EOF ) - // InternalSequencerTestLanguage.g:2765:2: iv_ruleFloat= ruleFloat EOF + // InternalSequencerTestLanguage.g:2780:46: (iv_ruleFloat= ruleFloat EOF ) + // InternalSequencerTestLanguage.g:2781:2: iv_ruleFloat= ruleFloat EOF { newCompositeNode(grammarAccess.getFloatRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -6627,11 +6703,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6640,54 +6716,57 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleFloat" - // InternalSequencerTestLanguage.g:2772:1: ruleFloat returns [EObject current=null] : (otherlv_0= '#22' () otherlv_2= 'Bye' ) ; + // InternalSequencerTestLanguage.g:2787:1: ruleFloat returns [EObject current=null] : (otherlv_0= '#22' () otherlv_2= 'Bye' ) ; public final EObject ruleFloat() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_2=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2775:28: ( (otherlv_0= '#22' () otherlv_2= 'Bye' ) ) - // InternalSequencerTestLanguage.g:2776:1: (otherlv_0= '#22' () otherlv_2= 'Bye' ) + // InternalSequencerTestLanguage.g:2793:2: ( (otherlv_0= '#22' () otherlv_2= 'Bye' ) ) + // InternalSequencerTestLanguage.g:2794:2: (otherlv_0= '#22' () otherlv_2= 'Bye' ) { - // InternalSequencerTestLanguage.g:2776:1: (otherlv_0= '#22' () otherlv_2= 'Bye' ) - // InternalSequencerTestLanguage.g:2776:3: otherlv_0= '#22' () otherlv_2= 'Bye' + // InternalSequencerTestLanguage.g:2794:2: (otherlv_0= '#22' () otherlv_2= 'Bye' ) + // InternalSequencerTestLanguage.g:2795:3: otherlv_0= '#22' () otherlv_2= 'Bye' { otherlv_0=(Token)match(input,42,FollowSets000.FOLLOW_23); - newLeafNode(otherlv_0, grammarAccess.getFloatAccess().getNumberSignDigitTwoDigitTwoKeyword_0()); - - // InternalSequencerTestLanguage.g:2780:1: () - // InternalSequencerTestLanguage.g:2781:5: + newLeafNode(otherlv_0, grammarAccess.getFloatAccess().getNumberSignDigitTwoDigitTwoKeyword_0()); + + // InternalSequencerTestLanguage.g:2799:3: () + // InternalSequencerTestLanguage.g:2800:4: { - current = forceCreateModelElement( - grammarAccess.getFloatAccess().getFloatAction_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getFloatAccess().getFloatAction_1(), + current); + } otherlv_2=(Token)match(input,43,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getFloatAccess().getByeKeyword_2()); - + newLeafNode(otherlv_2, grammarAccess.getFloatAccess().getByeKeyword_2()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6696,7 +6775,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedAlternative" - // InternalSequencerTestLanguage.g:2798:1: entryRuleUnorderedAlternative returns [EObject current=null] : iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF ; + // InternalSequencerTestLanguage.g:2814:1: entryRuleUnorderedAlternative returns [EObject current=null] : iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF ; public final EObject entryRuleUnorderedAlternative() throws RecognitionException { EObject current = null; @@ -6704,8 +6783,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2799:2: (iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF ) - // InternalSequencerTestLanguage.g:2800:2: iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF + // InternalSequencerTestLanguage.g:2814:61: (iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF ) + // InternalSequencerTestLanguage.g:2815:2: iv_ruleUnorderedAlternative= ruleUnorderedAlternative EOF { newCompositeNode(grammarAccess.getUnorderedAlternativeRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -6719,11 +6798,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6732,7 +6811,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedAlternative" - // InternalSequencerTestLanguage.g:2807:1: ruleUnorderedAlternative returns [EObject current=null] : (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) ; + // InternalSequencerTestLanguage.g:2821:1: ruleUnorderedAlternative returns [EObject current=null] : (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) ; public final EObject ruleUnorderedAlternative() throws RecognitionException { EObject current = null; @@ -6744,31 +6823,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_val4_5_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2810:28: ( (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) ) - // InternalSequencerTestLanguage.g:2811:1: (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) + // InternalSequencerTestLanguage.g:2827:2: ( (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) ) + // InternalSequencerTestLanguage.g:2828:2: (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) { - // InternalSequencerTestLanguage.g:2811:1: (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) - // InternalSequencerTestLanguage.g:2811:3: otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* + // InternalSequencerTestLanguage.g:2828:2: (otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* ) + // InternalSequencerTestLanguage.g:2829:3: otherlv_0= '#23' () ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* { otherlv_0=(Token)match(input,44,FollowSets000.FOLLOW_24); - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeAccess().getNumberSignDigitTwoDigitThreeKeyword_0()); - - // InternalSequencerTestLanguage.g:2815:1: () - // InternalSequencerTestLanguage.g:2816:5: + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeAccess().getNumberSignDigitTwoDigitThreeKeyword_0()); + + // InternalSequencerTestLanguage.g:2833:3: () + // InternalSequencerTestLanguage.g:2834:4: { - current = forceCreateModelElement( - grammarAccess.getUnorderedAlternativeAccess().getUnorderedAlternativeAction_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getUnorderedAlternativeAccess().getUnorderedAlternativeAction_1(), + current); + } - // InternalSequencerTestLanguage.g:2821:2: ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* + // InternalSequencerTestLanguage.g:2840:3: ( ( (lv_val1_2_0= RULE_ID ) ) | ( (lv_val2_3_0= RULE_INT ) ) | ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) | ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) )* loop34: do { int alt34=5; @@ -6798,28 +6878,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt34) { case 1 : - // InternalSequencerTestLanguage.g:2821:3: ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2841:4: ( (lv_val1_2_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:2821:3: ( (lv_val1_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2822:1: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2841:4: ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2842:5: (lv_val1_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2822:1: (lv_val1_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2823:3: lv_val1_2_0= RULE_ID + // InternalSequencerTestLanguage.g:2842:5: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2843:6: lv_val1_2_0= RULE_ID { lv_val1_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_24); - newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedAlternativeAccess().getVal1IDTerminalRuleCall_2_0_0()); - + newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedAlternativeAccess().getVal1IDTerminalRuleCall_2_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -6830,28 +6910,28 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:2840:6: ( (lv_val2_3_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2860:4: ( (lv_val2_3_0= RULE_INT ) ) { - // InternalSequencerTestLanguage.g:2840:6: ( (lv_val2_3_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:2841:1: (lv_val2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2860:4: ( (lv_val2_3_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:2861:5: (lv_val2_3_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:2841:1: (lv_val2_3_0= RULE_INT ) - // InternalSequencerTestLanguage.g:2842:3: lv_val2_3_0= RULE_INT + // InternalSequencerTestLanguage.g:2861:5: (lv_val2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:2862:6: lv_val2_3_0= RULE_INT { lv_val2_3_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_24); - newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedAlternativeAccess().getVal2INTTerminalRuleCall_2_1_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedAlternativeAccess().getVal2INTTerminalRuleCall_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); - } - addWithLastConsumed( - current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedAlternativeRule()); + } + addWithLastConsumed( + current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -6862,33 +6942,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:2859:6: ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) + // InternalSequencerTestLanguage.g:2879:4: ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) { - // InternalSequencerTestLanguage.g:2859:6: ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) - // InternalSequencerTestLanguage.g:2860:1: (lv_val3_4_0= ruleUnorderedAlternativeVal ) + // InternalSequencerTestLanguage.g:2879:4: ( (lv_val3_4_0= ruleUnorderedAlternativeVal ) ) + // InternalSequencerTestLanguage.g:2880:5: (lv_val3_4_0= ruleUnorderedAlternativeVal ) { - // InternalSequencerTestLanguage.g:2860:1: (lv_val3_4_0= ruleUnorderedAlternativeVal ) - // InternalSequencerTestLanguage.g:2861:3: lv_val3_4_0= ruleUnorderedAlternativeVal + // InternalSequencerTestLanguage.g:2880:5: (lv_val3_4_0= ruleUnorderedAlternativeVal ) + // InternalSequencerTestLanguage.g:2881:6: lv_val3_4_0= ruleUnorderedAlternativeVal { - - newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal3UnorderedAlternativeValParserRuleCall_2_2_0()); - + + newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal3UnorderedAlternativeValParserRuleCall_2_2_0()); + pushFollow(FollowSets000.FOLLOW_24); lv_val3_4_0=ruleUnorderedAlternativeVal(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); - } - add( - current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); + } + add( + current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal"); + afterParserOrEnumRuleCall(); + } @@ -6899,33 +6979,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 4 : - // InternalSequencerTestLanguage.g:2878:6: ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) + // InternalSequencerTestLanguage.g:2899:4: ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) { - // InternalSequencerTestLanguage.g:2878:6: ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) - // InternalSequencerTestLanguage.g:2879:1: (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) + // InternalSequencerTestLanguage.g:2899:4: ( (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) ) + // InternalSequencerTestLanguage.g:2900:5: (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) { - // InternalSequencerTestLanguage.g:2879:1: (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) - // InternalSequencerTestLanguage.g:2880:3: lv_val4_5_0= ruleUnorderedAlternativeValDelegate + // InternalSequencerTestLanguage.g:2900:5: (lv_val4_5_0= ruleUnorderedAlternativeValDelegate ) + // InternalSequencerTestLanguage.g:2901:6: lv_val4_5_0= ruleUnorderedAlternativeValDelegate { - - newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0()); - + + newCompositeNode(grammarAccess.getUnorderedAlternativeAccess().getVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0()); + pushFollow(FollowSets000.FOLLOW_24); lv_val4_5_0=ruleUnorderedAlternativeValDelegate(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); - } - add( - current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeValDelegate"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getUnorderedAlternativeRule()); + } + add( + current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeValDelegate"); + afterParserOrEnumRuleCall(); + } @@ -6947,13 +7027,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6962,7 +7044,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedAlternativeVal" - // InternalSequencerTestLanguage.g:2904:1: entryRuleUnorderedAlternativeVal returns [EObject current=null] : iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF ; + // InternalSequencerTestLanguage.g:2923:1: entryRuleUnorderedAlternativeVal returns [EObject current=null] : iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF ; public final EObject entryRuleUnorderedAlternativeVal() throws RecognitionException { EObject current = null; @@ -6970,8 +7052,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2905:2: (iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF ) - // InternalSequencerTestLanguage.g:2906:2: iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF + // InternalSequencerTestLanguage.g:2923:64: (iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF ) + // InternalSequencerTestLanguage.g:2924:2: iv_ruleUnorderedAlternativeVal= ruleUnorderedAlternativeVal EOF { newCompositeNode(grammarAccess.getUnorderedAlternativeValRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -6985,11 +7067,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -6998,46 +7080,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedAlternativeVal" - // InternalSequencerTestLanguage.g:2913:1: ruleUnorderedAlternativeVal returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:2930:1: ruleUnorderedAlternativeVal returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleUnorderedAlternativeVal() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2916:28: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:2917:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:2936:2: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:2937:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:2917:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:2917:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2937:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:2938:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeValAccess().getKw1Keyword_0()); - - // InternalSequencerTestLanguage.g:2921:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2922:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeValAccess().getKw1Keyword_0()); + + // InternalSequencerTestLanguage.g:2942:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:2943:4: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2922:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2923:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:2943:4: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:2944:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeValAccess().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeValAccess().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedAlternativeValRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedAlternativeValRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -7050,13 +7133,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7065,7 +7150,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedAlternativeValDelegate" - // InternalSequencerTestLanguage.g:2947:1: entryRuleUnorderedAlternativeValDelegate returns [EObject current=null] : iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF ; + // InternalSequencerTestLanguage.g:2964:1: entryRuleUnorderedAlternativeValDelegate returns [EObject current=null] : iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF ; public final EObject entryRuleUnorderedAlternativeValDelegate() throws RecognitionException { EObject current = null; @@ -7073,8 +7158,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2948:2: (iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF ) - // InternalSequencerTestLanguage.g:2949:2: iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF + // InternalSequencerTestLanguage.g:2964:72: (iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF ) + // InternalSequencerTestLanguage.g:2965:2: iv_ruleUnorderedAlternativeValDelegate= ruleUnorderedAlternativeValDelegate EOF { newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7088,11 +7173,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7101,41 +7186,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedAlternativeValDelegate" - // InternalSequencerTestLanguage.g:2956:1: ruleUnorderedAlternativeValDelegate returns [EObject current=null] : this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 ; + // InternalSequencerTestLanguage.g:2971:1: ruleUnorderedAlternativeValDelegate returns [EObject current=null] : this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 ; public final EObject ruleUnorderedAlternativeValDelegate() throws RecognitionException { EObject current = null; EObject this_UnorderedAlternativeVal2_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2959:28: (this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 ) - // InternalSequencerTestLanguage.g:2961:5: this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 + // InternalSequencerTestLanguage.g:2977:2: (this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 ) + // InternalSequencerTestLanguage.g:2978:2: this_UnorderedAlternativeVal2_0= ruleUnorderedAlternativeVal2 { - - newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateAccess().getUnorderedAlternativeVal2ParserRuleCall()); - + + newCompositeNode(grammarAccess.getUnorderedAlternativeValDelegateAccess().getUnorderedAlternativeVal2ParserRuleCall()); + pushFollow(FollowSets000.FOLLOW_2); this_UnorderedAlternativeVal2_0=ruleUnorderedAlternativeVal2(); state._fsp--; - - current = this_UnorderedAlternativeVal2_0; - afterParserOrEnumRuleCall(); - + + current = this_UnorderedAlternativeVal2_0; + afterParserOrEnumRuleCall(); + } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7144,7 +7232,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedAlternativeVal2" - // InternalSequencerTestLanguage.g:2977:1: entryRuleUnorderedAlternativeVal2 returns [EObject current=null] : iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF ; + // InternalSequencerTestLanguage.g:2989:1: entryRuleUnorderedAlternativeVal2 returns [EObject current=null] : iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF ; public final EObject entryRuleUnorderedAlternativeVal2() throws RecognitionException { EObject current = null; @@ -7152,8 +7240,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:2978:2: (iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF ) - // InternalSequencerTestLanguage.g:2979:2: iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF + // InternalSequencerTestLanguage.g:2989:65: (iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF ) + // InternalSequencerTestLanguage.g:2990:2: iv_ruleUnorderedAlternativeVal2= ruleUnorderedAlternativeVal2 EOF { newCompositeNode(grammarAccess.getUnorderedAlternativeVal2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7167,11 +7255,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7180,46 +7268,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedAlternativeVal2" - // InternalSequencerTestLanguage.g:2986:1: ruleUnorderedAlternativeVal2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:2996:1: ruleUnorderedAlternativeVal2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleUnorderedAlternativeVal2() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:2989:28: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:2990:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3002:2: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3003:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:2990:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:2990:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3003:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3004:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeVal2Access().getKw2Keyword_0()); - - // InternalSequencerTestLanguage.g:2994:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:2995:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getUnorderedAlternativeVal2Access().getKw2Keyword_0()); + + // InternalSequencerTestLanguage.g:3008:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3009:4: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:2995:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:2996:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:3009:4: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3010:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeVal2Access().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedAlternativeVal2Access().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedAlternativeVal2Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedAlternativeVal2Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -7232,13 +7321,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7247,7 +7338,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroup" - // InternalSequencerTestLanguage.g:3020:1: entryRuleUnorderedGroup returns [EObject current=null] : iv_ruleUnorderedGroup= ruleUnorderedGroup EOF ; + // InternalSequencerTestLanguage.g:3030:1: entryRuleUnorderedGroup returns [EObject current=null] : iv_ruleUnorderedGroup= ruleUnorderedGroup EOF ; public final EObject entryRuleUnorderedGroup() throws RecognitionException { EObject current = null; @@ -7255,8 +7346,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3021:2: (iv_ruleUnorderedGroup= ruleUnorderedGroup EOF ) - // InternalSequencerTestLanguage.g:3022:2: iv_ruleUnorderedGroup= ruleUnorderedGroup EOF + // InternalSequencerTestLanguage.g:3030:55: (iv_ruleUnorderedGroup= ruleUnorderedGroup EOF ) + // InternalSequencerTestLanguage.g:3031:2: iv_ruleUnorderedGroup= ruleUnorderedGroup EOF { newCompositeNode(grammarAccess.getUnorderedGroupRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7270,11 +7361,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7283,7 +7374,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroup" - // InternalSequencerTestLanguage.g:3029:1: ruleUnorderedGroup returns [EObject current=null] : (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) ; + // InternalSequencerTestLanguage.g:3037:1: ruleUnorderedGroup returns [EObject current=null] : (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) ; public final EObject ruleUnorderedGroup() throws RecognitionException { EObject current = null; @@ -7295,32 +7386,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_val4_5_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3032:28: ( (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) ) - // InternalSequencerTestLanguage.g:3033:1: (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) + // InternalSequencerTestLanguage.g:3043:2: ( (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) ) + // InternalSequencerTestLanguage.g:3044:2: (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) { - // InternalSequencerTestLanguage.g:3033:1: (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) - // InternalSequencerTestLanguage.g:3033:3: otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) + // InternalSequencerTestLanguage.g:3044:2: (otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) ) + // InternalSequencerTestLanguage.g:3045:3: otherlv_0= '#24' ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) { otherlv_0=(Token)match(input,45,FollowSets000.FOLLOW_25); - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupAccess().getNumberSignDigitTwoDigitFourKeyword_0()); - - // InternalSequencerTestLanguage.g:3037:1: ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) - // InternalSequencerTestLanguage.g:3039:1: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupAccess().getNumberSignDigitTwoDigitFourKeyword_0()); + + // InternalSequencerTestLanguage.g:3049:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) ) + // InternalSequencerTestLanguage.g:3050:4: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) { - // InternalSequencerTestLanguage.g:3039:1: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) - // InternalSequencerTestLanguage.g:3040:2: ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) + // InternalSequencerTestLanguage.g:3050:4: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) ) + // InternalSequencerTestLanguage.g:3051:5: ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - - // InternalSequencerTestLanguage.g:3043:2: ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) - // InternalSequencerTestLanguage.g:3044:3: ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}? + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + + // InternalSequencerTestLanguage.g:3054:5: ( ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}?) + // InternalSequencerTestLanguage.g:3055:6: ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ {...}? { - // InternalSequencerTestLanguage.g:3044:3: ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ + // InternalSequencerTestLanguage.g:3055:6: ( ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) )+ int cnt35=0; loop35: do { @@ -7343,46 +7435,46 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt35) { case 1 : - // InternalSequencerTestLanguage.g:3046:4: ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3056:4: ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3046:4: ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:3047:5: {...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3056:4: ({...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3057:5: {...}? => ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0)"); } - // InternalSequencerTestLanguage.g:3047:111: ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3048:6: ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3057:111: ( ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3058:6: ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0); - - // InternalSequencerTestLanguage.g:3051:6: ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3051:7: {...}? => ( (lv_val1_2_0= RULE_ID ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 0); + + // InternalSequencerTestLanguage.g:3061:9: ({...}? => ( (lv_val1_2_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3061:10: {...}? => ( (lv_val1_2_0= RULE_ID ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "true"); } - // InternalSequencerTestLanguage.g:3051:16: ( (lv_val1_2_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3052:1: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3061:19: ( (lv_val1_2_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3061:20: (lv_val1_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3052:1: (lv_val1_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3053:3: lv_val1_2_0= RULE_ID + // InternalSequencerTestLanguage.g:3061:20: (lv_val1_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3062:10: lv_val1_2_0= RULE_ID { lv_val1_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_24); - newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedGroupAccess().getVal1IDTerminalRuleCall_1_0_0()); - + newLeafNode(lv_val1_2_0, grammarAccess.getUnorderedGroupAccess().getVal1IDTerminalRuleCall_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -7393,8 +7485,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } @@ -7405,46 +7497,46 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:3076:4: ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) + // InternalSequencerTestLanguage.g:3083:4: ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3076:4: ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) - // InternalSequencerTestLanguage.g:3077:5: {...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) + // InternalSequencerTestLanguage.g:3083:4: ({...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) ) + // InternalSequencerTestLanguage.g:3084:5: {...}? => ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1)"); } - // InternalSequencerTestLanguage.g:3077:111: ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) - // InternalSequencerTestLanguage.g:3078:6: ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) + // InternalSequencerTestLanguage.g:3084:111: ( ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) ) + // InternalSequencerTestLanguage.g:3085:6: ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1); - - // InternalSequencerTestLanguage.g:3081:6: ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) - // InternalSequencerTestLanguage.g:3081:7: {...}? => ( (lv_val2_3_0= RULE_INT ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 1); + + // InternalSequencerTestLanguage.g:3088:9: ({...}? => ( (lv_val2_3_0= RULE_INT ) ) ) + // InternalSequencerTestLanguage.g:3088:10: {...}? => ( (lv_val2_3_0= RULE_INT ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "true"); } - // InternalSequencerTestLanguage.g:3081:16: ( (lv_val2_3_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:3082:1: (lv_val2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:3088:19: ( (lv_val2_3_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:3088:20: (lv_val2_3_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:3082:1: (lv_val2_3_0= RULE_INT ) - // InternalSequencerTestLanguage.g:3083:3: lv_val2_3_0= RULE_INT + // InternalSequencerTestLanguage.g:3088:20: (lv_val2_3_0= RULE_INT ) + // InternalSequencerTestLanguage.g:3089:10: lv_val2_3_0= RULE_INT { lv_val2_3_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_24); - newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedGroupAccess().getVal2INTTerminalRuleCall_1_1_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getUnorderedGroupAccess().getVal2INTTerminalRuleCall_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -7455,8 +7547,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } @@ -7467,51 +7559,51 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:3106:4: ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) + // InternalSequencerTestLanguage.g:3110:4: ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3106:4: ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) - // InternalSequencerTestLanguage.g:3107:5: {...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) + // InternalSequencerTestLanguage.g:3110:4: ({...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) ) + // InternalSequencerTestLanguage.g:3111:5: {...}? => ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2)"); } - // InternalSequencerTestLanguage.g:3107:111: ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) - // InternalSequencerTestLanguage.g:3108:6: ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) + // InternalSequencerTestLanguage.g:3111:111: ( ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) ) + // InternalSequencerTestLanguage.g:3112:6: ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2); - - // InternalSequencerTestLanguage.g:3111:6: ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) - // InternalSequencerTestLanguage.g:3111:7: {...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 2); + + // InternalSequencerTestLanguage.g:3115:9: ({...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) ) + // InternalSequencerTestLanguage.g:3115:10: {...}? => ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "true"); } - // InternalSequencerTestLanguage.g:3111:16: ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) - // InternalSequencerTestLanguage.g:3112:1: (lv_val3_4_0= ruleUnorderedGroupVal ) + // InternalSequencerTestLanguage.g:3115:19: ( (lv_val3_4_0= ruleUnorderedGroupVal ) ) + // InternalSequencerTestLanguage.g:3115:20: (lv_val3_4_0= ruleUnorderedGroupVal ) { - // InternalSequencerTestLanguage.g:3112:1: (lv_val3_4_0= ruleUnorderedGroupVal ) - // InternalSequencerTestLanguage.g:3113:3: lv_val3_4_0= ruleUnorderedGroupVal + // InternalSequencerTestLanguage.g:3115:20: (lv_val3_4_0= ruleUnorderedGroupVal ) + // InternalSequencerTestLanguage.g:3116:10: lv_val3_4_0= ruleUnorderedGroupVal { - - newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal3UnorderedGroupValParserRuleCall_1_2_0()); - + + newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal3UnorderedGroupValParserRuleCall_1_2_0()); + pushFollow(FollowSets000.FOLLOW_24); lv_val3_4_0=ruleUnorderedGroupVal(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); - } - set( - current, - "val3", - lv_val3_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); + } + set( + current, + "val3", + lv_val3_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal"); + afterParserOrEnumRuleCall(); + } @@ -7522,8 +7614,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } @@ -7534,51 +7626,51 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 4 : - // InternalSequencerTestLanguage.g:3136:4: ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) + // InternalSequencerTestLanguage.g:3138:4: ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3136:4: ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) - // InternalSequencerTestLanguage.g:3137:5: {...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) + // InternalSequencerTestLanguage.g:3138:4: ({...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) ) + // InternalSequencerTestLanguage.g:3139:5: {...}? => ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3)"); } - // InternalSequencerTestLanguage.g:3137:111: ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) - // InternalSequencerTestLanguage.g:3138:6: ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) + // InternalSequencerTestLanguage.g:3139:111: ( ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) ) + // InternalSequencerTestLanguage.g:3140:6: ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3); - - // InternalSequencerTestLanguage.g:3141:6: ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) - // InternalSequencerTestLanguage.g:3141:7: {...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1(), 3); + + // InternalSequencerTestLanguage.g:3143:9: ({...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) ) + // InternalSequencerTestLanguage.g:3143:10: {...}? => ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroup", "true"); } - // InternalSequencerTestLanguage.g:3141:16: ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) - // InternalSequencerTestLanguage.g:3142:1: (lv_val4_5_0= ruleUnorderedGroupValDelegate ) + // InternalSequencerTestLanguage.g:3143:19: ( (lv_val4_5_0= ruleUnorderedGroupValDelegate ) ) + // InternalSequencerTestLanguage.g:3143:20: (lv_val4_5_0= ruleUnorderedGroupValDelegate ) { - // InternalSequencerTestLanguage.g:3142:1: (lv_val4_5_0= ruleUnorderedGroupValDelegate ) - // InternalSequencerTestLanguage.g:3143:3: lv_val4_5_0= ruleUnorderedGroupValDelegate + // InternalSequencerTestLanguage.g:3143:20: (lv_val4_5_0= ruleUnorderedGroupValDelegate ) + // InternalSequencerTestLanguage.g:3144:10: lv_val4_5_0= ruleUnorderedGroupValDelegate { - - newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal4UnorderedGroupValDelegateParserRuleCall_1_3_0()); - + + newCompositeNode(grammarAccess.getUnorderedGroupAccess().getVal4UnorderedGroupValDelegateParserRuleCall_1_3_0()); + pushFollow(FollowSets000.FOLLOW_24); lv_val4_5_0=ruleUnorderedGroupValDelegate(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); - } - set( - current, - "val4", - lv_val4_5_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupValDelegate"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getUnorderedGroupRule()); + } + set( + current, + "val4", + lv_val4_5_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupValDelegate"); + afterParserOrEnumRuleCall(); + } @@ -7589,8 +7681,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } @@ -7620,8 +7712,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); - + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupAccess().getUnorderedGroup_1()); + } @@ -7631,13 +7723,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7646,7 +7740,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroupVal" - // InternalSequencerTestLanguage.g:3182:1: entryRuleUnorderedGroupVal returns [EObject current=null] : iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF ; + // InternalSequencerTestLanguage.g:3178:1: entryRuleUnorderedGroupVal returns [EObject current=null] : iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF ; public final EObject entryRuleUnorderedGroupVal() throws RecognitionException { EObject current = null; @@ -7654,8 +7748,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3183:2: (iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF ) - // InternalSequencerTestLanguage.g:3184:2: iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF + // InternalSequencerTestLanguage.g:3178:58: (iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF ) + // InternalSequencerTestLanguage.g:3179:2: iv_ruleUnorderedGroupVal= ruleUnorderedGroupVal EOF { newCompositeNode(grammarAccess.getUnorderedGroupValRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7669,11 +7763,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7682,46 +7776,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroupVal" - // InternalSequencerTestLanguage.g:3191:1: ruleUnorderedGroupVal returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:3185:1: ruleUnorderedGroupVal returns [EObject current=null] : (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleUnorderedGroupVal() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3194:28: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3195:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3191:2: ( (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3192:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3195:1: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3195:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3192:2: (otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3193:3: otherlv_0= 'kw1' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupValAccess().getKw1Keyword_0()); - - // InternalSequencerTestLanguage.g:3199:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3200:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupValAccess().getKw1Keyword_0()); + + // InternalSequencerTestLanguage.g:3197:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3198:4: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3200:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3201:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:3198:4: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3199:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupValAccess().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupValAccess().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupValRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupValRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -7734,13 +7829,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7749,7 +7846,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroupValDelegate" - // InternalSequencerTestLanguage.g:3225:1: entryRuleUnorderedGroupValDelegate returns [EObject current=null] : iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF ; + // InternalSequencerTestLanguage.g:3219:1: entryRuleUnorderedGroupValDelegate returns [EObject current=null] : iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF ; public final EObject entryRuleUnorderedGroupValDelegate() throws RecognitionException { EObject current = null; @@ -7757,8 +7854,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3226:2: (iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF ) - // InternalSequencerTestLanguage.g:3227:2: iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF + // InternalSequencerTestLanguage.g:3219:66: (iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF ) + // InternalSequencerTestLanguage.g:3220:2: iv_ruleUnorderedGroupValDelegate= ruleUnorderedGroupValDelegate EOF { newCompositeNode(grammarAccess.getUnorderedGroupValDelegateRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7772,11 +7869,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7785,41 +7882,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroupValDelegate" - // InternalSequencerTestLanguage.g:3234:1: ruleUnorderedGroupValDelegate returns [EObject current=null] : this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 ; + // InternalSequencerTestLanguage.g:3226:1: ruleUnorderedGroupValDelegate returns [EObject current=null] : this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 ; public final EObject ruleUnorderedGroupValDelegate() throws RecognitionException { EObject current = null; EObject this_UnorderedGroupVal2_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3237:28: (this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 ) - // InternalSequencerTestLanguage.g:3239:5: this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 + // InternalSequencerTestLanguage.g:3232:2: (this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 ) + // InternalSequencerTestLanguage.g:3233:2: this_UnorderedGroupVal2_0= ruleUnorderedGroupVal2 { - - newCompositeNode(grammarAccess.getUnorderedGroupValDelegateAccess().getUnorderedGroupVal2ParserRuleCall()); - + + newCompositeNode(grammarAccess.getUnorderedGroupValDelegateAccess().getUnorderedGroupVal2ParserRuleCall()); + pushFollow(FollowSets000.FOLLOW_2); this_UnorderedGroupVal2_0=ruleUnorderedGroupVal2(); state._fsp--; - - current = this_UnorderedGroupVal2_0; - afterParserOrEnumRuleCall(); - + + current = this_UnorderedGroupVal2_0; + afterParserOrEnumRuleCall(); + } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7828,7 +7928,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroupVal2" - // InternalSequencerTestLanguage.g:3255:1: entryRuleUnorderedGroupVal2 returns [EObject current=null] : iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF ; + // InternalSequencerTestLanguage.g:3244:1: entryRuleUnorderedGroupVal2 returns [EObject current=null] : iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF ; public final EObject entryRuleUnorderedGroupVal2() throws RecognitionException { EObject current = null; @@ -7836,8 +7936,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3256:2: (iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF ) - // InternalSequencerTestLanguage.g:3257:2: iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF + // InternalSequencerTestLanguage.g:3244:59: (iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF ) + // InternalSequencerTestLanguage.g:3245:2: iv_ruleUnorderedGroupVal2= ruleUnorderedGroupVal2 EOF { newCompositeNode(grammarAccess.getUnorderedGroupVal2Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7851,11 +7951,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7864,46 +7964,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroupVal2" - // InternalSequencerTestLanguage.g:3264:1: ruleUnorderedGroupVal2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:3251:1: ruleUnorderedGroupVal2 returns [EObject current=null] : (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ; public final EObject ruleUnorderedGroupVal2() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3267:28: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3268:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3257:2: ( (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3258:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3268:1: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3268:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3258:2: (otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3259:3: otherlv_0= 'kw2' ( (lv_val_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupVal2Access().getKw2Keyword_0()); - - // InternalSequencerTestLanguage.g:3272:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3273:1: (lv_val_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupVal2Access().getKw2Keyword_0()); + + // InternalSequencerTestLanguage.g:3263:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3264:4: (lv_val_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3273:1: (lv_val_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3274:3: lv_val_1_0= RULE_ID + // InternalSequencerTestLanguage.g:3264:4: (lv_val_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3265:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupVal2Access().getValIDTerminalRuleCall_1_0()); - + newLeafNode(lv_val_1_0, grammarAccess.getUnorderedGroupVal2Access().getValIDTerminalRuleCall_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupVal2Rule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupVal2Rule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -7916,13 +8017,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7931,7 +8034,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroupOptional" - // InternalSequencerTestLanguage.g:3298:1: entryRuleUnorderedGroupOptional returns [EObject current=null] : iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF ; + // InternalSequencerTestLanguage.g:3285:1: entryRuleUnorderedGroupOptional returns [EObject current=null] : iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF ; public final EObject entryRuleUnorderedGroupOptional() throws RecognitionException { EObject current = null; @@ -7939,8 +8042,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3299:2: (iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF ) - // InternalSequencerTestLanguage.g:3300:2: iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF + // InternalSequencerTestLanguage.g:3285:63: (iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF ) + // InternalSequencerTestLanguage.g:3286:2: iv_ruleUnorderedGroupOptional= ruleUnorderedGroupOptional EOF { newCompositeNode(grammarAccess.getUnorderedGroupOptionalRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -7954,11 +8057,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -7967,7 +8070,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroupOptional" - // InternalSequencerTestLanguage.g:3307:1: ruleUnorderedGroupOptional returns [EObject current=null] : (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) ; + // InternalSequencerTestLanguage.g:3292:1: ruleUnorderedGroupOptional returns [EObject current=null] : (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) ; public final EObject ruleUnorderedGroupOptional() throws RecognitionException { EObject current = null; @@ -7979,43 +8082,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_7=null; Token lv_val3_8_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3310:28: ( (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) ) - // InternalSequencerTestLanguage.g:3311:1: (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) + // InternalSequencerTestLanguage.g:3298:2: ( (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) ) + // InternalSequencerTestLanguage.g:3299:2: (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) { - // InternalSequencerTestLanguage.g:3311:1: (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) - // InternalSequencerTestLanguage.g:3311:3: otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) + // InternalSequencerTestLanguage.g:3299:2: (otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) ) + // InternalSequencerTestLanguage.g:3300:3: otherlv_0= '#25' () ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) { otherlv_0=(Token)match(input,46,FollowSets000.FOLLOW_26); - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupOptionalAccess().getNumberSignDigitTwoDigitFiveKeyword_0()); - - // InternalSequencerTestLanguage.g:3315:1: () - // InternalSequencerTestLanguage.g:3316:5: + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupOptionalAccess().getNumberSignDigitTwoDigitFiveKeyword_0()); + + // InternalSequencerTestLanguage.g:3304:3: () + // InternalSequencerTestLanguage.g:3305:4: { - current = forceCreateModelElement( - grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroupOptionalAction_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroupOptionalAction_1(), + current); + } - // InternalSequencerTestLanguage.g:3321:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) - // InternalSequencerTestLanguage.g:3323:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:3311:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) ) + // InternalSequencerTestLanguage.g:3312:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) { - // InternalSequencerTestLanguage.g:3323:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) - // InternalSequencerTestLanguage.g:3324:2: ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) + // InternalSequencerTestLanguage.g:3312:4: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:3313:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - - // InternalSequencerTestLanguage.g:3327:2: ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) - // InternalSequencerTestLanguage.g:3328:3: ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + + // InternalSequencerTestLanguage.g:3316:5: ( ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* ) + // InternalSequencerTestLanguage.g:3317:6: ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* { - // InternalSequencerTestLanguage.g:3328:3: ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* + // InternalSequencerTestLanguage.g:3317:6: ( ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) )* loop36: do { int alt36=4; @@ -8034,53 +8138,53 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt36) { case 1 : - // InternalSequencerTestLanguage.g:3330:4: ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3318:4: ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3330:4: ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:3331:5: {...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3318:4: ({...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3319:5: {...}? => ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0)"); } - // InternalSequencerTestLanguage.g:3331:119: ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:3332:6: ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3319:119: ( ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3320:6: ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0); - - // InternalSequencerTestLanguage.g:3335:6: ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3335:7: {...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 0); + + // InternalSequencerTestLanguage.g:3323:9: ({...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3323:10: {...}? => (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "true"); } - // InternalSequencerTestLanguage.g:3335:16: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3335:18: otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3323:19: (otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3323:20: otherlv_3= 'kw1' ( (lv_val1_4_0= RULE_ID ) ) { otherlv_3=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_3, grammarAccess.getUnorderedGroupOptionalAccess().getKw1Keyword_2_0_0()); - - // InternalSequencerTestLanguage.g:3339:1: ( (lv_val1_4_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3340:1: (lv_val1_4_0= RULE_ID ) + newLeafNode(otherlv_3, grammarAccess.getUnorderedGroupOptionalAccess().getKw1Keyword_2_0_0()); + + // InternalSequencerTestLanguage.g:3327:9: ( (lv_val1_4_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3328:10: (lv_val1_4_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3340:1: (lv_val1_4_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3341:3: lv_val1_4_0= RULE_ID + // InternalSequencerTestLanguage.g:3328:10: (lv_val1_4_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3329:11: lv_val1_4_0= RULE_ID { lv_val1_4_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); - newLeafNode(lv_val1_4_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal1IDTerminalRuleCall_2_0_1_0()); - + newLeafNode(lv_val1_4_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal1IDTerminalRuleCall_2_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_4_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_4_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8094,8 +8198,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } @@ -8106,53 +8210,53 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:3364:4: ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3351:4: ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3364:4: ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:3365:5: {...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3351:4: ({...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3352:5: {...}? => ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1)"); } - // InternalSequencerTestLanguage.g:3365:119: ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:3366:6: ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3352:119: ( ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3353:6: ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1); - - // InternalSequencerTestLanguage.g:3369:6: ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3369:7: {...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 1); + + // InternalSequencerTestLanguage.g:3356:9: ({...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3356:10: {...}? => (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "true"); } - // InternalSequencerTestLanguage.g:3369:16: (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3369:18: otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3356:19: (otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3356:20: otherlv_5= 'kw2' ( (lv_va2_6_0= RULE_ID ) ) { otherlv_5=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_5, grammarAccess.getUnorderedGroupOptionalAccess().getKw2Keyword_2_1_0()); - - // InternalSequencerTestLanguage.g:3373:1: ( (lv_va2_6_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3374:1: (lv_va2_6_0= RULE_ID ) + newLeafNode(otherlv_5, grammarAccess.getUnorderedGroupOptionalAccess().getKw2Keyword_2_1_0()); + + // InternalSequencerTestLanguage.g:3360:9: ( (lv_va2_6_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3361:10: (lv_va2_6_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3374:1: (lv_va2_6_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3375:3: lv_va2_6_0= RULE_ID + // InternalSequencerTestLanguage.g:3361:10: (lv_va2_6_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3362:11: lv_va2_6_0= RULE_ID { lv_va2_6_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); - newLeafNode(lv_va2_6_0, grammarAccess.getUnorderedGroupOptionalAccess().getVa2IDTerminalRuleCall_2_1_1_0()); - + newLeafNode(lv_va2_6_0, grammarAccess.getUnorderedGroupOptionalAccess().getVa2IDTerminalRuleCall_2_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - current, - "va2", - lv_va2_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + current, + "va2", + lv_va2_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8166,8 +8270,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } @@ -8178,53 +8282,53 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:3398:4: ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3384:4: ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3398:4: ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:3399:5: {...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3384:4: ({...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:3385:5: {...}? => ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2)"); } - // InternalSequencerTestLanguage.g:3399:119: ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) - // InternalSequencerTestLanguage.g:3400:6: ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3385:119: ( ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) ) + // InternalSequencerTestLanguage.g:3386:6: ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2); - - // InternalSequencerTestLanguage.g:3403:6: ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:3403:7: {...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2(), 2); + + // InternalSequencerTestLanguage.g:3389:9: ({...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3389:10: {...}? => (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupOptional", "true"); } - // InternalSequencerTestLanguage.g:3403:16: (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3403:18: otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3389:19: (otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3389:20: otherlv_7= 'kw3' ( (lv_val3_8_0= RULE_ID ) ) { otherlv_7=(Token)match(input,19,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_7, grammarAccess.getUnorderedGroupOptionalAccess().getKw3Keyword_2_2_0()); - - // InternalSequencerTestLanguage.g:3407:1: ( (lv_val3_8_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3408:1: (lv_val3_8_0= RULE_ID ) + newLeafNode(otherlv_7, grammarAccess.getUnorderedGroupOptionalAccess().getKw3Keyword_2_2_0()); + + // InternalSequencerTestLanguage.g:3393:9: ( (lv_val3_8_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3394:10: (lv_val3_8_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3408:1: (lv_val3_8_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3409:3: lv_val3_8_0= RULE_ID + // InternalSequencerTestLanguage.g:3394:10: (lv_val3_8_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3395:11: lv_val3_8_0= RULE_ID { lv_val3_8_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); - newLeafNode(lv_val3_8_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal3IDTerminalRuleCall_2_2_1_0()); - + newLeafNode(lv_val3_8_0, grammarAccess.getUnorderedGroupOptionalAccess().getVal3IDTerminalRuleCall_2_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_8_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupOptionalRule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_8_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8238,8 +8342,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } @@ -8262,8 +8366,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupOptionalAccess().getUnorderedGroup_2()); + } @@ -8273,13 +8377,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -8288,7 +8394,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleUnorderedGroupBoolean" - // InternalSequencerTestLanguage.g:3447:1: entryRuleUnorderedGroupBoolean returns [EObject current=null] : iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF ; + // InternalSequencerTestLanguage.g:3428:1: entryRuleUnorderedGroupBoolean returns [EObject current=null] : iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF ; public final EObject entryRuleUnorderedGroupBoolean() throws RecognitionException { EObject current = null; @@ -8296,8 +8402,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3448:2: (iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF ) - // InternalSequencerTestLanguage.g:3449:2: iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF + // InternalSequencerTestLanguage.g:3428:62: (iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF ) + // InternalSequencerTestLanguage.g:3429:2: iv_ruleUnorderedGroupBoolean= ruleUnorderedGroupBoolean EOF { newCompositeNode(grammarAccess.getUnorderedGroupBooleanRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -8311,11 +8417,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -8324,7 +8430,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleUnorderedGroupBoolean" - // InternalSequencerTestLanguage.g:3456:1: ruleUnorderedGroupBoolean returns [EObject current=null] : (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) ; + // InternalSequencerTestLanguage.g:3435:1: ruleUnorderedGroupBoolean returns [EObject current=null] : (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) ; public final EObject ruleUnorderedGroupBoolean() throws RecognitionException { EObject current = null; @@ -8333,43 +8439,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token lv_val2_4_0=null; Token lv_val3_5_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3459:28: ( (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) ) - // InternalSequencerTestLanguage.g:3460:1: (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) + // InternalSequencerTestLanguage.g:3441:2: ( (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) ) + // InternalSequencerTestLanguage.g:3442:2: (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) { - // InternalSequencerTestLanguage.g:3460:1: (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) - // InternalSequencerTestLanguage.g:3460:3: otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) + // InternalSequencerTestLanguage.g:3442:2: (otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) ) + // InternalSequencerTestLanguage.g:3443:3: otherlv_0= '#26' () ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) { otherlv_0=(Token)match(input,47,FollowSets000.FOLLOW_26); - newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupBooleanAccess().getNumberSignDigitTwoDigitSixKeyword_0()); - - // InternalSequencerTestLanguage.g:3464:1: () - // InternalSequencerTestLanguage.g:3465:5: + newLeafNode(otherlv_0, grammarAccess.getUnorderedGroupBooleanAccess().getNumberSignDigitTwoDigitSixKeyword_0()); + + // InternalSequencerTestLanguage.g:3447:3: () + // InternalSequencerTestLanguage.g:3448:4: { - current = forceCreateModelElement( - grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroupBooleanAction_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroupBooleanAction_1(), + current); + } - // InternalSequencerTestLanguage.g:3470:2: ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) - // InternalSequencerTestLanguage.g:3472:1: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:3454:3: ( ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) ) + // InternalSequencerTestLanguage.g:3455:4: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) { - // InternalSequencerTestLanguage.g:3472:1: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) - // InternalSequencerTestLanguage.g:3473:2: ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) + // InternalSequencerTestLanguage.g:3455:4: ( ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:3456:5: ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) { - getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - - // InternalSequencerTestLanguage.g:3476:2: ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) - // InternalSequencerTestLanguage.g:3477:3: ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* + getUnorderedGroupHelper().enter(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + + // InternalSequencerTestLanguage.g:3459:5: ( ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* ) + // InternalSequencerTestLanguage.g:3460:6: ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* { - // InternalSequencerTestLanguage.g:3477:3: ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* + // InternalSequencerTestLanguage.g:3460:6: ( ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) )* loop37: do { int alt37=4; @@ -8388,42 +8495,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt37) { case 1 : - // InternalSequencerTestLanguage.g:3479:4: ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3461:4: ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3479:4: ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) - // InternalSequencerTestLanguage.g:3480:5: {...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) + // InternalSequencerTestLanguage.g:3461:4: ({...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3462:5: {...}? => ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0)"); } - // InternalSequencerTestLanguage.g:3480:118: ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) - // InternalSequencerTestLanguage.g:3481:6: ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:3462:118: ( ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) ) + // InternalSequencerTestLanguage.g:3463:6: ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0); - - // InternalSequencerTestLanguage.g:3484:6: ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) - // InternalSequencerTestLanguage.g:3484:7: {...}? => ( (lv_val1_3_0= 'kw1' ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 0); + + // InternalSequencerTestLanguage.g:3466:9: ({...}? => ( (lv_val1_3_0= 'kw1' ) ) ) + // InternalSequencerTestLanguage.g:3466:10: {...}? => ( (lv_val1_3_0= 'kw1' ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "true"); } - // InternalSequencerTestLanguage.g:3484:16: ( (lv_val1_3_0= 'kw1' ) ) - // InternalSequencerTestLanguage.g:3485:1: (lv_val1_3_0= 'kw1' ) + // InternalSequencerTestLanguage.g:3466:19: ( (lv_val1_3_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:3466:20: (lv_val1_3_0= 'kw1' ) { - // InternalSequencerTestLanguage.g:3485:1: (lv_val1_3_0= 'kw1' ) - // InternalSequencerTestLanguage.g:3486:3: lv_val1_3_0= 'kw1' + // InternalSequencerTestLanguage.g:3466:20: (lv_val1_3_0= 'kw1' ) + // InternalSequencerTestLanguage.g:3467:10: lv_val1_3_0= 'kw1' { lv_val1_3_0=(Token)match(input,16,FollowSets000.FOLLOW_26); - newLeafNode(lv_val1_3_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal1Kw1Keyword_2_0_0()); - + newLeafNode(lv_val1_3_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal1Kw1Keyword_2_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed(current, "val1", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed(current, "val1", true, "kw1"); + } @@ -8434,8 +8541,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } @@ -8446,42 +8553,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:3506:4: ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3484:4: ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3506:4: ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) - // InternalSequencerTestLanguage.g:3507:5: {...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) + // InternalSequencerTestLanguage.g:3484:4: ({...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3485:5: {...}? => ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1)"); } - // InternalSequencerTestLanguage.g:3507:118: ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) - // InternalSequencerTestLanguage.g:3508:6: ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) + // InternalSequencerTestLanguage.g:3485:118: ( ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) ) + // InternalSequencerTestLanguage.g:3486:6: ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1); - - // InternalSequencerTestLanguage.g:3511:6: ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) - // InternalSequencerTestLanguage.g:3511:7: {...}? => ( (lv_val2_4_0= 'kw2' ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 1); + + // InternalSequencerTestLanguage.g:3489:9: ({...}? => ( (lv_val2_4_0= 'kw2' ) ) ) + // InternalSequencerTestLanguage.g:3489:10: {...}? => ( (lv_val2_4_0= 'kw2' ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "true"); } - // InternalSequencerTestLanguage.g:3511:16: ( (lv_val2_4_0= 'kw2' ) ) - // InternalSequencerTestLanguage.g:3512:1: (lv_val2_4_0= 'kw2' ) + // InternalSequencerTestLanguage.g:3489:19: ( (lv_val2_4_0= 'kw2' ) ) + // InternalSequencerTestLanguage.g:3489:20: (lv_val2_4_0= 'kw2' ) { - // InternalSequencerTestLanguage.g:3512:1: (lv_val2_4_0= 'kw2' ) - // InternalSequencerTestLanguage.g:3513:3: lv_val2_4_0= 'kw2' + // InternalSequencerTestLanguage.g:3489:20: (lv_val2_4_0= 'kw2' ) + // InternalSequencerTestLanguage.g:3490:10: lv_val2_4_0= 'kw2' { lv_val2_4_0=(Token)match(input,17,FollowSets000.FOLLOW_26); - newLeafNode(lv_val2_4_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal2Kw2Keyword_2_1_0()); - + newLeafNode(lv_val2_4_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal2Kw2Keyword_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed(current, "val2", true, "kw2"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed(current, "val2", true, "kw2"); + } @@ -8492,8 +8599,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } @@ -8504,42 +8611,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:3533:4: ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3507:4: ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) { - // InternalSequencerTestLanguage.g:3533:4: ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) - // InternalSequencerTestLanguage.g:3534:5: {...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:3507:4: ({...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) ) + // InternalSequencerTestLanguage.g:3508:5: {...}? => ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) { if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "getUnorderedGroupHelper().canSelect(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2)"); } - // InternalSequencerTestLanguage.g:3534:118: ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) - // InternalSequencerTestLanguage.g:3535:6: ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:3508:118: ( ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) ) + // InternalSequencerTestLanguage.g:3509:6: ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) { - - getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2); - - // InternalSequencerTestLanguage.g:3538:6: ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) - // InternalSequencerTestLanguage.g:3538:7: {...}? => ( (lv_val3_5_0= 'kw3' ) ) + + getUnorderedGroupHelper().select(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2(), 2); + + // InternalSequencerTestLanguage.g:3512:9: ({...}? => ( (lv_val3_5_0= 'kw3' ) ) ) + // InternalSequencerTestLanguage.g:3512:10: {...}? => ( (lv_val3_5_0= 'kw3' ) ) { if ( !((true)) ) { throw new FailedPredicateException(input, "ruleUnorderedGroupBoolean", "true"); } - // InternalSequencerTestLanguage.g:3538:16: ( (lv_val3_5_0= 'kw3' ) ) - // InternalSequencerTestLanguage.g:3539:1: (lv_val3_5_0= 'kw3' ) + // InternalSequencerTestLanguage.g:3512:19: ( (lv_val3_5_0= 'kw3' ) ) + // InternalSequencerTestLanguage.g:3512:20: (lv_val3_5_0= 'kw3' ) { - // InternalSequencerTestLanguage.g:3539:1: (lv_val3_5_0= 'kw3' ) - // InternalSequencerTestLanguage.g:3540:3: lv_val3_5_0= 'kw3' + // InternalSequencerTestLanguage.g:3512:20: (lv_val3_5_0= 'kw3' ) + // InternalSequencerTestLanguage.g:3513:10: lv_val3_5_0= 'kw3' { lv_val3_5_0=(Token)match(input,19,FollowSets000.FOLLOW_26); - newLeafNode(lv_val3_5_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal3Kw3Keyword_2_2_0()); - + newLeafNode(lv_val3_5_0, grammarAccess.getUnorderedGroupBooleanAccess().getVal3Kw3Keyword_2_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); - } - setWithLastConsumed(current, "val3", true, "kw3"); - + if (current==null) { + current = createModelElement(grammarAccess.getUnorderedGroupBooleanRule()); + } + setWithLastConsumed(current, "val3", true, "kw3"); + } @@ -8550,8 +8657,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } @@ -8574,8 +8681,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); - + getUnorderedGroupHelper().leave(grammarAccess.getUnorderedGroupBooleanAccess().getUnorderedGroup_2()); + } @@ -8585,13 +8692,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -8600,7 +8709,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleComplex1" - // InternalSequencerTestLanguage.g:3575:1: entryRuleComplex1 returns [EObject current=null] : iv_ruleComplex1= ruleComplex1 EOF ; + // InternalSequencerTestLanguage.g:3541:1: entryRuleComplex1 returns [EObject current=null] : iv_ruleComplex1= ruleComplex1 EOF ; public final EObject entryRuleComplex1() throws RecognitionException { EObject current = null; @@ -8608,8 +8717,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3576:2: (iv_ruleComplex1= ruleComplex1 EOF ) - // InternalSequencerTestLanguage.g:3577:2: iv_ruleComplex1= ruleComplex1 EOF + // InternalSequencerTestLanguage.g:3541:49: (iv_ruleComplex1= ruleComplex1 EOF ) + // InternalSequencerTestLanguage.g:3542:2: iv_ruleComplex1= ruleComplex1 EOF { newCompositeNode(grammarAccess.getComplex1Rule()); pushFollow(FollowSets000.FOLLOW_1); @@ -8623,11 +8732,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -8636,7 +8745,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleComplex1" - // InternalSequencerTestLanguage.g:3584:1: ruleComplex1 returns [EObject current=null] : (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) ; + // InternalSequencerTestLanguage.g:3548:1: ruleComplex1 returns [EObject current=null] : (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) ; public final EObject ruleComplex1() throws RecognitionException { EObject current = null; @@ -8654,31 +8763,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_12=null; Token lv_val6_13_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3587:28: ( (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) ) - // InternalSequencerTestLanguage.g:3588:1: (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) + // InternalSequencerTestLanguage.g:3554:2: ( (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) ) + // InternalSequencerTestLanguage.g:3555:2: (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) { - // InternalSequencerTestLanguage.g:3588:1: (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) - // InternalSequencerTestLanguage.g:3588:3: otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* + // InternalSequencerTestLanguage.g:3555:2: (otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* ) + // InternalSequencerTestLanguage.g:3556:3: otherlv_0= '#27' () (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* { otherlv_0=(Token)match(input,48,FollowSets000.FOLLOW_27); - newLeafNode(otherlv_0, grammarAccess.getComplex1Access().getNumberSignDigitTwoDigitSevenKeyword_0()); - - // InternalSequencerTestLanguage.g:3592:1: () - // InternalSequencerTestLanguage.g:3593:5: + newLeafNode(otherlv_0, grammarAccess.getComplex1Access().getNumberSignDigitTwoDigitSevenKeyword_0()); + + // InternalSequencerTestLanguage.g:3560:3: () + // InternalSequencerTestLanguage.g:3561:4: { - current = forceCreateModelElement( - grammarAccess.getComplex1Access().getComplex1Action_1(), - current); - + current = forceCreateModelElement( + grammarAccess.getComplex1Access().getComplex1Action_1(), + current); + } - // InternalSequencerTestLanguage.g:3598:2: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? + // InternalSequencerTestLanguage.g:3567:3: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) )? int alt38=2; int LA38_0 = input.LA(1); @@ -8687,32 +8797,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt38) { case 1 : - // InternalSequencerTestLanguage.g:3598:4: otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3568:4: otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) ) { otherlv_2=(Token)match(input,16,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getComplex1Access().getKw1Keyword_2_0()); - - // InternalSequencerTestLanguage.g:3602:1: ( (lv_val1_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3603:1: (lv_val1_3_0= RULE_ID ) + newLeafNode(otherlv_2, grammarAccess.getComplex1Access().getKw1Keyword_2_0()); + + // InternalSequencerTestLanguage.g:3572:4: ( (lv_val1_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3573:5: (lv_val1_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3603:1: (lv_val1_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3604:3: lv_val1_3_0= RULE_ID + // InternalSequencerTestLanguage.g:3573:5: (lv_val1_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3574:6: lv_val1_3_0= RULE_ID { lv_val1_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_28); - newLeafNode(lv_val1_3_0, grammarAccess.getComplex1Access().getVal1IDTerminalRuleCall_2_1_0()); - + newLeafNode(lv_val1_3_0, grammarAccess.getComplex1Access().getVal1IDTerminalRuleCall_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8725,7 +8835,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - // InternalSequencerTestLanguage.g:3620:4: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? + // InternalSequencerTestLanguage.g:3591:3: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) )? int alt39=2; int LA39_0 = input.LA(1); @@ -8734,32 +8844,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt39) { case 1 : - // InternalSequencerTestLanguage.g:3620:6: otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3592:4: otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) ) { otherlv_4=(Token)match(input,17,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_4, grammarAccess.getComplex1Access().getKw2Keyword_3_0()); - - // InternalSequencerTestLanguage.g:3624:1: ( (lv_val2_5_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3625:1: (lv_val2_5_0= RULE_ID ) + newLeafNode(otherlv_4, grammarAccess.getComplex1Access().getKw2Keyword_3_0()); + + // InternalSequencerTestLanguage.g:3596:4: ( (lv_val2_5_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3597:5: (lv_val2_5_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3625:1: (lv_val2_5_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3626:3: lv_val2_5_0= RULE_ID + // InternalSequencerTestLanguage.g:3597:5: (lv_val2_5_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3598:6: lv_val2_5_0= RULE_ID { lv_val2_5_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); - newLeafNode(lv_val2_5_0, grammarAccess.getComplex1Access().getVal2IDTerminalRuleCall_3_1_0()); - + newLeafNode(lv_val2_5_0, grammarAccess.getComplex1Access().getVal2IDTerminalRuleCall_3_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8772,7 +8882,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - // InternalSequencerTestLanguage.g:3642:4: ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* + // InternalSequencerTestLanguage.g:3615:3: ( (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) )* loop40: do { int alt40=5; @@ -8802,35 +8912,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt40) { case 1 : - // InternalSequencerTestLanguage.g:3642:5: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3616:4: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3642:5: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3642:7: otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3616:4: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3617:5: otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) ) { otherlv_6=(Token)match(input,19,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_6, grammarAccess.getComplex1Access().getKw3Keyword_4_0_0()); - - // InternalSequencerTestLanguage.g:3646:1: ( (lv_val3_7_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3647:1: (lv_val3_7_0= RULE_ID ) + newLeafNode(otherlv_6, grammarAccess.getComplex1Access().getKw3Keyword_4_0_0()); + + // InternalSequencerTestLanguage.g:3621:5: ( (lv_val3_7_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3622:6: (lv_val3_7_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3647:1: (lv_val3_7_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3648:3: lv_val3_7_0= RULE_ID + // InternalSequencerTestLanguage.g:3622:6: (lv_val3_7_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3623:7: lv_val3_7_0= RULE_ID { lv_val3_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); - newLeafNode(lv_val3_7_0, grammarAccess.getComplex1Access().getVal3IDTerminalRuleCall_4_0_1_0()); - + newLeafNode(lv_val3_7_0, grammarAccess.getComplex1Access().getVal3IDTerminalRuleCall_4_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8844,35 +8954,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:3665:6: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3641:4: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3665:6: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3665:8: otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3641:4: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3642:5: otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) ) { otherlv_8=(Token)match(input,22,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_8, grammarAccess.getComplex1Access().getKw4Keyword_4_1_0()); - - // InternalSequencerTestLanguage.g:3669:1: ( (lv_val4_9_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3670:1: (lv_val4_9_0= RULE_ID ) + newLeafNode(otherlv_8, grammarAccess.getComplex1Access().getKw4Keyword_4_1_0()); + + // InternalSequencerTestLanguage.g:3646:5: ( (lv_val4_9_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3647:6: (lv_val4_9_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3670:1: (lv_val4_9_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3671:3: lv_val4_9_0= RULE_ID + // InternalSequencerTestLanguage.g:3647:6: (lv_val4_9_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3648:7: lv_val4_9_0= RULE_ID { lv_val4_9_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); - newLeafNode(lv_val4_9_0, grammarAccess.getComplex1Access().getVal4IDTerminalRuleCall_4_1_1_0()); - + newLeafNode(lv_val4_9_0, grammarAccess.getComplex1Access().getVal4IDTerminalRuleCall_4_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - current, - "val4", - lv_val4_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + current, + "val4", + lv_val4_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8886,35 +8996,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:3688:6: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3666:4: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3688:6: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3688:8: otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3666:4: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3667:5: otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) ) { otherlv_10=(Token)match(input,23,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_10, grammarAccess.getComplex1Access().getKw5Keyword_4_2_0()); - - // InternalSequencerTestLanguage.g:3692:1: ( (lv_val5_11_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3693:1: (lv_val5_11_0= RULE_ID ) + newLeafNode(otherlv_10, grammarAccess.getComplex1Access().getKw5Keyword_4_2_0()); + + // InternalSequencerTestLanguage.g:3671:5: ( (lv_val5_11_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3672:6: (lv_val5_11_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3693:1: (lv_val5_11_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3694:3: lv_val5_11_0= RULE_ID + // InternalSequencerTestLanguage.g:3672:6: (lv_val5_11_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3673:7: lv_val5_11_0= RULE_ID { lv_val5_11_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); - newLeafNode(lv_val5_11_0, grammarAccess.getComplex1Access().getVal5IDTerminalRuleCall_4_2_1_0()); - + newLeafNode(lv_val5_11_0, grammarAccess.getComplex1Access().getVal5IDTerminalRuleCall_4_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - current, - "val5", - lv_val5_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + current, + "val5", + lv_val5_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8928,35 +9038,35 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 4 : - // InternalSequencerTestLanguage.g:3711:6: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3691:4: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:3711:6: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:3711:8: otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3691:4: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3692:5: otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) ) { otherlv_12=(Token)match(input,49,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_12, grammarAccess.getComplex1Access().getKw6Keyword_4_3_0()); - - // InternalSequencerTestLanguage.g:3715:1: ( (lv_val6_13_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:3716:1: (lv_val6_13_0= RULE_ID ) + newLeafNode(otherlv_12, grammarAccess.getComplex1Access().getKw6Keyword_4_3_0()); + + // InternalSequencerTestLanguage.g:3696:5: ( (lv_val6_13_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3697:6: (lv_val6_13_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3716:1: (lv_val6_13_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3717:3: lv_val6_13_0= RULE_ID + // InternalSequencerTestLanguage.g:3697:6: (lv_val6_13_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3698:7: lv_val6_13_0= RULE_ID { lv_val6_13_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); - newLeafNode(lv_val6_13_0, grammarAccess.getComplex1Access().getVal6IDTerminalRuleCall_4_3_1_0()); - + newLeafNode(lv_val6_13_0, grammarAccess.getComplex1Access().getVal6IDTerminalRuleCall_4_3_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getComplex1Rule()); - } - addWithLastConsumed( - current, - "val6", - lv_val6_13_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getComplex1Rule()); + } + addWithLastConsumed( + current, + "val6", + lv_val6_13_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -8981,13 +9091,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -8996,7 +9108,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleOptionalDouble" - // InternalSequencerTestLanguage.g:3741:1: entryRuleOptionalDouble returns [EObject current=null] : iv_ruleOptionalDouble= ruleOptionalDouble EOF ; + // InternalSequencerTestLanguage.g:3720:1: entryRuleOptionalDouble returns [EObject current=null] : iv_ruleOptionalDouble= ruleOptionalDouble EOF ; public final EObject entryRuleOptionalDouble() throws RecognitionException { EObject current = null; @@ -9004,8 +9116,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3742:2: (iv_ruleOptionalDouble= ruleOptionalDouble EOF ) - // InternalSequencerTestLanguage.g:3743:2: iv_ruleOptionalDouble= ruleOptionalDouble EOF + // InternalSequencerTestLanguage.g:3720:55: (iv_ruleOptionalDouble= ruleOptionalDouble EOF ) + // InternalSequencerTestLanguage.g:3721:2: iv_ruleOptionalDouble= ruleOptionalDouble EOF { newCompositeNode(grammarAccess.getOptionalDoubleRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9019,11 +9131,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9032,7 +9144,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleOptionalDouble" - // InternalSequencerTestLanguage.g:3750:1: ruleOptionalDouble returns [EObject current=null] : (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) ; + // InternalSequencerTestLanguage.g:3727:1: ruleOptionalDouble returns [EObject current=null] : (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) ; public final EObject ruleOptionalDouble() throws RecognitionException { EObject current = null; @@ -9044,51 +9156,52 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa AntlrDatatypeRuleToken lv_double2_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3753:28: ( (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) ) - // InternalSequencerTestLanguage.g:3754:1: (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) + // InternalSequencerTestLanguage.g:3733:2: ( (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) ) + // InternalSequencerTestLanguage.g:3734:2: (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) { - // InternalSequencerTestLanguage.g:3754:1: (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) - // InternalSequencerTestLanguage.g:3754:3: otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? + // InternalSequencerTestLanguage.g:3734:2: (otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? ) + // InternalSequencerTestLanguage.g:3735:3: otherlv_0= '#28' ( (lv_double0_1_0= ruleDOUBLE ) ) ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? { otherlv_0=(Token)match(input,50,FollowSets000.FOLLOW_21); - newLeafNode(otherlv_0, grammarAccess.getOptionalDoubleAccess().getNumberSignDigitTwoDigitEightKeyword_0()); - - // InternalSequencerTestLanguage.g:3758:1: ( (lv_double0_1_0= ruleDOUBLE ) ) - // InternalSequencerTestLanguage.g:3759:1: (lv_double0_1_0= ruleDOUBLE ) + newLeafNode(otherlv_0, grammarAccess.getOptionalDoubleAccess().getNumberSignDigitTwoDigitEightKeyword_0()); + + // InternalSequencerTestLanguage.g:3739:3: ( (lv_double0_1_0= ruleDOUBLE ) ) + // InternalSequencerTestLanguage.g:3740:4: (lv_double0_1_0= ruleDOUBLE ) { - // InternalSequencerTestLanguage.g:3759:1: (lv_double0_1_0= ruleDOUBLE ) - // InternalSequencerTestLanguage.g:3760:3: lv_double0_1_0= ruleDOUBLE + // InternalSequencerTestLanguage.g:3740:4: (lv_double0_1_0= ruleDOUBLE ) + // InternalSequencerTestLanguage.g:3741:5: lv_double0_1_0= ruleDOUBLE { - - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble0DOUBLEParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble0DOUBLEParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_22); lv_double0_1_0=ruleDOUBLE(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - current, - "double0", - lv_double0_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + current, + "double0", + lv_double0_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } } - // InternalSequencerTestLanguage.g:3776:2: ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? + // InternalSequencerTestLanguage.g:3758:3: ( ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) )? int alt41=2; int LA41_0 = input.LA(1); @@ -9097,64 +9210,64 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt41) { case 1 : - // InternalSequencerTestLanguage.g:3776:3: ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) + // InternalSequencerTestLanguage.g:3759:4: ( (lv_double1_2_0= ruleDOUBLE ) ) ( (lv_double2_3_0= ruleDOUBLE ) ) { - // InternalSequencerTestLanguage.g:3776:3: ( (lv_double1_2_0= ruleDOUBLE ) ) - // InternalSequencerTestLanguage.g:3777:1: (lv_double1_2_0= ruleDOUBLE ) + // InternalSequencerTestLanguage.g:3759:4: ( (lv_double1_2_0= ruleDOUBLE ) ) + // InternalSequencerTestLanguage.g:3760:5: (lv_double1_2_0= ruleDOUBLE ) { - // InternalSequencerTestLanguage.g:3777:1: (lv_double1_2_0= ruleDOUBLE ) - // InternalSequencerTestLanguage.g:3778:3: lv_double1_2_0= ruleDOUBLE + // InternalSequencerTestLanguage.g:3760:5: (lv_double1_2_0= ruleDOUBLE ) + // InternalSequencerTestLanguage.g:3761:6: lv_double1_2_0= ruleDOUBLE { - - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble1DOUBLEParserRuleCall_2_0_0()); - + + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble1DOUBLEParserRuleCall_2_0_0()); + pushFollow(FollowSets000.FOLLOW_21); lv_double1_2_0=ruleDOUBLE(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - current, - "double1", - lv_double1_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + current, + "double1", + lv_double1_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } } - // InternalSequencerTestLanguage.g:3794:2: ( (lv_double2_3_0= ruleDOUBLE ) ) - // InternalSequencerTestLanguage.g:3795:1: (lv_double2_3_0= ruleDOUBLE ) + // InternalSequencerTestLanguage.g:3778:4: ( (lv_double2_3_0= ruleDOUBLE ) ) + // InternalSequencerTestLanguage.g:3779:5: (lv_double2_3_0= ruleDOUBLE ) { - // InternalSequencerTestLanguage.g:3795:1: (lv_double2_3_0= ruleDOUBLE ) - // InternalSequencerTestLanguage.g:3796:3: lv_double2_3_0= ruleDOUBLE + // InternalSequencerTestLanguage.g:3779:5: (lv_double2_3_0= ruleDOUBLE ) + // InternalSequencerTestLanguage.g:3780:6: lv_double2_3_0= ruleDOUBLE { - - newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble2DOUBLEParserRuleCall_2_1_0()); - + + newCompositeNode(grammarAccess.getOptionalDoubleAccess().getDouble2DOUBLEParserRuleCall_2_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_double2_3_0=ruleDOUBLE(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); - } - set( - current, - "double2", - lv_double2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getOptionalDoubleRule()); + } + set( + current, + "double2", + lv_double2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); + afterParserOrEnumRuleCall(); + } @@ -9173,13 +9286,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9188,7 +9303,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleDOUBLE" - // InternalSequencerTestLanguage.g:3820:1: entryRuleDOUBLE returns [String current=null] : iv_ruleDOUBLE= ruleDOUBLE EOF ; + // InternalSequencerTestLanguage.g:3802:1: entryRuleDOUBLE returns [String current=null] : iv_ruleDOUBLE= ruleDOUBLE EOF ; public final String entryRuleDOUBLE() throws RecognitionException { String current = null; @@ -9196,8 +9311,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3821:2: (iv_ruleDOUBLE= ruleDOUBLE EOF ) - // InternalSequencerTestLanguage.g:3822:2: iv_ruleDOUBLE= ruleDOUBLE EOF + // InternalSequencerTestLanguage.g:3802:46: (iv_ruleDOUBLE= ruleDOUBLE EOF ) + // InternalSequencerTestLanguage.g:3803:2: iv_ruleDOUBLE= ruleDOUBLE EOF { newCompositeNode(grammarAccess.getDOUBLERule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9211,11 +9326,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9224,7 +9339,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDOUBLE" - // InternalSequencerTestLanguage.g:3829:1: ruleDOUBLE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) ; + // InternalSequencerTestLanguage.g:3809:1: ruleDOUBLE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) ; public final AntlrDatatypeRuleToken ruleDOUBLE() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -9232,23 +9347,24 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token kw=null; Token this_INT_2=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3832:28: ( (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) ) - // InternalSequencerTestLanguage.g:3833:1: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) + // InternalSequencerTestLanguage.g:3815:2: ( (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) ) + // InternalSequencerTestLanguage.g:3816:2: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) { - // InternalSequencerTestLanguage.g:3833:1: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) - // InternalSequencerTestLanguage.g:3833:6: this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? + // InternalSequencerTestLanguage.g:3816:2: (this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? ) + // InternalSequencerTestLanguage.g:3817:3: this_INT_0= RULE_INT (kw= '.' this_INT_2= RULE_INT )? { this_INT_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_30); - current.merge(this_INT_0); - - - newLeafNode(this_INT_0, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_0()); - - // InternalSequencerTestLanguage.g:3840:1: (kw= '.' this_INT_2= RULE_INT )? + current.merge(this_INT_0); + + + newLeafNode(this_INT_0, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_0()); + + // InternalSequencerTestLanguage.g:3824:3: (kw= '.' this_INT_2= RULE_INT )? int alt42=2; int LA42_0 = input.LA(1); @@ -9257,20 +9373,20 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt42) { case 1 : - // InternalSequencerTestLanguage.g:3841:2: kw= '.' this_INT_2= RULE_INT + // InternalSequencerTestLanguage.g:3825:4: kw= '.' this_INT_2= RULE_INT { kw=(Token)match(input,51,FollowSets000.FOLLOW_21); - current.merge(kw); - newLeafNode(kw, grammarAccess.getDOUBLEAccess().getFullStopKeyword_1_0()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getDOUBLEAccess().getFullStopKeyword_1_0()); + this_INT_2=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_2); - current.merge(this_INT_2); - - - newLeafNode(this_INT_2, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_1_1()); - + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getDOUBLEAccess().getINTTerminalRuleCall_1_1()); + } break; @@ -9283,13 +9399,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9298,7 +9416,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleNullValueGenerated" - // InternalSequencerTestLanguage.g:3861:1: entryRuleNullValueGenerated returns [EObject current=null] : iv_ruleNullValueGenerated= ruleNullValueGenerated EOF ; + // InternalSequencerTestLanguage.g:3842:1: entryRuleNullValueGenerated returns [EObject current=null] : iv_ruleNullValueGenerated= ruleNullValueGenerated EOF ; public final EObject entryRuleNullValueGenerated() throws RecognitionException { EObject current = null; @@ -9306,8 +9424,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3862:2: (iv_ruleNullValueGenerated= ruleNullValueGenerated EOF ) - // InternalSequencerTestLanguage.g:3863:2: iv_ruleNullValueGenerated= ruleNullValueGenerated EOF + // InternalSequencerTestLanguage.g:3842:59: (iv_ruleNullValueGenerated= ruleNullValueGenerated EOF ) + // InternalSequencerTestLanguage.g:3843:2: iv_ruleNullValueGenerated= ruleNullValueGenerated EOF { newCompositeNode(grammarAccess.getNullValueGeneratedRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9321,11 +9439,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9334,7 +9452,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleNullValueGenerated" - // InternalSequencerTestLanguage.g:3870:1: ruleNullValueGenerated returns [EObject current=null] : (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) ; + // InternalSequencerTestLanguage.g:3849:1: ruleNullValueGenerated returns [EObject current=null] : (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) ; public final EObject ruleNullValueGenerated() throws RecognitionException { EObject current = null; @@ -9342,44 +9460,45 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa AntlrDatatypeRuleToken lv_value_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3873:28: ( (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) ) - // InternalSequencerTestLanguage.g:3874:1: (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) + // InternalSequencerTestLanguage.g:3855:2: ( (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) ) + // InternalSequencerTestLanguage.g:3856:2: (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) { - // InternalSequencerTestLanguage.g:3874:1: (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) - // InternalSequencerTestLanguage.g:3874:3: otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) + // InternalSequencerTestLanguage.g:3856:2: (otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) ) + // InternalSequencerTestLanguage.g:3857:3: otherlv_0= '#29' ( (lv_value_1_0= ruleNULL_STRING ) ) { otherlv_0=(Token)match(input,52,FollowSets000.FOLLOW_31); - newLeafNode(otherlv_0, grammarAccess.getNullValueGeneratedAccess().getNumberSignDigitTwoDigitNineKeyword_0()); - - // InternalSequencerTestLanguage.g:3878:1: ( (lv_value_1_0= ruleNULL_STRING ) ) - // InternalSequencerTestLanguage.g:3879:1: (lv_value_1_0= ruleNULL_STRING ) + newLeafNode(otherlv_0, grammarAccess.getNullValueGeneratedAccess().getNumberSignDigitTwoDigitNineKeyword_0()); + + // InternalSequencerTestLanguage.g:3861:3: ( (lv_value_1_0= ruleNULL_STRING ) ) + // InternalSequencerTestLanguage.g:3862:4: (lv_value_1_0= ruleNULL_STRING ) { - // InternalSequencerTestLanguage.g:3879:1: (lv_value_1_0= ruleNULL_STRING ) - // InternalSequencerTestLanguage.g:3880:3: lv_value_1_0= ruleNULL_STRING + // InternalSequencerTestLanguage.g:3862:4: (lv_value_1_0= ruleNULL_STRING ) + // InternalSequencerTestLanguage.g:3863:5: lv_value_1_0= ruleNULL_STRING { - - newCompositeNode(grammarAccess.getNullValueGeneratedAccess().getValueNULL_STRINGParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getNullValueGeneratedAccess().getValueNULL_STRINGParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_value_1_0=ruleNULL_STRING(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getNullValueGeneratedRule()); - } - set( - current, - "value", - lv_value_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getNullValueGeneratedRule()); + } + set( + current, + "value", + lv_value_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); + afterParserOrEnumRuleCall(); + } @@ -9392,13 +9511,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9407,7 +9528,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleNullValueInterpreted" - // InternalSequencerTestLanguage.g:3904:1: entryRuleNullValueInterpreted returns [EObject current=null] : iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF ; + // InternalSequencerTestLanguage.g:3884:1: entryRuleNullValueInterpreted returns [EObject current=null] : iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF ; public final EObject entryRuleNullValueInterpreted() throws RecognitionException { EObject current = null; @@ -9415,8 +9536,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3905:2: (iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF ) - // InternalSequencerTestLanguage.g:3906:2: iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF + // InternalSequencerTestLanguage.g:3884:61: (iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF ) + // InternalSequencerTestLanguage.g:3885:2: iv_ruleNullValueInterpreted= ruleNullValueInterpreted EOF { newCompositeNode(grammarAccess.getNullValueInterpretedRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9430,11 +9551,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9443,7 +9564,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleNullValueInterpreted" - // InternalSequencerTestLanguage.g:3913:1: ruleNullValueInterpreted returns [EObject current=null] : (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ; + // InternalSequencerTestLanguage.g:3891:1: ruleNullValueInterpreted returns [EObject current=null] : (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ; public final EObject ruleNullValueInterpreted() throws RecognitionException { EObject current = null; @@ -9452,51 +9573,52 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa AntlrDatatypeRuleToken lv_value_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3916:28: ( (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ) - // InternalSequencerTestLanguage.g:3917:1: (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:3897:2: ( (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ) + // InternalSequencerTestLanguage.g:3898:2: (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) { - // InternalSequencerTestLanguage.g:3917:1: (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) - // InternalSequencerTestLanguage.g:3917:3: otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:3898:2: (otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:3899:3: otherlv_0= '#30' ( (lv_value_1_0= ruleNULL_STRING ) ) ( (lv_foo_2_0= RULE_ID ) )? { otherlv_0=(Token)match(input,53,FollowSets000.FOLLOW_31); - newLeafNode(otherlv_0, grammarAccess.getNullValueInterpretedAccess().getNumberSignDigitThreeDigitZeroKeyword_0()); - - // InternalSequencerTestLanguage.g:3921:1: ( (lv_value_1_0= ruleNULL_STRING ) ) - // InternalSequencerTestLanguage.g:3922:1: (lv_value_1_0= ruleNULL_STRING ) + newLeafNode(otherlv_0, grammarAccess.getNullValueInterpretedAccess().getNumberSignDigitThreeDigitZeroKeyword_0()); + + // InternalSequencerTestLanguage.g:3903:3: ( (lv_value_1_0= ruleNULL_STRING ) ) + // InternalSequencerTestLanguage.g:3904:4: (lv_value_1_0= ruleNULL_STRING ) { - // InternalSequencerTestLanguage.g:3922:1: (lv_value_1_0= ruleNULL_STRING ) - // InternalSequencerTestLanguage.g:3923:3: lv_value_1_0= ruleNULL_STRING + // InternalSequencerTestLanguage.g:3904:4: (lv_value_1_0= ruleNULL_STRING ) + // InternalSequencerTestLanguage.g:3905:5: lv_value_1_0= ruleNULL_STRING { - - newCompositeNode(grammarAccess.getNullValueInterpretedAccess().getValueNULL_STRINGParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getNullValueInterpretedAccess().getValueNULL_STRINGParserRuleCall_1_0()); + pushFollow(FollowSets000.FOLLOW_9); lv_value_1_0=ruleNULL_STRING(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getNullValueInterpretedRule()); - } - set( - current, - "value", - lv_value_1_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getNullValueInterpretedRule()); + } + set( + current, + "value", + lv_value_1_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); + afterParserOrEnumRuleCall(); + } } - // InternalSequencerTestLanguage.g:3939:2: ( (lv_foo_2_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:3922:3: ( (lv_foo_2_0= RULE_ID ) )? int alt43=2; int LA43_0 = input.LA(1); @@ -9505,25 +9627,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt43) { case 1 : - // InternalSequencerTestLanguage.g:3940:1: (lv_foo_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3923:4: (lv_foo_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:3940:1: (lv_foo_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:3941:3: lv_foo_2_0= RULE_ID + // InternalSequencerTestLanguage.g:3923:4: (lv_foo_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:3924:5: lv_foo_2_0= RULE_ID { lv_foo_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_foo_2_0, grammarAccess.getNullValueInterpretedAccess().getFooIDTerminalRuleCall_2_0()); - + newLeafNode(lv_foo_2_0, grammarAccess.getNullValueInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getNullValueInterpretedRule()); - } - setWithLastConsumed( - current, - "foo", - lv_foo_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getNullValueInterpretedRule()); + } + setWithLastConsumed( + current, + "foo", + lv_foo_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -9539,13 +9661,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9554,7 +9678,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleNULL_STRING" - // InternalSequencerTestLanguage.g:3965:1: entryRuleNULL_STRING returns [String current=null] : iv_ruleNULL_STRING= ruleNULL_STRING EOF ; + // InternalSequencerTestLanguage.g:3944:1: entryRuleNULL_STRING returns [String current=null] : iv_ruleNULL_STRING= ruleNULL_STRING EOF ; public final String entryRuleNULL_STRING() throws RecognitionException { String current = null; @@ -9562,8 +9686,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3966:2: (iv_ruleNULL_STRING= ruleNULL_STRING EOF ) - // InternalSequencerTestLanguage.g:3967:2: iv_ruleNULL_STRING= ruleNULL_STRING EOF + // InternalSequencerTestLanguage.g:3944:51: (iv_ruleNULL_STRING= ruleNULL_STRING EOF ) + // InternalSequencerTestLanguage.g:3945:2: iv_ruleNULL_STRING= ruleNULL_STRING EOF { newCompositeNode(grammarAccess.getNULL_STRINGRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9577,11 +9701,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9590,35 +9714,38 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleNULL_STRING" - // InternalSequencerTestLanguage.g:3974:1: ruleNULL_STRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; + // InternalSequencerTestLanguage.g:3951:1: ruleNULL_STRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ; public final AntlrDatatypeRuleToken ruleNULL_STRING() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_STRING_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:3977:28: (this_STRING_0= RULE_STRING ) - // InternalSequencerTestLanguage.g:3978:5: this_STRING_0= RULE_STRING + // InternalSequencerTestLanguage.g:3957:2: (this_STRING_0= RULE_STRING ) + // InternalSequencerTestLanguage.g:3958:2: this_STRING_0= RULE_STRING { this_STRING_0=(Token)match(input,RULE_STRING,FollowSets000.FOLLOW_2); current.merge(this_STRING_0); - - - newLeafNode(this_STRING_0, grammarAccess.getNULL_STRINGAccess().getSTRINGTerminalRuleCall()); - + + + newLeafNode(this_STRING_0, grammarAccess.getNULL_STRINGAccess().getSTRINGTerminalRuleCall()); + } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9627,7 +9754,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleNullCrossRefGenerated" - // InternalSequencerTestLanguage.g:3993:1: entryRuleNullCrossRefGenerated returns [EObject current=null] : iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF ; + // InternalSequencerTestLanguage.g:3968:1: entryRuleNullCrossRefGenerated returns [EObject current=null] : iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF ; public final EObject entryRuleNullCrossRefGenerated() throws RecognitionException { EObject current = null; @@ -9635,8 +9762,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:3994:2: (iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF ) - // InternalSequencerTestLanguage.g:3995:2: iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF + // InternalSequencerTestLanguage.g:3968:62: (iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF ) + // InternalSequencerTestLanguage.g:3969:2: iv_ruleNullCrossRefGenerated= ruleNullCrossRefGenerated EOF { newCompositeNode(grammarAccess.getNullCrossRefGeneratedRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9650,11 +9777,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9663,41 +9790,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleNullCrossRefGenerated" - // InternalSequencerTestLanguage.g:4002:1: ruleNullCrossRefGenerated returns [EObject current=null] : (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:3975:1: ruleNullCrossRefGenerated returns [EObject current=null] : (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) ; public final EObject ruleNullCrossRefGenerated() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token otherlv_1=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4005:28: ( (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:4006:1: (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3981:2: ( (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:3982:2: (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:4006:1: (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4006:3: otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3982:2: (otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:3983:3: otherlv_0= '#31' ( (otherlv_1= RULE_ID ) ) { otherlv_0=(Token)match(input,54,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getNullCrossRefGeneratedAccess().getNumberSignDigitThreeDigitOneKeyword_0()); - - // InternalSequencerTestLanguage.g:4010:1: ( (otherlv_1= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4011:1: (otherlv_1= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getNullCrossRefGeneratedAccess().getNumberSignDigitThreeDigitOneKeyword_0()); + + // InternalSequencerTestLanguage.g:3987:3: ( (otherlv_1= RULE_ID ) ) + // InternalSequencerTestLanguage.g:3988:4: (otherlv_1= RULE_ID ) { - // InternalSequencerTestLanguage.g:4011:1: (otherlv_1= RULE_ID ) - // InternalSequencerTestLanguage.g:4012:3: otherlv_1= RULE_ID + // InternalSequencerTestLanguage.g:3988:4: (otherlv_1= RULE_ID ) + // InternalSequencerTestLanguage.g:3989:5: otherlv_1= RULE_ID { - if (current==null) { - current = createModelElement(grammarAccess.getNullCrossRefGeneratedRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNullCrossRefGeneratedRule()); + } + otherlv_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(otherlv_1, grammarAccess.getNullCrossRefGeneratedAccess().getRefEObjectCrossReference_1_0()); - + newLeafNode(otherlv_1, grammarAccess.getNullCrossRefGeneratedAccess().getRefEObjectCrossReference_1_0()); + } @@ -9710,13 +9838,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9725,7 +9855,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleNullCrossRefInterpreted" - // InternalSequencerTestLanguage.g:4031:1: entryRuleNullCrossRefInterpreted returns [EObject current=null] : iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF ; + // InternalSequencerTestLanguage.g:4004:1: entryRuleNullCrossRefInterpreted returns [EObject current=null] : iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF ; public final EObject entryRuleNullCrossRefInterpreted() throws RecognitionException { EObject current = null; @@ -9733,8 +9863,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4032:2: (iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF ) - // InternalSequencerTestLanguage.g:4033:2: iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF + // InternalSequencerTestLanguage.g:4004:64: (iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF ) + // InternalSequencerTestLanguage.g:4005:2: iv_ruleNullCrossRefInterpreted= ruleNullCrossRefInterpreted EOF { newCompositeNode(grammarAccess.getNullCrossRefInterpretedRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9748,11 +9878,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9761,7 +9891,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleNullCrossRefInterpreted" - // InternalSequencerTestLanguage.g:4040:1: ruleNullCrossRefInterpreted returns [EObject current=null] : (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ; + // InternalSequencerTestLanguage.g:4011:1: ruleNullCrossRefInterpreted returns [EObject current=null] : (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ; public final EObject ruleNullCrossRefInterpreted() throws RecognitionException { EObject current = null; @@ -9769,41 +9899,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_1=null; Token lv_foo_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4043:28: ( (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ) - // InternalSequencerTestLanguage.g:4044:1: (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:4017:2: ( (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) ) + // InternalSequencerTestLanguage.g:4018:2: (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) { - // InternalSequencerTestLanguage.g:4044:1: (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) - // InternalSequencerTestLanguage.g:4044:3: otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:4018:2: (otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? ) + // InternalSequencerTestLanguage.g:4019:3: otherlv_0= '#32' ( (otherlv_1= RULE_ID ) ) ( (lv_foo_2_0= RULE_ID ) )? { otherlv_0=(Token)match(input,55,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getNullCrossRefInterpretedAccess().getNumberSignDigitThreeDigitTwoKeyword_0()); - - // InternalSequencerTestLanguage.g:4048:1: ( (otherlv_1= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4049:1: (otherlv_1= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getNullCrossRefInterpretedAccess().getNumberSignDigitThreeDigitTwoKeyword_0()); + + // InternalSequencerTestLanguage.g:4023:3: ( (otherlv_1= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4024:4: (otherlv_1= RULE_ID ) { - // InternalSequencerTestLanguage.g:4049:1: (otherlv_1= RULE_ID ) - // InternalSequencerTestLanguage.g:4050:3: otherlv_1= RULE_ID + // InternalSequencerTestLanguage.g:4024:4: (otherlv_1= RULE_ID ) + // InternalSequencerTestLanguage.g:4025:5: otherlv_1= RULE_ID { - if (current==null) { - current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); + } + otherlv_1=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_9); - newLeafNode(otherlv_1, grammarAccess.getNullCrossRefInterpretedAccess().getRefEObjectCrossReference_1_0()); - + newLeafNode(otherlv_1, grammarAccess.getNullCrossRefInterpretedAccess().getRefEObjectCrossReference_1_0()); + } } - // InternalSequencerTestLanguage.g:4061:2: ( (lv_foo_2_0= RULE_ID ) )? + // InternalSequencerTestLanguage.g:4036:3: ( (lv_foo_2_0= RULE_ID ) )? int alt44=2; int LA44_0 = input.LA(1); @@ -9812,25 +9943,25 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt44) { case 1 : - // InternalSequencerTestLanguage.g:4062:1: (lv_foo_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4037:4: (lv_foo_2_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4062:1: (lv_foo_2_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4063:3: lv_foo_2_0= RULE_ID + // InternalSequencerTestLanguage.g:4037:4: (lv_foo_2_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4038:5: lv_foo_2_0= RULE_ID { lv_foo_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_foo_2_0, grammarAccess.getNullCrossRefInterpretedAccess().getFooIDTerminalRuleCall_2_0()); - + newLeafNode(lv_foo_2_0, grammarAccess.getNullCrossRefInterpretedAccess().getFooIDTerminalRuleCall_2_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); - } - setWithLastConsumed( - current, - "foo", - lv_foo_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getNullCrossRefInterpretedRule()); + } + setWithLastConsumed( + current, + "foo", + lv_foo_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -9846,13 +9977,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9861,7 +9994,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleFragmentCaller" - // InternalSequencerTestLanguage.g:4087:1: entryRuleFragmentCaller returns [EObject current=null] : iv_ruleFragmentCaller= ruleFragmentCaller EOF ; + // InternalSequencerTestLanguage.g:4058:1: entryRuleFragmentCaller returns [EObject current=null] : iv_ruleFragmentCaller= ruleFragmentCaller EOF ; public final EObject entryRuleFragmentCaller() throws RecognitionException { EObject current = null; @@ -9869,8 +10002,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4088:2: (iv_ruleFragmentCaller= ruleFragmentCaller EOF ) - // InternalSequencerTestLanguage.g:4089:2: iv_ruleFragmentCaller= ruleFragmentCaller EOF + // InternalSequencerTestLanguage.g:4058:55: (iv_ruleFragmentCaller= ruleFragmentCaller EOF ) + // InternalSequencerTestLanguage.g:4059:2: iv_ruleFragmentCaller= ruleFragmentCaller EOF { newCompositeNode(grammarAccess.getFragmentCallerRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -9884,11 +10017,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -9897,7 +10030,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleFragmentCaller" - // InternalSequencerTestLanguage.g:4096:1: ruleFragmentCaller returns [EObject current=null] : (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:4065:1: ruleFragmentCaller returns [EObject current=null] : (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ; public final EObject ruleFragmentCaller() throws RecognitionException { EObject current = null; @@ -9907,80 +10040,81 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject this_Fragment1_2 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4099:28: ( (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:4100:1: (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4071:2: ( (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:4072:2: (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:4100:1: (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4100:3: otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4072:2: (otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4073:3: otherlv_0= '#33' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) { otherlv_0=(Token)match(input,56,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitThreeDigitThreeKeyword_0()); - - // InternalSequencerTestLanguage.g:4104:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4105:1: (lv_val1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitThreeDigitThreeKeyword_0()); + + // InternalSequencerTestLanguage.g:4077:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4078:4: (lv_val1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4105:1: (lv_val1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4106:3: lv_val1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:4078:4: (lv_val1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4079:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); - newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + + } + + + } + + + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - - } - - - } - - - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - pushFollow(FollowSets000.FOLLOW_3); this_Fragment1_2=ruleFragment1(current); state._fsp--; - - current = this_Fragment1_2; - afterParserOrEnumRuleCall(); - - // InternalSequencerTestLanguage.g:4134:1: ( (lv_val_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4135:1: (lv_val_3_0= RULE_ID ) + + current = this_Fragment1_2; + afterParserOrEnumRuleCall(); + + // InternalSequencerTestLanguage.g:4106:3: ( (lv_val_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4107:4: (lv_val_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4135:1: (lv_val_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4136:3: lv_val_3_0= RULE_ID + // InternalSequencerTestLanguage.g:4107:4: (lv_val_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4108:5: lv_val_3_0= RULE_ID { lv_val_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); - + newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -9993,13 +10127,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10008,38 +10144,39 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleFragment1" - // InternalSequencerTestLanguage.g:4161:1: ruleFragment1[EObject in_current] returns [EObject current=in_current] : ( (lv_fragVal_0_0= RULE_ID ) ) ; + // InternalSequencerTestLanguage.g:4129:1: ruleFragment1[EObject in_current] returns [EObject current=in_current] : ( (lv_fragVal_0_0= RULE_ID ) ) ; public final EObject ruleFragment1(EObject in_current) throws RecognitionException { EObject current = in_current; Token lv_fragVal_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4164:28: ( ( (lv_fragVal_0_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4165:1: ( (lv_fragVal_0_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4135:2: ( ( (lv_fragVal_0_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4136:2: ( (lv_fragVal_0_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:4165:1: ( (lv_fragVal_0_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4166:1: (lv_fragVal_0_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4136:2: ( (lv_fragVal_0_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4137:3: (lv_fragVal_0_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4166:1: (lv_fragVal_0_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4167:3: lv_fragVal_0_0= RULE_ID + // InternalSequencerTestLanguage.g:4137:3: (lv_fragVal_0_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4138:4: lv_fragVal_0_0= RULE_ID { lv_fragVal_0_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); - + newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getFragment1Rule()); - } - setWithLastConsumed( - current, - "fragVal", - lv_fragVal_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getFragment1Rule()); + } + setWithLastConsumed( + current, + "fragVal", + lv_fragVal_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -10049,13 +10186,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10064,7 +10203,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleParameterCaller" - // InternalSequencerTestLanguage.g:4191:1: entryRuleParameterCaller returns [EObject current=null] : iv_ruleParameterCaller= ruleParameterCaller EOF ; + // InternalSequencerTestLanguage.g:4157:1: entryRuleParameterCaller returns [EObject current=null] : iv_ruleParameterCaller= ruleParameterCaller EOF ; public final EObject entryRuleParameterCaller() throws RecognitionException { EObject current = null; @@ -10072,8 +10211,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4192:2: (iv_ruleParameterCaller= ruleParameterCaller EOF ) - // InternalSequencerTestLanguage.g:4193:2: iv_ruleParameterCaller= ruleParameterCaller EOF + // InternalSequencerTestLanguage.g:4157:56: (iv_ruleParameterCaller= ruleParameterCaller EOF ) + // InternalSequencerTestLanguage.g:4158:2: iv_ruleParameterCaller= ruleParameterCaller EOF { newCompositeNode(grammarAccess.getParameterCallerRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -10087,11 +10226,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10100,7 +10239,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleParameterCaller" - // InternalSequencerTestLanguage.g:4200:1: ruleParameterCaller returns [EObject current=null] : (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:4164:1: ruleParameterCaller returns [EObject current=null] : (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) ; public final EObject ruleParameterCaller() throws RecognitionException { EObject current = null; @@ -10118,20 +10257,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_p_8_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4203:28: ( (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:4204:1: (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) + // InternalSequencerTestLanguage.g:4170:2: ( (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:4171:2: (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) { - // InternalSequencerTestLanguage.g:4204:1: (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) - // InternalSequencerTestLanguage.g:4204:3: otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) + // InternalSequencerTestLanguage.g:4171:2: (otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) ) + // InternalSequencerTestLanguage.g:4172:3: otherlv_0= '#34' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) { otherlv_0=(Token)match(input,57,FollowSets000.FOLLOW_32); - newLeafNode(otherlv_0, grammarAccess.getParameterCallerAccess().getNumberSignDigitThreeDigitFourKeyword_0()); - - // InternalSequencerTestLanguage.g:4208:1: ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getParameterCallerAccess().getNumberSignDigitThreeDigitFourKeyword_0()); + + // InternalSequencerTestLanguage.g:4176:3: ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) | (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) | (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) ) int alt45=4; switch ( input.LA(1) ) { case 16: @@ -10163,40 +10303,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa switch (alt45) { case 1 : - // InternalSequencerTestLanguage.g:4208:2: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4177:4: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) { - // InternalSequencerTestLanguage.g:4208:2: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) - // InternalSequencerTestLanguage.g:4208:4: otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) + // InternalSequencerTestLanguage.g:4177:4: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4178:5: otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Parameterized ) ) { otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_33); - newLeafNode(otherlv_1, grammarAccess.getParameterCallerAccess().getKw1Keyword_1_0_0()); - - // InternalSequencerTestLanguage.g:4212:1: ( (lv_p_2_0= norm3_Parameterized ) ) - // InternalSequencerTestLanguage.g:4213:1: (lv_p_2_0= norm3_Parameterized ) + newLeafNode(otherlv_1, grammarAccess.getParameterCallerAccess().getKw1Keyword_1_0_0()); + + // InternalSequencerTestLanguage.g:4182:5: ( (lv_p_2_0= norm3_Parameterized ) ) + // InternalSequencerTestLanguage.g:4183:6: (lv_p_2_0= norm3_Parameterized ) { - // InternalSequencerTestLanguage.g:4213:1: (lv_p_2_0= norm3_Parameterized ) - // InternalSequencerTestLanguage.g:4214:3: lv_p_2_0= norm3_Parameterized + // InternalSequencerTestLanguage.g:4183:6: (lv_p_2_0= norm3_Parameterized ) + // InternalSequencerTestLanguage.g:4184:7: lv_p_2_0= norm3_Parameterized { - - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_0_1_0()); - + + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_0_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_2_0=norm3_Parameterized(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - current, - "p", - lv_p_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + current, + "p", + lv_p_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } @@ -10210,40 +10350,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:4231:6: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4203:4: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) { - // InternalSequencerTestLanguage.g:4231:6: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) - // InternalSequencerTestLanguage.g:4231:8: otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) + // InternalSequencerTestLanguage.g:4203:4: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4204:5: otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Parameterized ) ) { otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_33); - newLeafNode(otherlv_3, grammarAccess.getParameterCallerAccess().getKw2Keyword_1_1_0()); - - // InternalSequencerTestLanguage.g:4235:1: ( (lv_p_4_0= norm1_Parameterized ) ) - // InternalSequencerTestLanguage.g:4236:1: (lv_p_4_0= norm1_Parameterized ) + newLeafNode(otherlv_3, grammarAccess.getParameterCallerAccess().getKw2Keyword_1_1_0()); + + // InternalSequencerTestLanguage.g:4208:5: ( (lv_p_4_0= norm1_Parameterized ) ) + // InternalSequencerTestLanguage.g:4209:6: (lv_p_4_0= norm1_Parameterized ) { - // InternalSequencerTestLanguage.g:4236:1: (lv_p_4_0= norm1_Parameterized ) - // InternalSequencerTestLanguage.g:4237:3: lv_p_4_0= norm1_Parameterized + // InternalSequencerTestLanguage.g:4209:6: (lv_p_4_0= norm1_Parameterized ) + // InternalSequencerTestLanguage.g:4210:7: lv_p_4_0= norm1_Parameterized { - - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_1_1_0()); - + + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_1_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_4_0=norm1_Parameterized(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - current, - "p", - lv_p_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + current, + "p", + lv_p_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } @@ -10257,40 +10397,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 3 : - // InternalSequencerTestLanguage.g:4254:6: (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4229:4: (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) { - // InternalSequencerTestLanguage.g:4254:6: (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) - // InternalSequencerTestLanguage.g:4254:8: otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) + // InternalSequencerTestLanguage.g:4229:4: (otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) ) + // InternalSequencerTestLanguage.g:4230:5: otherlv_5= 'kw3' ( (lv_p_6_0= norm2_Parameterized ) ) { otherlv_5=(Token)match(input,19,FollowSets000.FOLLOW_34); - newLeafNode(otherlv_5, grammarAccess.getParameterCallerAccess().getKw3Keyword_1_2_0()); - - // InternalSequencerTestLanguage.g:4258:1: ( (lv_p_6_0= norm2_Parameterized ) ) - // InternalSequencerTestLanguage.g:4259:1: (lv_p_6_0= norm2_Parameterized ) + newLeafNode(otherlv_5, grammarAccess.getParameterCallerAccess().getKw3Keyword_1_2_0()); + + // InternalSequencerTestLanguage.g:4234:5: ( (lv_p_6_0= norm2_Parameterized ) ) + // InternalSequencerTestLanguage.g:4235:6: (lv_p_6_0= norm2_Parameterized ) { - // InternalSequencerTestLanguage.g:4259:1: (lv_p_6_0= norm2_Parameterized ) - // InternalSequencerTestLanguage.g:4260:3: lv_p_6_0= norm2_Parameterized + // InternalSequencerTestLanguage.g:4235:6: (lv_p_6_0= norm2_Parameterized ) + // InternalSequencerTestLanguage.g:4236:7: lv_p_6_0= norm2_Parameterized { - - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_2_1_0()); - + + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_2_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_6_0=norm2_Parameterized(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - current, - "p", - lv_p_6_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + current, + "p", + lv_p_6_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } @@ -10304,40 +10444,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 4 : - // InternalSequencerTestLanguage.g:4277:6: (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) + // InternalSequencerTestLanguage.g:4255:4: (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) { - // InternalSequencerTestLanguage.g:4277:6: (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) - // InternalSequencerTestLanguage.g:4277:8: otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) + // InternalSequencerTestLanguage.g:4255:4: (otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) ) + // InternalSequencerTestLanguage.g:4256:5: otherlv_7= 'kw4' ( (lv_p_8_0= ruleParameterized ) ) { otherlv_7=(Token)match(input,22,FollowSets000.FOLLOW_34); - newLeafNode(otherlv_7, grammarAccess.getParameterCallerAccess().getKw4Keyword_1_3_0()); - - // InternalSequencerTestLanguage.g:4281:1: ( (lv_p_8_0= ruleParameterized ) ) - // InternalSequencerTestLanguage.g:4282:1: (lv_p_8_0= ruleParameterized ) + newLeafNode(otherlv_7, grammarAccess.getParameterCallerAccess().getKw4Keyword_1_3_0()); + + // InternalSequencerTestLanguage.g:4260:5: ( (lv_p_8_0= ruleParameterized ) ) + // InternalSequencerTestLanguage.g:4261:6: (lv_p_8_0= ruleParameterized ) { - // InternalSequencerTestLanguage.g:4282:1: (lv_p_8_0= ruleParameterized ) - // InternalSequencerTestLanguage.g:4283:3: lv_p_8_0= ruleParameterized + // InternalSequencerTestLanguage.g:4261:6: (lv_p_8_0= ruleParameterized ) + // InternalSequencerTestLanguage.g:4262:7: lv_p_8_0= ruleParameterized { - - newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_3_1_0()); - + + newCompositeNode(grammarAccess.getParameterCallerAccess().getPParameterizedParserRuleCall_1_3_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_8_0=ruleParameterized(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterCallerRule()); - } - set( - current, - "p", - lv_p_8_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterCallerRule()); + } + set( + current, + "p", + lv_p_8_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); + afterParserOrEnumRuleCall(); + } @@ -10359,13 +10499,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10374,7 +10516,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleParameterized" - // InternalSequencerTestLanguage.g:4307:1: entryRuleParameterized returns [EObject current=null] : iv_ruleParameterized= ruleParameterized EOF ; + // InternalSequencerTestLanguage.g:4285:1: entryRuleParameterized returns [EObject current=null] : iv_ruleParameterized= ruleParameterized EOF ; public final EObject entryRuleParameterized() throws RecognitionException { EObject current = null; @@ -10382,8 +10524,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4308:2: (iv_ruleParameterized= ruleParameterized EOF ) - // InternalSequencerTestLanguage.g:4309:2: iv_ruleParameterized= ruleParameterized EOF + // InternalSequencerTestLanguage.g:4285:54: (iv_ruleParameterized= ruleParameterized EOF ) + // InternalSequencerTestLanguage.g:4286:2: iv_ruleParameterized= ruleParameterized EOF { newCompositeNode(grammarAccess.getParameterizedRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -10397,11 +10539,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10410,46 +10552,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleParameterized" - // InternalSequencerTestLanguage.g:4316:1: ruleParameterized returns [EObject current=null] : (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:4292:1: ruleParameterized returns [EObject current=null] : (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) ; public final EObject ruleParameterized() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_v2_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4319:28: ( (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:4320:1: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4298:2: ( (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:4299:2: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:4320:1: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4320:3: otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4299:2: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4300:3: otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,58,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); - - // InternalSequencerTestLanguage.g:4324:1: ( (lv_v2_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4325:1: (lv_v2_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); + + // InternalSequencerTestLanguage.g:4304:3: ( (lv_v2_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4305:4: (lv_v2_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4325:1: (lv_v2_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4326:3: lv_v2_1_0= RULE_ID + // InternalSequencerTestLanguage.g:4305:4: (lv_v2_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4306:5: lv_v2_1_0= RULE_ID { lv_v2_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); - + newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - current, - "v2", - lv_v2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + current, + "v2", + lv_v2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -10462,13 +10605,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10477,46 +10622,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm1_Parameterized" - // InternalSequencerTestLanguage.g:4351:1: norm1_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:4327:1: norm1_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ; public final EObject norm1_Parameterized() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_v1_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4354:28: ( (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:4355:1: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4333:2: ( (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:4334:2: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:4355:1: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4355:3: otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4334:2: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4335:3: otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,59,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); - - // InternalSequencerTestLanguage.g:4359:1: ( (lv_v1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4360:1: (lv_v1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); + + // InternalSequencerTestLanguage.g:4339:3: ( (lv_v1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4340:4: (lv_v1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4360:1: (lv_v1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4361:3: lv_v1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:4340:4: (lv_v1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4341:5: lv_v1_1_0= RULE_ID { lv_v1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); - + newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - current, - "v1", - lv_v1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + current, + "v1", + lv_v1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -10529,13 +10675,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10544,7 +10692,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm2_Parameterized" - // InternalSequencerTestLanguage.g:4386:1: norm2_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) ; + // InternalSequencerTestLanguage.g:4362:1: norm2_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) ; public final EObject norm2_Parameterized() throws RecognitionException { EObject current = null; @@ -10553,46 +10701,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa Token otherlv_2=null; Token lv_v3_3_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4389:28: ( (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) ) - // InternalSequencerTestLanguage.g:4390:1: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) + // InternalSequencerTestLanguage.g:4368:2: ( (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) ) + // InternalSequencerTestLanguage.g:4369:2: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) { - // InternalSequencerTestLanguage.g:4390:1: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) - // InternalSequencerTestLanguage.g:4390:3: otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? + // InternalSequencerTestLanguage.g:4369:2: (otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? ) + // InternalSequencerTestLanguage.g:4370:3: otherlv_0= 'kwp2' ( (lv_v2_1_0= RULE_ID ) ) (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? { otherlv_0=(Token)match(input,58,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); - - // InternalSequencerTestLanguage.g:4394:1: ( (lv_v2_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4395:1: (lv_v2_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp2Keyword_1_0()); + + // InternalSequencerTestLanguage.g:4374:3: ( (lv_v2_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4375:4: (lv_v2_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4395:1: (lv_v2_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4396:3: lv_v2_1_0= RULE_ID + // InternalSequencerTestLanguage.g:4375:4: (lv_v2_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4376:5: lv_v2_1_0= RULE_ID { lv_v2_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_35); - newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); - + newLeafNode(lv_v2_1_0, grammarAccess.getParameterizedAccess().getV2IDTerminalRuleCall_1_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - current, - "v2", - lv_v2_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + current, + "v2", + lv_v2_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - // InternalSequencerTestLanguage.g:4412:2: (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? + // InternalSequencerTestLanguage.g:4392:3: (otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) )? int alt46=2; int LA46_0 = input.LA(1); @@ -10601,32 +10750,32 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt46) { case 1 : - // InternalSequencerTestLanguage.g:4412:4: otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4393:4: otherlv_2= 'kwp3' ( (lv_v3_3_0= RULE_ID ) ) { otherlv_2=(Token)match(input,60,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_2, grammarAccess.getParameterizedAccess().getKwp3Keyword_1_2_0()); - - // InternalSequencerTestLanguage.g:4416:1: ( (lv_v3_3_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4417:1: (lv_v3_3_0= RULE_ID ) + newLeafNode(otherlv_2, grammarAccess.getParameterizedAccess().getKwp3Keyword_1_2_0()); + + // InternalSequencerTestLanguage.g:4397:4: ( (lv_v3_3_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4398:5: (lv_v3_3_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4417:1: (lv_v3_3_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4418:3: lv_v3_3_0= RULE_ID + // InternalSequencerTestLanguage.g:4398:5: (lv_v3_3_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4399:6: lv_v3_3_0= RULE_ID { lv_v3_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_v3_3_0, grammarAccess.getParameterizedAccess().getV3IDTerminalRuleCall_1_2_1_0()); - + newLeafNode(lv_v3_3_0, grammarAccess.getParameterizedAccess().getV3IDTerminalRuleCall_1_2_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - current, - "v3", - lv_v3_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + current, + "v3", + lv_v3_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -10645,13 +10794,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10660,46 +10811,47 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm3_Parameterized" - // InternalSequencerTestLanguage.g:4443:1: norm3_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ; + // InternalSequencerTestLanguage.g:4421:1: norm3_Parameterized returns [EObject current=null] : (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ; public final EObject norm3_Parameterized() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_v1_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4446:28: ( (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ) - // InternalSequencerTestLanguage.g:4447:1: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4427:2: ( (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) ) + // InternalSequencerTestLanguage.g:4428:2: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) { - // InternalSequencerTestLanguage.g:4447:1: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4447:3: otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4428:2: (otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4429:3: otherlv_0= 'kwp1' ( (lv_v1_1_0= RULE_ID ) ) { otherlv_0=(Token)match(input,59,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); - - // InternalSequencerTestLanguage.g:4451:1: ( (lv_v1_1_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4452:1: (lv_v1_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getParameterizedAccess().getKwp1Keyword_0_0()); + + // InternalSequencerTestLanguage.g:4433:3: ( (lv_v1_1_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4434:4: (lv_v1_1_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4452:1: (lv_v1_1_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4453:3: lv_v1_1_0= RULE_ID + // InternalSequencerTestLanguage.g:4434:4: (lv_v1_1_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4435:5: lv_v1_1_0= RULE_ID { lv_v1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); - + newLeafNode(lv_v1_1_0, grammarAccess.getParameterizedAccess().getV1IDTerminalRuleCall_0_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getParameterizedRule()); - } - setWithLastConsumed( - current, - "v1", - lv_v1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getParameterizedRule()); + } + setWithLastConsumed( + current, + "v1", + lv_v1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -10712,13 +10864,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10727,7 +10881,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleParameterDelegation" - // InternalSequencerTestLanguage.g:4477:1: entryRuleParameterDelegation returns [EObject current=null] : iv_ruleParameterDelegation= ruleParameterDelegation EOF ; + // InternalSequencerTestLanguage.g:4455:1: entryRuleParameterDelegation returns [EObject current=null] : iv_ruleParameterDelegation= ruleParameterDelegation EOF ; public final EObject entryRuleParameterDelegation() throws RecognitionException { EObject current = null; @@ -10735,8 +10889,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4478:2: (iv_ruleParameterDelegation= ruleParameterDelegation EOF ) - // InternalSequencerTestLanguage.g:4479:2: iv_ruleParameterDelegation= ruleParameterDelegation EOF + // InternalSequencerTestLanguage.g:4455:60: (iv_ruleParameterDelegation= ruleParameterDelegation EOF ) + // InternalSequencerTestLanguage.g:4456:2: iv_ruleParameterDelegation= ruleParameterDelegation EOF { newCompositeNode(grammarAccess.getParameterDelegationRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -10750,11 +10904,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10763,7 +10917,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleParameterDelegation" - // InternalSequencerTestLanguage.g:4486:1: ruleParameterDelegation returns [EObject current=null] : (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) ; + // InternalSequencerTestLanguage.g:4462:1: ruleParameterDelegation returns [EObject current=null] : (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) ; public final EObject ruleParameterDelegation() throws RecognitionException { EObject current = null; @@ -10775,20 +10929,21 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_p_4_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4489:28: ( (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) ) - // InternalSequencerTestLanguage.g:4490:1: (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) + // InternalSequencerTestLanguage.g:4468:2: ( (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) ) + // InternalSequencerTestLanguage.g:4469:2: (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) { - // InternalSequencerTestLanguage.g:4490:1: (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) - // InternalSequencerTestLanguage.g:4490:3: otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) + // InternalSequencerTestLanguage.g:4469:2: (otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) ) + // InternalSequencerTestLanguage.g:4470:3: otherlv_0= '#35' ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) { otherlv_0=(Token)match(input,61,FollowSets000.FOLLOW_4); - newLeafNode(otherlv_0, grammarAccess.getParameterDelegationAccess().getNumberSignDigitThreeDigitFiveKeyword_0()); - - // InternalSequencerTestLanguage.g:4494:1: ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) + newLeafNode(otherlv_0, grammarAccess.getParameterDelegationAccess().getNumberSignDigitThreeDigitFiveKeyword_0()); + + // InternalSequencerTestLanguage.g:4474:3: ( (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) | (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) ) int alt47=2; int LA47_0 = input.LA(1); @@ -10806,40 +10961,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt47) { case 1 : - // InternalSequencerTestLanguage.g:4494:2: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) + // InternalSequencerTestLanguage.g:4475:4: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) { - // InternalSequencerTestLanguage.g:4494:2: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) - // InternalSequencerTestLanguage.g:4494:4: otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) + // InternalSequencerTestLanguage.g:4475:4: (otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) ) + // InternalSequencerTestLanguage.g:4476:5: otherlv_1= 'kw1' ( (lv_p_2_0= norm3_Delegation ) ) { otherlv_1=(Token)match(input,16,FollowSets000.FOLLOW_36); - newLeafNode(otherlv_1, grammarAccess.getParameterDelegationAccess().getKw1Keyword_1_0_0()); - - // InternalSequencerTestLanguage.g:4498:1: ( (lv_p_2_0= norm3_Delegation ) ) - // InternalSequencerTestLanguage.g:4499:1: (lv_p_2_0= norm3_Delegation ) + newLeafNode(otherlv_1, grammarAccess.getParameterDelegationAccess().getKw1Keyword_1_0_0()); + + // InternalSequencerTestLanguage.g:4480:5: ( (lv_p_2_0= norm3_Delegation ) ) + // InternalSequencerTestLanguage.g:4481:6: (lv_p_2_0= norm3_Delegation ) { - // InternalSequencerTestLanguage.g:4499:1: (lv_p_2_0= norm3_Delegation ) - // InternalSequencerTestLanguage.g:4500:3: lv_p_2_0= norm3_Delegation + // InternalSequencerTestLanguage.g:4481:6: (lv_p_2_0= norm3_Delegation ) + // InternalSequencerTestLanguage.g:4482:7: lv_p_2_0= norm3_Delegation { - - newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_0_1_0()); - + + newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_0_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_2_0=norm3_Delegation(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); - } - set( - current, - "p", - lv_p_2_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); + } + set( + current, + "p", + lv_p_2_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } @@ -10853,40 +11008,40 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } break; case 2 : - // InternalSequencerTestLanguage.g:4517:6: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) + // InternalSequencerTestLanguage.g:4501:4: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) { - // InternalSequencerTestLanguage.g:4517:6: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) - // InternalSequencerTestLanguage.g:4517:8: otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) + // InternalSequencerTestLanguage.g:4501:4: (otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) ) + // InternalSequencerTestLanguage.g:4502:5: otherlv_3= 'kw2' ( (lv_p_4_0= norm1_Delegation ) ) { otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_36); - newLeafNode(otherlv_3, grammarAccess.getParameterDelegationAccess().getKw2Keyword_1_1_0()); - - // InternalSequencerTestLanguage.g:4521:1: ( (lv_p_4_0= norm1_Delegation ) ) - // InternalSequencerTestLanguage.g:4522:1: (lv_p_4_0= norm1_Delegation ) + newLeafNode(otherlv_3, grammarAccess.getParameterDelegationAccess().getKw2Keyword_1_1_0()); + + // InternalSequencerTestLanguage.g:4506:5: ( (lv_p_4_0= norm1_Delegation ) ) + // InternalSequencerTestLanguage.g:4507:6: (lv_p_4_0= norm1_Delegation ) { - // InternalSequencerTestLanguage.g:4522:1: (lv_p_4_0= norm1_Delegation ) - // InternalSequencerTestLanguage.g:4523:3: lv_p_4_0= norm1_Delegation + // InternalSequencerTestLanguage.g:4507:6: (lv_p_4_0= norm1_Delegation ) + // InternalSequencerTestLanguage.g:4508:7: lv_p_4_0= norm1_Delegation { - - newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_1_1_0()); - + + newCompositeNode(grammarAccess.getParameterDelegationAccess().getPDelegationParserRuleCall_1_1_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_p_4_0=norm1_Delegation(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); - } - set( - current, - "p", - lv_p_4_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterDelegationRule()); + } + set( + current, + "p", + lv_p_4_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } @@ -10908,13 +11063,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10923,7 +11080,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "entryRuleDelegation" - // InternalSequencerTestLanguage.g:4547:1: entryRuleDelegation returns [EObject current=null] : iv_ruleDelegation= ruleDelegation EOF ; + // InternalSequencerTestLanguage.g:4531:1: entryRuleDelegation returns [EObject current=null] : iv_ruleDelegation= ruleDelegation EOF ; public final EObject entryRuleDelegation() throws RecognitionException { EObject current = null; @@ -10931,8 +11088,8 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa try { - // InternalSequencerTestLanguage.g:4548:2: (iv_ruleDelegation= ruleDelegation EOF ) - // InternalSequencerTestLanguage.g:4549:2: iv_ruleDelegation= ruleDelegation EOF + // InternalSequencerTestLanguage.g:4531:51: (iv_ruleDelegation= ruleDelegation EOF ) + // InternalSequencerTestLanguage.g:4532:2: iv_ruleDelegation= ruleDelegation EOF { newCompositeNode(grammarAccess.getDelegationRule()); pushFollow(FollowSets000.FOLLOW_1); @@ -10946,11 +11103,11 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -10959,38 +11116,39 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDelegation" - // InternalSequencerTestLanguage.g:4556:1: ruleDelegation returns [EObject current=null] : ( (lv_np_0_0= RULE_INT ) ) ; + // InternalSequencerTestLanguage.g:4538:1: ruleDelegation returns [EObject current=null] : ( (lv_np_0_0= RULE_INT ) ) ; public final EObject ruleDelegation() throws RecognitionException { EObject current = null; Token lv_np_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4559:28: ( ( (lv_np_0_0= RULE_INT ) ) ) - // InternalSequencerTestLanguage.g:4560:1: ( (lv_np_0_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:4544:2: ( ( (lv_np_0_0= RULE_INT ) ) ) + // InternalSequencerTestLanguage.g:4545:2: ( (lv_np_0_0= RULE_INT ) ) { - // InternalSequencerTestLanguage.g:4560:1: ( (lv_np_0_0= RULE_INT ) ) - // InternalSequencerTestLanguage.g:4561:1: (lv_np_0_0= RULE_INT ) + // InternalSequencerTestLanguage.g:4545:2: ( (lv_np_0_0= RULE_INT ) ) + // InternalSequencerTestLanguage.g:4546:3: (lv_np_0_0= RULE_INT ) { - // InternalSequencerTestLanguage.g:4561:1: (lv_np_0_0= RULE_INT ) - // InternalSequencerTestLanguage.g:4562:3: lv_np_0_0= RULE_INT + // InternalSequencerTestLanguage.g:4546:3: (lv_np_0_0= RULE_INT ) + // InternalSequencerTestLanguage.g:4547:4: lv_np_0_0= RULE_INT { lv_np_0_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_2); - newLeafNode(lv_np_0_0, grammarAccess.getDelegationAccess().getNpINTTerminalRuleCall_0_0_1_0_0()); - + newLeafNode(lv_np_0_0, grammarAccess.getDelegationAccess().getNpINTTerminalRuleCall_0_0_1_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDelegationRule()); - } - setWithLastConsumed( - current, - "np", - lv_np_0_0, - "org.eclipse.xtext.common.Terminals.INT"); - + if (current==null) { + current = createModelElement(grammarAccess.getDelegationRule()); + } + setWithLastConsumed( + current, + "np", + lv_np_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } @@ -11000,13 +11158,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11015,7 +11175,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm1_Delegation" - // InternalSequencerTestLanguage.g:4587:1: norm1_Delegation returns [EObject current=null] : (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) ; + // InternalSequencerTestLanguage.g:4567:1: norm1_Delegation returns [EObject current=null] : (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) ; public final EObject norm1_Delegation() throws RecognitionException { EObject current = null; @@ -11025,32 +11185,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_rc2_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4590:28: ( (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) ) - // InternalSequencerTestLanguage.g:4591:1: (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) + // InternalSequencerTestLanguage.g:4573:2: ( (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) ) + // InternalSequencerTestLanguage.g:4574:2: (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) { - // InternalSequencerTestLanguage.g:4591:1: (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) - // InternalSequencerTestLanguage.g:4591:3: otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? + // InternalSequencerTestLanguage.g:4574:2: (otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? ) + // InternalSequencerTestLanguage.g:4575:3: otherlv_0= 'kwd' this_Delegation_1= ruleDelegation ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? { otherlv_0=(Token)match(input,62,FollowSets000.FOLLOW_21); - newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); - - - newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); - + newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); + + + newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); + pushFollow(FollowSets000.FOLLOW_22); this_Delegation_1=ruleDelegation(); state._fsp--; - - current = this_Delegation_1; - afterParserOrEnumRuleCall(); - - // InternalSequencerTestLanguage.g:4604:1: ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? + + current = this_Delegation_1; + afterParserOrEnumRuleCall(); + + // InternalSequencerTestLanguage.g:4587:3: ( () ( (lv_rc2_3_0= ruleDelegation ) ) )? int alt48=2; int LA48_0 = input.LA(1); @@ -11059,44 +11220,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt48) { case 1 : - // InternalSequencerTestLanguage.g:4604:2: () ( (lv_rc2_3_0= ruleDelegation ) ) + // InternalSequencerTestLanguage.g:4588:4: () ( (lv_rc2_3_0= ruleDelegation ) ) { - // InternalSequencerTestLanguage.g:4604:2: () - // InternalSequencerTestLanguage.g:4605:5: + // InternalSequencerTestLanguage.g:4588:4: () + // InternalSequencerTestLanguage.g:4589:5: { - current = forceCreateModelElementAndSet( - grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), + current); + } - // InternalSequencerTestLanguage.g:4610:2: ( (lv_rc2_3_0= ruleDelegation ) ) - // InternalSequencerTestLanguage.g:4611:1: (lv_rc2_3_0= ruleDelegation ) + // InternalSequencerTestLanguage.g:4595:4: ( (lv_rc2_3_0= ruleDelegation ) ) + // InternalSequencerTestLanguage.g:4596:5: (lv_rc2_3_0= ruleDelegation ) { - // InternalSequencerTestLanguage.g:4611:1: (lv_rc2_3_0= ruleDelegation ) - // InternalSequencerTestLanguage.g:4612:3: lv_rc2_3_0= ruleDelegation + // InternalSequencerTestLanguage.g:4596:5: (lv_rc2_3_0= ruleDelegation ) + // InternalSequencerTestLanguage.g:4597:6: lv_rc2_3_0= ruleDelegation { - - newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); - + + newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_rc2_3_0=ruleDelegation(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getDelegationRule()); - } - set( - current, - "rc2", - lv_rc2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getDelegationRule()); + } + set( + current, + "rc2", + lv_rc2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } @@ -11115,13 +11276,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11130,38 +11293,39 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm2_Delegation" - // InternalSequencerTestLanguage.g:4637:1: norm2_Delegation returns [EObject current=null] : ( (lv_p_0_0= RULE_ID ) ) ; + // InternalSequencerTestLanguage.g:4620:1: norm2_Delegation returns [EObject current=null] : ( (lv_p_0_0= RULE_ID ) ) ; public final EObject norm2_Delegation() throws RecognitionException { EObject current = null; Token lv_p_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4640:28: ( ( (lv_p_0_0= RULE_ID ) ) ) - // InternalSequencerTestLanguage.g:4641:1: ( (lv_p_0_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4626:2: ( ( (lv_p_0_0= RULE_ID ) ) ) + // InternalSequencerTestLanguage.g:4627:2: ( (lv_p_0_0= RULE_ID ) ) { - // InternalSequencerTestLanguage.g:4641:1: ( (lv_p_0_0= RULE_ID ) ) - // InternalSequencerTestLanguage.g:4642:1: (lv_p_0_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4627:2: ( (lv_p_0_0= RULE_ID ) ) + // InternalSequencerTestLanguage.g:4628:3: (lv_p_0_0= RULE_ID ) { - // InternalSequencerTestLanguage.g:4642:1: (lv_p_0_0= RULE_ID ) - // InternalSequencerTestLanguage.g:4643:3: lv_p_0_0= RULE_ID + // InternalSequencerTestLanguage.g:4628:3: (lv_p_0_0= RULE_ID ) + // InternalSequencerTestLanguage.g:4629:4: lv_p_0_0= RULE_ID { lv_p_0_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); - newLeafNode(lv_p_0_0, grammarAccess.getDelegationAccess().getPIDTerminalRuleCall_0_0_0_0_0()); - + newLeafNode(lv_p_0_0, grammarAccess.getDelegationAccess().getPIDTerminalRuleCall_0_0_0_0_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getDelegationRule()); - } - setWithLastConsumed( - current, - "p", - lv_p_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getDelegationRule()); + } + setWithLastConsumed( + current, + "p", + lv_p_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } @@ -11171,13 +11335,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11186,7 +11352,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "norm3_Delegation" - // InternalSequencerTestLanguage.g:4668:1: norm3_Delegation returns [EObject current=null] : (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) ; + // InternalSequencerTestLanguage.g:4649:1: norm3_Delegation returns [EObject current=null] : (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) ; public final EObject norm3_Delegation() throws RecognitionException { EObject current = null; @@ -11196,32 +11362,33 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa EObject lv_rc2_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4671:28: ( (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) ) - // InternalSequencerTestLanguage.g:4672:1: (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) + // InternalSequencerTestLanguage.g:4655:2: ( (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) ) + // InternalSequencerTestLanguage.g:4656:2: (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) { - // InternalSequencerTestLanguage.g:4672:1: (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) - // InternalSequencerTestLanguage.g:4672:3: otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? + // InternalSequencerTestLanguage.g:4656:2: (otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? ) + // InternalSequencerTestLanguage.g:4657:3: otherlv_0= 'kwd' this_Delegation_1= norm2_Delegation ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? { otherlv_0=(Token)match(input,62,FollowSets000.FOLLOW_3); - newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); - - - newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); - + newLeafNode(otherlv_0, grammarAccess.getDelegationAccess().getKwdKeyword_1_0()); + + + newCompositeNode(grammarAccess.getDelegationAccess().getDelegationParserRuleCall_1_1()); + pushFollow(FollowSets000.FOLLOW_9); this_Delegation_1=norm2_Delegation(); state._fsp--; - - current = this_Delegation_1; - afterParserOrEnumRuleCall(); - - // InternalSequencerTestLanguage.g:4685:1: ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? + + current = this_Delegation_1; + afterParserOrEnumRuleCall(); + + // InternalSequencerTestLanguage.g:4669:3: ( () ( (lv_rc2_3_0= norm2_Delegation ) ) )? int alt49=2; int LA49_0 = input.LA(1); @@ -11230,44 +11397,44 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } switch (alt49) { case 1 : - // InternalSequencerTestLanguage.g:4685:2: () ( (lv_rc2_3_0= norm2_Delegation ) ) + // InternalSequencerTestLanguage.g:4670:4: () ( (lv_rc2_3_0= norm2_Delegation ) ) { - // InternalSequencerTestLanguage.g:4685:2: () - // InternalSequencerTestLanguage.g:4686:5: + // InternalSequencerTestLanguage.g:4670:4: () + // InternalSequencerTestLanguage.g:4671:5: { - current = forceCreateModelElementAndSet( - grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getDelegationAccess().getDelegationALeftAction_1_2_0(), + current); + } - // InternalSequencerTestLanguage.g:4691:2: ( (lv_rc2_3_0= norm2_Delegation ) ) - // InternalSequencerTestLanguage.g:4692:1: (lv_rc2_3_0= norm2_Delegation ) + // InternalSequencerTestLanguage.g:4677:4: ( (lv_rc2_3_0= norm2_Delegation ) ) + // InternalSequencerTestLanguage.g:4678:5: (lv_rc2_3_0= norm2_Delegation ) { - // InternalSequencerTestLanguage.g:4692:1: (lv_rc2_3_0= norm2_Delegation ) - // InternalSequencerTestLanguage.g:4693:3: lv_rc2_3_0= norm2_Delegation + // InternalSequencerTestLanguage.g:4678:5: (lv_rc2_3_0= norm2_Delegation ) + // InternalSequencerTestLanguage.g:4679:6: lv_rc2_3_0= norm2_Delegation { - - newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); - + + newCompositeNode(grammarAccess.getDelegationAccess().getRc2DelegationParserRuleCall_1_2_1_0()); + pushFollow(FollowSets000.FOLLOW_2); lv_rc2_3_0=norm2_Delegation(); state._fsp--; - if (current==null) { - current = createModelElementForParent(grammarAccess.getDelegationRule()); - } - set( - current, - "rc2", - lv_rc2_3_0, - "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getDelegationRule()); + } + set( + current, + "rc2", + lv_rc2_3_0, + "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); + afterParserOrEnumRuleCall(); + } @@ -11286,13 +11453,15 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11301,38 +11470,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDefEnum1" - // InternalSequencerTestLanguage.g:4717:1: ruleDefEnum1 returns [Enumerator current=null] : (enumLiteral_0= 'kw1' ) ; + // InternalSequencerTestLanguage.g:4701:1: ruleDefEnum1 returns [Enumerator current=null] : (enumLiteral_0= 'kw1' ) ; public final Enumerator ruleDefEnum1() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4719:28: ( (enumLiteral_0= 'kw1' ) ) - // InternalSequencerTestLanguage.g:4720:1: (enumLiteral_0= 'kw1' ) + // InternalSequencerTestLanguage.g:4707:2: ( (enumLiteral_0= 'kw1' ) ) + // InternalSequencerTestLanguage.g:4708:2: (enumLiteral_0= 'kw1' ) { - // InternalSequencerTestLanguage.g:4720:1: (enumLiteral_0= 'kw1' ) - // InternalSequencerTestLanguage.g:4720:3: enumLiteral_0= 'kw1' + // InternalSequencerTestLanguage.g:4708:2: (enumLiteral_0= 'kw1' ) + // InternalSequencerTestLanguage.g:4709:3: enumLiteral_0= 'kw1' { enumLiteral_0=(Token)match(input,16,FollowSets000.FOLLOW_2); - current = grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration()); - + current = grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum1Access().getKw1EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11341,38 +11514,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDefEnum2" - // InternalSequencerTestLanguage.g:4730:1: ruleDefEnum2 returns [Enumerator current=null] : (enumLiteral_0= 'kw2' ) ; + // InternalSequencerTestLanguage.g:4718:1: ruleDefEnum2 returns [Enumerator current=null] : (enumLiteral_0= 'kw2' ) ; public final Enumerator ruleDefEnum2() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4732:28: ( (enumLiteral_0= 'kw2' ) ) - // InternalSequencerTestLanguage.g:4733:1: (enumLiteral_0= 'kw2' ) + // InternalSequencerTestLanguage.g:4724:2: ( (enumLiteral_0= 'kw2' ) ) + // InternalSequencerTestLanguage.g:4725:2: (enumLiteral_0= 'kw2' ) { - // InternalSequencerTestLanguage.g:4733:1: (enumLiteral_0= 'kw2' ) - // InternalSequencerTestLanguage.g:4733:3: enumLiteral_0= 'kw2' + // InternalSequencerTestLanguage.g:4725:2: (enumLiteral_0= 'kw2' ) + // InternalSequencerTestLanguage.g:4726:3: enumLiteral_0= 'kw2' { enumLiteral_0=(Token)match(input,17,FollowSets000.FOLLOW_2); - current = grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration()); - + current = grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum2Access().getKw2EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11381,38 +11558,42 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa // $ANTLR start "ruleDefEnum3" - // InternalSequencerTestLanguage.g:4743:1: ruleDefEnum3 returns [Enumerator current=null] : (enumLiteral_0= 'kw3' ) ; + // InternalSequencerTestLanguage.g:4735:1: ruleDefEnum3 returns [Enumerator current=null] : (enumLiteral_0= 'kw3' ) ; public final Enumerator ruleDefEnum3() throws RecognitionException { Enumerator current = null; Token enumLiteral_0=null; - enterRule(); + + enterRule(); + try { - // InternalSequencerTestLanguage.g:4745:28: ( (enumLiteral_0= 'kw3' ) ) - // InternalSequencerTestLanguage.g:4746:1: (enumLiteral_0= 'kw3' ) + // InternalSequencerTestLanguage.g:4741:2: ( (enumLiteral_0= 'kw3' ) ) + // InternalSequencerTestLanguage.g:4742:2: (enumLiteral_0= 'kw3' ) { - // InternalSequencerTestLanguage.g:4746:1: (enumLiteral_0= 'kw3' ) - // InternalSequencerTestLanguage.g:4746:3: enumLiteral_0= 'kw3' + // InternalSequencerTestLanguage.g:4742:2: (enumLiteral_0= 'kw3' ) + // InternalSequencerTestLanguage.g:4743:3: enumLiteral_0= 'kw3' { enumLiteral_0=(Token)match(input,19,FollowSets000.FOLLOW_2); - current = grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration()); - + current = grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getDefEnum3Access().getKw3EnumLiteralDeclaration()); + } } - leaveRule(); + + leaveRule(); + } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -11459,7 +11640,7 @@ public class InternalSequencerTestLanguageParser extends AbstractInternalAntlrPa this.transition = dfa_7; } public String getDescription() { - return "2606:1: ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) )"; + return "2622:3: ( ( ( (lv_val_1_0= RULE_ID ) ) ( (lv_val_2_0= RULE_ID ) )+ ) | ( ( (lv_val_3_0= RULE_ID ) )+ ( (lv_flag_4_0= 'kw1' ) ) ) )"; } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.g b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.g index 19d2ff3f6..0a201d3b1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.g +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguage.g @@ -5,7 +5,6 @@ grammar InternalSyntacticSequencerTestLanguage; options { superClass=AbstractInternalAntlrParser; - } @lexer::header { @@ -17,7 +16,7 @@ import org.eclipse.xtext.parser.antlr.Lexer; } @parser::header { -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -35,1980 +34,1995 @@ import org.eclipse.xtext.serializer.services.SyntacticSequencerTestLanguageGramm @parser::members { private SyntacticSequencerTestLanguageGrammarAccess grammarAccess; - + public InternalSyntacticSequencerTestLanguageParser(TokenStream input, SyntacticSequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected SyntacticSequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; } + } -@rulecatch { - catch (RecognitionException re) { - recover(input,re); +@rulecatch { + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } } - - - // Entry rule entryRuleModel -entryRuleModel returns [EObject current=null] - : +entryRuleModel returns [EObject current=null]: { newCompositeNode(grammarAccess.getModelRule()); } - iv_ruleModel=ruleModel - { $current=$iv_ruleModel.current; } - EOF -; + iv_ruleModel=ruleModel + { $current=$iv_ruleModel.current; } + EOF; // Rule Model -ruleModel returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX1MandatoryKeywordsParserRuleCall_0_0()); - } - lv_x1_0_0=ruleMandatoryKeywords { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x1", - lv_x1_0_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX2Exp0ParserRuleCall_1_0()); - } - lv_x2_1_0=ruleExp0 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x2", - lv_x2_1_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp0"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX3Exp1ParserRuleCall_2_0()); - } - lv_x3_2_0=ruleExp1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x3", - lv_x3_2_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp1"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX4Exp2ParserRuleCall_3_0()); - } - lv_x4_3_0=ruleExp2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x4", - lv_x4_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp2"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX5SingleCrossReferenceParserRuleCall_4_0()); - } - lv_x5_4_0=ruleSingleCrossReference { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x5", - lv_x5_4_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.SingleCrossReference"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX6BooleanAlternativeParserRuleCall_5_0()); - } - lv_x6_5_0=ruleBooleanAlternative { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x6", - lv_x6_5_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternative"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX7UnassignedDatatypeParserRuleCall_6_0()); - } - lv_x7_6_0=ruleUnassignedDatatype { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x7", - lv_x7_6_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.UnassignedDatatype"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX8OptionalSingleTransitionParserRuleCall_7_0()); - } - lv_x8_7_0=ruleOptionalSingleTransition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x8", - lv_x8_7_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalSingleTransition"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX9OptionalManyTransitionParserRuleCall_8_0()); - } - lv_x9_8_0=ruleOptionalManyTransition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x9", - lv_x9_8_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalManyTransition"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX10MandatoryManyTransitionParserRuleCall_9_0()); - } - lv_x10_9_0=ruleMandatoryManyTransition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x10", - lv_x10_9_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryManyTransition"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX11AlternativeTransitionParserRuleCall_10_0()); - } - lv_x11_10_0=ruleAlternativeTransition { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x11", - lv_x11_10_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.AlternativeTransition"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX12BooleanValuesParserRuleCall_11_0()); - } - lv_x12_11_0=ruleBooleanValues { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x12", - lv_x12_11_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanValues"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX13LongAlternativeParserRuleCall_12_0()); - } - lv_x13_12_0=ruleLongAlternative { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x13", - lv_x13_12_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.LongAlternative"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX14ActionOnlyParserRuleCall_13_0()); - } - lv_x14_13_0=ruleActionOnly { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x14", - lv_x14_13_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.ActionOnly"); - afterParserOrEnumRuleCall(); - } - -) -) - |( -( - { - newCompositeNode(grammarAccess.getModelAccess().getX15FragmentCallerParserRuleCall_14_0()); - } - lv_x15_14_0=ruleFragmentCaller { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - $current, - "x15", - lv_x15_14_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.FragmentCaller"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX1MandatoryKeywordsParserRuleCall_0_0()); + } + lv_x1_0_0=ruleMandatoryKeywords + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x1", + lv_x1_0_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX2Exp0ParserRuleCall_1_0()); + } + lv_x2_1_0=ruleExp0 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x2", + lv_x2_1_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp0"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX3Exp1ParserRuleCall_2_0()); + } + lv_x3_2_0=ruleExp1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x3", + lv_x3_2_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp1"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX4Exp2ParserRuleCall_3_0()); + } + lv_x4_3_0=ruleExp2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x4", + lv_x4_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp2"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX5SingleCrossReferenceParserRuleCall_4_0()); + } + lv_x5_4_0=ruleSingleCrossReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x5", + lv_x5_4_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.SingleCrossReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX6BooleanAlternativeParserRuleCall_5_0()); + } + lv_x6_5_0=ruleBooleanAlternative + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x6", + lv_x6_5_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternative"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX7UnassignedDatatypeParserRuleCall_6_0()); + } + lv_x7_6_0=ruleUnassignedDatatype + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x7", + lv_x7_6_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.UnassignedDatatype"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX8OptionalSingleTransitionParserRuleCall_7_0()); + } + lv_x8_7_0=ruleOptionalSingleTransition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x8", + lv_x8_7_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalSingleTransition"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX9OptionalManyTransitionParserRuleCall_8_0()); + } + lv_x9_8_0=ruleOptionalManyTransition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x9", + lv_x9_8_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalManyTransition"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX10MandatoryManyTransitionParserRuleCall_9_0()); + } + lv_x10_9_0=ruleMandatoryManyTransition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x10", + lv_x10_9_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryManyTransition"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX11AlternativeTransitionParserRuleCall_10_0()); + } + lv_x11_10_0=ruleAlternativeTransition + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x11", + lv_x11_10_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.AlternativeTransition"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX12BooleanValuesParserRuleCall_11_0()); + } + lv_x12_11_0=ruleBooleanValues + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x12", + lv_x12_11_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanValues"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX13LongAlternativeParserRuleCall_12_0()); + } + lv_x13_12_0=ruleLongAlternative + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x13", + lv_x13_12_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.LongAlternative"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX14ActionOnlyParserRuleCall_13_0()); + } + lv_x14_13_0=ruleActionOnly + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x14", + lv_x14_13_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.ActionOnly"); + afterParserOrEnumRuleCall(); + } + ) + ) + | + ( + ( + { + newCompositeNode(grammarAccess.getModelAccess().getX15FragmentCallerParserRuleCall_14_0()); + } + lv_x15_14_0=ruleFragmentCaller + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + $current, + "x15", + lv_x15_14_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.FragmentCaller"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleMandatoryKeywords -entryRuleMandatoryKeywords returns [EObject current=null] - : +entryRuleMandatoryKeywords returns [EObject current=null]: { newCompositeNode(grammarAccess.getMandatoryKeywordsRule()); } - iv_ruleMandatoryKeywords=ruleMandatoryKeywords - { $current=$iv_ruleMandatoryKeywords.current; } - EOF -; + iv_ruleMandatoryKeywords=ruleMandatoryKeywords + { $current=$iv_ruleMandatoryKeywords.current; } + EOF; // Rule MandatoryKeywords -ruleMandatoryKeywords returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#1' - { - newLeafNode(otherlv_0, grammarAccess.getMandatoryKeywordsAccess().getNumberSignDigitOneKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleMandatoryKeywords returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#1' { - newLeafNode(lv_val1_1_0, grammarAccess.getMandatoryKeywordsAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getMandatoryKeywordsAccess().getNumberSignDigitOneKeyword_0()); } + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getMandatoryKeywordsAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_2='kw1' { - if ($current==null) { - $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getMandatoryKeywordsAccess().getKw1Keyword_2()); - } -( -( - lv_val2_3_0=RULE_ID - { - newLeafNode(lv_val2_3_0, grammarAccess.getMandatoryKeywordsAccess().getVal2IDTerminalRuleCall_3_0()); + newLeafNode(otherlv_2, grammarAccess.getMandatoryKeywordsAccess().getKw1Keyword_2()); } + ( + ( + lv_val2_3_0=RULE_ID + { + newLeafNode(lv_val2_3_0, grammarAccess.getMandatoryKeywordsAccess().getVal2IDTerminalRuleCall_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + $current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_4='kw2' { - if ($current==null) { - $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - $current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getMandatoryKeywordsAccess().getKw2Keyword_4()); - } - otherlv_5='kw3' - { - newLeafNode(otherlv_5, grammarAccess.getMandatoryKeywordsAccess().getKw3Keyword_5()); - } -( -( - lv_val3_6_0=RULE_ID - { - newLeafNode(lv_val3_6_0, grammarAccess.getMandatoryKeywordsAccess().getVal3IDTerminalRuleCall_6_0()); + newLeafNode(otherlv_4, grammarAccess.getMandatoryKeywordsAccess().getKw2Keyword_4()); } + otherlv_5='kw3' { - if ($current==null) { - $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - $current, - "val3", - lv_val3_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) otherlv_7='kw4' - { - newLeafNode(otherlv_7, grammarAccess.getMandatoryKeywordsAccess().getKw4Keyword_7()); - } -) + newLeafNode(otherlv_5, grammarAccess.getMandatoryKeywordsAccess().getKw3Keyword_5()); + } + ( + ( + lv_val3_6_0=RULE_ID + { + newLeafNode(lv_val3_6_0, grammarAccess.getMandatoryKeywordsAccess().getVal3IDTerminalRuleCall_6_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + $current, + "val3", + lv_val3_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_7='kw4' + { + newLeafNode(otherlv_7, grammarAccess.getMandatoryKeywordsAccess().getKw4Keyword_7()); + } + ) ; - - - - // Entry rule entryRuleExp0 -entryRuleExp0 returns [EObject current=null] - : +entryRuleExp0 returns [EObject current=null]: { newCompositeNode(grammarAccess.getExp0Rule()); } - iv_ruleExp0=ruleExp0 - { $current=$iv_ruleExp0.current; } - EOF -; + iv_ruleExp0=ruleExp0 + { $current=$iv_ruleExp0.current; } + EOF; // Rule Exp0 -ruleExp0 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#2' - { - newLeafNode(otherlv_0, grammarAccess.getExp0Access().getNumberSignDigitTwoKeyword_0()); - } - - { - newCompositeNode(grammarAccess.getExp0Access().getAddition0ParserRuleCall_1()); - } - this_Addition0_1=ruleAddition0 - { - $current = $this_Addition0_1.current; - afterParserOrEnumRuleCall(); - } -) +ruleExp0 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#2' + { + newLeafNode(otherlv_0, grammarAccess.getExp0Access().getNumberSignDigitTwoKeyword_0()); + } + { + newCompositeNode(grammarAccess.getExp0Access().getAddition0ParserRuleCall_1()); + } + this_Addition0_1=ruleAddition0 + { + $current = $this_Addition0_1.current; + afterParserOrEnumRuleCall(); + } + ) ; - - - - // Entry rule entryRuleAddition0 -entryRuleAddition0 returns [EObject current=null] - : +entryRuleAddition0 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAddition0Rule()); } - iv_ruleAddition0=ruleAddition0 - { $current=$iv_ruleAddition0.current; } - EOF -; + iv_ruleAddition0=ruleAddition0 + { $current=$iv_ruleAddition0.current; } + EOF; // Rule Addition0 -ruleAddition0 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getAddition0Access().getPrim0ParserRuleCall_0()); - } - this_Prim0_0=rulePrim0 - { - $current = $this_Prim0_0.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getAddition0Access().getAdd0LeftAction_1_0(), - $current); - } -) otherlv_2='+' - { - newLeafNode(otherlv_2, grammarAccess.getAddition0Access().getPlusSignKeyword_1_1()); - } -( -( - { - newCompositeNode(grammarAccess.getAddition0Access().getRightPrim0ParserRuleCall_1_2_0()); - } - lv_right_3_0=rulePrim0 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddition0Rule()); - } - set( - $current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim0"); - afterParserOrEnumRuleCall(); - } - -) -))*) +ruleAddition0 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getAddition0Access().getPrim0ParserRuleCall_0()); + } + this_Prim0_0=rulePrim0 + { + $current = $this_Prim0_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getAddition0Access().getAdd0LeftAction_1_0(), + $current); + } + ) + otherlv_2='+' + { + newLeafNode(otherlv_2, grammarAccess.getAddition0Access().getPlusSignKeyword_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAddition0Access().getRightPrim0ParserRuleCall_1_2_0()); + } + lv_right_3_0=rulePrim0 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAddition0Rule()); + } + set( + $current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim0"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRulePrim0 -entryRulePrim0 returns [EObject current=null] - : +entryRulePrim0 returns [EObject current=null]: { newCompositeNode(grammarAccess.getPrim0Rule()); } - iv_rulePrim0=rulePrim0 - { $current=$iv_rulePrim0.current; } - EOF -; + iv_rulePrim0=rulePrim0 + { $current=$iv_rulePrim0.current; } + EOF; // Rule Prim0 -rulePrim0 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getPrim0Access().getVal0Action_0(), - $current); - } -)( -( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getPrim0Access().getNameIDTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPrim0Rule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) +rulePrim0 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getPrim0Access().getVal0Action_0(), + $current); + } + ) + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPrim0Access().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPrim0Rule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleExp1 -entryRuleExp1 returns [EObject current=null] - : +entryRuleExp1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getExp1Rule()); } - iv_ruleExp1=ruleExp1 - { $current=$iv_ruleExp1.current; } - EOF -; + iv_ruleExp1=ruleExp1 + { $current=$iv_ruleExp1.current; } + EOF; // Rule Exp1 -ruleExp1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#3' - { - newLeafNode(otherlv_0, grammarAccess.getExp1Access().getNumberSignDigitThreeKeyword_0()); - } - - { - newCompositeNode(grammarAccess.getExp1Access().getAddition1ParserRuleCall_1()); - } - this_Addition1_1=ruleAddition1 - { - $current = $this_Addition1_1.current; - afterParserOrEnumRuleCall(); - } -) +ruleExp1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#3' + { + newLeafNode(otherlv_0, grammarAccess.getExp1Access().getNumberSignDigitThreeKeyword_0()); + } + { + newCompositeNode(grammarAccess.getExp1Access().getAddition1ParserRuleCall_1()); + } + this_Addition1_1=ruleAddition1 + { + $current = $this_Addition1_1.current; + afterParserOrEnumRuleCall(); + } + ) ; - - - - // Entry rule entryRuleAddition1 -entryRuleAddition1 returns [EObject current=null] - : +entryRuleAddition1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAddition1Rule()); } - iv_ruleAddition1=ruleAddition1 - { $current=$iv_ruleAddition1.current; } - EOF -; + iv_ruleAddition1=ruleAddition1 + { $current=$iv_ruleAddition1.current; } + EOF; // Rule Addition1 -ruleAddition1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getAddition1Access().getPrim1ParserRuleCall_0()); - } - this_Prim1_0=rulePrim1 - { - $current = $this_Prim1_0.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getAddition1Access().getAdd1LeftAction_1_0(), - $current); - } -) otherlv_2='+' - { - newLeafNode(otherlv_2, grammarAccess.getAddition1Access().getPlusSignKeyword_1_1()); - } -( -( - { - newCompositeNode(grammarAccess.getAddition1Access().getRightPrim1ParserRuleCall_1_2_0()); - } - lv_right_3_0=rulePrim1 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddition1Rule()); - } - set( - $current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim1"); - afterParserOrEnumRuleCall(); - } - -) -))*) +ruleAddition1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getAddition1Access().getPrim1ParserRuleCall_0()); + } + this_Prim1_0=rulePrim1 + { + $current = $this_Prim1_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getAddition1Access().getAdd1LeftAction_1_0(), + $current); + } + ) + otherlv_2='+' + { + newLeafNode(otherlv_2, grammarAccess.getAddition1Access().getPlusSignKeyword_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAddition1Access().getRightPrim1ParserRuleCall_1_2_0()); + } + lv_right_3_0=rulePrim1 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAddition1Rule()); + } + set( + $current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim1"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRulePrim1 -entryRulePrim1 returns [EObject current=null] - : +entryRulePrim1 returns [EObject current=null]: { newCompositeNode(grammarAccess.getPrim1Rule()); } - iv_rulePrim1=rulePrim1 - { $current=$iv_rulePrim1.current; } - EOF -; + iv_rulePrim1=rulePrim1 + { $current=$iv_rulePrim1.current; } + EOF; // Rule Prim1 -rulePrim1 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -((( - { - $current = forceCreateModelElement( - grammarAccess.getPrim1Access().getVal1Action_0_0(), - $current); - } -)( -( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getPrim1Access().getNameIDTerminalRuleCall_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPrim1Rule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_2='(' - { - newLeafNode(otherlv_2, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); - } - - { - newCompositeNode(grammarAccess.getPrim1Access().getAddition1ParserRuleCall_1_1()); - } - this_Addition1_3=ruleAddition1 - { - $current = $this_Addition1_3.current; - afterParserOrEnumRuleCall(); - } - otherlv_4=')' - { - newLeafNode(otherlv_4, grammarAccess.getPrim1Access().getRightParenthesisKeyword_1_2()); - } -)) +rulePrim1 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getPrim1Access().getVal1Action_0_0(), + $current); + } + ) + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPrim1Access().getNameIDTerminalRuleCall_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPrim1Rule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); + } + { + newCompositeNode(grammarAccess.getPrim1Access().getAddition1ParserRuleCall_1_1()); + } + this_Addition1_3=ruleAddition1 + { + $current = $this_Addition1_3.current; + afterParserOrEnumRuleCall(); + } + otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getPrim1Access().getRightParenthesisKeyword_1_2()); + } + ) + ) ; - - - - // Entry rule entryRuleExp2 -entryRuleExp2 returns [EObject current=null] - : +entryRuleExp2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getExp2Rule()); } - iv_ruleExp2=ruleExp2 - { $current=$iv_ruleExp2.current; } - EOF -; + iv_ruleExp2=ruleExp2 + { $current=$iv_ruleExp2.current; } + EOF; // Rule Exp2 -ruleExp2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#4' - { - newLeafNode(otherlv_0, grammarAccess.getExp2Access().getNumberSignDigitFourKeyword_0()); - } - - { - newCompositeNode(grammarAccess.getExp2Access().getAddition2ParserRuleCall_1()); - } - this_Addition2_1=ruleAddition2 - { - $current = $this_Addition2_1.current; - afterParserOrEnumRuleCall(); - } -) +ruleExp2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#4' + { + newLeafNode(otherlv_0, grammarAccess.getExp2Access().getNumberSignDigitFourKeyword_0()); + } + { + newCompositeNode(grammarAccess.getExp2Access().getAddition2ParserRuleCall_1()); + } + this_Addition2_1=ruleAddition2 + { + $current = $this_Addition2_1.current; + afterParserOrEnumRuleCall(); + } + ) ; - - - - // Entry rule entryRuleAddition2 -entryRuleAddition2 returns [EObject current=null] - : +entryRuleAddition2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getAddition2Rule()); } - iv_ruleAddition2=ruleAddition2 - { $current=$iv_ruleAddition2.current; } - EOF -; + iv_ruleAddition2=ruleAddition2 + { $current=$iv_ruleAddition2.current; } + EOF; // Rule Addition2 -ruleAddition2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getAddition2Access().getMultiplication2ParserRuleCall_0()); - } - this_Multiplication2_0=ruleMultiplication2 - { - $current = $this_Multiplication2_0.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getAddition2Access().getAdd2LeftAction_1_0(), - $current); - } -) otherlv_2='+' - { - newLeafNode(otherlv_2, grammarAccess.getAddition2Access().getPlusSignKeyword_1_1()); - } -( -( - { - newCompositeNode(grammarAccess.getAddition2Access().getRightMultiplication2ParserRuleCall_1_2_0()); - } - lv_right_3_0=ruleMultiplication2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getAddition2Rule()); - } - set( - $current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Multiplication2"); - afterParserOrEnumRuleCall(); - } - -) -))*) +ruleAddition2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getAddition2Access().getMultiplication2ParserRuleCall_0()); + } + this_Multiplication2_0=ruleMultiplication2 + { + $current = $this_Multiplication2_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getAddition2Access().getAdd2LeftAction_1_0(), + $current); + } + ) + otherlv_2='+' + { + newLeafNode(otherlv_2, grammarAccess.getAddition2Access().getPlusSignKeyword_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAddition2Access().getRightMultiplication2ParserRuleCall_1_2_0()); + } + lv_right_3_0=ruleMultiplication2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAddition2Rule()); + } + set( + $current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Multiplication2"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRuleMultiplication2 -entryRuleMultiplication2 returns [EObject current=null] - : +entryRuleMultiplication2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getMultiplication2Rule()); } - iv_ruleMultiplication2=ruleMultiplication2 - { $current=$iv_ruleMultiplication2.current; } - EOF -; + iv_ruleMultiplication2=ruleMultiplication2 + { $current=$iv_ruleMultiplication2.current; } + EOF; // Rule Multiplication2 -ruleMultiplication2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getMultiplication2Access().getPrim2ParserRuleCall_0()); - } - this_Prim2_0=rulePrim2 - { - $current = $this_Prim2_0.current; - afterParserOrEnumRuleCall(); - } -(( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getMultiplication2Access().getMult2LeftAction_1_0(), - $current); - } -) otherlv_2='*' - { - newLeafNode(otherlv_2, grammarAccess.getMultiplication2Access().getAsteriskKeyword_1_1()); - } -( -( - { - newCompositeNode(grammarAccess.getMultiplication2Access().getRightPrim2ParserRuleCall_1_2_0()); - } - lv_right_3_0=rulePrim2 { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getMultiplication2Rule()); - } - set( - $current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim2"); - afterParserOrEnumRuleCall(); - } - -) -))*) +ruleMultiplication2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMultiplication2Access().getPrim2ParserRuleCall_0()); + } + this_Prim2_0=rulePrim2 + { + $current = $this_Prim2_0.current; + afterParserOrEnumRuleCall(); + } + ( + ( + { + $current = forceCreateModelElementAndSet( + grammarAccess.getMultiplication2Access().getMult2LeftAction_1_0(), + $current); + } + ) + otherlv_2='*' + { + newLeafNode(otherlv_2, grammarAccess.getMultiplication2Access().getAsteriskKeyword_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getMultiplication2Access().getRightPrim2ParserRuleCall_1_2_0()); + } + lv_right_3_0=rulePrim2 + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getMultiplication2Rule()); + } + set( + $current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim2"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + ) ; - - - - // Entry rule entryRulePrim2 -entryRulePrim2 returns [EObject current=null] - : +entryRulePrim2 returns [EObject current=null]: { newCompositeNode(grammarAccess.getPrim2Rule()); } - iv_rulePrim2=rulePrim2 - { $current=$iv_rulePrim2.current; } - EOF -; + iv_rulePrim2=rulePrim2 + { $current=$iv_rulePrim2.current; } + EOF; // Rule Prim2 -rulePrim2 returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -((( - { - $current = forceCreateModelElement( - grammarAccess.getPrim2Access().getVal2Action_0_0(), - $current); - } -)( -( - lv_name_1_0=RULE_ID - { - newLeafNode(lv_name_1_0, grammarAccess.getPrim2Access().getNameIDTerminalRuleCall_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getPrim2Rule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) - |( otherlv_2='(' - { - newLeafNode(otherlv_2, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); - } - - { - newCompositeNode(grammarAccess.getPrim2Access().getAddition2ParserRuleCall_1_1()); - } - this_Addition2_3=ruleAddition2 - { - $current = $this_Addition2_3.current; - afterParserOrEnumRuleCall(); - } - otherlv_4=')' - { - newLeafNode(otherlv_4, grammarAccess.getPrim2Access().getRightParenthesisKeyword_1_2()); - } -)) +rulePrim2 returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getPrim2Access().getVal2Action_0_0(), + $current); + } + ) + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPrim2Access().getNameIDTerminalRuleCall_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPrim2Rule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + | + ( + otherlv_2='(' + { + newLeafNode(otherlv_2, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); + } + { + newCompositeNode(grammarAccess.getPrim2Access().getAddition2ParserRuleCall_1_1()); + } + this_Addition2_3=ruleAddition2 + { + $current = $this_Addition2_3.current; + afterParserOrEnumRuleCall(); + } + otherlv_4=')' + { + newLeafNode(otherlv_4, grammarAccess.getPrim2Access().getRightParenthesisKeyword_1_2()); + } + ) + ) ; - - - - // Entry rule entryRuleDatatypeID -entryRuleDatatypeID returns [String current=null] - : - { newCompositeNode(grammarAccess.getDatatypeIDRule()); } - iv_ruleDatatypeID=ruleDatatypeID - { $current=$iv_ruleDatatypeID.current.getText(); } - EOF -; +entryRuleDatatypeID returns [String current=null]: + { newCompositeNode(grammarAccess.getDatatypeIDRule()); } + iv_ruleDatatypeID=ruleDatatypeID + { $current=$iv_ruleDatatypeID.current.getText(); } + EOF; // Rule DatatypeID -ruleDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: - this_ID_0=RULE_ID { +ruleDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + this_ID_0=RULE_ID + { $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getDatatypeIDAccess().getIDTerminalRuleCall()); - } - - ; - - - - + } + { + newLeafNode(this_ID_0, grammarAccess.getDatatypeIDAccess().getIDTerminalRuleCall()); + } +; // Entry rule entryRuleSingleCrossReference -entryRuleSingleCrossReference returns [EObject current=null] - : +entryRuleSingleCrossReference returns [EObject current=null]: { newCompositeNode(grammarAccess.getSingleCrossReferenceRule()); } - iv_ruleSingleCrossReference=ruleSingleCrossReference - { $current=$iv_ruleSingleCrossReference.current; } - EOF -; + iv_ruleSingleCrossReference=ruleSingleCrossReference + { $current=$iv_ruleSingleCrossReference.current; } + EOF; // Rule SingleCrossReference -ruleSingleCrossReference returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#5' - { - newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitFiveKeyword_0()); - } -( -( -( - lv_name_1_1=RULE_TERMINAL_ID +ruleSingleCrossReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#5' { - newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameTERMINAL_IDTerminalRuleCall_1_0_0()); + newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitFiveKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_1, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.TERMINAL_ID"); - } - - | lv_name_1_2=RULE_ID - { - newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameIDTerminalRuleCall_1_0_1()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - $current, - "name", - lv_name_1_2, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) - -) -)( otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getKw1Keyword_2_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_3=RULE_TERMINAL_ID - { - newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRef1SingleCrossReferenceCrossReference_2_1_0()); - } - -) -))?( otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getKw2Keyword_3_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - { - newCompositeNode(grammarAccess.getSingleCrossReferenceAccess().getRef2SingleCrossReferenceCrossReference_3_1_0()); - } - ruleDatatypeID { - afterParserOrEnumRuleCall(); - } - -) -))?( otherlv_6='kw3' - { - newLeafNode(otherlv_6, grammarAccess.getSingleCrossReferenceAccess().getKw3Keyword_4_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_7=RULE_ID - { - newLeafNode(otherlv_7, grammarAccess.getSingleCrossReferenceAccess().getRef3SingleCrossReferenceCrossReference_4_1_0()); - } - -) -))?( otherlv_8='kw4' - { - newLeafNode(otherlv_8, grammarAccess.getSingleCrossReferenceAccess().getKw4Keyword_5_0()); - } -( -( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - } - otherlv_9=RULE_ID - { - newLeafNode(otherlv_9, grammarAccess.getSingleCrossReferenceAccess().getRef4SingleCrossReferenceCrossReference_5_1_0()); - } - -) -))?) + ( + ( + ( + lv_name_1_1=RULE_TERMINAL_ID + { + newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameTERMINAL_IDTerminalRuleCall_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_1, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.TERMINAL_ID"); + } + | + lv_name_1_2=RULE_ID + { + newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameIDTerminalRuleCall_1_0_1()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_2, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) + ( + otherlv_2='kw1' + { + newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getKw1Keyword_2_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_3=RULE_TERMINAL_ID + { + newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRef1SingleCrossReferenceCrossReference_2_1_0()); + } + ) + ) + )? + ( + otherlv_4='kw2' + { + newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getKw2Keyword_3_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + { + newCompositeNode(grammarAccess.getSingleCrossReferenceAccess().getRef2SingleCrossReferenceCrossReference_3_1_0()); + } + ruleDatatypeID + { + afterParserOrEnumRuleCall(); + } + ) + ) + )? + ( + otherlv_6='kw3' + { + newLeafNode(otherlv_6, grammarAccess.getSingleCrossReferenceAccess().getKw3Keyword_4_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_7=RULE_ID + { + newLeafNode(otherlv_7, grammarAccess.getSingleCrossReferenceAccess().getRef3SingleCrossReferenceCrossReference_4_1_0()); + } + ) + ) + )? + ( + otherlv_8='kw4' + { + newLeafNode(otherlv_8, grammarAccess.getSingleCrossReferenceAccess().getKw4Keyword_5_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } + otherlv_9=RULE_ID + { + newLeafNode(otherlv_9, grammarAccess.getSingleCrossReferenceAccess().getRef4SingleCrossReferenceCrossReference_5_1_0()); + } + ) + ) + )? + ) ; - - - - // Entry rule entryRuleBooleanAlternative -entryRuleBooleanAlternative returns [EObject current=null] - : +entryRuleBooleanAlternative returns [EObject current=null]: { newCompositeNode(grammarAccess.getBooleanAlternativeRule()); } - iv_ruleBooleanAlternative=ruleBooleanAlternative - { $current=$iv_ruleBooleanAlternative.current; } - EOF -; + iv_ruleBooleanAlternative=ruleBooleanAlternative + { $current=$iv_ruleBooleanAlternative.current; } + EOF; // Rule BooleanAlternative -ruleBooleanAlternative returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#6' - { - newLeafNode(otherlv_0, grammarAccess.getBooleanAlternativeAccess().getNumberSignDigitSixKeyword_0()); - } -( -( - { - newCompositeNode(grammarAccess.getBooleanAlternativeAccess().getBoolBooleanAlternativeLiteralParserRuleCall_1_0()); - } - lv_bool_1_0=ruleBooleanAlternativeLiteral { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBooleanAlternativeRule()); - } - set( - $current, - "bool", - lv_bool_1_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternativeLiteral"); - afterParserOrEnumRuleCall(); - } - -) -)) +ruleBooleanAlternative returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#6' + { + newLeafNode(otherlv_0, grammarAccess.getBooleanAlternativeAccess().getNumberSignDigitSixKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getBooleanAlternativeAccess().getBoolBooleanAlternativeLiteralParserRuleCall_1_0()); + } + lv_bool_1_0=ruleBooleanAlternativeLiteral + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getBooleanAlternativeRule()); + } + set( + $current, + "bool", + lv_bool_1_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternativeLiteral"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) ; - - - - // Entry rule entryRuleBooleanAlternativeLiteral -entryRuleBooleanAlternativeLiteral returns [EObject current=null] - : +entryRuleBooleanAlternativeLiteral returns [EObject current=null]: { newCompositeNode(grammarAccess.getBooleanAlternativeLiteralRule()); } - iv_ruleBooleanAlternativeLiteral=ruleBooleanAlternativeLiteral - { $current=$iv_ruleBooleanAlternativeLiteral.current; } - EOF -; + iv_ruleBooleanAlternativeLiteral=ruleBooleanAlternativeLiteral + { $current=$iv_ruleBooleanAlternativeLiteral.current; } + EOF; // Rule BooleanAlternativeLiteral -ruleBooleanAlternativeLiteral returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getBooleanAlternativeLiteralAccess().getBooleanAlternativeLiteralAction_0(), - $current); - } -)( otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getBooleanAlternativeLiteralAccess().getKw1Keyword_1_0()); - } - - |( -( - lv_isTrue_2_0= 'kw2' - { - newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanAlternativeLiteralAccess().getIsTrueKw2Keyword_1_1_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getBooleanAlternativeLiteralRule()); - } - setWithLastConsumed($current, "isTrue", true, "kw2"); - } - -) -))) +ruleBooleanAlternativeLiteral returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getBooleanAlternativeLiteralAccess().getBooleanAlternativeLiteralAction_0(), + $current); + } + ) + ( + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getBooleanAlternativeLiteralAccess().getKw1Keyword_1_0()); + } + | + ( + ( + lv_isTrue_2_0='kw2' + { + newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanAlternativeLiteralAccess().getIsTrueKw2Keyword_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getBooleanAlternativeLiteralRule()); + } + setWithLastConsumed($current, "isTrue", true, "kw2"); + } + ) + ) + ) + ) ; - - - - // Entry rule entryRuleUnassignedDatatype -entryRuleUnassignedDatatype returns [EObject current=null] - : +entryRuleUnassignedDatatype returns [EObject current=null]: { newCompositeNode(grammarAccess.getUnassignedDatatypeRule()); } - iv_ruleUnassignedDatatype=ruleUnassignedDatatype - { $current=$iv_ruleUnassignedDatatype.current; } - EOF -; + iv_ruleUnassignedDatatype=ruleUnassignedDatatype + { $current=$iv_ruleUnassignedDatatype.current; } + EOF; // Rule UnassignedDatatype -ruleUnassignedDatatype returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#7' - { - newLeafNode(otherlv_0, grammarAccess.getUnassignedDatatypeAccess().getNumberSignDigitSevenKeyword_0()); - } -( -( - lv_val_1_0=RULE_ID +ruleUnassignedDatatype returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#7' { - newLeafNode(lv_val_1_0, grammarAccess.getUnassignedDatatypeAccess().getValIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getUnassignedDatatypeAccess().getNumberSignDigitSevenKeyword_0()); } + ( + ( + lv_val_1_0=RULE_ID + { + newLeafNode(lv_val_1_0, grammarAccess.getUnassignedDatatypeAccess().getValIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getUnassignedDatatypeRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) { - if ($current==null) { - $current = createModelElement(grammarAccess.getUnassignedDatatypeRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - { - newCompositeNode(grammarAccess.getUnassignedDatatypeAccess().getKW1ParserRuleCall_2()); - } -ruleKW1 - { - afterParserOrEnumRuleCall(); - } -) + newCompositeNode(grammarAccess.getUnassignedDatatypeAccess().getKW1ParserRuleCall_2()); + } + ruleKW1 + { + afterParserOrEnumRuleCall(); + } + ) ; - - - - // Entry rule entryRuleKW1 -entryRuleKW1 returns [String current=null] - : - { newCompositeNode(grammarAccess.getKW1Rule()); } - iv_ruleKW1=ruleKW1 - { $current=$iv_ruleKW1.current.getText(); } - EOF -; +entryRuleKW1 returns [String current=null]: + { newCompositeNode(grammarAccess.getKW1Rule()); } + iv_ruleKW1=ruleKW1 + { $current=$iv_ruleKW1.current.getText(); } + EOF; // Rule KW1 -ruleKW1 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( - kw='kw1' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getKW1Access().getKw1Keyword_0()); - } - - |( - kw='matched' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getKW1Access().getMatchedKeyword_1_0()); - } -( this_INT_2=RULE_INT { - $current.merge(this_INT_2); - } - - { - newLeafNode(this_INT_2, grammarAccess.getKW1Access().getINTTerminalRuleCall_1_1()); - } -)?)) - ; - - - - +ruleKW1 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + kw='kw1' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getKW1Access().getKw1Keyword_0()); + } + | + ( + kw='matched' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getKW1Access().getMatchedKeyword_1_0()); + } + ( + this_INT_2=RULE_INT + { + $current.merge(this_INT_2); + } + { + newLeafNode(this_INT_2, grammarAccess.getKW1Access().getINTTerminalRuleCall_1_1()); + } + )? + ) + ) +; // Entry rule entryRuleOptionalSingleTransition -entryRuleOptionalSingleTransition returns [EObject current=null] - : +entryRuleOptionalSingleTransition returns [EObject current=null]: { newCompositeNode(grammarAccess.getOptionalSingleTransitionRule()); } - iv_ruleOptionalSingleTransition=ruleOptionalSingleTransition - { $current=$iv_ruleOptionalSingleTransition.current; } - EOF -; + iv_ruleOptionalSingleTransition=ruleOptionalSingleTransition + { $current=$iv_ruleOptionalSingleTransition.current; } + EOF; // Rule OptionalSingleTransition -ruleOptionalSingleTransition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#8' - { - newLeafNode(otherlv_0, grammarAccess.getOptionalSingleTransitionAccess().getNumberSignDigitEightKeyword_0()); - } -( - { - newCompositeNode(grammarAccess.getOptionalSingleTransitionAccess().getKW1ParserRuleCall_1()); - } -ruleKW1 - { - afterParserOrEnumRuleCall(); - } -)?( -( - lv_val_2_0=RULE_ID +ruleOptionalSingleTransition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#8' { - newLeafNode(lv_val_2_0, grammarAccess.getOptionalSingleTransitionAccess().getValIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getOptionalSingleTransitionAccess().getNumberSignDigitEightKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOptionalSingleTransitionRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + { + newCompositeNode(grammarAccess.getOptionalSingleTransitionAccess().getKW1ParserRuleCall_1()); + } + ruleKW1 + { + afterParserOrEnumRuleCall(); + } + )? + ( + ( + lv_val_2_0=RULE_ID + { + newLeafNode(lv_val_2_0, grammarAccess.getOptionalSingleTransitionAccess().getValIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOptionalSingleTransitionRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleOptionalManyTransition -entryRuleOptionalManyTransition returns [EObject current=null] - : +entryRuleOptionalManyTransition returns [EObject current=null]: { newCompositeNode(grammarAccess.getOptionalManyTransitionRule()); } - iv_ruleOptionalManyTransition=ruleOptionalManyTransition - { $current=$iv_ruleOptionalManyTransition.current; } - EOF -; + iv_ruleOptionalManyTransition=ruleOptionalManyTransition + { $current=$iv_ruleOptionalManyTransition.current; } + EOF; // Rule OptionalManyTransition -ruleOptionalManyTransition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#9' - { - newLeafNode(otherlv_0, grammarAccess.getOptionalManyTransitionAccess().getNumberSignDigitNineKeyword_0()); - } -( - { - newCompositeNode(grammarAccess.getOptionalManyTransitionAccess().getKW1ParserRuleCall_1()); - } -ruleKW1 - { - afterParserOrEnumRuleCall(); - } -)*( -( - lv_val_2_0=RULE_ID +ruleOptionalManyTransition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#9' { - newLeafNode(lv_val_2_0, grammarAccess.getOptionalManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getOptionalManyTransitionAccess().getNumberSignDigitNineKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getOptionalManyTransitionRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + { + newCompositeNode(grammarAccess.getOptionalManyTransitionAccess().getKW1ParserRuleCall_1()); + } + ruleKW1 + { + afterParserOrEnumRuleCall(); + } + )* + ( + ( + lv_val_2_0=RULE_ID + { + newLeafNode(lv_val_2_0, grammarAccess.getOptionalManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOptionalManyTransitionRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleMandatoryManyTransition -entryRuleMandatoryManyTransition returns [EObject current=null] - : +entryRuleMandatoryManyTransition returns [EObject current=null]: { newCompositeNode(grammarAccess.getMandatoryManyTransitionRule()); } - iv_ruleMandatoryManyTransition=ruleMandatoryManyTransition - { $current=$iv_ruleMandatoryManyTransition.current; } - EOF -; + iv_ruleMandatoryManyTransition=ruleMandatoryManyTransition + { $current=$iv_ruleMandatoryManyTransition.current; } + EOF; // Rule MandatoryManyTransition -ruleMandatoryManyTransition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#10' - { - newLeafNode(otherlv_0, grammarAccess.getMandatoryManyTransitionAccess().getNumberSignDigitOneDigitZeroKeyword_0()); - } -( - { - newCompositeNode(grammarAccess.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1()); - } -ruleKW1 - { - afterParserOrEnumRuleCall(); - } -)+( -( - lv_val_2_0=RULE_ID +ruleMandatoryManyTransition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#10' { - newLeafNode(lv_val_2_0, grammarAccess.getMandatoryManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getMandatoryManyTransitionAccess().getNumberSignDigitOneDigitZeroKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getMandatoryManyTransitionRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + { + newCompositeNode(grammarAccess.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1()); + } + ruleKW1 + { + afterParserOrEnumRuleCall(); + } + )+ + ( + ( + lv_val_2_0=RULE_ID + { + newLeafNode(lv_val_2_0, grammarAccess.getMandatoryManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getMandatoryManyTransitionRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleAlternativeTransition -entryRuleAlternativeTransition returns [EObject current=null] - : +entryRuleAlternativeTransition returns [EObject current=null]: { newCompositeNode(grammarAccess.getAlternativeTransitionRule()); } - iv_ruleAlternativeTransition=ruleAlternativeTransition - { $current=$iv_ruleAlternativeTransition.current; } - EOF -; + iv_ruleAlternativeTransition=ruleAlternativeTransition + { $current=$iv_ruleAlternativeTransition.current; } + EOF; // Rule AlternativeTransition -ruleAlternativeTransition returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#11' - { - newLeafNode(otherlv_0, grammarAccess.getAlternativeTransitionAccess().getNumberSignDigitOneDigitOneKeyword_0()); - } -( - { - newCompositeNode(grammarAccess.getAlternativeTransitionAccess().getKW1ParserRuleCall_1_0()); - } -ruleKW1 - { - afterParserOrEnumRuleCall(); - } - - | otherlv_2='kw2' - { - newLeafNode(otherlv_2, grammarAccess.getAlternativeTransitionAccess().getKw2Keyword_1_1()); - } -)( -( - lv_val_3_0=RULE_ID +ruleAlternativeTransition returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#11' { - newLeafNode(lv_val_3_0, grammarAccess.getAlternativeTransitionAccess().getValIDTerminalRuleCall_2_0()); + newLeafNode(otherlv_0, grammarAccess.getAlternativeTransitionAccess().getNumberSignDigitOneDigitOneKeyword_0()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getAlternativeTransitionRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + { + newCompositeNode(grammarAccess.getAlternativeTransitionAccess().getKW1ParserRuleCall_1_0()); + } + ruleKW1 + { + afterParserOrEnumRuleCall(); + } + | + otherlv_2='kw2' + { + newLeafNode(otherlv_2, grammarAccess.getAlternativeTransitionAccess().getKw2Keyword_1_1()); + } + ) + ( + ( + lv_val_3_0=RULE_ID + { + newLeafNode(lv_val_3_0, grammarAccess.getAlternativeTransitionAccess().getValIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAlternativeTransitionRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Entry rule entryRuleBooleanDatatypeID -entryRuleBooleanDatatypeID returns [String current=null] - : - { newCompositeNode(grammarAccess.getBooleanDatatypeIDRule()); } - iv_ruleBooleanDatatypeID=ruleBooleanDatatypeID - { $current=$iv_ruleBooleanDatatypeID.current.getText(); } - EOF -; +entryRuleBooleanDatatypeID returns [String current=null]: + { newCompositeNode(grammarAccess.getBooleanDatatypeIDRule()); } + iv_ruleBooleanDatatypeID=ruleBooleanDatatypeID + { $current=$iv_ruleBooleanDatatypeID.current.getText(); } + EOF; // Rule BooleanDatatypeID -ruleBooleanDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: - this_ID_0=RULE_ID { +ruleBooleanDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + this_ID_0=RULE_ID + { $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getBooleanDatatypeIDAccess().getIDTerminalRuleCall()); - } - - ; - - - - + } + { + newLeafNode(this_ID_0, grammarAccess.getBooleanDatatypeIDAccess().getIDTerminalRuleCall()); + } +; // Entry rule entryRuleBooleanValues -entryRuleBooleanValues returns [EObject current=null] - : +entryRuleBooleanValues returns [EObject current=null]: { newCompositeNode(grammarAccess.getBooleanValuesRule()); } - iv_ruleBooleanValues=ruleBooleanValues - { $current=$iv_ruleBooleanValues.current; } - EOF -; + iv_ruleBooleanValues=ruleBooleanValues + { $current=$iv_ruleBooleanValues.current; } + EOF; // Rule BooleanValues -ruleBooleanValues returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -(( - { - $current = forceCreateModelElement( - grammarAccess.getBooleanValuesAccess().getBooleanValuesAction_0(), - $current); - } -) otherlv_1='#12' - { - newLeafNode(otherlv_1, grammarAccess.getBooleanValuesAccess().getNumberSignDigitOneDigitTwoKeyword_1()); - } -( -( - lv_val1_2_0= 'kw1' - { - newLeafNode(lv_val1_2_0, grammarAccess.getBooleanValuesAccess().getVal1Kw1Keyword_2_0()); - } - - { - if ($current==null) { - $current = createModelElement(grammarAccess.getBooleanValuesRule()); - } - setWithLastConsumed($current, "val1", true, "kw1"); - } - -) -)?( -( - lv_val2_3_0=RULE_BOOLEAN_TERMINAL_ID +ruleBooleanValues returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getBooleanValuesAccess().getBooleanValuesAction_0(), + $current); + } + ) + otherlv_1='#12' { - newLeafNode(lv_val2_3_0, grammarAccess.getBooleanValuesAccess().getVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0()); + newLeafNode(otherlv_1, grammarAccess.getBooleanValuesAccess().getNumberSignDigitOneDigitTwoKeyword_1()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getBooleanValuesRule()); - } - setWithLastConsumed( - $current, - "val2", - true, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BOOLEAN_TERMINAL_ID"); - } - -) -)?( -( - { - newCompositeNode(grammarAccess.getBooleanValuesAccess().getVal3BooleanDatatypeIDParserRuleCall_4_0()); - } - lv_val3_4_0=ruleBooleanDatatypeID { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getBooleanValuesRule()); - } - set( - $current, - "val3", - true, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanDatatypeID"); - afterParserOrEnumRuleCall(); - } - -) -)?) + ( + ( + lv_val1_2_0='kw1' + { + newLeafNode(lv_val1_2_0, grammarAccess.getBooleanValuesAccess().getVal1Kw1Keyword_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getBooleanValuesRule()); + } + setWithLastConsumed($current, "val1", true, "kw1"); + } + ) + )? + ( + ( + lv_val2_3_0=RULE_BOOLEAN_TERMINAL_ID + { + newLeafNode(lv_val2_3_0, grammarAccess.getBooleanValuesAccess().getVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getBooleanValuesRule()); + } + setWithLastConsumed( + $current, + "val2", + true, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BOOLEAN_TERMINAL_ID"); + } + ) + )? + ( + ( + { + newCompositeNode(grammarAccess.getBooleanValuesAccess().getVal3BooleanDatatypeIDParserRuleCall_4_0()); + } + lv_val3_4_0=ruleBooleanDatatypeID + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getBooleanValuesRule()); + } + set( + $current, + "val3", + true, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanDatatypeID"); + afterParserOrEnumRuleCall(); + } + ) + )? + ) ; - - - - // Entry rule entryRuleLongAlternative -entryRuleLongAlternative returns [EObject current=null] - : +entryRuleLongAlternative returns [EObject current=null]: { newCompositeNode(grammarAccess.getLongAlternativeRule()); } - iv_ruleLongAlternative=ruleLongAlternative - { $current=$iv_ruleLongAlternative.current; } - EOF -; + iv_ruleLongAlternative=ruleLongAlternative + { $current=$iv_ruleLongAlternative.current; } + EOF; // Rule LongAlternative -ruleLongAlternative returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#13' - { - newLeafNode(otherlv_0, grammarAccess.getLongAlternativeAccess().getNumberSignDigitOneDigitThreeKeyword_0()); - } -( -( - lv_foo_1_0=RULE_ID +ruleLongAlternative returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#13' { - newLeafNode(lv_foo_1_0, grammarAccess.getLongAlternativeAccess().getFooIDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getLongAlternativeAccess().getNumberSignDigitOneDigitThreeKeyword_0()); } + ( + ( + lv_foo_1_0=RULE_ID + { + newLeafNode(lv_foo_1_0, grammarAccess.getLongAlternativeAccess().getFooIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + setWithLastConsumed( + $current, + "foo", + lv_foo_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + otherlv_2='kw1' + { + newLeafNode(otherlv_2, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()); + } + ( + ( + lv_val1_3_0=RULE_ID + { + newLeafNode(lv_val1_3_0, grammarAccess.getLongAlternativeAccess().getVal1IDTerminalRuleCall_2_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_4='kw2' + { + newLeafNode(otherlv_4, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()); + } + ( + ( + lv_val2_5_0=RULE_ID + { + newLeafNode(lv_val2_5_0, grammarAccess.getLongAlternativeAccess().getVal2IDTerminalRuleCall_2_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val2", + lv_val2_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_6='kw3' + { + newLeafNode(otherlv_6, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()); + } + ( + ( + lv_val3_7_0=RULE_ID + { + newLeafNode(lv_val3_7_0, grammarAccess.getLongAlternativeAccess().getVal3IDTerminalRuleCall_2_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_8='kw4' + { + newLeafNode(otherlv_8, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()); + } + ( + ( + lv_val4_9_0=RULE_ID + { + newLeafNode(lv_val4_9_0, grammarAccess.getLongAlternativeAccess().getVal4IDTerminalRuleCall_2_3_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val4", + lv_val4_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_10='kw5' + { + newLeafNode(otherlv_10, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()); + } + ( + ( + lv_val5_11_0=RULE_ID + { + newLeafNode(lv_val5_11_0, grammarAccess.getLongAlternativeAccess().getVal5IDTerminalRuleCall_2_4_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val5", + lv_val5_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_12='kw6' + { + newLeafNode(otherlv_12, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()); + } + ( + ( + lv_val6_13_0=RULE_ID + { + newLeafNode(lv_val6_13_0, grammarAccess.getLongAlternativeAccess().getVal6IDTerminalRuleCall_2_5_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val6", + lv_val6_13_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_14='kw7' + { + newLeafNode(otherlv_14, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()); + } + ( + ( + lv_val7_15_0=RULE_ID + { + newLeafNode(lv_val7_15_0, grammarAccess.getLongAlternativeAccess().getVal7IDTerminalRuleCall_2_6_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val7", + lv_val7_15_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + | + ( + otherlv_16='kw8' + { + newLeafNode(otherlv_16, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0()); + } + ( + ( + lv_val8_17_0=RULE_ID + { + newLeafNode(lv_val8_17_0, grammarAccess.getLongAlternativeAccess().getVal8IDTerminalRuleCall_2_7_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + $current, + "val8", + lv_val8_17_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + )? + ) + )* + otherlv_18='!' { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - setWithLastConsumed( - $current, - "foo", - lv_foo_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)(( otherlv_2='kw1' - { - newLeafNode(otherlv_2, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()); - } -( -( - lv_val1_3_0=RULE_ID - { - newLeafNode(lv_val1_3_0, grammarAccess.getLongAlternativeAccess().getVal1IDTerminalRuleCall_2_0_1_0()); + newLeafNode(otherlv_18, grammarAccess.getLongAlternativeAccess().getExclamationMarkKeyword_3()); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()); - } -( -( - lv_val2_5_0=RULE_ID - { - newLeafNode(lv_val2_5_0, grammarAccess.getLongAlternativeAccess().getVal2IDTerminalRuleCall_2_1_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val2", - lv_val2_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_6='kw3' - { - newLeafNode(otherlv_6, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()); - } -( -( - lv_val3_7_0=RULE_ID - { - newLeafNode(lv_val3_7_0, grammarAccess.getLongAlternativeAccess().getVal3IDTerminalRuleCall_2_2_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_8='kw4' - { - newLeafNode(otherlv_8, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()); - } -( -( - lv_val4_9_0=RULE_ID - { - newLeafNode(lv_val4_9_0, grammarAccess.getLongAlternativeAccess().getVal4IDTerminalRuleCall_2_3_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val4", - lv_val4_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_10='kw5' - { - newLeafNode(otherlv_10, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()); - } -( -( - lv_val5_11_0=RULE_ID - { - newLeafNode(lv_val5_11_0, grammarAccess.getLongAlternativeAccess().getVal5IDTerminalRuleCall_2_4_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val5", - lv_val5_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_12='kw6' - { - newLeafNode(otherlv_12, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()); - } -( -( - lv_val6_13_0=RULE_ID - { - newLeafNode(lv_val6_13_0, grammarAccess.getLongAlternativeAccess().getVal6IDTerminalRuleCall_2_5_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val6", - lv_val6_13_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_14='kw7' - { - newLeafNode(otherlv_14, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()); - } -( -( - lv_val7_15_0=RULE_ID - { - newLeafNode(lv_val7_15_0, grammarAccess.getLongAlternativeAccess().getVal7IDTerminalRuleCall_2_6_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val7", - lv_val7_15_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?) - |( otherlv_16='kw8' - { - newLeafNode(otherlv_16, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0()); - } -( -( - lv_val8_17_0=RULE_ID - { - newLeafNode(lv_val8_17_0, grammarAccess.getLongAlternativeAccess().getVal8IDTerminalRuleCall_2_7_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - $current, - "val8", - lv_val8_17_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)?))* otherlv_18='!' - { - newLeafNode(otherlv_18, grammarAccess.getLongAlternativeAccess().getExclamationMarkKeyword_3()); - } -) + ) ; - - - - // Entry rule entryRuleActionOnly -entryRuleActionOnly returns [EObject current=null] - : +entryRuleActionOnly returns [EObject current=null]: { newCompositeNode(grammarAccess.getActionOnlyRule()); } - iv_ruleActionOnly=ruleActionOnly - { $current=$iv_ruleActionOnly.current; } - EOF -; + iv_ruleActionOnly=ruleActionOnly + { $current=$iv_ruleActionOnly.current; } + EOF; // Rule ActionOnly -ruleActionOnly returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#14' - { - newLeafNode(otherlv_0, grammarAccess.getActionOnlyAccess().getNumberSignDigitOneDigitFourKeyword_0()); - } -( otherlv_1='kw1' - { - newLeafNode(otherlv_1, grammarAccess.getActionOnlyAccess().getKw1Keyword_1()); - } -)?(( RULE_ID)=>this_ID_2=RULE_ID - { - newLeafNode(this_ID_2, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_2()); - } -)?( - { - $current = forceCreateModelElement( - grammarAccess.getActionOnlyAccess().getActionOnlyAction_3(), - $current); - } -)( otherlv_4='kw2' - { - newLeafNode(otherlv_4, grammarAccess.getActionOnlyAccess().getKw2Keyword_4()); - } -)?(this_ID_5=RULE_ID - { - newLeafNode(this_ID_5, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_5()); - } -)?) +ruleActionOnly returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#14' + { + newLeafNode(otherlv_0, grammarAccess.getActionOnlyAccess().getNumberSignDigitOneDigitFourKeyword_0()); + } + ( + otherlv_1='kw1' + { + newLeafNode(otherlv_1, grammarAccess.getActionOnlyAccess().getKw1Keyword_1()); + } + )? + ( + (RULE_ID)=> + this_ID_2=RULE_ID + { + newLeafNode(this_ID_2, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_2()); + } + )? + ( + { + $current = forceCreateModelElement( + grammarAccess.getActionOnlyAccess().getActionOnlyAction_3(), + $current); + } + ) + ( + otherlv_4='kw2' + { + newLeafNode(otherlv_4, grammarAccess.getActionOnlyAccess().getKw2Keyword_4()); + } + )? + ( + this_ID_5=RULE_ID + { + newLeafNode(this_ID_5, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_5()); + } + )? + ) ; - - - - // Entry rule entryRuleFragmentCaller -entryRuleFragmentCaller returns [EObject current=null] - : +entryRuleFragmentCaller returns [EObject current=null]: { newCompositeNode(grammarAccess.getFragmentCallerRule()); } - iv_ruleFragmentCaller=ruleFragmentCaller - { $current=$iv_ruleFragmentCaller.current; } - EOF -; + iv_ruleFragmentCaller=ruleFragmentCaller + { $current=$iv_ruleFragmentCaller.current; } + EOF; // Rule FragmentCaller -ruleFragmentCaller returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='#15' - { - newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitOneDigitFiveKeyword_0()); - } -( -( - lv_val1_1_0=RULE_ID +ruleFragmentCaller returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='#15' { - newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitOneDigitFiveKeyword_0()); } + ( + ( + lv_val1_1_0=RULE_ID + { + newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + $current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - $current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); } - newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - } - this_Fragment1_2=ruleFragment1[$current] - { - $current = $this_Fragment1_2.current; - afterParserOrEnumRuleCall(); - } -( -( - lv_val_3_0=RULE_ID + this_Fragment1_2=ruleFragment1[$current] { - newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + $current = $this_Fragment1_2.current; + afterParserOrEnumRuleCall(); } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - $current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -)) + ( + ( + lv_val_3_0=RULE_ID + { + newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + $current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ) ; - - - - // Rule Fragment1 -ruleFragment1 [EObject in_current] returns [EObject current=in_current] - @init { enterRule(); - } - @after { leaveRule(); }: -( -( - lv_fragVal_0_0=RULE_ID - { - newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getFragment1Rule()); - } - setWithLastConsumed( - $current, - "fragVal", - lv_fragVal_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - } - -) -) +ruleFragment1[EObject in_current] returns [EObject current=in_current] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_fragVal_0_0=RULE_ID + { + newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFragment1Rule()); + } + setWithLastConsumed( + $current, + "fragVal", + lv_fragVal_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) ; - - - - RULE_TERMINAL_ID : '$1' RULE_ID; RULE_BOOLEAN_TERMINAL_ID : '%1' RULE_ID; @@ -2026,5 +2040,3 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; RULE_WS : (' '|'\t'|'\r'|'\n')+; RULE_ANY_OTHER : .; - - diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageLexer.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageLexer.java index a033bd025..d1ff194df 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageLexer.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageLexer.java @@ -674,8 +674,8 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_TERMINAL_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2012:18: ( '$1' RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:2012:20: '$1' RULE_ID + // InternalSyntacticSequencerTestLanguage.g:2026:18: ( '$1' RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:2026:20: '$1' RULE_ID { match("$1"); @@ -696,8 +696,8 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_BOOLEAN_TERMINAL_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2014:26: ( '%1' RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:2014:28: '%1' RULE_ID + // InternalSyntacticSequencerTestLanguage.g:2028:26: ( '%1' RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:2028:28: '%1' RULE_ID { match("%1"); @@ -718,10 +718,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2016:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalSyntacticSequencerTestLanguage.g:2016:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSyntacticSequencerTestLanguage.g:2030:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalSyntacticSequencerTestLanguage.g:2030:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalSyntacticSequencerTestLanguage.g:2016:11: ( '^' )? + // InternalSyntacticSequencerTestLanguage.g:2030:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -730,7 +730,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } switch (alt1) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2016:11: '^' + // InternalSyntacticSequencerTestLanguage.g:2030:11: '^' { match('^'); @@ -748,7 +748,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { recover(mse); throw mse;} - // InternalSyntacticSequencerTestLanguage.g:2016:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalSyntacticSequencerTestLanguage.g:2030:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -797,10 +797,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2018:10: ( ( '0' .. '9' )+ ) - // InternalSyntacticSequencerTestLanguage.g:2018:12: ( '0' .. '9' )+ + // InternalSyntacticSequencerTestLanguage.g:2032:10: ( ( '0' .. '9' )+ ) + // InternalSyntacticSequencerTestLanguage.g:2032:12: ( '0' .. '9' )+ { - // InternalSyntacticSequencerTestLanguage.g:2018:12: ( '0' .. '9' )+ + // InternalSyntacticSequencerTestLanguage.g:2032:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -814,7 +814,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { switch (alt3) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2018:13: '0' .. '9' + // InternalSyntacticSequencerTestLanguage.g:2032:13: '0' .. '9' { matchRange('0','9'); @@ -846,10 +846,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2020:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalSyntacticSequencerTestLanguage.g:2020:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSyntacticSequencerTestLanguage.g:2034:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalSyntacticSequencerTestLanguage.g:2034:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalSyntacticSequencerTestLanguage.g:2020:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalSyntacticSequencerTestLanguage.g:2034:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -867,10 +867,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } switch (alt6) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2020:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalSyntacticSequencerTestLanguage.g:2034:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalSyntacticSequencerTestLanguage.g:2020:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalSyntacticSequencerTestLanguage.g:2034:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -886,7 +886,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { switch (alt4) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2020:21: '\\\\' . + // InternalSyntacticSequencerTestLanguage.g:2034:21: '\\\\' . { match('\\'); matchAny(); @@ -894,7 +894,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:2020:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalSyntacticSequencerTestLanguage.g:2034:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -919,10 +919,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:2020:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalSyntacticSequencerTestLanguage.g:2034:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalSyntacticSequencerTestLanguage.g:2020:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalSyntacticSequencerTestLanguage.g:2034:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -938,7 +938,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { switch (alt5) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2020:54: '\\\\' . + // InternalSyntacticSequencerTestLanguage.g:2034:54: '\\\\' . { match('\\'); matchAny(); @@ -946,7 +946,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:2020:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalSyntacticSequencerTestLanguage.g:2034:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -989,12 +989,12 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2022:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalSyntacticSequencerTestLanguage.g:2022:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalSyntacticSequencerTestLanguage.g:2036:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalSyntacticSequencerTestLanguage.g:2036:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalSyntacticSequencerTestLanguage.g:2022:24: ( options {greedy=false; } : . )* + // InternalSyntacticSequencerTestLanguage.g:2036:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1019,7 +1019,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { switch (alt7) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2022:52: . + // InternalSyntacticSequencerTestLanguage.g:2036:52: . { matchAny(); @@ -1049,12 +1049,12 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2024:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalSyntacticSequencerTestLanguage.g:2024:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalSyntacticSequencerTestLanguage.g:2038:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalSyntacticSequencerTestLanguage.g:2038:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalSyntacticSequencerTestLanguage.g:2024:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalSyntacticSequencerTestLanguage.g:2038:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1067,7 +1067,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { switch (alt8) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2024:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalSyntacticSequencerTestLanguage.g:2038:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1087,7 +1087,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } } while (true); - // InternalSyntacticSequencerTestLanguage.g:2024:40: ( ( '\\r' )? '\\n' )? + // InternalSyntacticSequencerTestLanguage.g:2038:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1096,9 +1096,9 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } switch (alt10) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2024:41: ( '\\r' )? '\\n' + // InternalSyntacticSequencerTestLanguage.g:2038:41: ( '\\r' )? '\\n' { - // InternalSyntacticSequencerTestLanguage.g:2024:41: ( '\\r' )? + // InternalSyntacticSequencerTestLanguage.g:2038:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1107,7 +1107,7 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { } switch (alt9) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:2024:41: '\\r' + // InternalSyntacticSequencerTestLanguage.g:2038:41: '\\r' { match('\r'); @@ -1139,10 +1139,10 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2026:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalSyntacticSequencerTestLanguage.g:2026:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSyntacticSequencerTestLanguage.g:2040:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalSyntacticSequencerTestLanguage.g:2040:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalSyntacticSequencerTestLanguage.g:2026:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalSyntacticSequencerTestLanguage.g:2040:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1196,8 +1196,8 @@ public class InternalSyntacticSequencerTestLanguageLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalSyntacticSequencerTestLanguage.g:2028:16: ( . ) - // InternalSyntacticSequencerTestLanguage.g:2028:18: . + // InternalSyntacticSequencerTestLanguage.g:2042:16: ( . ) + // InternalSyntacticSequencerTestLanguage.g:2042:18: . { matchAny(); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageParser.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageParser.java index a08dfda89..19546bc1e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageParser.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/parser/antlr/internal/InternalSyntacticSequencerTestLanguageParser.java @@ -1,4 +1,4 @@ -package org.eclipse.xtext.serializer.parser.antlr.internal; +package org.eclipse.xtext.serializer.parser.antlr.internal; import org.eclipse.xtext.*; import org.eclipse.xtext.parser.*; @@ -83,18 +83,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern private SyntacticSequencerTestLanguageGrammarAccess grammarAccess; - + public InternalSyntacticSequencerTestLanguageParser(TokenStream input, SyntacticSequencerTestLanguageGrammarAccess grammarAccess) { this(input); this.grammarAccess = grammarAccess; registerRules(grammarAccess.getGrammar()); } - + @Override protected String getFirstRuleName() { - return "Model"; + return "Model"; } - + @Override protected SyntacticSequencerTestLanguageGrammarAccess getGrammarAccess() { return grammarAccess; @@ -102,8 +102,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern + // $ANTLR start "entryRuleModel" - // InternalSyntacticSequencerTestLanguage.g:67:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; + // InternalSyntacticSequencerTestLanguage.g:64:1: entryRuleModel returns [EObject current=null] : iv_ruleModel= ruleModel EOF ; public final EObject entryRuleModel() throws RecognitionException { EObject current = null; @@ -111,8 +112,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:68:2: (iv_ruleModel= ruleModel EOF ) - // InternalSyntacticSequencerTestLanguage.g:69:2: iv_ruleModel= ruleModel EOF + // InternalSyntacticSequencerTestLanguage.g:64:46: (iv_ruleModel= ruleModel EOF ) + // InternalSyntacticSequencerTestLanguage.g:65:2: iv_ruleModel= ruleModel EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getModelRule()); @@ -130,11 +131,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -143,7 +144,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleModel" - // InternalSyntacticSequencerTestLanguage.g:76:1: ruleModel returns [EObject current=null] : ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:71:1: ruleModel returns [EObject current=null] : ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) ; public final EObject ruleModel() throws RecognitionException { EObject current = null; @@ -178,13 +179,14 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_x15_14_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:79:28: ( ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:80:1: ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) + // InternalSyntacticSequencerTestLanguage.g:77:2: ( ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:78:2: ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:80:1: ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) + // InternalSyntacticSequencerTestLanguage.g:78:2: ( ( (lv_x1_0_0= ruleMandatoryKeywords ) ) | ( (lv_x2_1_0= ruleExp0 ) ) | ( (lv_x3_2_0= ruleExp1 ) ) | ( (lv_x4_3_0= ruleExp2 ) ) | ( (lv_x5_4_0= ruleSingleCrossReference ) ) | ( (lv_x6_5_0= ruleBooleanAlternative ) ) | ( (lv_x7_6_0= ruleUnassignedDatatype ) ) | ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) | ( (lv_x9_8_0= ruleOptionalManyTransition ) ) | ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) | ( (lv_x11_10_0= ruleAlternativeTransition ) ) | ( (lv_x12_11_0= ruleBooleanValues ) ) | ( (lv_x13_12_0= ruleLongAlternative ) ) | ( (lv_x14_13_0= ruleActionOnly ) ) | ( (lv_x15_14_0= ruleFragmentCaller ) ) ) int alt1=15; switch ( input.LA(1) ) { case 13: @@ -272,18 +274,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt1) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:80:2: ( (lv_x1_0_0= ruleMandatoryKeywords ) ) + // InternalSyntacticSequencerTestLanguage.g:79:3: ( (lv_x1_0_0= ruleMandatoryKeywords ) ) { - // InternalSyntacticSequencerTestLanguage.g:80:2: ( (lv_x1_0_0= ruleMandatoryKeywords ) ) - // InternalSyntacticSequencerTestLanguage.g:81:1: (lv_x1_0_0= ruleMandatoryKeywords ) + // InternalSyntacticSequencerTestLanguage.g:79:3: ( (lv_x1_0_0= ruleMandatoryKeywords ) ) + // InternalSyntacticSequencerTestLanguage.g:80:4: (lv_x1_0_0= ruleMandatoryKeywords ) { - // InternalSyntacticSequencerTestLanguage.g:81:1: (lv_x1_0_0= ruleMandatoryKeywords ) - // InternalSyntacticSequencerTestLanguage.g:82:3: lv_x1_0_0= ruleMandatoryKeywords + // InternalSyntacticSequencerTestLanguage.g:80:4: (lv_x1_0_0= ruleMandatoryKeywords ) + // InternalSyntacticSequencerTestLanguage.g:81:5: lv_x1_0_0= ruleMandatoryKeywords { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX1MandatoryKeywordsParserRuleCall_0_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX1MandatoryKeywordsParserRuleCall_0_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x1_0_0=ruleMandatoryKeywords(); @@ -292,16 +294,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x1", - lv_x1_0_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x1", + lv_x1_0_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords"); + afterParserOrEnumRuleCall(); + } } @@ -313,18 +315,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:99:6: ( (lv_x2_1_0= ruleExp0 ) ) + // InternalSyntacticSequencerTestLanguage.g:99:3: ( (lv_x2_1_0= ruleExp0 ) ) { - // InternalSyntacticSequencerTestLanguage.g:99:6: ( (lv_x2_1_0= ruleExp0 ) ) - // InternalSyntacticSequencerTestLanguage.g:100:1: (lv_x2_1_0= ruleExp0 ) + // InternalSyntacticSequencerTestLanguage.g:99:3: ( (lv_x2_1_0= ruleExp0 ) ) + // InternalSyntacticSequencerTestLanguage.g:100:4: (lv_x2_1_0= ruleExp0 ) { - // InternalSyntacticSequencerTestLanguage.g:100:1: (lv_x2_1_0= ruleExp0 ) - // InternalSyntacticSequencerTestLanguage.g:101:3: lv_x2_1_0= ruleExp0 + // InternalSyntacticSequencerTestLanguage.g:100:4: (lv_x2_1_0= ruleExp0 ) + // InternalSyntacticSequencerTestLanguage.g:101:5: lv_x2_1_0= ruleExp0 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX2Exp0ParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX2Exp0ParserRuleCall_1_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x2_1_0=ruleExp0(); @@ -333,16 +335,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x2", - lv_x2_1_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp0"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x2", + lv_x2_1_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp0"); + afterParserOrEnumRuleCall(); + } } @@ -354,18 +356,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 3 : - // InternalSyntacticSequencerTestLanguage.g:118:6: ( (lv_x3_2_0= ruleExp1 ) ) + // InternalSyntacticSequencerTestLanguage.g:119:3: ( (lv_x3_2_0= ruleExp1 ) ) { - // InternalSyntacticSequencerTestLanguage.g:118:6: ( (lv_x3_2_0= ruleExp1 ) ) - // InternalSyntacticSequencerTestLanguage.g:119:1: (lv_x3_2_0= ruleExp1 ) + // InternalSyntacticSequencerTestLanguage.g:119:3: ( (lv_x3_2_0= ruleExp1 ) ) + // InternalSyntacticSequencerTestLanguage.g:120:4: (lv_x3_2_0= ruleExp1 ) { - // InternalSyntacticSequencerTestLanguage.g:119:1: (lv_x3_2_0= ruleExp1 ) - // InternalSyntacticSequencerTestLanguage.g:120:3: lv_x3_2_0= ruleExp1 + // InternalSyntacticSequencerTestLanguage.g:120:4: (lv_x3_2_0= ruleExp1 ) + // InternalSyntacticSequencerTestLanguage.g:121:5: lv_x3_2_0= ruleExp1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX3Exp1ParserRuleCall_2_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX3Exp1ParserRuleCall_2_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x3_2_0=ruleExp1(); @@ -374,16 +376,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x3", - lv_x3_2_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x3", + lv_x3_2_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp1"); + afterParserOrEnumRuleCall(); + } } @@ -395,18 +397,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 4 : - // InternalSyntacticSequencerTestLanguage.g:137:6: ( (lv_x4_3_0= ruleExp2 ) ) + // InternalSyntacticSequencerTestLanguage.g:139:3: ( (lv_x4_3_0= ruleExp2 ) ) { - // InternalSyntacticSequencerTestLanguage.g:137:6: ( (lv_x4_3_0= ruleExp2 ) ) - // InternalSyntacticSequencerTestLanguage.g:138:1: (lv_x4_3_0= ruleExp2 ) + // InternalSyntacticSequencerTestLanguage.g:139:3: ( (lv_x4_3_0= ruleExp2 ) ) + // InternalSyntacticSequencerTestLanguage.g:140:4: (lv_x4_3_0= ruleExp2 ) { - // InternalSyntacticSequencerTestLanguage.g:138:1: (lv_x4_3_0= ruleExp2 ) - // InternalSyntacticSequencerTestLanguage.g:139:3: lv_x4_3_0= ruleExp2 + // InternalSyntacticSequencerTestLanguage.g:140:4: (lv_x4_3_0= ruleExp2 ) + // InternalSyntacticSequencerTestLanguage.g:141:5: lv_x4_3_0= ruleExp2 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX4Exp2ParserRuleCall_3_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX4Exp2ParserRuleCall_3_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x4_3_0=ruleExp2(); @@ -415,16 +417,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x4", - lv_x4_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x4", + lv_x4_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp2"); + afterParserOrEnumRuleCall(); + } } @@ -436,18 +438,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 5 : - // InternalSyntacticSequencerTestLanguage.g:156:6: ( (lv_x5_4_0= ruleSingleCrossReference ) ) + // InternalSyntacticSequencerTestLanguage.g:159:3: ( (lv_x5_4_0= ruleSingleCrossReference ) ) { - // InternalSyntacticSequencerTestLanguage.g:156:6: ( (lv_x5_4_0= ruleSingleCrossReference ) ) - // InternalSyntacticSequencerTestLanguage.g:157:1: (lv_x5_4_0= ruleSingleCrossReference ) + // InternalSyntacticSequencerTestLanguage.g:159:3: ( (lv_x5_4_0= ruleSingleCrossReference ) ) + // InternalSyntacticSequencerTestLanguage.g:160:4: (lv_x5_4_0= ruleSingleCrossReference ) { - // InternalSyntacticSequencerTestLanguage.g:157:1: (lv_x5_4_0= ruleSingleCrossReference ) - // InternalSyntacticSequencerTestLanguage.g:158:3: lv_x5_4_0= ruleSingleCrossReference + // InternalSyntacticSequencerTestLanguage.g:160:4: (lv_x5_4_0= ruleSingleCrossReference ) + // InternalSyntacticSequencerTestLanguage.g:161:5: lv_x5_4_0= ruleSingleCrossReference { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX5SingleCrossReferenceParserRuleCall_4_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX5SingleCrossReferenceParserRuleCall_4_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x5_4_0=ruleSingleCrossReference(); @@ -456,16 +458,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x5", - lv_x5_4_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.SingleCrossReference"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x5", + lv_x5_4_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.SingleCrossReference"); + afterParserOrEnumRuleCall(); + } } @@ -477,18 +479,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 6 : - // InternalSyntacticSequencerTestLanguage.g:175:6: ( (lv_x6_5_0= ruleBooleanAlternative ) ) + // InternalSyntacticSequencerTestLanguage.g:179:3: ( (lv_x6_5_0= ruleBooleanAlternative ) ) { - // InternalSyntacticSequencerTestLanguage.g:175:6: ( (lv_x6_5_0= ruleBooleanAlternative ) ) - // InternalSyntacticSequencerTestLanguage.g:176:1: (lv_x6_5_0= ruleBooleanAlternative ) + // InternalSyntacticSequencerTestLanguage.g:179:3: ( (lv_x6_5_0= ruleBooleanAlternative ) ) + // InternalSyntacticSequencerTestLanguage.g:180:4: (lv_x6_5_0= ruleBooleanAlternative ) { - // InternalSyntacticSequencerTestLanguage.g:176:1: (lv_x6_5_0= ruleBooleanAlternative ) - // InternalSyntacticSequencerTestLanguage.g:177:3: lv_x6_5_0= ruleBooleanAlternative + // InternalSyntacticSequencerTestLanguage.g:180:4: (lv_x6_5_0= ruleBooleanAlternative ) + // InternalSyntacticSequencerTestLanguage.g:181:5: lv_x6_5_0= ruleBooleanAlternative { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX6BooleanAlternativeParserRuleCall_5_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX6BooleanAlternativeParserRuleCall_5_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x6_5_0=ruleBooleanAlternative(); @@ -497,16 +499,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x6", - lv_x6_5_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternative"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x6", + lv_x6_5_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternative"); + afterParserOrEnumRuleCall(); + } } @@ -518,18 +520,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 7 : - // InternalSyntacticSequencerTestLanguage.g:194:6: ( (lv_x7_6_0= ruleUnassignedDatatype ) ) + // InternalSyntacticSequencerTestLanguage.g:199:3: ( (lv_x7_6_0= ruleUnassignedDatatype ) ) { - // InternalSyntacticSequencerTestLanguage.g:194:6: ( (lv_x7_6_0= ruleUnassignedDatatype ) ) - // InternalSyntacticSequencerTestLanguage.g:195:1: (lv_x7_6_0= ruleUnassignedDatatype ) + // InternalSyntacticSequencerTestLanguage.g:199:3: ( (lv_x7_6_0= ruleUnassignedDatatype ) ) + // InternalSyntacticSequencerTestLanguage.g:200:4: (lv_x7_6_0= ruleUnassignedDatatype ) { - // InternalSyntacticSequencerTestLanguage.g:195:1: (lv_x7_6_0= ruleUnassignedDatatype ) - // InternalSyntacticSequencerTestLanguage.g:196:3: lv_x7_6_0= ruleUnassignedDatatype + // InternalSyntacticSequencerTestLanguage.g:200:4: (lv_x7_6_0= ruleUnassignedDatatype ) + // InternalSyntacticSequencerTestLanguage.g:201:5: lv_x7_6_0= ruleUnassignedDatatype { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX7UnassignedDatatypeParserRuleCall_6_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX7UnassignedDatatypeParserRuleCall_6_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x7_6_0=ruleUnassignedDatatype(); @@ -538,16 +540,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x7", - lv_x7_6_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.UnassignedDatatype"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x7", + lv_x7_6_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.UnassignedDatatype"); + afterParserOrEnumRuleCall(); + } } @@ -559,18 +561,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 8 : - // InternalSyntacticSequencerTestLanguage.g:213:6: ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:219:3: ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) { - // InternalSyntacticSequencerTestLanguage.g:213:6: ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) - // InternalSyntacticSequencerTestLanguage.g:214:1: (lv_x8_7_0= ruleOptionalSingleTransition ) + // InternalSyntacticSequencerTestLanguage.g:219:3: ( (lv_x8_7_0= ruleOptionalSingleTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:220:4: (lv_x8_7_0= ruleOptionalSingleTransition ) { - // InternalSyntacticSequencerTestLanguage.g:214:1: (lv_x8_7_0= ruleOptionalSingleTransition ) - // InternalSyntacticSequencerTestLanguage.g:215:3: lv_x8_7_0= ruleOptionalSingleTransition + // InternalSyntacticSequencerTestLanguage.g:220:4: (lv_x8_7_0= ruleOptionalSingleTransition ) + // InternalSyntacticSequencerTestLanguage.g:221:5: lv_x8_7_0= ruleOptionalSingleTransition { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX8OptionalSingleTransitionParserRuleCall_7_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX8OptionalSingleTransitionParserRuleCall_7_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x8_7_0=ruleOptionalSingleTransition(); @@ -579,16 +581,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x8", - lv_x8_7_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalSingleTransition"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x8", + lv_x8_7_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalSingleTransition"); + afterParserOrEnumRuleCall(); + } } @@ -600,18 +602,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 9 : - // InternalSyntacticSequencerTestLanguage.g:232:6: ( (lv_x9_8_0= ruleOptionalManyTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:239:3: ( (lv_x9_8_0= ruleOptionalManyTransition ) ) { - // InternalSyntacticSequencerTestLanguage.g:232:6: ( (lv_x9_8_0= ruleOptionalManyTransition ) ) - // InternalSyntacticSequencerTestLanguage.g:233:1: (lv_x9_8_0= ruleOptionalManyTransition ) + // InternalSyntacticSequencerTestLanguage.g:239:3: ( (lv_x9_8_0= ruleOptionalManyTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:240:4: (lv_x9_8_0= ruleOptionalManyTransition ) { - // InternalSyntacticSequencerTestLanguage.g:233:1: (lv_x9_8_0= ruleOptionalManyTransition ) - // InternalSyntacticSequencerTestLanguage.g:234:3: lv_x9_8_0= ruleOptionalManyTransition + // InternalSyntacticSequencerTestLanguage.g:240:4: (lv_x9_8_0= ruleOptionalManyTransition ) + // InternalSyntacticSequencerTestLanguage.g:241:5: lv_x9_8_0= ruleOptionalManyTransition { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX9OptionalManyTransitionParserRuleCall_8_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX9OptionalManyTransitionParserRuleCall_8_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x9_8_0=ruleOptionalManyTransition(); @@ -620,16 +622,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x9", - lv_x9_8_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalManyTransition"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x9", + lv_x9_8_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalManyTransition"); + afterParserOrEnumRuleCall(); + } } @@ -641,18 +643,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 10 : - // InternalSyntacticSequencerTestLanguage.g:251:6: ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:259:3: ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) { - // InternalSyntacticSequencerTestLanguage.g:251:6: ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) - // InternalSyntacticSequencerTestLanguage.g:252:1: (lv_x10_9_0= ruleMandatoryManyTransition ) + // InternalSyntacticSequencerTestLanguage.g:259:3: ( (lv_x10_9_0= ruleMandatoryManyTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:260:4: (lv_x10_9_0= ruleMandatoryManyTransition ) { - // InternalSyntacticSequencerTestLanguage.g:252:1: (lv_x10_9_0= ruleMandatoryManyTransition ) - // InternalSyntacticSequencerTestLanguage.g:253:3: lv_x10_9_0= ruleMandatoryManyTransition + // InternalSyntacticSequencerTestLanguage.g:260:4: (lv_x10_9_0= ruleMandatoryManyTransition ) + // InternalSyntacticSequencerTestLanguage.g:261:5: lv_x10_9_0= ruleMandatoryManyTransition { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX10MandatoryManyTransitionParserRuleCall_9_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX10MandatoryManyTransitionParserRuleCall_9_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x10_9_0=ruleMandatoryManyTransition(); @@ -661,16 +663,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x10", - lv_x10_9_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryManyTransition"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x10", + lv_x10_9_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryManyTransition"); + afterParserOrEnumRuleCall(); + } } @@ -682,18 +684,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 11 : - // InternalSyntacticSequencerTestLanguage.g:270:6: ( (lv_x11_10_0= ruleAlternativeTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:279:3: ( (lv_x11_10_0= ruleAlternativeTransition ) ) { - // InternalSyntacticSequencerTestLanguage.g:270:6: ( (lv_x11_10_0= ruleAlternativeTransition ) ) - // InternalSyntacticSequencerTestLanguage.g:271:1: (lv_x11_10_0= ruleAlternativeTransition ) + // InternalSyntacticSequencerTestLanguage.g:279:3: ( (lv_x11_10_0= ruleAlternativeTransition ) ) + // InternalSyntacticSequencerTestLanguage.g:280:4: (lv_x11_10_0= ruleAlternativeTransition ) { - // InternalSyntacticSequencerTestLanguage.g:271:1: (lv_x11_10_0= ruleAlternativeTransition ) - // InternalSyntacticSequencerTestLanguage.g:272:3: lv_x11_10_0= ruleAlternativeTransition + // InternalSyntacticSequencerTestLanguage.g:280:4: (lv_x11_10_0= ruleAlternativeTransition ) + // InternalSyntacticSequencerTestLanguage.g:281:5: lv_x11_10_0= ruleAlternativeTransition { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX11AlternativeTransitionParserRuleCall_10_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX11AlternativeTransitionParserRuleCall_10_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x11_10_0=ruleAlternativeTransition(); @@ -702,16 +704,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x11", - lv_x11_10_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.AlternativeTransition"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x11", + lv_x11_10_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.AlternativeTransition"); + afterParserOrEnumRuleCall(); + } } @@ -723,18 +725,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 12 : - // InternalSyntacticSequencerTestLanguage.g:289:6: ( (lv_x12_11_0= ruleBooleanValues ) ) + // InternalSyntacticSequencerTestLanguage.g:299:3: ( (lv_x12_11_0= ruleBooleanValues ) ) { - // InternalSyntacticSequencerTestLanguage.g:289:6: ( (lv_x12_11_0= ruleBooleanValues ) ) - // InternalSyntacticSequencerTestLanguage.g:290:1: (lv_x12_11_0= ruleBooleanValues ) + // InternalSyntacticSequencerTestLanguage.g:299:3: ( (lv_x12_11_0= ruleBooleanValues ) ) + // InternalSyntacticSequencerTestLanguage.g:300:4: (lv_x12_11_0= ruleBooleanValues ) { - // InternalSyntacticSequencerTestLanguage.g:290:1: (lv_x12_11_0= ruleBooleanValues ) - // InternalSyntacticSequencerTestLanguage.g:291:3: lv_x12_11_0= ruleBooleanValues + // InternalSyntacticSequencerTestLanguage.g:300:4: (lv_x12_11_0= ruleBooleanValues ) + // InternalSyntacticSequencerTestLanguage.g:301:5: lv_x12_11_0= ruleBooleanValues { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX12BooleanValuesParserRuleCall_11_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX12BooleanValuesParserRuleCall_11_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x12_11_0=ruleBooleanValues(); @@ -743,16 +745,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x12", - lv_x12_11_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanValues"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x12", + lv_x12_11_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanValues"); + afterParserOrEnumRuleCall(); + } } @@ -764,18 +766,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 13 : - // InternalSyntacticSequencerTestLanguage.g:308:6: ( (lv_x13_12_0= ruleLongAlternative ) ) + // InternalSyntacticSequencerTestLanguage.g:319:3: ( (lv_x13_12_0= ruleLongAlternative ) ) { - // InternalSyntacticSequencerTestLanguage.g:308:6: ( (lv_x13_12_0= ruleLongAlternative ) ) - // InternalSyntacticSequencerTestLanguage.g:309:1: (lv_x13_12_0= ruleLongAlternative ) + // InternalSyntacticSequencerTestLanguage.g:319:3: ( (lv_x13_12_0= ruleLongAlternative ) ) + // InternalSyntacticSequencerTestLanguage.g:320:4: (lv_x13_12_0= ruleLongAlternative ) { - // InternalSyntacticSequencerTestLanguage.g:309:1: (lv_x13_12_0= ruleLongAlternative ) - // InternalSyntacticSequencerTestLanguage.g:310:3: lv_x13_12_0= ruleLongAlternative + // InternalSyntacticSequencerTestLanguage.g:320:4: (lv_x13_12_0= ruleLongAlternative ) + // InternalSyntacticSequencerTestLanguage.g:321:5: lv_x13_12_0= ruleLongAlternative { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX13LongAlternativeParserRuleCall_12_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX13LongAlternativeParserRuleCall_12_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x13_12_0=ruleLongAlternative(); @@ -784,16 +786,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x13", - lv_x13_12_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.LongAlternative"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x13", + lv_x13_12_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.LongAlternative"); + afterParserOrEnumRuleCall(); + } } @@ -805,18 +807,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 14 : - // InternalSyntacticSequencerTestLanguage.g:327:6: ( (lv_x14_13_0= ruleActionOnly ) ) + // InternalSyntacticSequencerTestLanguage.g:339:3: ( (lv_x14_13_0= ruleActionOnly ) ) { - // InternalSyntacticSequencerTestLanguage.g:327:6: ( (lv_x14_13_0= ruleActionOnly ) ) - // InternalSyntacticSequencerTestLanguage.g:328:1: (lv_x14_13_0= ruleActionOnly ) + // InternalSyntacticSequencerTestLanguage.g:339:3: ( (lv_x14_13_0= ruleActionOnly ) ) + // InternalSyntacticSequencerTestLanguage.g:340:4: (lv_x14_13_0= ruleActionOnly ) { - // InternalSyntacticSequencerTestLanguage.g:328:1: (lv_x14_13_0= ruleActionOnly ) - // InternalSyntacticSequencerTestLanguage.g:329:3: lv_x14_13_0= ruleActionOnly + // InternalSyntacticSequencerTestLanguage.g:340:4: (lv_x14_13_0= ruleActionOnly ) + // InternalSyntacticSequencerTestLanguage.g:341:5: lv_x14_13_0= ruleActionOnly { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX14ActionOnlyParserRuleCall_13_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX14ActionOnlyParserRuleCall_13_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x14_13_0=ruleActionOnly(); @@ -825,16 +827,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x14", - lv_x14_13_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.ActionOnly"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x14", + lv_x14_13_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.ActionOnly"); + afterParserOrEnumRuleCall(); + } } @@ -846,18 +848,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 15 : - // InternalSyntacticSequencerTestLanguage.g:346:6: ( (lv_x15_14_0= ruleFragmentCaller ) ) + // InternalSyntacticSequencerTestLanguage.g:359:3: ( (lv_x15_14_0= ruleFragmentCaller ) ) { - // InternalSyntacticSequencerTestLanguage.g:346:6: ( (lv_x15_14_0= ruleFragmentCaller ) ) - // InternalSyntacticSequencerTestLanguage.g:347:1: (lv_x15_14_0= ruleFragmentCaller ) + // InternalSyntacticSequencerTestLanguage.g:359:3: ( (lv_x15_14_0= ruleFragmentCaller ) ) + // InternalSyntacticSequencerTestLanguage.g:360:4: (lv_x15_14_0= ruleFragmentCaller ) { - // InternalSyntacticSequencerTestLanguage.g:347:1: (lv_x15_14_0= ruleFragmentCaller ) - // InternalSyntacticSequencerTestLanguage.g:348:3: lv_x15_14_0= ruleFragmentCaller + // InternalSyntacticSequencerTestLanguage.g:360:4: (lv_x15_14_0= ruleFragmentCaller ) + // InternalSyntacticSequencerTestLanguage.g:361:5: lv_x15_14_0= ruleFragmentCaller { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getModelAccess().getX15FragmentCallerParserRuleCall_14_0()); - + + newCompositeNode(grammarAccess.getModelAccess().getX15FragmentCallerParserRuleCall_14_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_x15_14_0=ruleFragmentCaller(); @@ -866,16 +868,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getModelRule()); - } - set( - current, - "x15", - lv_x15_14_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.FragmentCaller"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelRule()); + } + set( + current, + "x15", + lv_x15_14_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.FragmentCaller"); + afterParserOrEnumRuleCall(); + } } @@ -893,14 +895,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -909,7 +913,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleMandatoryKeywords" - // InternalSyntacticSequencerTestLanguage.g:372:1: entryRuleMandatoryKeywords returns [EObject current=null] : iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF ; + // InternalSyntacticSequencerTestLanguage.g:382:1: entryRuleMandatoryKeywords returns [EObject current=null] : iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF ; public final EObject entryRuleMandatoryKeywords() throws RecognitionException { EObject current = null; @@ -917,8 +921,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:373:2: (iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF ) - // InternalSyntacticSequencerTestLanguage.g:374:2: iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF + // InternalSyntacticSequencerTestLanguage.g:382:58: (iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF ) + // InternalSyntacticSequencerTestLanguage.g:383:2: iv_ruleMandatoryKeywords= ruleMandatoryKeywords EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMandatoryKeywordsRule()); @@ -936,11 +940,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -949,7 +953,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleMandatoryKeywords" - // InternalSyntacticSequencerTestLanguage.g:381:1: ruleMandatoryKeywords returns [EObject current=null] : (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) ; + // InternalSyntacticSequencerTestLanguage.g:389:1: ruleMandatoryKeywords returns [EObject current=null] : (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) ; public final EObject ruleMandatoryKeywords() throws RecognitionException { EObject current = null; @@ -962,44 +966,45 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token lv_val3_6_0=null; Token otherlv_7=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:384:28: ( (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) ) - // InternalSyntacticSequencerTestLanguage.g:385:1: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) + // InternalSyntacticSequencerTestLanguage.g:395:2: ( (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) ) + // InternalSyntacticSequencerTestLanguage.g:396:2: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) { - // InternalSyntacticSequencerTestLanguage.g:385:1: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) - // InternalSyntacticSequencerTestLanguage.g:385:3: otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' + // InternalSyntacticSequencerTestLanguage.g:396:2: (otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' ) + // InternalSyntacticSequencerTestLanguage.g:397:3: otherlv_0= '#1' ( (lv_val1_1_0= RULE_ID ) ) otherlv_2= 'kw1' ( (lv_val2_3_0= RULE_ID ) ) otherlv_4= 'kw2' otherlv_5= 'kw3' ( (lv_val3_6_0= RULE_ID ) ) otherlv_7= 'kw4' { otherlv_0=(Token)match(input,13,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getMandatoryKeywordsAccess().getNumberSignDigitOneKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getMandatoryKeywordsAccess().getNumberSignDigitOneKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:389:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:390:1: (lv_val1_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:401:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:402:4: (lv_val1_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:390:1: (lv_val1_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:391:3: lv_val1_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:402:4: (lv_val1_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:403:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_4); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val1_1_0, grammarAccess.getMandatoryKeywordsAccess().getVal1IDTerminalRuleCall_1_0()); - + newLeafNode(lv_val1_1_0, grammarAccess.getMandatoryKeywordsAccess().getVal1IDTerminalRuleCall_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -1010,32 +1015,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_2=(Token)match(input,14,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getMandatoryKeywordsAccess().getKw1Keyword_2()); - + newLeafNode(otherlv_2, grammarAccess.getMandatoryKeywordsAccess().getKw1Keyword_2()); + } - // InternalSyntacticSequencerTestLanguage.g:411:1: ( (lv_val2_3_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:412:1: (lv_val2_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:423:3: ( (lv_val2_3_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:424:4: (lv_val2_3_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:412:1: (lv_val2_3_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:413:3: lv_val2_3_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:424:4: (lv_val2_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:425:5: lv_val2_3_0= RULE_ID { lv_val2_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_5); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val2_3_0, grammarAccess.getMandatoryKeywordsAccess().getVal2IDTerminalRuleCall_3_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getMandatoryKeywordsAccess().getVal2IDTerminalRuleCall_3_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - current, - "val2", - lv_val2_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + current, + "val2", + lv_val2_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -1046,38 +1051,38 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_4=(Token)match(input,15,FollowSets000.FOLLOW_6); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getMandatoryKeywordsAccess().getKw2Keyword_4()); - + newLeafNode(otherlv_4, grammarAccess.getMandatoryKeywordsAccess().getKw2Keyword_4()); + } otherlv_5=(Token)match(input,16,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_5, grammarAccess.getMandatoryKeywordsAccess().getKw3Keyword_5()); - + newLeafNode(otherlv_5, grammarAccess.getMandatoryKeywordsAccess().getKw3Keyword_5()); + } - // InternalSyntacticSequencerTestLanguage.g:437:1: ( (lv_val3_6_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:438:1: (lv_val3_6_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:449:3: ( (lv_val3_6_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:450:4: (lv_val3_6_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:438:1: (lv_val3_6_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:439:3: lv_val3_6_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:450:4: (lv_val3_6_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:451:5: lv_val3_6_0= RULE_ID { lv_val3_6_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_7); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val3_6_0, grammarAccess.getMandatoryKeywordsAccess().getVal3IDTerminalRuleCall_6_0()); - + newLeafNode(lv_val3_6_0, grammarAccess.getMandatoryKeywordsAccess().getVal3IDTerminalRuleCall_6_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); - } - setWithLastConsumed( - current, - "val3", - lv_val3_6_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getMandatoryKeywordsRule()); + } + setWithLastConsumed( + current, + "val3", + lv_val3_6_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -1088,8 +1093,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_7=(Token)match(input,17,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_7, grammarAccess.getMandatoryKeywordsAccess().getKw4Keyword_7()); - + newLeafNode(otherlv_7, grammarAccess.getMandatoryKeywordsAccess().getKw4Keyword_7()); + } } @@ -1098,14 +1103,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1114,7 +1121,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleExp0" - // InternalSyntacticSequencerTestLanguage.g:467:1: entryRuleExp0 returns [EObject current=null] : iv_ruleExp0= ruleExp0 EOF ; + // InternalSyntacticSequencerTestLanguage.g:475:1: entryRuleExp0 returns [EObject current=null] : iv_ruleExp0= ruleExp0 EOF ; public final EObject entryRuleExp0() throws RecognitionException { EObject current = null; @@ -1122,8 +1129,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:468:2: (iv_ruleExp0= ruleExp0 EOF ) - // InternalSyntacticSequencerTestLanguage.g:469:2: iv_ruleExp0= ruleExp0 EOF + // InternalSyntacticSequencerTestLanguage.g:475:45: (iv_ruleExp0= ruleExp0 EOF ) + // InternalSyntacticSequencerTestLanguage.g:476:2: iv_ruleExp0= ruleExp0 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExp0Rule()); @@ -1141,11 +1148,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1154,7 +1161,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleExp0" - // InternalSyntacticSequencerTestLanguage.g:476:1: ruleExp0 returns [EObject current=null] : (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) ; + // InternalSyntacticSequencerTestLanguage.g:482:1: ruleExp0 returns [EObject current=null] : (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) ; public final EObject ruleExp0() throws RecognitionException { EObject current = null; @@ -1162,25 +1169,26 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Addition0_1 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:479:28: ( (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) ) - // InternalSyntacticSequencerTestLanguage.g:480:1: (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) + // InternalSyntacticSequencerTestLanguage.g:488:2: ( (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) ) + // InternalSyntacticSequencerTestLanguage.g:489:2: (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) { - // InternalSyntacticSequencerTestLanguage.g:480:1: (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) - // InternalSyntacticSequencerTestLanguage.g:480:3: otherlv_0= '#2' this_Addition0_1= ruleAddition0 + // InternalSyntacticSequencerTestLanguage.g:489:2: (otherlv_0= '#2' this_Addition0_1= ruleAddition0 ) + // InternalSyntacticSequencerTestLanguage.g:490:3: otherlv_0= '#2' this_Addition0_1= ruleAddition0 { otherlv_0=(Token)match(input,18,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getExp0Access().getNumberSignDigitTwoKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getExp0Access().getNumberSignDigitTwoKeyword_0()); + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getExp0Access().getAddition0ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getExp0Access().getAddition0ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_2); this_Addition0_1=ruleAddition0(); @@ -1188,10 +1196,10 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Addition0_1; - afterParserOrEnumRuleCall(); - + + current = this_Addition0_1; + afterParserOrEnumRuleCall(); + } } @@ -1200,14 +1208,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1216,7 +1226,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleAddition0" - // InternalSyntacticSequencerTestLanguage.g:501:1: entryRuleAddition0 returns [EObject current=null] : iv_ruleAddition0= ruleAddition0 EOF ; + // InternalSyntacticSequencerTestLanguage.g:506:1: entryRuleAddition0 returns [EObject current=null] : iv_ruleAddition0= ruleAddition0 EOF ; public final EObject entryRuleAddition0() throws RecognitionException { EObject current = null; @@ -1224,8 +1234,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:502:2: (iv_ruleAddition0= ruleAddition0 EOF ) - // InternalSyntacticSequencerTestLanguage.g:503:2: iv_ruleAddition0= ruleAddition0 EOF + // InternalSyntacticSequencerTestLanguage.g:506:50: (iv_ruleAddition0= ruleAddition0 EOF ) + // InternalSyntacticSequencerTestLanguage.g:507:2: iv_ruleAddition0= ruleAddition0 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAddition0Rule()); @@ -1243,11 +1253,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1256,7 +1266,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleAddition0" - // InternalSyntacticSequencerTestLanguage.g:510:1: ruleAddition0 returns [EObject current=null] : (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) ; + // InternalSyntacticSequencerTestLanguage.g:513:1: ruleAddition0 returns [EObject current=null] : (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) ; public final EObject ruleAddition0() throws RecognitionException { EObject current = null; @@ -1266,19 +1276,20 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_right_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:513:28: ( (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) ) - // InternalSyntacticSequencerTestLanguage.g:514:1: (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:519:2: ( (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) ) + // InternalSyntacticSequencerTestLanguage.g:520:2: (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) { - // InternalSyntacticSequencerTestLanguage.g:514:1: (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) - // InternalSyntacticSequencerTestLanguage.g:515:5: this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:520:2: (this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:521:3: this_Prim0_0= rulePrim0 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition0Access().getPrim0ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getAddition0Access().getPrim0ParserRuleCall_0()); + } pushFollow(FollowSets000.FOLLOW_8); this_Prim0_0=rulePrim0(); @@ -1286,12 +1297,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Prim0_0; - afterParserOrEnumRuleCall(); - + + current = this_Prim0_0; + afterParserOrEnumRuleCall(); + } - // InternalSyntacticSequencerTestLanguage.g:523:1: ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:529:3: ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) )* loop2: do { int alt2=2; @@ -1304,17 +1315,17 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt2) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:523:2: () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) + // InternalSyntacticSequencerTestLanguage.g:530:4: () otherlv_2= '+' ( (lv_right_3_0= rulePrim0 ) ) { - // InternalSyntacticSequencerTestLanguage.g:523:2: () - // InternalSyntacticSequencerTestLanguage.g:524:5: + // InternalSyntacticSequencerTestLanguage.g:530:4: () + // InternalSyntacticSequencerTestLanguage.g:531:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElementAndSet( - grammarAccess.getAddition0Access().getAdd0LeftAction_1_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getAddition0Access().getAdd0LeftAction_1_0(), + current); + } } @@ -1322,19 +1333,19 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_2=(Token)match(input,19,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getAddition0Access().getPlusSignKeyword_1_1()); - + newLeafNode(otherlv_2, grammarAccess.getAddition0Access().getPlusSignKeyword_1_1()); + } - // InternalSyntacticSequencerTestLanguage.g:533:1: ( (lv_right_3_0= rulePrim0 ) ) - // InternalSyntacticSequencerTestLanguage.g:534:1: (lv_right_3_0= rulePrim0 ) + // InternalSyntacticSequencerTestLanguage.g:541:4: ( (lv_right_3_0= rulePrim0 ) ) + // InternalSyntacticSequencerTestLanguage.g:542:5: (lv_right_3_0= rulePrim0 ) { - // InternalSyntacticSequencerTestLanguage.g:534:1: (lv_right_3_0= rulePrim0 ) - // InternalSyntacticSequencerTestLanguage.g:535:3: lv_right_3_0= rulePrim0 + // InternalSyntacticSequencerTestLanguage.g:542:5: (lv_right_3_0= rulePrim0 ) + // InternalSyntacticSequencerTestLanguage.g:543:6: lv_right_3_0= rulePrim0 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition0Access().getRightPrim0ParserRuleCall_1_2_0()); - + + newCompositeNode(grammarAccess.getAddition0Access().getRightPrim0ParserRuleCall_1_2_0()); + } pushFollow(FollowSets000.FOLLOW_8); lv_right_3_0=rulePrim0(); @@ -1343,16 +1354,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddition0Rule()); - } - set( - current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim0"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getAddition0Rule()); + } + set( + current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim0"); + afterParserOrEnumRuleCall(); + } } @@ -1376,14 +1387,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1392,7 +1405,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRulePrim0" - // InternalSyntacticSequencerTestLanguage.g:559:1: entryRulePrim0 returns [EObject current=null] : iv_rulePrim0= rulePrim0 EOF ; + // InternalSyntacticSequencerTestLanguage.g:565:1: entryRulePrim0 returns [EObject current=null] : iv_rulePrim0= rulePrim0 EOF ; public final EObject entryRulePrim0() throws RecognitionException { EObject current = null; @@ -1400,8 +1413,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:560:2: (iv_rulePrim0= rulePrim0 EOF ) - // InternalSyntacticSequencerTestLanguage.g:561:2: iv_rulePrim0= rulePrim0 EOF + // InternalSyntacticSequencerTestLanguage.g:565:46: (iv_rulePrim0= rulePrim0 EOF ) + // InternalSyntacticSequencerTestLanguage.g:566:2: iv_rulePrim0= rulePrim0 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrim0Rule()); @@ -1419,11 +1432,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1432,57 +1445,58 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "rulePrim0" - // InternalSyntacticSequencerTestLanguage.g:568:1: rulePrim0 returns [EObject current=null] : ( () ( (lv_name_1_0= RULE_ID ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:572:1: rulePrim0 returns [EObject current=null] : ( () ( (lv_name_1_0= RULE_ID ) ) ) ; public final EObject rulePrim0() throws RecognitionException { EObject current = null; Token lv_name_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:571:28: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:572:1: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:578:2: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:579:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:572:1: ( () ( (lv_name_1_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:572:2: () ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:579:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:580:3: () ( (lv_name_1_0= RULE_ID ) ) { - // InternalSyntacticSequencerTestLanguage.g:572:2: () - // InternalSyntacticSequencerTestLanguage.g:573:5: + // InternalSyntacticSequencerTestLanguage.g:580:3: () + // InternalSyntacticSequencerTestLanguage.g:581:4: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getPrim0Access().getVal0Action_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getPrim0Access().getVal0Action_0(), + current); + } } - // InternalSyntacticSequencerTestLanguage.g:578:2: ( (lv_name_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:579:1: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:587:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:588:4: (lv_name_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:579:1: (lv_name_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:580:3: lv_name_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:588:4: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:589:5: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_0, grammarAccess.getPrim0Access().getNameIDTerminalRuleCall_1_0()); - + newLeafNode(lv_name_1_0, grammarAccess.getPrim0Access().getNameIDTerminalRuleCall_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPrim0Rule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getPrim0Rule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -1497,14 +1511,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1513,7 +1529,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleExp1" - // InternalSyntacticSequencerTestLanguage.g:604:1: entryRuleExp1 returns [EObject current=null] : iv_ruleExp1= ruleExp1 EOF ; + // InternalSyntacticSequencerTestLanguage.g:609:1: entryRuleExp1 returns [EObject current=null] : iv_ruleExp1= ruleExp1 EOF ; public final EObject entryRuleExp1() throws RecognitionException { EObject current = null; @@ -1521,8 +1537,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:605:2: (iv_ruleExp1= ruleExp1 EOF ) - // InternalSyntacticSequencerTestLanguage.g:606:2: iv_ruleExp1= ruleExp1 EOF + // InternalSyntacticSequencerTestLanguage.g:609:45: (iv_ruleExp1= ruleExp1 EOF ) + // InternalSyntacticSequencerTestLanguage.g:610:2: iv_ruleExp1= ruleExp1 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExp1Rule()); @@ -1540,11 +1556,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1553,7 +1569,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleExp1" - // InternalSyntacticSequencerTestLanguage.g:613:1: ruleExp1 returns [EObject current=null] : (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) ; + // InternalSyntacticSequencerTestLanguage.g:616:1: ruleExp1 returns [EObject current=null] : (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) ; public final EObject ruleExp1() throws RecognitionException { EObject current = null; @@ -1561,25 +1577,26 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Addition1_1 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:616:28: ( (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) ) - // InternalSyntacticSequencerTestLanguage.g:617:1: (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) + // InternalSyntacticSequencerTestLanguage.g:622:2: ( (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) ) + // InternalSyntacticSequencerTestLanguage.g:623:2: (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) { - // InternalSyntacticSequencerTestLanguage.g:617:1: (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) - // InternalSyntacticSequencerTestLanguage.g:617:3: otherlv_0= '#3' this_Addition1_1= ruleAddition1 + // InternalSyntacticSequencerTestLanguage.g:623:2: (otherlv_0= '#3' this_Addition1_1= ruleAddition1 ) + // InternalSyntacticSequencerTestLanguage.g:624:3: otherlv_0= '#3' this_Addition1_1= ruleAddition1 { otherlv_0=(Token)match(input,20,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getExp1Access().getNumberSignDigitThreeKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getExp1Access().getNumberSignDigitThreeKeyword_0()); + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getExp1Access().getAddition1ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getExp1Access().getAddition1ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_2); this_Addition1_1=ruleAddition1(); @@ -1587,10 +1604,10 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Addition1_1; - afterParserOrEnumRuleCall(); - + + current = this_Addition1_1; + afterParserOrEnumRuleCall(); + } } @@ -1599,14 +1616,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1615,7 +1634,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleAddition1" - // InternalSyntacticSequencerTestLanguage.g:638:1: entryRuleAddition1 returns [EObject current=null] : iv_ruleAddition1= ruleAddition1 EOF ; + // InternalSyntacticSequencerTestLanguage.g:640:1: entryRuleAddition1 returns [EObject current=null] : iv_ruleAddition1= ruleAddition1 EOF ; public final EObject entryRuleAddition1() throws RecognitionException { EObject current = null; @@ -1623,8 +1642,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:639:2: (iv_ruleAddition1= ruleAddition1 EOF ) - // InternalSyntacticSequencerTestLanguage.g:640:2: iv_ruleAddition1= ruleAddition1 EOF + // InternalSyntacticSequencerTestLanguage.g:640:50: (iv_ruleAddition1= ruleAddition1 EOF ) + // InternalSyntacticSequencerTestLanguage.g:641:2: iv_ruleAddition1= ruleAddition1 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAddition1Rule()); @@ -1642,11 +1661,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1665,19 +1684,20 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_right_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:650:28: ( (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) ) - // InternalSyntacticSequencerTestLanguage.g:651:1: (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:653:2: ( (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) ) + // InternalSyntacticSequencerTestLanguage.g:654:2: (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) { - // InternalSyntacticSequencerTestLanguage.g:651:1: (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) - // InternalSyntacticSequencerTestLanguage.g:652:5: this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:654:2: (this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:655:3: this_Prim1_0= rulePrim1 ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition1Access().getPrim1ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getAddition1Access().getPrim1ParserRuleCall_0()); + } pushFollow(FollowSets000.FOLLOW_8); this_Prim1_0=rulePrim1(); @@ -1685,12 +1705,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Prim1_0; - afterParserOrEnumRuleCall(); - + + current = this_Prim1_0; + afterParserOrEnumRuleCall(); + } - // InternalSyntacticSequencerTestLanguage.g:660:1: ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:663:3: ( () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) )* loop3: do { int alt3=2; @@ -1703,17 +1723,17 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt3) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:660:2: () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) + // InternalSyntacticSequencerTestLanguage.g:664:4: () otherlv_2= '+' ( (lv_right_3_0= rulePrim1 ) ) { - // InternalSyntacticSequencerTestLanguage.g:660:2: () - // InternalSyntacticSequencerTestLanguage.g:661:5: + // InternalSyntacticSequencerTestLanguage.g:664:4: () + // InternalSyntacticSequencerTestLanguage.g:665:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElementAndSet( - grammarAccess.getAddition1Access().getAdd1LeftAction_1_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getAddition1Access().getAdd1LeftAction_1_0(), + current); + } } @@ -1721,19 +1741,19 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_2=(Token)match(input,19,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getAddition1Access().getPlusSignKeyword_1_1()); - + newLeafNode(otherlv_2, grammarAccess.getAddition1Access().getPlusSignKeyword_1_1()); + } - // InternalSyntacticSequencerTestLanguage.g:670:1: ( (lv_right_3_0= rulePrim1 ) ) - // InternalSyntacticSequencerTestLanguage.g:671:1: (lv_right_3_0= rulePrim1 ) + // InternalSyntacticSequencerTestLanguage.g:675:4: ( (lv_right_3_0= rulePrim1 ) ) + // InternalSyntacticSequencerTestLanguage.g:676:5: (lv_right_3_0= rulePrim1 ) { - // InternalSyntacticSequencerTestLanguage.g:671:1: (lv_right_3_0= rulePrim1 ) - // InternalSyntacticSequencerTestLanguage.g:672:3: lv_right_3_0= rulePrim1 + // InternalSyntacticSequencerTestLanguage.g:676:5: (lv_right_3_0= rulePrim1 ) + // InternalSyntacticSequencerTestLanguage.g:677:6: lv_right_3_0= rulePrim1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition1Access().getRightPrim1ParserRuleCall_1_2_0()); - + + newCompositeNode(grammarAccess.getAddition1Access().getRightPrim1ParserRuleCall_1_2_0()); + } pushFollow(FollowSets000.FOLLOW_8); lv_right_3_0=rulePrim1(); @@ -1742,16 +1762,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddition1Rule()); - } - set( - current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim1"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getAddition1Rule()); + } + set( + current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim1"); + afterParserOrEnumRuleCall(); + } } @@ -1775,14 +1795,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1791,7 +1813,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRulePrim1" - // InternalSyntacticSequencerTestLanguage.g:696:1: entryRulePrim1 returns [EObject current=null] : iv_rulePrim1= rulePrim1 EOF ; + // InternalSyntacticSequencerTestLanguage.g:699:1: entryRulePrim1 returns [EObject current=null] : iv_rulePrim1= rulePrim1 EOF ; public final EObject entryRulePrim1() throws RecognitionException { EObject current = null; @@ -1799,8 +1821,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:697:2: (iv_rulePrim1= rulePrim1 EOF ) - // InternalSyntacticSequencerTestLanguage.g:698:2: iv_rulePrim1= rulePrim1 EOF + // InternalSyntacticSequencerTestLanguage.g:699:46: (iv_rulePrim1= rulePrim1 EOF ) + // InternalSyntacticSequencerTestLanguage.g:700:2: iv_rulePrim1= rulePrim1 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrim1Rule()); @@ -1818,11 +1840,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1831,7 +1853,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "rulePrim1" - // InternalSyntacticSequencerTestLanguage.g:705:1: rulePrim1 returns [EObject current=null] : ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) ; + // InternalSyntacticSequencerTestLanguage.g:706:1: rulePrim1 returns [EObject current=null] : ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) ; public final EObject rulePrim1() throws RecognitionException { EObject current = null; @@ -1841,13 +1863,14 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Addition1_3 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:708:28: ( ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) ) - // InternalSyntacticSequencerTestLanguage.g:709:1: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) + // InternalSyntacticSequencerTestLanguage.g:712:2: ( ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) ) + // InternalSyntacticSequencerTestLanguage.g:713:2: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) { - // InternalSyntacticSequencerTestLanguage.g:709:1: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) + // InternalSyntacticSequencerTestLanguage.g:713:2: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) ) int alt4=2; int LA4_0 = input.LA(1); @@ -1866,47 +1889,47 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt4) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:709:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:714:3: ( () ( (lv_name_1_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:709:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:709:3: () ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:714:3: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:715:4: () ( (lv_name_1_0= RULE_ID ) ) { - // InternalSyntacticSequencerTestLanguage.g:709:3: () - // InternalSyntacticSequencerTestLanguage.g:710:5: + // InternalSyntacticSequencerTestLanguage.g:715:4: () + // InternalSyntacticSequencerTestLanguage.g:716:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getPrim1Access().getVal1Action_0_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getPrim1Access().getVal1Action_0_0(), + current); + } } - // InternalSyntacticSequencerTestLanguage.g:715:2: ( (lv_name_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:716:1: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:722:4: ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:723:5: (lv_name_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:716:1: (lv_name_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:717:3: lv_name_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:723:5: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:724:6: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_0, grammarAccess.getPrim1Access().getNameIDTerminalRuleCall_0_1_0()); - + newLeafNode(lv_name_1_0, grammarAccess.getPrim1Access().getNameIDTerminalRuleCall_0_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPrim1Rule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getPrim1Rule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -1921,21 +1944,21 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:734:6: (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) + // InternalSyntacticSequencerTestLanguage.g:742:3: (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) { - // InternalSyntacticSequencerTestLanguage.g:734:6: (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) - // InternalSyntacticSequencerTestLanguage.g:734:8: otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' + // InternalSyntacticSequencerTestLanguage.g:742:3: (otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' ) + // InternalSyntacticSequencerTestLanguage.g:743:4: otherlv_2= '(' this_Addition1_3= ruleAddition1 otherlv_4= ')' { otherlv_2=(Token)match(input,21,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); - + newLeafNode(otherlv_2, grammarAccess.getPrim1Access().getLeftParenthesisKeyword_1_0()); + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getPrim1Access().getAddition1ParserRuleCall_1_1()); - + + newCompositeNode(grammarAccess.getPrim1Access().getAddition1ParserRuleCall_1_1()); + } pushFollow(FollowSets000.FOLLOW_10); this_Addition1_3=ruleAddition1(); @@ -1943,16 +1966,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Addition1_3; - afterParserOrEnumRuleCall(); - + + current = this_Addition1_3; + afterParserOrEnumRuleCall(); + } otherlv_4=(Token)match(input,22,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getPrim1Access().getRightParenthesisKeyword_1_2()); - + newLeafNode(otherlv_4, grammarAccess.getPrim1Access().getRightParenthesisKeyword_1_2()); + } } @@ -1967,14 +1990,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -1983,7 +2008,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleExp2" - // InternalSyntacticSequencerTestLanguage.g:759:1: entryRuleExp2 returns [EObject current=null] : iv_ruleExp2= ruleExp2 EOF ; + // InternalSyntacticSequencerTestLanguage.g:764:1: entryRuleExp2 returns [EObject current=null] : iv_ruleExp2= ruleExp2 EOF ; public final EObject entryRuleExp2() throws RecognitionException { EObject current = null; @@ -1991,8 +2016,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:760:2: (iv_ruleExp2= ruleExp2 EOF ) - // InternalSyntacticSequencerTestLanguage.g:761:2: iv_ruleExp2= ruleExp2 EOF + // InternalSyntacticSequencerTestLanguage.g:764:45: (iv_ruleExp2= ruleExp2 EOF ) + // InternalSyntacticSequencerTestLanguage.g:765:2: iv_ruleExp2= ruleExp2 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getExp2Rule()); @@ -2010,11 +2035,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2023,7 +2048,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleExp2" - // InternalSyntacticSequencerTestLanguage.g:768:1: ruleExp2 returns [EObject current=null] : (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) ; + // InternalSyntacticSequencerTestLanguage.g:771:1: ruleExp2 returns [EObject current=null] : (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) ; public final EObject ruleExp2() throws RecognitionException { EObject current = null; @@ -2031,25 +2056,26 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Addition2_1 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:771:28: ( (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) ) - // InternalSyntacticSequencerTestLanguage.g:772:1: (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) + // InternalSyntacticSequencerTestLanguage.g:777:2: ( (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) ) + // InternalSyntacticSequencerTestLanguage.g:778:2: (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) { - // InternalSyntacticSequencerTestLanguage.g:772:1: (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) - // InternalSyntacticSequencerTestLanguage.g:772:3: otherlv_0= '#4' this_Addition2_1= ruleAddition2 + // InternalSyntacticSequencerTestLanguage.g:778:2: (otherlv_0= '#4' this_Addition2_1= ruleAddition2 ) + // InternalSyntacticSequencerTestLanguage.g:779:3: otherlv_0= '#4' this_Addition2_1= ruleAddition2 { otherlv_0=(Token)match(input,23,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getExp2Access().getNumberSignDigitFourKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getExp2Access().getNumberSignDigitFourKeyword_0()); + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getExp2Access().getAddition2ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getExp2Access().getAddition2ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_2); this_Addition2_1=ruleAddition2(); @@ -2057,10 +2083,10 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Addition2_1; - afterParserOrEnumRuleCall(); - + + current = this_Addition2_1; + afterParserOrEnumRuleCall(); + } } @@ -2069,14 +2095,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2085,7 +2113,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleAddition2" - // InternalSyntacticSequencerTestLanguage.g:793:1: entryRuleAddition2 returns [EObject current=null] : iv_ruleAddition2= ruleAddition2 EOF ; + // InternalSyntacticSequencerTestLanguage.g:795:1: entryRuleAddition2 returns [EObject current=null] : iv_ruleAddition2= ruleAddition2 EOF ; public final EObject entryRuleAddition2() throws RecognitionException { EObject current = null; @@ -2093,8 +2121,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:794:2: (iv_ruleAddition2= ruleAddition2 EOF ) - // InternalSyntacticSequencerTestLanguage.g:795:2: iv_ruleAddition2= ruleAddition2 EOF + // InternalSyntacticSequencerTestLanguage.g:795:50: (iv_ruleAddition2= ruleAddition2 EOF ) + // InternalSyntacticSequencerTestLanguage.g:796:2: iv_ruleAddition2= ruleAddition2 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getAddition2Rule()); @@ -2112,11 +2140,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2135,19 +2163,20 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_right_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:805:28: ( (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) ) - // InternalSyntacticSequencerTestLanguage.g:806:1: (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:808:2: ( (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) ) + // InternalSyntacticSequencerTestLanguage.g:809:2: (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) { - // InternalSyntacticSequencerTestLanguage.g:806:1: (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) - // InternalSyntacticSequencerTestLanguage.g:807:5: this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:809:2: (this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:810:3: this_Multiplication2_0= ruleMultiplication2 ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition2Access().getMultiplication2ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getAddition2Access().getMultiplication2ParserRuleCall_0()); + } pushFollow(FollowSets000.FOLLOW_8); this_Multiplication2_0=ruleMultiplication2(); @@ -2155,12 +2184,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Multiplication2_0; - afterParserOrEnumRuleCall(); - + + current = this_Multiplication2_0; + afterParserOrEnumRuleCall(); + } - // InternalSyntacticSequencerTestLanguage.g:815:1: ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:818:3: ( () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) )* loop5: do { int alt5=2; @@ -2173,17 +2202,17 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt5) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:815:2: () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) + // InternalSyntacticSequencerTestLanguage.g:819:4: () otherlv_2= '+' ( (lv_right_3_0= ruleMultiplication2 ) ) { - // InternalSyntacticSequencerTestLanguage.g:815:2: () - // InternalSyntacticSequencerTestLanguage.g:816:5: + // InternalSyntacticSequencerTestLanguage.g:819:4: () + // InternalSyntacticSequencerTestLanguage.g:820:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElementAndSet( - grammarAccess.getAddition2Access().getAdd2LeftAction_1_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getAddition2Access().getAdd2LeftAction_1_0(), + current); + } } @@ -2191,19 +2220,19 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_2=(Token)match(input,19,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getAddition2Access().getPlusSignKeyword_1_1()); - + newLeafNode(otherlv_2, grammarAccess.getAddition2Access().getPlusSignKeyword_1_1()); + } - // InternalSyntacticSequencerTestLanguage.g:825:1: ( (lv_right_3_0= ruleMultiplication2 ) ) - // InternalSyntacticSequencerTestLanguage.g:826:1: (lv_right_3_0= ruleMultiplication2 ) + // InternalSyntacticSequencerTestLanguage.g:830:4: ( (lv_right_3_0= ruleMultiplication2 ) ) + // InternalSyntacticSequencerTestLanguage.g:831:5: (lv_right_3_0= ruleMultiplication2 ) { - // InternalSyntacticSequencerTestLanguage.g:826:1: (lv_right_3_0= ruleMultiplication2 ) - // InternalSyntacticSequencerTestLanguage.g:827:3: lv_right_3_0= ruleMultiplication2 + // InternalSyntacticSequencerTestLanguage.g:831:5: (lv_right_3_0= ruleMultiplication2 ) + // InternalSyntacticSequencerTestLanguage.g:832:6: lv_right_3_0= ruleMultiplication2 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAddition2Access().getRightMultiplication2ParserRuleCall_1_2_0()); - + + newCompositeNode(grammarAccess.getAddition2Access().getRightMultiplication2ParserRuleCall_1_2_0()); + } pushFollow(FollowSets000.FOLLOW_8); lv_right_3_0=ruleMultiplication2(); @@ -2212,16 +2241,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getAddition2Rule()); - } - set( - current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Multiplication2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getAddition2Rule()); + } + set( + current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Multiplication2"); + afterParserOrEnumRuleCall(); + } } @@ -2245,14 +2274,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2261,7 +2292,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleMultiplication2" - // InternalSyntacticSequencerTestLanguage.g:851:1: entryRuleMultiplication2 returns [EObject current=null] : iv_ruleMultiplication2= ruleMultiplication2 EOF ; + // InternalSyntacticSequencerTestLanguage.g:854:1: entryRuleMultiplication2 returns [EObject current=null] : iv_ruleMultiplication2= ruleMultiplication2 EOF ; public final EObject entryRuleMultiplication2() throws RecognitionException { EObject current = null; @@ -2269,8 +2300,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:852:2: (iv_ruleMultiplication2= ruleMultiplication2 EOF ) - // InternalSyntacticSequencerTestLanguage.g:853:2: iv_ruleMultiplication2= ruleMultiplication2 EOF + // InternalSyntacticSequencerTestLanguage.g:854:56: (iv_ruleMultiplication2= ruleMultiplication2 EOF ) + // InternalSyntacticSequencerTestLanguage.g:855:2: iv_ruleMultiplication2= ruleMultiplication2 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMultiplication2Rule()); @@ -2288,11 +2319,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2301,7 +2332,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleMultiplication2" - // InternalSyntacticSequencerTestLanguage.g:860:1: ruleMultiplication2 returns [EObject current=null] : (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) ; + // InternalSyntacticSequencerTestLanguage.g:861:1: ruleMultiplication2 returns [EObject current=null] : (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) ; public final EObject ruleMultiplication2() throws RecognitionException { EObject current = null; @@ -2311,19 +2342,20 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_right_3_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:863:28: ( (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) ) - // InternalSyntacticSequencerTestLanguage.g:864:1: (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:867:2: ( (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) ) + // InternalSyntacticSequencerTestLanguage.g:868:2: (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) { - // InternalSyntacticSequencerTestLanguage.g:864:1: (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) - // InternalSyntacticSequencerTestLanguage.g:865:5: this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:868:2: (this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* ) + // InternalSyntacticSequencerTestLanguage.g:869:3: this_Prim2_0= rulePrim2 ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getMultiplication2Access().getPrim2ParserRuleCall_0()); - + + newCompositeNode(grammarAccess.getMultiplication2Access().getPrim2ParserRuleCall_0()); + } pushFollow(FollowSets000.FOLLOW_11); this_Prim2_0=rulePrim2(); @@ -2331,12 +2363,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Prim2_0; - afterParserOrEnumRuleCall(); - + + current = this_Prim2_0; + afterParserOrEnumRuleCall(); + } - // InternalSyntacticSequencerTestLanguage.g:873:1: ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* + // InternalSyntacticSequencerTestLanguage.g:877:3: ( () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) )* loop6: do { int alt6=2; @@ -2349,17 +2381,17 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt6) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:873:2: () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) + // InternalSyntacticSequencerTestLanguage.g:878:4: () otherlv_2= '*' ( (lv_right_3_0= rulePrim2 ) ) { - // InternalSyntacticSequencerTestLanguage.g:873:2: () - // InternalSyntacticSequencerTestLanguage.g:874:5: + // InternalSyntacticSequencerTestLanguage.g:878:4: () + // InternalSyntacticSequencerTestLanguage.g:879:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElementAndSet( - grammarAccess.getMultiplication2Access().getMult2LeftAction_1_0(), - current); - + current = forceCreateModelElementAndSet( + grammarAccess.getMultiplication2Access().getMult2LeftAction_1_0(), + current); + } } @@ -2367,19 +2399,19 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_2=(Token)match(input,24,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getMultiplication2Access().getAsteriskKeyword_1_1()); - + newLeafNode(otherlv_2, grammarAccess.getMultiplication2Access().getAsteriskKeyword_1_1()); + } - // InternalSyntacticSequencerTestLanguage.g:883:1: ( (lv_right_3_0= rulePrim2 ) ) - // InternalSyntacticSequencerTestLanguage.g:884:1: (lv_right_3_0= rulePrim2 ) + // InternalSyntacticSequencerTestLanguage.g:889:4: ( (lv_right_3_0= rulePrim2 ) ) + // InternalSyntacticSequencerTestLanguage.g:890:5: (lv_right_3_0= rulePrim2 ) { - // InternalSyntacticSequencerTestLanguage.g:884:1: (lv_right_3_0= rulePrim2 ) - // InternalSyntacticSequencerTestLanguage.g:885:3: lv_right_3_0= rulePrim2 + // InternalSyntacticSequencerTestLanguage.g:890:5: (lv_right_3_0= rulePrim2 ) + // InternalSyntacticSequencerTestLanguage.g:891:6: lv_right_3_0= rulePrim2 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getMultiplication2Access().getRightPrim2ParserRuleCall_1_2_0()); - + + newCompositeNode(grammarAccess.getMultiplication2Access().getRightPrim2ParserRuleCall_1_2_0()); + } pushFollow(FollowSets000.FOLLOW_11); lv_right_3_0=rulePrim2(); @@ -2388,16 +2420,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getMultiplication2Rule()); - } - set( - current, - "right", - lv_right_3_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim2"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getMultiplication2Rule()); + } + set( + current, + "right", + lv_right_3_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim2"); + afterParserOrEnumRuleCall(); + } } @@ -2421,14 +2453,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2437,7 +2471,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRulePrim2" - // InternalSyntacticSequencerTestLanguage.g:909:1: entryRulePrim2 returns [EObject current=null] : iv_rulePrim2= rulePrim2 EOF ; + // InternalSyntacticSequencerTestLanguage.g:913:1: entryRulePrim2 returns [EObject current=null] : iv_rulePrim2= rulePrim2 EOF ; public final EObject entryRulePrim2() throws RecognitionException { EObject current = null; @@ -2445,8 +2479,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:910:2: (iv_rulePrim2= rulePrim2 EOF ) - // InternalSyntacticSequencerTestLanguage.g:911:2: iv_rulePrim2= rulePrim2 EOF + // InternalSyntacticSequencerTestLanguage.g:913:46: (iv_rulePrim2= rulePrim2 EOF ) + // InternalSyntacticSequencerTestLanguage.g:914:2: iv_rulePrim2= rulePrim2 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getPrim2Rule()); @@ -2464,11 +2498,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2477,7 +2511,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "rulePrim2" - // InternalSyntacticSequencerTestLanguage.g:918:1: rulePrim2 returns [EObject current=null] : ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) ; + // InternalSyntacticSequencerTestLanguage.g:920:1: rulePrim2 returns [EObject current=null] : ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) ; public final EObject rulePrim2() throws RecognitionException { EObject current = null; @@ -2487,13 +2521,14 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Addition2_3 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:921:28: ( ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) ) - // InternalSyntacticSequencerTestLanguage.g:922:1: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) + // InternalSyntacticSequencerTestLanguage.g:926:2: ( ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) ) + // InternalSyntacticSequencerTestLanguage.g:927:2: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) { - // InternalSyntacticSequencerTestLanguage.g:922:1: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) + // InternalSyntacticSequencerTestLanguage.g:927:2: ( ( () ( (lv_name_1_0= RULE_ID ) ) ) | (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) ) int alt7=2; int LA7_0 = input.LA(1); @@ -2512,47 +2547,47 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt7) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:922:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:928:3: ( () ( (lv_name_1_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:922:2: ( () ( (lv_name_1_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:922:3: () ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:928:3: ( () ( (lv_name_1_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:929:4: () ( (lv_name_1_0= RULE_ID ) ) { - // InternalSyntacticSequencerTestLanguage.g:922:3: () - // InternalSyntacticSequencerTestLanguage.g:923:5: + // InternalSyntacticSequencerTestLanguage.g:929:4: () + // InternalSyntacticSequencerTestLanguage.g:930:5: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getPrim2Access().getVal2Action_0_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getPrim2Access().getVal2Action_0_0(), + current); + } } - // InternalSyntacticSequencerTestLanguage.g:928:2: ( (lv_name_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:929:1: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:936:4: ( (lv_name_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:937:5: (lv_name_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:929:1: (lv_name_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:930:3: lv_name_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:937:5: (lv_name_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:938:6: lv_name_1_0= RULE_ID { lv_name_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_0, grammarAccess.getPrim2Access().getNameIDTerminalRuleCall_0_1_0()); - + newLeafNode(lv_name_1_0, grammarAccess.getPrim2Access().getNameIDTerminalRuleCall_0_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getPrim2Rule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getPrim2Rule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -2567,21 +2602,21 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:947:6: (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) + // InternalSyntacticSequencerTestLanguage.g:956:3: (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) { - // InternalSyntacticSequencerTestLanguage.g:947:6: (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) - // InternalSyntacticSequencerTestLanguage.g:947:8: otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' + // InternalSyntacticSequencerTestLanguage.g:956:3: (otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' ) + // InternalSyntacticSequencerTestLanguage.g:957:4: otherlv_2= '(' this_Addition2_3= ruleAddition2 otherlv_4= ')' { otherlv_2=(Token)match(input,21,FollowSets000.FOLLOW_9); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); - + newLeafNode(otherlv_2, grammarAccess.getPrim2Access().getLeftParenthesisKeyword_1_0()); + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getPrim2Access().getAddition2ParserRuleCall_1_1()); - + + newCompositeNode(grammarAccess.getPrim2Access().getAddition2ParserRuleCall_1_1()); + } pushFollow(FollowSets000.FOLLOW_10); this_Addition2_3=ruleAddition2(); @@ -2589,16 +2624,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Addition2_3; - afterParserOrEnumRuleCall(); - + + current = this_Addition2_3; + afterParserOrEnumRuleCall(); + } otherlv_4=(Token)match(input,22,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getPrim2Access().getRightParenthesisKeyword_1_2()); - + newLeafNode(otherlv_4, grammarAccess.getPrim2Access().getRightParenthesisKeyword_1_2()); + } } @@ -2613,14 +2648,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2629,7 +2666,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleDatatypeID" - // InternalSyntacticSequencerTestLanguage.g:972:1: entryRuleDatatypeID returns [String current=null] : iv_ruleDatatypeID= ruleDatatypeID EOF ; + // InternalSyntacticSequencerTestLanguage.g:978:1: entryRuleDatatypeID returns [String current=null] : iv_ruleDatatypeID= ruleDatatypeID EOF ; public final String entryRuleDatatypeID() throws RecognitionException { String current = null; @@ -2637,8 +2674,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:973:2: (iv_ruleDatatypeID= ruleDatatypeID EOF ) - // InternalSyntacticSequencerTestLanguage.g:974:2: iv_ruleDatatypeID= ruleDatatypeID EOF + // InternalSyntacticSequencerTestLanguage.g:978:50: (iv_ruleDatatypeID= ruleDatatypeID EOF ) + // InternalSyntacticSequencerTestLanguage.g:979:2: iv_ruleDatatypeID= ruleDatatypeID EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getDatatypeIDRule()); @@ -2656,11 +2693,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2669,41 +2706,44 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleDatatypeID" - // InternalSyntacticSequencerTestLanguage.g:981:1: ruleDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + // InternalSyntacticSequencerTestLanguage.g:985:1: ruleDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; public final AntlrDatatypeRuleToken ruleDatatypeID() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_ID_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:984:28: (this_ID_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:985:5: this_ID_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:991:2: (this_ID_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:992:2: this_ID_0= RULE_ID { this_ID_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_ID_0); - + } if ( state.backtracking==0 ) { - - newLeafNode(this_ID_0, grammarAccess.getDatatypeIDAccess().getIDTerminalRuleCall()); - + + newLeafNode(this_ID_0, grammarAccess.getDatatypeIDAccess().getIDTerminalRuleCall()); + } } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2712,7 +2752,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleSingleCrossReference" - // InternalSyntacticSequencerTestLanguage.g:1000:1: entryRuleSingleCrossReference returns [EObject current=null] : iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ; + // InternalSyntacticSequencerTestLanguage.g:1002:1: entryRuleSingleCrossReference returns [EObject current=null] : iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ; public final EObject entryRuleSingleCrossReference() throws RecognitionException { EObject current = null; @@ -2720,8 +2760,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1001:2: (iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ) - // InternalSyntacticSequencerTestLanguage.g:1002:2: iv_ruleSingleCrossReference= ruleSingleCrossReference EOF + // InternalSyntacticSequencerTestLanguage.g:1002:61: (iv_ruleSingleCrossReference= ruleSingleCrossReference EOF ) + // InternalSyntacticSequencerTestLanguage.g:1003:2: iv_ruleSingleCrossReference= ruleSingleCrossReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getSingleCrossReferenceRule()); @@ -2739,11 +2779,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -2767,28 +2807,29 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token otherlv_8=null; Token otherlv_9=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1012:28: ( (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) ) - // InternalSyntacticSequencerTestLanguage.g:1013:1: (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1015:2: ( (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) ) + // InternalSyntacticSequencerTestLanguage.g:1016:2: (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1013:1: (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1013:3: otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? + // InternalSyntacticSequencerTestLanguage.g:1016:2: (otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1017:3: otherlv_0= '#5' ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? { otherlv_0=(Token)match(input,25,FollowSets000.FOLLOW_12); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitFiveKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getSingleCrossReferenceAccess().getNumberSignDigitFiveKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1017:1: ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1018:1: ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1021:3: ( ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1022:4: ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) { - // InternalSyntacticSequencerTestLanguage.g:1018:1: ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1019:1: (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1022:4: ( (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1023:5: (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1019:1: (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1023:5: (lv_name_1_1= RULE_TERMINAL_ID | lv_name_1_2= RULE_ID ) int alt8=2; int LA8_0 = input.LA(1); @@ -2807,49 +2848,49 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt8) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1020:3: lv_name_1_1= RULE_TERMINAL_ID + // InternalSyntacticSequencerTestLanguage.g:1024:6: lv_name_1_1= RULE_TERMINAL_ID { lv_name_1_1=(Token)match(input,RULE_TERMINAL_ID,FollowSets000.FOLLOW_13); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameTERMINAL_IDTerminalRuleCall_1_0_0()); - + newLeafNode(lv_name_1_1, grammarAccess.getSingleCrossReferenceAccess().getNameTERMINAL_IDTerminalRuleCall_1_0_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_1, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.TERMINAL_ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_1, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.TERMINAL_ID"); + } } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:1035:8: lv_name_1_2= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1039:6: lv_name_1_2= RULE_ID { lv_name_1_2=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_13); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameIDTerminalRuleCall_1_0_1()); - + newLeafNode(lv_name_1_2, grammarAccess.getSingleCrossReferenceAccess().getNameIDTerminalRuleCall_1_0_1()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_2, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_2, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -2863,7 +2904,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1053:2: (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? + // InternalSyntacticSequencerTestLanguage.g:1056:3: (otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) )? int alt9=2; int LA9_0 = input.LA(1); @@ -2872,32 +2913,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt9) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1053:4: otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1057:4: otherlv_2= 'kw1' ( (otherlv_3= RULE_TERMINAL_ID ) ) { otherlv_2=(Token)match(input,14,FollowSets000.FOLLOW_14); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getKw1Keyword_2_0()); - + newLeafNode(otherlv_2, grammarAccess.getSingleCrossReferenceAccess().getKw1Keyword_2_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1057:1: ( (otherlv_3= RULE_TERMINAL_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1058:1: (otherlv_3= RULE_TERMINAL_ID ) + // InternalSyntacticSequencerTestLanguage.g:1061:4: ( (otherlv_3= RULE_TERMINAL_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1062:5: (otherlv_3= RULE_TERMINAL_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1058:1: (otherlv_3= RULE_TERMINAL_ID ) - // InternalSyntacticSequencerTestLanguage.g:1059:3: otherlv_3= RULE_TERMINAL_ID + // InternalSyntacticSequencerTestLanguage.g:1062:5: (otherlv_3= RULE_TERMINAL_ID ) + // InternalSyntacticSequencerTestLanguage.g:1063:6: otherlv_3= RULE_TERMINAL_ID { if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } otherlv_3=(Token)match(input,RULE_TERMINAL_ID,FollowSets000.FOLLOW_15); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRef1SingleCrossReferenceCrossReference_2_1_0()); - + newLeafNode(otherlv_3, grammarAccess.getSingleCrossReferenceAccess().getRef1SingleCrossReferenceCrossReference_2_1_0()); + } } @@ -2911,7 +2952,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1070:4: (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? + // InternalSyntacticSequencerTestLanguage.g:1075:3: (otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) )? int alt10=2; int LA10_0 = input.LA(1); @@ -2920,31 +2961,31 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt10) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1070:6: otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) + // InternalSyntacticSequencerTestLanguage.g:1076:4: otherlv_4= 'kw2' ( ( ruleDatatypeID ) ) { otherlv_4=(Token)match(input,15,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getKw2Keyword_3_0()); - + newLeafNode(otherlv_4, grammarAccess.getSingleCrossReferenceAccess().getKw2Keyword_3_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1074:1: ( ( ruleDatatypeID ) ) - // InternalSyntacticSequencerTestLanguage.g:1075:1: ( ruleDatatypeID ) + // InternalSyntacticSequencerTestLanguage.g:1080:4: ( ( ruleDatatypeID ) ) + // InternalSyntacticSequencerTestLanguage.g:1081:5: ( ruleDatatypeID ) { - // InternalSyntacticSequencerTestLanguage.g:1075:1: ( ruleDatatypeID ) - // InternalSyntacticSequencerTestLanguage.g:1076:3: ruleDatatypeID + // InternalSyntacticSequencerTestLanguage.g:1081:5: ( ruleDatatypeID ) + // InternalSyntacticSequencerTestLanguage.g:1082:6: ruleDatatypeID { if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getSingleCrossReferenceAccess().getRef2SingleCrossReferenceCrossReference_3_1_0()); - + + newCompositeNode(grammarAccess.getSingleCrossReferenceAccess().getRef2SingleCrossReferenceCrossReference_3_1_0()); + } pushFollow(FollowSets000.FOLLOW_16); ruleDatatypeID(); @@ -2952,9 +2993,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } @@ -2968,7 +3009,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1089:4: (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? + // InternalSyntacticSequencerTestLanguage.g:1097:3: (otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) )? int alt11=2; int LA11_0 = input.LA(1); @@ -2977,32 +3018,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt11) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1089:6: otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1098:4: otherlv_6= 'kw3' ( (otherlv_7= RULE_ID ) ) { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_6, grammarAccess.getSingleCrossReferenceAccess().getKw3Keyword_4_0()); - + newLeafNode(otherlv_6, grammarAccess.getSingleCrossReferenceAccess().getKw3Keyword_4_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1093:1: ( (otherlv_7= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1094:1: (otherlv_7= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1102:4: ( (otherlv_7= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1103:5: (otherlv_7= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1094:1: (otherlv_7= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1095:3: otherlv_7= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1103:5: (otherlv_7= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1104:6: otherlv_7= RULE_ID { if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } otherlv_7=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_17); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_7, grammarAccess.getSingleCrossReferenceAccess().getRef3SingleCrossReferenceCrossReference_4_1_0()); - + newLeafNode(otherlv_7, grammarAccess.getSingleCrossReferenceAccess().getRef3SingleCrossReferenceCrossReference_4_1_0()); + } } @@ -3016,7 +3057,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1106:4: (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? + // InternalSyntacticSequencerTestLanguage.g:1116:3: (otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) )? int alt12=2; int LA12_0 = input.LA(1); @@ -3025,32 +3066,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt12) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1106:6: otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1117:4: otherlv_8= 'kw4' ( (otherlv_9= RULE_ID ) ) { otherlv_8=(Token)match(input,17,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_8, grammarAccess.getSingleCrossReferenceAccess().getKw4Keyword_5_0()); - + newLeafNode(otherlv_8, grammarAccess.getSingleCrossReferenceAccess().getKw4Keyword_5_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1110:1: ( (otherlv_9= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1111:1: (otherlv_9= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1121:4: ( (otherlv_9= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1122:5: (otherlv_9= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1111:1: (otherlv_9= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1112:3: otherlv_9= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1122:5: (otherlv_9= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1123:6: otherlv_9= RULE_ID { if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); - } - + if (current==null) { + current = createModelElement(grammarAccess.getSingleCrossReferenceRule()); + } + } otherlv_9=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_9, grammarAccess.getSingleCrossReferenceAccess().getRef4SingleCrossReferenceCrossReference_5_1_0()); - + newLeafNode(otherlv_9, grammarAccess.getSingleCrossReferenceAccess().getRef4SingleCrossReferenceCrossReference_5_1_0()); + } } @@ -3071,14 +3112,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3087,7 +3130,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleBooleanAlternative" - // InternalSyntacticSequencerTestLanguage.g:1131:1: entryRuleBooleanAlternative returns [EObject current=null] : iv_ruleBooleanAlternative= ruleBooleanAlternative EOF ; + // InternalSyntacticSequencerTestLanguage.g:1139:1: entryRuleBooleanAlternative returns [EObject current=null] : iv_ruleBooleanAlternative= ruleBooleanAlternative EOF ; public final EObject entryRuleBooleanAlternative() throws RecognitionException { EObject current = null; @@ -3095,8 +3138,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1132:2: (iv_ruleBooleanAlternative= ruleBooleanAlternative EOF ) - // InternalSyntacticSequencerTestLanguage.g:1133:2: iv_ruleBooleanAlternative= ruleBooleanAlternative EOF + // InternalSyntacticSequencerTestLanguage.g:1139:59: (iv_ruleBooleanAlternative= ruleBooleanAlternative EOF ) + // InternalSyntacticSequencerTestLanguage.g:1140:2: iv_ruleBooleanAlternative= ruleBooleanAlternative EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBooleanAlternativeRule()); @@ -3114,11 +3157,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3127,7 +3170,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleBooleanAlternative" - // InternalSyntacticSequencerTestLanguage.g:1140:1: ruleBooleanAlternative returns [EObject current=null] : (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1146:1: ruleBooleanAlternative returns [EObject current=null] : (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) ; public final EObject ruleBooleanAlternative() throws RecognitionException { EObject current = null; @@ -3135,31 +3178,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject lv_bool_1_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1143:28: ( (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1144:1: (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1152:2: ( (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1153:2: (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1144:1: (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1144:3: otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) + // InternalSyntacticSequencerTestLanguage.g:1153:2: (otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1154:3: otherlv_0= '#6' ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) { otherlv_0=(Token)match(input,26,FollowSets000.FOLLOW_18); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getBooleanAlternativeAccess().getNumberSignDigitSixKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getBooleanAlternativeAccess().getNumberSignDigitSixKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1148:1: ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) - // InternalSyntacticSequencerTestLanguage.g:1149:1: (lv_bool_1_0= ruleBooleanAlternativeLiteral ) + // InternalSyntacticSequencerTestLanguage.g:1158:3: ( (lv_bool_1_0= ruleBooleanAlternativeLiteral ) ) + // InternalSyntacticSequencerTestLanguage.g:1159:4: (lv_bool_1_0= ruleBooleanAlternativeLiteral ) { - // InternalSyntacticSequencerTestLanguage.g:1149:1: (lv_bool_1_0= ruleBooleanAlternativeLiteral ) - // InternalSyntacticSequencerTestLanguage.g:1150:3: lv_bool_1_0= ruleBooleanAlternativeLiteral + // InternalSyntacticSequencerTestLanguage.g:1159:4: (lv_bool_1_0= ruleBooleanAlternativeLiteral ) + // InternalSyntacticSequencerTestLanguage.g:1160:5: lv_bool_1_0= ruleBooleanAlternativeLiteral { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getBooleanAlternativeAccess().getBoolBooleanAlternativeLiteralParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getBooleanAlternativeAccess().getBoolBooleanAlternativeLiteralParserRuleCall_1_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_bool_1_0=ruleBooleanAlternativeLiteral(); @@ -3168,16 +3212,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getBooleanAlternativeRule()); - } - set( - current, - "bool", - lv_bool_1_0, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternativeLiteral"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getBooleanAlternativeRule()); + } + set( + current, + "bool", + lv_bool_1_0, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternativeLiteral"); + afterParserOrEnumRuleCall(); + } } @@ -3192,14 +3236,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3208,7 +3254,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleBooleanAlternativeLiteral" - // InternalSyntacticSequencerTestLanguage.g:1174:1: entryRuleBooleanAlternativeLiteral returns [EObject current=null] : iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF ; + // InternalSyntacticSequencerTestLanguage.g:1181:1: entryRuleBooleanAlternativeLiteral returns [EObject current=null] : iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF ; public final EObject entryRuleBooleanAlternativeLiteral() throws RecognitionException { EObject current = null; @@ -3216,8 +3262,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1175:2: (iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF ) - // InternalSyntacticSequencerTestLanguage.g:1176:2: iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF + // InternalSyntacticSequencerTestLanguage.g:1181:66: (iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF ) + // InternalSyntacticSequencerTestLanguage.g:1182:2: iv_ruleBooleanAlternativeLiteral= ruleBooleanAlternativeLiteral EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBooleanAlternativeLiteralRule()); @@ -3235,11 +3281,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3248,36 +3294,37 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleBooleanAlternativeLiteral" - // InternalSyntacticSequencerTestLanguage.g:1183:1: ruleBooleanAlternativeLiteral returns [EObject current=null] : ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1188:1: ruleBooleanAlternativeLiteral returns [EObject current=null] : ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) ; public final EObject ruleBooleanAlternativeLiteral() throws RecognitionException { EObject current = null; Token otherlv_1=null; Token lv_isTrue_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1186:28: ( ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1187:1: ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1194:2: ( ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1195:2: ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1187:1: ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1187:2: () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1195:2: ( () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1196:3: () (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1187:2: () - // InternalSyntacticSequencerTestLanguage.g:1188:5: + // InternalSyntacticSequencerTestLanguage.g:1196:3: () + // InternalSyntacticSequencerTestLanguage.g:1197:4: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getBooleanAlternativeLiteralAccess().getBooleanAlternativeLiteralAction_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getBooleanAlternativeLiteralAccess().getBooleanAlternativeLiteralAction_0(), + current); + } } - // InternalSyntacticSequencerTestLanguage.g:1193:2: (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1203:3: (otherlv_1= 'kw1' | ( (lv_isTrue_2_0= 'kw2' ) ) ) int alt13=2; int LA13_0 = input.LA(1); @@ -3296,39 +3343,39 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt13) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1193:4: otherlv_1= 'kw1' + // InternalSyntacticSequencerTestLanguage.g:1204:4: otherlv_1= 'kw1' { otherlv_1=(Token)match(input,14,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_1, grammarAccess.getBooleanAlternativeLiteralAccess().getKw1Keyword_1_0()); - + newLeafNode(otherlv_1, grammarAccess.getBooleanAlternativeLiteralAccess().getKw1Keyword_1_0()); + } } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:1198:6: ( (lv_isTrue_2_0= 'kw2' ) ) + // InternalSyntacticSequencerTestLanguage.g:1209:4: ( (lv_isTrue_2_0= 'kw2' ) ) { - // InternalSyntacticSequencerTestLanguage.g:1198:6: ( (lv_isTrue_2_0= 'kw2' ) ) - // InternalSyntacticSequencerTestLanguage.g:1199:1: (lv_isTrue_2_0= 'kw2' ) + // InternalSyntacticSequencerTestLanguage.g:1209:4: ( (lv_isTrue_2_0= 'kw2' ) ) + // InternalSyntacticSequencerTestLanguage.g:1210:5: (lv_isTrue_2_0= 'kw2' ) { - // InternalSyntacticSequencerTestLanguage.g:1199:1: (lv_isTrue_2_0= 'kw2' ) - // InternalSyntacticSequencerTestLanguage.g:1200:3: lv_isTrue_2_0= 'kw2' + // InternalSyntacticSequencerTestLanguage.g:1210:5: (lv_isTrue_2_0= 'kw2' ) + // InternalSyntacticSequencerTestLanguage.g:1211:6: lv_isTrue_2_0= 'kw2' { lv_isTrue_2_0=(Token)match(input,15,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanAlternativeLiteralAccess().getIsTrueKw2Keyword_1_1_0()); - + newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanAlternativeLiteralAccess().getIsTrueKw2Keyword_1_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getBooleanAlternativeLiteralRule()); - } - setWithLastConsumed(current, "isTrue", true, "kw2"); - + if (current==null) { + current = createModelElement(grammarAccess.getBooleanAlternativeLiteralRule()); + } + setWithLastConsumed(current, "isTrue", true, "kw2"); + } } @@ -3349,14 +3396,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3365,7 +3414,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleUnassignedDatatype" - // InternalSyntacticSequencerTestLanguage.g:1221:1: entryRuleUnassignedDatatype returns [EObject current=null] : iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF ; + // InternalSyntacticSequencerTestLanguage.g:1228:1: entryRuleUnassignedDatatype returns [EObject current=null] : iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF ; public final EObject entryRuleUnassignedDatatype() throws RecognitionException { EObject current = null; @@ -3373,8 +3422,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1222:2: (iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF ) - // InternalSyntacticSequencerTestLanguage.g:1223:2: iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF + // InternalSyntacticSequencerTestLanguage.g:1228:59: (iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF ) + // InternalSyntacticSequencerTestLanguage.g:1229:2: iv_ruleUnassignedDatatype= ruleUnassignedDatatype EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getUnassignedDatatypeRule()); @@ -3392,11 +3441,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3405,62 +3454,63 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleUnassignedDatatype" - // InternalSyntacticSequencerTestLanguage.g:1230:1: ruleUnassignedDatatype returns [EObject current=null] : (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) ; + // InternalSyntacticSequencerTestLanguage.g:1235:1: ruleUnassignedDatatype returns [EObject current=null] : (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) ; public final EObject ruleUnassignedDatatype() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_1_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1233:28: ( (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) ) - // InternalSyntacticSequencerTestLanguage.g:1234:1: (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) + // InternalSyntacticSequencerTestLanguage.g:1241:2: ( (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) ) + // InternalSyntacticSequencerTestLanguage.g:1242:2: (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) { - // InternalSyntacticSequencerTestLanguage.g:1234:1: (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) - // InternalSyntacticSequencerTestLanguage.g:1234:3: otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 + // InternalSyntacticSequencerTestLanguage.g:1242:2: (otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 ) + // InternalSyntacticSequencerTestLanguage.g:1243:3: otherlv_0= '#7' ( (lv_val_1_0= RULE_ID ) ) ruleKW1 { otherlv_0=(Token)match(input,27,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getUnassignedDatatypeAccess().getNumberSignDigitSevenKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getUnassignedDatatypeAccess().getNumberSignDigitSevenKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1238:1: ( (lv_val_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1239:1: (lv_val_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1247:3: ( (lv_val_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1248:4: (lv_val_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1239:1: (lv_val_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1240:3: lv_val_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1248:4: (lv_val_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1249:5: lv_val_1_0= RULE_ID { lv_val_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_19); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_1_0, grammarAccess.getUnassignedDatatypeAccess().getValIDTerminalRuleCall_1_0()); + newLeafNode(lv_val_1_0, grammarAccess.getUnassignedDatatypeAccess().getValIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getUnassignedDatatypeRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getUnassignedDatatypeAccess().getKW1ParserRuleCall_2()); - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getUnassignedDatatypeRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } - - } - - - } - - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getUnassignedDatatypeAccess().getKW1ParserRuleCall_2()); - } pushFollow(FollowSets000.FOLLOW_2); ruleKW1(); @@ -3468,9 +3518,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } @@ -3479,14 +3529,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3495,7 +3547,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleKW1" - // InternalSyntacticSequencerTestLanguage.g:1272:1: entryRuleKW1 returns [String current=null] : iv_ruleKW1= ruleKW1 EOF ; + // InternalSyntacticSequencerTestLanguage.g:1276:1: entryRuleKW1 returns [String current=null] : iv_ruleKW1= ruleKW1 EOF ; public final String entryRuleKW1() throws RecognitionException { String current = null; @@ -3503,8 +3555,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1273:2: (iv_ruleKW1= ruleKW1 EOF ) - // InternalSyntacticSequencerTestLanguage.g:1274:2: iv_ruleKW1= ruleKW1 EOF + // InternalSyntacticSequencerTestLanguage.g:1276:43: (iv_ruleKW1= ruleKW1 EOF ) + // InternalSyntacticSequencerTestLanguage.g:1277:2: iv_ruleKW1= ruleKW1 EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getKW1Rule()); @@ -3522,11 +3574,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3535,20 +3587,21 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleKW1" - // InternalSyntacticSequencerTestLanguage.g:1281:1: ruleKW1 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1283:1: ruleKW1 returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) ; public final AntlrDatatypeRuleToken ruleKW1() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; Token this_INT_2=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1284:28: ( (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1285:1: (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) + // InternalSyntacticSequencerTestLanguage.g:1289:2: ( (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1290:2: (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) { - // InternalSyntacticSequencerTestLanguage.g:1285:1: (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) + // InternalSyntacticSequencerTestLanguage.g:1290:2: (kw= 'kw1' | (kw= 'matched' (this_INT_2= RULE_INT )? ) ) int alt15=2; int LA15_0 = input.LA(1); @@ -3567,32 +3620,32 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt15) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1286:2: kw= 'kw1' + // InternalSyntacticSequencerTestLanguage.g:1291:3: kw= 'kw1' { kw=(Token)match(input,14,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - current.merge(kw); - newLeafNode(kw, grammarAccess.getKW1Access().getKw1Keyword_0()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getKW1Access().getKw1Keyword_0()); + } } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:1292:6: (kw= 'matched' (this_INT_2= RULE_INT )? ) + // InternalSyntacticSequencerTestLanguage.g:1297:3: (kw= 'matched' (this_INT_2= RULE_INT )? ) { - // InternalSyntacticSequencerTestLanguage.g:1292:6: (kw= 'matched' (this_INT_2= RULE_INT )? ) - // InternalSyntacticSequencerTestLanguage.g:1293:2: kw= 'matched' (this_INT_2= RULE_INT )? + // InternalSyntacticSequencerTestLanguage.g:1297:3: (kw= 'matched' (this_INT_2= RULE_INT )? ) + // InternalSyntacticSequencerTestLanguage.g:1298:4: kw= 'matched' (this_INT_2= RULE_INT )? { kw=(Token)match(input,28,FollowSets000.FOLLOW_20); if (state.failed) return current; if ( state.backtracking==0 ) { - current.merge(kw); - newLeafNode(kw, grammarAccess.getKW1Access().getMatchedKeyword_1_0()); - + current.merge(kw); + newLeafNode(kw, grammarAccess.getKW1Access().getMatchedKeyword_1_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1298:1: (this_INT_2= RULE_INT )? + // InternalSyntacticSequencerTestLanguage.g:1303:4: (this_INT_2= RULE_INT )? int alt14=2; int LA14_0 = input.LA(1); @@ -3601,18 +3654,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt14) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1298:6: this_INT_2= RULE_INT + // InternalSyntacticSequencerTestLanguage.g:1304:5: this_INT_2= RULE_INT { this_INT_2=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - current.merge(this_INT_2); - + current.merge(this_INT_2); + } if ( state.backtracking==0 ) { - - newLeafNode(this_INT_2, grammarAccess.getKW1Access().getINTTerminalRuleCall_1_1()); - + + newLeafNode(this_INT_2, grammarAccess.getKW1Access().getINTTerminalRuleCall_1_1()); + } } @@ -3633,14 +3686,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3649,7 +3704,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleOptionalSingleTransition" - // InternalSyntacticSequencerTestLanguage.g:1313:1: entryRuleOptionalSingleTransition returns [EObject current=null] : iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF ; + // InternalSyntacticSequencerTestLanguage.g:1317:1: entryRuleOptionalSingleTransition returns [EObject current=null] : iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF ; public final EObject entryRuleOptionalSingleTransition() throws RecognitionException { EObject current = null; @@ -3657,8 +3712,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1314:2: (iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF ) - // InternalSyntacticSequencerTestLanguage.g:1315:2: iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF + // InternalSyntacticSequencerTestLanguage.g:1317:65: (iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF ) + // InternalSyntacticSequencerTestLanguage.g:1318:2: iv_ruleOptionalSingleTransition= ruleOptionalSingleTransition EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOptionalSingleTransitionRule()); @@ -3676,11 +3731,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3689,29 +3744,30 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleOptionalSingleTransition" - // InternalSyntacticSequencerTestLanguage.g:1322:1: ruleOptionalSingleTransition returns [EObject current=null] : (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1324:1: ruleOptionalSingleTransition returns [EObject current=null] : (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) ; public final EObject ruleOptionalSingleTransition() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1325:28: ( (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1326:1: (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1330:2: ( (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1331:2: (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1326:1: (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1326:3: otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1331:2: (otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1332:3: otherlv_0= '#8' ( ruleKW1 )? ( (lv_val_2_0= RULE_ID ) ) { otherlv_0=(Token)match(input,29,FollowSets000.FOLLOW_21); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getOptionalSingleTransitionAccess().getNumberSignDigitEightKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getOptionalSingleTransitionAccess().getNumberSignDigitEightKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1330:1: ( ruleKW1 )? + // InternalSyntacticSequencerTestLanguage.g:1336:3: ( ruleKW1 )? int alt16=2; int LA16_0 = input.LA(1); @@ -3720,12 +3776,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt16) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1331:5: ruleKW1 + // InternalSyntacticSequencerTestLanguage.g:1337:4: ruleKW1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getOptionalSingleTransitionAccess().getKW1ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getOptionalSingleTransitionAccess().getKW1ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_3); ruleKW1(); @@ -3733,9 +3789,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } @@ -3743,29 +3799,29 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1338:3: ( (lv_val_2_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1339:1: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1345:3: ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1346:4: (lv_val_2_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1339:1: (lv_val_2_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1340:3: lv_val_2_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1346:4: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1347:5: lv_val_2_0= RULE_ID { lv_val_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_2_0, grammarAccess.getOptionalSingleTransitionAccess().getValIDTerminalRuleCall_2_0()); - + newLeafNode(lv_val_2_0, grammarAccess.getOptionalSingleTransitionAccess().getValIDTerminalRuleCall_2_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getOptionalSingleTransitionRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getOptionalSingleTransitionRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -3780,14 +3836,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3796,7 +3854,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleOptionalManyTransition" - // InternalSyntacticSequencerTestLanguage.g:1364:1: entryRuleOptionalManyTransition returns [EObject current=null] : iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF ; + // InternalSyntacticSequencerTestLanguage.g:1367:1: entryRuleOptionalManyTransition returns [EObject current=null] : iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF ; public final EObject entryRuleOptionalManyTransition() throws RecognitionException { EObject current = null; @@ -3804,8 +3862,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1365:2: (iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF ) - // InternalSyntacticSequencerTestLanguage.g:1366:2: iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF + // InternalSyntacticSequencerTestLanguage.g:1367:63: (iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF ) + // InternalSyntacticSequencerTestLanguage.g:1368:2: iv_ruleOptionalManyTransition= ruleOptionalManyTransition EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getOptionalManyTransitionRule()); @@ -3823,11 +3881,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3836,29 +3894,30 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleOptionalManyTransition" - // InternalSyntacticSequencerTestLanguage.g:1373:1: ruleOptionalManyTransition returns [EObject current=null] : (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1374:1: ruleOptionalManyTransition returns [EObject current=null] : (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) ; public final EObject ruleOptionalManyTransition() throws RecognitionException { EObject current = null; Token otherlv_0=null; Token lv_val_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1376:28: ( (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1377:1: (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1380:2: ( (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1381:2: (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1377:1: (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1377:3: otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1381:2: (otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1382:3: otherlv_0= '#9' ( ruleKW1 )* ( (lv_val_2_0= RULE_ID ) ) { otherlv_0=(Token)match(input,30,FollowSets000.FOLLOW_21); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getOptionalManyTransitionAccess().getNumberSignDigitNineKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getOptionalManyTransitionAccess().getNumberSignDigitNineKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1381:1: ( ruleKW1 )* + // InternalSyntacticSequencerTestLanguage.g:1386:3: ( ruleKW1 )* loop17: do { int alt17=2; @@ -3871,12 +3930,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt17) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1382:5: ruleKW1 + // InternalSyntacticSequencerTestLanguage.g:1387:4: ruleKW1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getOptionalManyTransitionAccess().getKW1ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getOptionalManyTransitionAccess().getKW1ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_21); ruleKW1(); @@ -3884,9 +3943,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } @@ -3897,29 +3956,29 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } while (true); - // InternalSyntacticSequencerTestLanguage.g:1389:3: ( (lv_val_2_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1390:1: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1395:3: ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1396:4: (lv_val_2_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1390:1: (lv_val_2_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1391:3: lv_val_2_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1396:4: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1397:5: lv_val_2_0= RULE_ID { lv_val_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_2_0, grammarAccess.getOptionalManyTransitionAccess().getValIDTerminalRuleCall_2_0()); - + newLeafNode(lv_val_2_0, grammarAccess.getOptionalManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getOptionalManyTransitionRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getOptionalManyTransitionRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -3934,14 +3993,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3950,7 +4011,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleMandatoryManyTransition" - // InternalSyntacticSequencerTestLanguage.g:1415:1: entryRuleMandatoryManyTransition returns [EObject current=null] : iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF ; + // InternalSyntacticSequencerTestLanguage.g:1417:1: entryRuleMandatoryManyTransition returns [EObject current=null] : iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF ; public final EObject entryRuleMandatoryManyTransition() throws RecognitionException { EObject current = null; @@ -3958,8 +4019,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1416:2: (iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF ) - // InternalSyntacticSequencerTestLanguage.g:1417:2: iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF + // InternalSyntacticSequencerTestLanguage.g:1417:64: (iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF ) + // InternalSyntacticSequencerTestLanguage.g:1418:2: iv_ruleMandatoryManyTransition= ruleMandatoryManyTransition EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getMandatoryManyTransitionRule()); @@ -3977,11 +4038,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -3997,22 +4058,23 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token otherlv_0=null; Token lv_val_2_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1427:28: ( (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1428:1: (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1430:2: ( (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1431:2: (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1428:1: (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1428:3: otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1431:2: (otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1432:3: otherlv_0= '#10' ( ruleKW1 )+ ( (lv_val_2_0= RULE_ID ) ) { otherlv_0=(Token)match(input,31,FollowSets000.FOLLOW_19); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getMandatoryManyTransitionAccess().getNumberSignDigitOneDigitZeroKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getMandatoryManyTransitionAccess().getNumberSignDigitOneDigitZeroKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1432:1: ( ruleKW1 )+ + // InternalSyntacticSequencerTestLanguage.g:1436:3: ( ruleKW1 )+ int cnt18=0; loop18: do { @@ -4026,12 +4088,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt18) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1433:5: ruleKW1 + // InternalSyntacticSequencerTestLanguage.g:1437:4: ruleKW1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1()); - + + newCompositeNode(grammarAccess.getMandatoryManyTransitionAccess().getKW1ParserRuleCall_1()); + } pushFollow(FollowSets000.FOLLOW_21); ruleKW1(); @@ -4039,9 +4101,9 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } @@ -4057,29 +4119,29 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern cnt18++; } while (true); - // InternalSyntacticSequencerTestLanguage.g:1440:3: ( (lv_val_2_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1441:1: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1445:3: ( (lv_val_2_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1446:4: (lv_val_2_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1441:1: (lv_val_2_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1442:3: lv_val_2_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1446:4: (lv_val_2_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1447:5: lv_val_2_0= RULE_ID { lv_val_2_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_2_0, grammarAccess.getMandatoryManyTransitionAccess().getValIDTerminalRuleCall_2_0()); - + newLeafNode(lv_val_2_0, grammarAccess.getMandatoryManyTransitionAccess().getValIDTerminalRuleCall_2_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMandatoryManyTransitionRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_2_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getMandatoryManyTransitionRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_2_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4094,14 +4156,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4110,7 +4174,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleAlternativeTransition" - // InternalSyntacticSequencerTestLanguage.g:1466:1: entryRuleAlternativeTransition returns [EObject current=null] : iv_ruleAlternativeTransition= ruleAlternativeTransition EOF ; + // InternalSyntacticSequencerTestLanguage.g:1467:1: entryRuleAlternativeTransition returns [EObject current=null] : iv_ruleAlternativeTransition= ruleAlternativeTransition EOF ; public final EObject entryRuleAlternativeTransition() throws RecognitionException { EObject current = null; @@ -4118,7 +4182,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1467:2: (iv_ruleAlternativeTransition= ruleAlternativeTransition EOF ) + // InternalSyntacticSequencerTestLanguage.g:1467:62: (iv_ruleAlternativeTransition= ruleAlternativeTransition EOF ) // InternalSyntacticSequencerTestLanguage.g:1468:2: iv_ruleAlternativeTransition= ruleAlternativeTransition EOF { if ( state.backtracking==0 ) { @@ -4137,11 +4201,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4150,7 +4214,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleAlternativeTransition" - // InternalSyntacticSequencerTestLanguage.g:1475:1: ruleAlternativeTransition returns [EObject current=null] : (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1474:1: ruleAlternativeTransition returns [EObject current=null] : (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) ; public final EObject ruleAlternativeTransition() throws RecognitionException { EObject current = null; @@ -4158,22 +4222,23 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token otherlv_2=null; Token lv_val_3_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1478:28: ( (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1479:1: (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1480:2: ( (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1481:2: (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1479:1: (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1479:3: otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1481:2: (otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1482:3: otherlv_0= '#11' ( ruleKW1 | otherlv_2= 'kw2' ) ( (lv_val_3_0= RULE_ID ) ) { otherlv_0=(Token)match(input,32,FollowSets000.FOLLOW_22); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getAlternativeTransitionAccess().getNumberSignDigitOneDigitOneKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getAlternativeTransitionAccess().getNumberSignDigitOneDigitOneKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1483:1: ( ruleKW1 | otherlv_2= 'kw2' ) + // InternalSyntacticSequencerTestLanguage.g:1486:3: ( ruleKW1 | otherlv_2= 'kw2' ) int alt19=2; int LA19_0 = input.LA(1); @@ -4192,12 +4257,12 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt19) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1484:5: ruleKW1 + // InternalSyntacticSequencerTestLanguage.g:1487:4: ruleKW1 { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getAlternativeTransitionAccess().getKW1ParserRuleCall_1_0()); - + + newCompositeNode(grammarAccess.getAlternativeTransitionAccess().getKW1ParserRuleCall_1_0()); + } pushFollow(FollowSets000.FOLLOW_3); ruleKW1(); @@ -4205,21 +4270,21 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - + + afterParserOrEnumRuleCall(); + } } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:1492:7: otherlv_2= 'kw2' + // InternalSyntacticSequencerTestLanguage.g:1495:4: otherlv_2= 'kw2' { otherlv_2=(Token)match(input,15,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getAlternativeTransitionAccess().getKw2Keyword_1_1()); - + newLeafNode(otherlv_2, grammarAccess.getAlternativeTransitionAccess().getKw2Keyword_1_1()); + } } @@ -4227,29 +4292,29 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1496:2: ( (lv_val_3_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1497:1: (lv_val_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1500:3: ( (lv_val_3_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1501:4: (lv_val_3_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1497:1: (lv_val_3_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1498:3: lv_val_3_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1501:4: (lv_val_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1502:5: lv_val_3_0= RULE_ID { lv_val_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_3_0, grammarAccess.getAlternativeTransitionAccess().getValIDTerminalRuleCall_2_0()); - + newLeafNode(lv_val_3_0, grammarAccess.getAlternativeTransitionAccess().getValIDTerminalRuleCall_2_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getAlternativeTransitionRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getAlternativeTransitionRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4264,14 +4329,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4288,8 +4355,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1523:2: (iv_ruleBooleanDatatypeID= ruleBooleanDatatypeID EOF ) - // InternalSyntacticSequencerTestLanguage.g:1524:2: iv_ruleBooleanDatatypeID= ruleBooleanDatatypeID EOF + // InternalSyntacticSequencerTestLanguage.g:1522:57: (iv_ruleBooleanDatatypeID= ruleBooleanDatatypeID EOF ) + // InternalSyntacticSequencerTestLanguage.g:1523:2: iv_ruleBooleanDatatypeID= ruleBooleanDatatypeID EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBooleanDatatypeIDRule()); @@ -4307,11 +4374,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4320,41 +4387,44 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleBooleanDatatypeID" - // InternalSyntacticSequencerTestLanguage.g:1531:1: ruleBooleanDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + // InternalSyntacticSequencerTestLanguage.g:1529:1: ruleBooleanDatatypeID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; public final AntlrDatatypeRuleToken ruleBooleanDatatypeID() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token this_ID_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1534:28: (this_ID_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1535:5: this_ID_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1535:2: (this_ID_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1536:2: this_ID_0= RULE_ID { this_ID_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { current.merge(this_ID_0); - + } if ( state.backtracking==0 ) { - - newLeafNode(this_ID_0, grammarAccess.getBooleanDatatypeIDAccess().getIDTerminalRuleCall()); - + + newLeafNode(this_ID_0, grammarAccess.getBooleanDatatypeIDAccess().getIDTerminalRuleCall()); + } } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4363,7 +4433,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleBooleanValues" - // InternalSyntacticSequencerTestLanguage.g:1550:1: entryRuleBooleanValues returns [EObject current=null] : iv_ruleBooleanValues= ruleBooleanValues EOF ; + // InternalSyntacticSequencerTestLanguage.g:1546:1: entryRuleBooleanValues returns [EObject current=null] : iv_ruleBooleanValues= ruleBooleanValues EOF ; public final EObject entryRuleBooleanValues() throws RecognitionException { EObject current = null; @@ -4371,8 +4441,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1551:2: (iv_ruleBooleanValues= ruleBooleanValues EOF ) - // InternalSyntacticSequencerTestLanguage.g:1552:2: iv_ruleBooleanValues= ruleBooleanValues EOF + // InternalSyntacticSequencerTestLanguage.g:1546:54: (iv_ruleBooleanValues= ruleBooleanValues EOF ) + // InternalSyntacticSequencerTestLanguage.g:1547:2: iv_ruleBooleanValues= ruleBooleanValues EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getBooleanValuesRule()); @@ -4390,11 +4460,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4403,7 +4473,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleBooleanValues" - // InternalSyntacticSequencerTestLanguage.g:1559:1: ruleBooleanValues returns [EObject current=null] : ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) ; + // InternalSyntacticSequencerTestLanguage.g:1553:1: ruleBooleanValues returns [EObject current=null] : ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) ; public final EObject ruleBooleanValues() throws RecognitionException { EObject current = null; @@ -4413,24 +4483,25 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern AntlrDatatypeRuleToken lv_val3_4_0 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1562:28: ( ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) ) - // InternalSyntacticSequencerTestLanguage.g:1563:1: ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1559:2: ( ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) ) + // InternalSyntacticSequencerTestLanguage.g:1560:2: ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1563:1: ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1563:2: () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? + // InternalSyntacticSequencerTestLanguage.g:1560:2: ( () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1561:3: () otherlv_1= '#12' ( (lv_val1_2_0= 'kw1' ) )? ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? { - // InternalSyntacticSequencerTestLanguage.g:1563:2: () - // InternalSyntacticSequencerTestLanguage.g:1564:5: + // InternalSyntacticSequencerTestLanguage.g:1561:3: () + // InternalSyntacticSequencerTestLanguage.g:1562:4: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getBooleanValuesAccess().getBooleanValuesAction_0(), - current); - + current = forceCreateModelElement( + grammarAccess.getBooleanValuesAccess().getBooleanValuesAction_0(), + current); + } } @@ -4438,10 +4509,10 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_1=(Token)match(input,33,FollowSets000.FOLLOW_23); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_1, grammarAccess.getBooleanValuesAccess().getNumberSignDigitOneDigitTwoKeyword_1()); - + newLeafNode(otherlv_1, grammarAccess.getBooleanValuesAccess().getNumberSignDigitOneDigitTwoKeyword_1()); + } - // InternalSyntacticSequencerTestLanguage.g:1573:1: ( (lv_val1_2_0= 'kw1' ) )? + // InternalSyntacticSequencerTestLanguage.g:1572:3: ( (lv_val1_2_0= 'kw1' ) )? int alt20=2; int LA20_0 = input.LA(1); @@ -4450,24 +4521,24 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt20) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1574:1: (lv_val1_2_0= 'kw1' ) + // InternalSyntacticSequencerTestLanguage.g:1573:4: (lv_val1_2_0= 'kw1' ) { - // InternalSyntacticSequencerTestLanguage.g:1574:1: (lv_val1_2_0= 'kw1' ) - // InternalSyntacticSequencerTestLanguage.g:1575:3: lv_val1_2_0= 'kw1' + // InternalSyntacticSequencerTestLanguage.g:1573:4: (lv_val1_2_0= 'kw1' ) + // InternalSyntacticSequencerTestLanguage.g:1574:5: lv_val1_2_0= 'kw1' { lv_val1_2_0=(Token)match(input,14,FollowSets000.FOLLOW_24); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val1_2_0, grammarAccess.getBooleanValuesAccess().getVal1Kw1Keyword_2_0()); - + newLeafNode(lv_val1_2_0, grammarAccess.getBooleanValuesAccess().getVal1Kw1Keyword_2_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getBooleanValuesRule()); - } - setWithLastConsumed(current, "val1", true, "kw1"); - + if (current==null) { + current = createModelElement(grammarAccess.getBooleanValuesRule()); + } + setWithLastConsumed(current, "val1", true, "kw1"); + } } @@ -4478,7 +4549,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1588:3: ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1586:3: ( (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) )? int alt21=2; int LA21_0 = input.LA(1); @@ -4487,28 +4558,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt21) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1589:1: (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) + // InternalSyntacticSequencerTestLanguage.g:1587:4: (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1589:1: (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) - // InternalSyntacticSequencerTestLanguage.g:1590:3: lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID + // InternalSyntacticSequencerTestLanguage.g:1587:4: (lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID ) + // InternalSyntacticSequencerTestLanguage.g:1588:5: lv_val2_3_0= RULE_BOOLEAN_TERMINAL_ID { lv_val2_3_0=(Token)match(input,RULE_BOOLEAN_TERMINAL_ID,FollowSets000.FOLLOW_25); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val2_3_0, grammarAccess.getBooleanValuesAccess().getVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0()); - + newLeafNode(lv_val2_3_0, grammarAccess.getBooleanValuesAccess().getVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getBooleanValuesRule()); - } - setWithLastConsumed( - current, - "val2", - true, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BOOLEAN_TERMINAL_ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getBooleanValuesRule()); + } + setWithLastConsumed( + current, + "val2", + true, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BOOLEAN_TERMINAL_ID"); + } } @@ -4519,7 +4590,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1606:3: ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? + // InternalSyntacticSequencerTestLanguage.g:1604:3: ( (lv_val3_4_0= ruleBooleanDatatypeID ) )? int alt22=2; int LA22_0 = input.LA(1); @@ -4528,15 +4599,15 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt22) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1607:1: (lv_val3_4_0= ruleBooleanDatatypeID ) + // InternalSyntacticSequencerTestLanguage.g:1605:4: (lv_val3_4_0= ruleBooleanDatatypeID ) { - // InternalSyntacticSequencerTestLanguage.g:1607:1: (lv_val3_4_0= ruleBooleanDatatypeID ) - // InternalSyntacticSequencerTestLanguage.g:1608:3: lv_val3_4_0= ruleBooleanDatatypeID + // InternalSyntacticSequencerTestLanguage.g:1605:4: (lv_val3_4_0= ruleBooleanDatatypeID ) + // InternalSyntacticSequencerTestLanguage.g:1606:5: lv_val3_4_0= ruleBooleanDatatypeID { if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getBooleanValuesAccess().getVal3BooleanDatatypeIDParserRuleCall_4_0()); - + + newCompositeNode(grammarAccess.getBooleanValuesAccess().getVal3BooleanDatatypeIDParserRuleCall_4_0()); + } pushFollow(FollowSets000.FOLLOW_2); lv_val3_4_0=ruleBooleanDatatypeID(); @@ -4545,16 +4616,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern if (state.failed) return current; if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElementForParent(grammarAccess.getBooleanValuesRule()); - } - set( - current, - "val3", - true, - "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanDatatypeID"); - afterParserOrEnumRuleCall(); - + if (current==null) { + current = createModelElementForParent(grammarAccess.getBooleanValuesRule()); + } + set( + current, + "val3", + true, + "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanDatatypeID"); + afterParserOrEnumRuleCall(); + } } @@ -4572,14 +4643,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4588,7 +4661,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleLongAlternative" - // InternalSyntacticSequencerTestLanguage.g:1632:1: entryRuleLongAlternative returns [EObject current=null] : iv_ruleLongAlternative= ruleLongAlternative EOF ; + // InternalSyntacticSequencerTestLanguage.g:1627:1: entryRuleLongAlternative returns [EObject current=null] : iv_ruleLongAlternative= ruleLongAlternative EOF ; public final EObject entryRuleLongAlternative() throws RecognitionException { EObject current = null; @@ -4596,8 +4669,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1633:2: (iv_ruleLongAlternative= ruleLongAlternative EOF ) - // InternalSyntacticSequencerTestLanguage.g:1634:2: iv_ruleLongAlternative= ruleLongAlternative EOF + // InternalSyntacticSequencerTestLanguage.g:1627:56: (iv_ruleLongAlternative= ruleLongAlternative EOF ) + // InternalSyntacticSequencerTestLanguage.g:1628:2: iv_ruleLongAlternative= ruleLongAlternative EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getLongAlternativeRule()); @@ -4615,11 +4688,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -4628,7 +4701,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleLongAlternative" - // InternalSyntacticSequencerTestLanguage.g:1641:1: ruleLongAlternative returns [EObject current=null] : (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) ; + // InternalSyntacticSequencerTestLanguage.g:1634:1: ruleLongAlternative returns [EObject current=null] : (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) ; public final EObject ruleLongAlternative() throws RecognitionException { EObject current = null; @@ -4652,44 +4725,45 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token lv_val8_17_0=null; Token otherlv_18=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1644:28: ( (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) ) - // InternalSyntacticSequencerTestLanguage.g:1645:1: (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) + // InternalSyntacticSequencerTestLanguage.g:1640:2: ( (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) ) + // InternalSyntacticSequencerTestLanguage.g:1641:2: (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) { - // InternalSyntacticSequencerTestLanguage.g:1645:1: (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) - // InternalSyntacticSequencerTestLanguage.g:1645:3: otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' + // InternalSyntacticSequencerTestLanguage.g:1641:2: (otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' ) + // InternalSyntacticSequencerTestLanguage.g:1642:3: otherlv_0= '#13' ( (lv_foo_1_0= RULE_ID ) ) ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* otherlv_18= '!' { otherlv_0=(Token)match(input,34,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getLongAlternativeAccess().getNumberSignDigitOneDigitThreeKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getLongAlternativeAccess().getNumberSignDigitOneDigitThreeKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1649:1: ( (lv_foo_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1650:1: (lv_foo_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1646:3: ( (lv_foo_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1647:4: (lv_foo_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1650:1: (lv_foo_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1651:3: lv_foo_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1647:4: (lv_foo_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1648:5: lv_foo_1_0= RULE_ID { lv_foo_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_foo_1_0, grammarAccess.getLongAlternativeAccess().getFooIDTerminalRuleCall_1_0()); - + newLeafNode(lv_foo_1_0, grammarAccess.getLongAlternativeAccess().getFooIDTerminalRuleCall_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - setWithLastConsumed( - current, - "foo", - lv_foo_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + setWithLastConsumed( + current, + "foo", + lv_foo_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4697,7 +4771,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1667:2: ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* + // InternalSyntacticSequencerTestLanguage.g:1664:3: ( (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) | (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) | (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) | (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) | (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) | (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) | (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) | (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) )* loop31: do { int alt31=9; @@ -4747,18 +4821,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern switch (alt31) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1667:3: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1665:4: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1667:3: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1667:5: otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1665:4: (otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1666:5: otherlv_2= 'kw1' ( (lv_val1_3_0= RULE_ID ) )? { otherlv_2=(Token)match(input,14,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()); - + newLeafNode(otherlv_2, grammarAccess.getLongAlternativeAccess().getKw1Keyword_2_0_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1671:1: ( (lv_val1_3_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1670:5: ( (lv_val1_3_0= RULE_ID ) )? int alt23=2; int LA23_0 = input.LA(1); @@ -4767,28 +4841,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt23) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1672:1: (lv_val1_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1671:6: (lv_val1_3_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1672:1: (lv_val1_3_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1673:3: lv_val1_3_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1671:6: (lv_val1_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1672:7: lv_val1_3_0= RULE_ID { lv_val1_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val1_3_0, grammarAccess.getLongAlternativeAccess().getVal1IDTerminalRuleCall_2_0_1_0()); - + newLeafNode(lv_val1_3_0, grammarAccess.getLongAlternativeAccess().getVal1IDTerminalRuleCall_2_0_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val1", - lv_val1_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val1", + lv_val1_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4806,18 +4880,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 2 : - // InternalSyntacticSequencerTestLanguage.g:1690:6: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1690:4: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1690:6: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1690:8: otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1690:4: (otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1691:5: otherlv_4= 'kw2' ( (lv_val2_5_0= RULE_ID ) )? { otherlv_4=(Token)match(input,15,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()); - + newLeafNode(otherlv_4, grammarAccess.getLongAlternativeAccess().getKw2Keyword_2_1_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1694:1: ( (lv_val2_5_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1695:5: ( (lv_val2_5_0= RULE_ID ) )? int alt24=2; int LA24_0 = input.LA(1); @@ -4826,28 +4900,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt24) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1695:1: (lv_val2_5_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1696:6: (lv_val2_5_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1695:1: (lv_val2_5_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1696:3: lv_val2_5_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1696:6: (lv_val2_5_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1697:7: lv_val2_5_0= RULE_ID { lv_val2_5_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val2_5_0, grammarAccess.getLongAlternativeAccess().getVal2IDTerminalRuleCall_2_1_1_0()); - + newLeafNode(lv_val2_5_0, grammarAccess.getLongAlternativeAccess().getVal2IDTerminalRuleCall_2_1_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val2", - lv_val2_5_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val2", + lv_val2_5_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4865,18 +4939,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 3 : - // InternalSyntacticSequencerTestLanguage.g:1713:6: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1715:4: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1713:6: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1713:8: otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1715:4: (otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1716:5: otherlv_6= 'kw3' ( (lv_val3_7_0= RULE_ID ) )? { otherlv_6=(Token)match(input,16,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_6, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()); - + newLeafNode(otherlv_6, grammarAccess.getLongAlternativeAccess().getKw3Keyword_2_2_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1717:1: ( (lv_val3_7_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1720:5: ( (lv_val3_7_0= RULE_ID ) )? int alt25=2; int LA25_0 = input.LA(1); @@ -4885,28 +4959,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt25) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1718:1: (lv_val3_7_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1721:6: (lv_val3_7_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1718:1: (lv_val3_7_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1719:3: lv_val3_7_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1721:6: (lv_val3_7_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1722:7: lv_val3_7_0= RULE_ID { lv_val3_7_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val3_7_0, grammarAccess.getLongAlternativeAccess().getVal3IDTerminalRuleCall_2_2_1_0()); - + newLeafNode(lv_val3_7_0, grammarAccess.getLongAlternativeAccess().getVal3IDTerminalRuleCall_2_2_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val3", - lv_val3_7_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val3", + lv_val3_7_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4924,18 +4998,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 4 : - // InternalSyntacticSequencerTestLanguage.g:1736:6: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1740:4: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1736:6: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1736:8: otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1740:4: (otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1741:5: otherlv_8= 'kw4' ( (lv_val4_9_0= RULE_ID ) )? { otherlv_8=(Token)match(input,17,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_8, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()); - + newLeafNode(otherlv_8, grammarAccess.getLongAlternativeAccess().getKw4Keyword_2_3_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1740:1: ( (lv_val4_9_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1745:5: ( (lv_val4_9_0= RULE_ID ) )? int alt26=2; int LA26_0 = input.LA(1); @@ -4944,28 +5018,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt26) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1741:1: (lv_val4_9_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1746:6: (lv_val4_9_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1741:1: (lv_val4_9_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1742:3: lv_val4_9_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1746:6: (lv_val4_9_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1747:7: lv_val4_9_0= RULE_ID { lv_val4_9_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val4_9_0, grammarAccess.getLongAlternativeAccess().getVal4IDTerminalRuleCall_2_3_1_0()); - + newLeafNode(lv_val4_9_0, grammarAccess.getLongAlternativeAccess().getVal4IDTerminalRuleCall_2_3_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val4", - lv_val4_9_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val4", + lv_val4_9_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -4983,18 +5057,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 5 : - // InternalSyntacticSequencerTestLanguage.g:1759:6: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1765:4: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1759:6: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1759:8: otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1765:4: (otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1766:5: otherlv_10= 'kw5' ( (lv_val5_11_0= RULE_ID ) )? { otherlv_10=(Token)match(input,35,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_10, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()); - + newLeafNode(otherlv_10, grammarAccess.getLongAlternativeAccess().getKw5Keyword_2_4_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1763:1: ( (lv_val5_11_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1770:5: ( (lv_val5_11_0= RULE_ID ) )? int alt27=2; int LA27_0 = input.LA(1); @@ -5003,28 +5077,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt27) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1764:1: (lv_val5_11_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1771:6: (lv_val5_11_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1764:1: (lv_val5_11_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1765:3: lv_val5_11_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1771:6: (lv_val5_11_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1772:7: lv_val5_11_0= RULE_ID { lv_val5_11_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val5_11_0, grammarAccess.getLongAlternativeAccess().getVal5IDTerminalRuleCall_2_4_1_0()); - + newLeafNode(lv_val5_11_0, grammarAccess.getLongAlternativeAccess().getVal5IDTerminalRuleCall_2_4_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val5", - lv_val5_11_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val5", + lv_val5_11_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5042,18 +5116,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 6 : - // InternalSyntacticSequencerTestLanguage.g:1782:6: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1790:4: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1782:6: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1782:8: otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1790:4: (otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1791:5: otherlv_12= 'kw6' ( (lv_val6_13_0= RULE_ID ) )? { otherlv_12=(Token)match(input,36,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_12, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()); - + newLeafNode(otherlv_12, grammarAccess.getLongAlternativeAccess().getKw6Keyword_2_5_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1786:1: ( (lv_val6_13_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1795:5: ( (lv_val6_13_0= RULE_ID ) )? int alt28=2; int LA28_0 = input.LA(1); @@ -5062,28 +5136,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt28) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1787:1: (lv_val6_13_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1796:6: (lv_val6_13_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1787:1: (lv_val6_13_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1788:3: lv_val6_13_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1796:6: (lv_val6_13_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1797:7: lv_val6_13_0= RULE_ID { lv_val6_13_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val6_13_0, grammarAccess.getLongAlternativeAccess().getVal6IDTerminalRuleCall_2_5_1_0()); - + newLeafNode(lv_val6_13_0, grammarAccess.getLongAlternativeAccess().getVal6IDTerminalRuleCall_2_5_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val6", - lv_val6_13_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val6", + lv_val6_13_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5101,18 +5175,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 7 : - // InternalSyntacticSequencerTestLanguage.g:1805:6: (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1815:4: (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1805:6: (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1805:8: otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1815:4: (otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1816:5: otherlv_14= 'kw7' ( (lv_val7_15_0= RULE_ID ) )? { otherlv_14=(Token)match(input,37,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_14, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()); - + newLeafNode(otherlv_14, grammarAccess.getLongAlternativeAccess().getKw7Keyword_2_6_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1809:1: ( (lv_val7_15_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1820:5: ( (lv_val7_15_0= RULE_ID ) )? int alt29=2; int LA29_0 = input.LA(1); @@ -5121,28 +5195,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt29) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1810:1: (lv_val7_15_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1821:6: (lv_val7_15_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1810:1: (lv_val7_15_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1811:3: lv_val7_15_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1821:6: (lv_val7_15_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1822:7: lv_val7_15_0= RULE_ID { lv_val7_15_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val7_15_0, grammarAccess.getLongAlternativeAccess().getVal7IDTerminalRuleCall_2_6_1_0()); - + newLeafNode(lv_val7_15_0, grammarAccess.getLongAlternativeAccess().getVal7IDTerminalRuleCall_2_6_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val7", - lv_val7_15_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val7", + lv_val7_15_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5160,18 +5234,18 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } break; case 8 : - // InternalSyntacticSequencerTestLanguage.g:1828:6: (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1840:4: (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) { - // InternalSyntacticSequencerTestLanguage.g:1828:6: (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) - // InternalSyntacticSequencerTestLanguage.g:1828:8: otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1840:4: (otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? ) + // InternalSyntacticSequencerTestLanguage.g:1841:5: otherlv_16= 'kw8' ( (lv_val8_17_0= RULE_ID ) )? { otherlv_16=(Token)match(input,38,FollowSets000.FOLLOW_27); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_16, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0()); - + newLeafNode(otherlv_16, grammarAccess.getLongAlternativeAccess().getKw8Keyword_2_7_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1832:1: ( (lv_val8_17_0= RULE_ID ) )? + // InternalSyntacticSequencerTestLanguage.g:1845:5: ( (lv_val8_17_0= RULE_ID ) )? int alt30=2; int LA30_0 = input.LA(1); @@ -5180,28 +5254,28 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt30) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1833:1: (lv_val8_17_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1846:6: (lv_val8_17_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1833:1: (lv_val8_17_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1834:3: lv_val8_17_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1846:6: (lv_val8_17_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1847:7: lv_val8_17_0= RULE_ID { lv_val8_17_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_26); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val8_17_0, grammarAccess.getLongAlternativeAccess().getVal8IDTerminalRuleCall_2_7_1_0()); - + newLeafNode(lv_val8_17_0, grammarAccess.getLongAlternativeAccess().getVal8IDTerminalRuleCall_2_7_1_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getLongAlternativeRule()); - } - addWithLastConsumed( - current, - "val8", - lv_val8_17_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getLongAlternativeRule()); + } + addWithLastConsumed( + current, + "val8", + lv_val8_17_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5227,8 +5301,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern otherlv_18=(Token)match(input,39,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_18, grammarAccess.getLongAlternativeAccess().getExclamationMarkKeyword_3()); - + newLeafNode(otherlv_18, grammarAccess.getLongAlternativeAccess().getExclamationMarkKeyword_3()); + } } @@ -5237,14 +5311,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5253,7 +5329,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleActionOnly" - // InternalSyntacticSequencerTestLanguage.g:1862:1: entryRuleActionOnly returns [EObject current=null] : iv_ruleActionOnly= ruleActionOnly EOF ; + // InternalSyntacticSequencerTestLanguage.g:1873:1: entryRuleActionOnly returns [EObject current=null] : iv_ruleActionOnly= ruleActionOnly EOF ; public final EObject entryRuleActionOnly() throws RecognitionException { EObject current = null; @@ -5261,8 +5337,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1863:2: (iv_ruleActionOnly= ruleActionOnly EOF ) - // InternalSyntacticSequencerTestLanguage.g:1864:2: iv_ruleActionOnly= ruleActionOnly EOF + // InternalSyntacticSequencerTestLanguage.g:1873:51: (iv_ruleActionOnly= ruleActionOnly EOF ) + // InternalSyntacticSequencerTestLanguage.g:1874:2: iv_ruleActionOnly= ruleActionOnly EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getActionOnlyRule()); @@ -5280,11 +5356,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5293,7 +5369,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleActionOnly" - // InternalSyntacticSequencerTestLanguage.g:1871:1: ruleActionOnly returns [EObject current=null] : (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) ; + // InternalSyntacticSequencerTestLanguage.g:1880:1: ruleActionOnly returns [EObject current=null] : (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) ; public final EObject ruleActionOnly() throws RecognitionException { EObject current = null; @@ -5303,22 +5379,23 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern Token otherlv_4=null; Token this_ID_5=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1874:28: ( (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) ) - // InternalSyntacticSequencerTestLanguage.g:1875:1: (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) + // InternalSyntacticSequencerTestLanguage.g:1886:2: ( (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) ) + // InternalSyntacticSequencerTestLanguage.g:1887:2: (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) { - // InternalSyntacticSequencerTestLanguage.g:1875:1: (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) - // InternalSyntacticSequencerTestLanguage.g:1875:3: otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? + // InternalSyntacticSequencerTestLanguage.g:1887:2: (otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? ) + // InternalSyntacticSequencerTestLanguage.g:1888:3: otherlv_0= '#14' (otherlv_1= 'kw1' )? ( ( RULE_ID )=>this_ID_2= RULE_ID )? () (otherlv_4= 'kw2' )? (this_ID_5= RULE_ID )? { otherlv_0=(Token)match(input,40,FollowSets000.FOLLOW_28); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getActionOnlyAccess().getNumberSignDigitOneDigitFourKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getActionOnlyAccess().getNumberSignDigitOneDigitFourKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1879:1: (otherlv_1= 'kw1' )? + // InternalSyntacticSequencerTestLanguage.g:1892:3: (otherlv_1= 'kw1' )? int alt32=2; int LA32_0 = input.LA(1); @@ -5327,13 +5404,13 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt32) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1879:3: otherlv_1= 'kw1' + // InternalSyntacticSequencerTestLanguage.g:1893:4: otherlv_1= 'kw1' { otherlv_1=(Token)match(input,14,FollowSets000.FOLLOW_29); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_1, grammarAccess.getActionOnlyAccess().getKw1Keyword_1()); - + newLeafNode(otherlv_1, grammarAccess.getActionOnlyAccess().getKw1Keyword_1()); + } } @@ -5341,7 +5418,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1883:3: ( ( RULE_ID )=>this_ID_2= RULE_ID )? + // InternalSyntacticSequencerTestLanguage.g:1898:3: ( ( RULE_ID )=>this_ID_2= RULE_ID )? int alt33=2; int LA33_0 = input.LA(1); @@ -5354,13 +5431,13 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt33) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1883:4: ( RULE_ID )=>this_ID_2= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1899:4: ( RULE_ID )=>this_ID_2= RULE_ID { this_ID_2=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_29); if (state.failed) return current; if ( state.backtracking==0 ) { - - newLeafNode(this_ID_2, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_2()); - + + newLeafNode(this_ID_2, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_2()); + } } @@ -5368,20 +5445,20 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1887:3: () - // InternalSyntacticSequencerTestLanguage.g:1888:5: + // InternalSyntacticSequencerTestLanguage.g:1905:3: () + // InternalSyntacticSequencerTestLanguage.g:1906:4: { if ( state.backtracking==0 ) { - current = forceCreateModelElement( - grammarAccess.getActionOnlyAccess().getActionOnlyAction_3(), - current); - + current = forceCreateModelElement( + grammarAccess.getActionOnlyAccess().getActionOnlyAction_3(), + current); + } } - // InternalSyntacticSequencerTestLanguage.g:1893:2: (otherlv_4= 'kw2' )? + // InternalSyntacticSequencerTestLanguage.g:1912:3: (otherlv_4= 'kw2' )? int alt34=2; int LA34_0 = input.LA(1); @@ -5390,13 +5467,13 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt34) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1893:4: otherlv_4= 'kw2' + // InternalSyntacticSequencerTestLanguage.g:1913:4: otherlv_4= 'kw2' { otherlv_4=(Token)match(input,15,FollowSets000.FOLLOW_25); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_4, grammarAccess.getActionOnlyAccess().getKw2Keyword_4()); - + newLeafNode(otherlv_4, grammarAccess.getActionOnlyAccess().getKw2Keyword_4()); + } } @@ -5404,7 +5481,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } - // InternalSyntacticSequencerTestLanguage.g:1897:3: (this_ID_5= RULE_ID )? + // InternalSyntacticSequencerTestLanguage.g:1918:3: (this_ID_5= RULE_ID )? int alt35=2; int LA35_0 = input.LA(1); @@ -5413,13 +5490,13 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } switch (alt35) { case 1 : - // InternalSyntacticSequencerTestLanguage.g:1897:4: this_ID_5= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1919:4: this_ID_5= RULE_ID { this_ID_5=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - - newLeafNode(this_ID_5, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_5()); - + + newLeafNode(this_ID_5, grammarAccess.getActionOnlyAccess().getIDTerminalRuleCall_5()); + } } @@ -5434,14 +5511,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5450,7 +5529,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "entryRuleFragmentCaller" - // InternalSyntacticSequencerTestLanguage.g:1909:1: entryRuleFragmentCaller returns [EObject current=null] : iv_ruleFragmentCaller= ruleFragmentCaller EOF ; + // InternalSyntacticSequencerTestLanguage.g:1928:1: entryRuleFragmentCaller returns [EObject current=null] : iv_ruleFragmentCaller= ruleFragmentCaller EOF ; public final EObject entryRuleFragmentCaller() throws RecognitionException { EObject current = null; @@ -5458,8 +5537,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern try { - // InternalSyntacticSequencerTestLanguage.g:1910:2: (iv_ruleFragmentCaller= ruleFragmentCaller EOF ) - // InternalSyntacticSequencerTestLanguage.g:1911:2: iv_ruleFragmentCaller= ruleFragmentCaller EOF + // InternalSyntacticSequencerTestLanguage.g:1928:55: (iv_ruleFragmentCaller= ruleFragmentCaller EOF ) + // InternalSyntacticSequencerTestLanguage.g:1929:2: iv_ruleFragmentCaller= ruleFragmentCaller EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getFragmentCallerRule()); @@ -5477,11 +5556,11 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5490,7 +5569,7 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleFragmentCaller" - // InternalSyntacticSequencerTestLanguage.g:1918:1: ruleFragmentCaller returns [EObject current=null] : (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1935:1: ruleFragmentCaller returns [EObject current=null] : (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ; public final EObject ruleFragmentCaller() throws RecognitionException { EObject current = null; @@ -5500,58 +5579,59 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern EObject this_Fragment1_2 = null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1921:28: ( (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1922:1: (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1941:2: ( (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1942:2: (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) { - // InternalSyntacticSequencerTestLanguage.g:1922:1: (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1922:3: otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1942:2: (otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:1943:3: otherlv_0= '#15' ( (lv_val1_1_0= RULE_ID ) ) this_Fragment1_2= ruleFragment1[$current] ( (lv_val_3_0= RULE_ID ) ) { otherlv_0=(Token)match(input,41,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitOneDigitFiveKeyword_0()); - + newLeafNode(otherlv_0, grammarAccess.getFragmentCallerAccess().getNumberSignDigitOneDigitFiveKeyword_0()); + } - // InternalSyntacticSequencerTestLanguage.g:1926:1: ( (lv_val1_1_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1927:1: (lv_val1_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1947:3: ( (lv_val1_1_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1948:4: (lv_val1_1_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1927:1: (lv_val1_1_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1928:3: lv_val1_1_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1948:4: (lv_val1_1_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1949:5: lv_val1_1_0= RULE_ID { lv_val1_1_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_3); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + newLeafNode(lv_val1_1_0, grammarAccess.getFragmentCallerAccess().getVal1IDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + current, + "val1", + lv_val1_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - current, - "val1", - lv_val1_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - - } - - } - - - } - - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - newCompositeNode(grammarAccess.getFragmentCallerAccess().getFragment1ParserRuleCall_2()); - } pushFollow(FollowSets000.FOLLOW_3); this_Fragment1_2=ruleFragment1(current); @@ -5559,34 +5639,34 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern state._fsp--; if (state.failed) return current; if ( state.backtracking==0 ) { - - current = this_Fragment1_2; - afterParserOrEnumRuleCall(); - + + current = this_Fragment1_2; + afterParserOrEnumRuleCall(); + } - // InternalSyntacticSequencerTestLanguage.g:1956:1: ( (lv_val_3_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1957:1: (lv_val_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1976:3: ( (lv_val_3_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:1977:4: (lv_val_3_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1957:1: (lv_val_3_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1958:3: lv_val_3_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1977:4: (lv_val_3_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1978:5: lv_val_3_0= RULE_ID { lv_val_3_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); - + newLeafNode(lv_val_3_0, grammarAccess.getFragmentCallerAccess().getValIDTerminalRuleCall_3_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getFragmentCallerRule()); - } - setWithLastConsumed( - current, - "val", - lv_val_3_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getFragmentCallerRule()); + } + setWithLastConsumed( + current, + "val", + lv_val_3_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5601,14 +5681,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5617,41 +5699,42 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start "ruleFragment1" - // InternalSyntacticSequencerTestLanguage.g:1983:1: ruleFragment1[EObject in_current] returns [EObject current=in_current] : ( (lv_fragVal_0_0= RULE_ID ) ) ; + // InternalSyntacticSequencerTestLanguage.g:1999:1: ruleFragment1[EObject in_current] returns [EObject current=in_current] : ( (lv_fragVal_0_0= RULE_ID ) ) ; public final EObject ruleFragment1(EObject in_current) throws RecognitionException { EObject current = in_current; Token lv_fragVal_0_0=null; - enterRule(); - + + enterRule(); + try { - // InternalSyntacticSequencerTestLanguage.g:1986:28: ( ( (lv_fragVal_0_0= RULE_ID ) ) ) - // InternalSyntacticSequencerTestLanguage.g:1987:1: ( (lv_fragVal_0_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:2005:2: ( ( (lv_fragVal_0_0= RULE_ID ) ) ) + // InternalSyntacticSequencerTestLanguage.g:2006:2: ( (lv_fragVal_0_0= RULE_ID ) ) { - // InternalSyntacticSequencerTestLanguage.g:1987:1: ( (lv_fragVal_0_0= RULE_ID ) ) - // InternalSyntacticSequencerTestLanguage.g:1988:1: (lv_fragVal_0_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:2006:2: ( (lv_fragVal_0_0= RULE_ID ) ) + // InternalSyntacticSequencerTestLanguage.g:2007:3: (lv_fragVal_0_0= RULE_ID ) { - // InternalSyntacticSequencerTestLanguage.g:1988:1: (lv_fragVal_0_0= RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1989:3: lv_fragVal_0_0= RULE_ID + // InternalSyntacticSequencerTestLanguage.g:2007:3: (lv_fragVal_0_0= RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:2008:4: lv_fragVal_0_0= RULE_ID { lv_fragVal_0_0=(Token)match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); - + newLeafNode(lv_fragVal_0_0, grammarAccess.getFragment1Access().getFragValIDTerminalRuleCall_0()); + } if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getFragment1Rule()); - } - setWithLastConsumed( - current, - "fragVal", - lv_fragVal_0_0, - "org.eclipse.xtext.common.Terminals.ID"); - + if (current==null) { + current = createModelElement(grammarAccess.getFragment1Rule()); + } + setWithLastConsumed( + current, + "fragVal", + lv_fragVal_0_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } @@ -5663,14 +5746,16 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern } if ( state.backtracking==0 ) { - leaveRule(); + + leaveRule(); + } } - - catch (RecognitionException re) { - recover(input,re); + + catch (RecognitionException re) { + recover(input,re); appendSkippedTokens(); - } + } finally { } return current; @@ -5679,8 +5764,8 @@ public class InternalSyntacticSequencerTestLanguageParser extends AbstractIntern // $ANTLR start synpred1_InternalSyntacticSequencerTestLanguage public final void synpred1_InternalSyntacticSequencerTestLanguage_fragment() throws RecognitionException { - // InternalSyntacticSequencerTestLanguage.g:1883:4: ( RULE_ID ) - // InternalSyntacticSequencerTestLanguage.g:1883:6: RULE_ID + // InternalSyntacticSequencerTestLanguage.g:1899:4: ( RULE_ID ) + // InternalSyntacticSequencerTestLanguage.g:1899:5: RULE_ID { match(input,RULE_ID,FollowSets000.FOLLOW_2); if (state.failed) return ; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList1.java index aebb91564..6b4bc1580 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList2.java index 5fc1b739f..d0a9ffb21 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AltList2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AlternativeMultiplicities.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AlternativeMultiplicities.java index 7ee398f92..71e9e7705 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AlternativeMultiplicities.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/AlternativeMultiplicities.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Complex1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Complex1.java index 85f258ade..a323e0e19 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Complex1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Complex1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DefEnum.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DefEnum.java index 5e3a5d7f6..5b146cbe1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DefEnum.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DefEnum.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Delegation.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Delegation.java index a5ca53cf3..db009bc18 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Delegation.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Delegation.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DelegationA.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DelegationA.java index cb0c30404..1d699514f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DelegationA.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DelegationA.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative1.java index c80fd410b..642b2ca63 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative2.java index 8a95c268e..171e9d20d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/DependentAlternative2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Float.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Float.java index 52c12e895..789a6d246 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Float.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Float.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/FragmentCallerType.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/FragmentCallerType.java index d6cf4361c..b5b540d87 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/FragmentCallerType.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/FragmentCallerType.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/GroupMultiplicities.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/GroupMultiplicities.java index c3a75601e..eafaf28f2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/GroupMultiplicities.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/GroupMultiplicities.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List1.java index f337dccaf..6330f2eaf 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List2.java index 63b791e63..2ffbcc6d2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/List2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Model.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Model.java index af4e75290..7a52620e2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Model.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Model.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywords.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywords.java index bb2fc6433..e1043da72 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywords.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywords.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywordsOrID.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywordsOrID.java index d5804fe8b..51ea48671 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywordsOrID.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiKeywordsOrID.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiTerminals.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiTerminals.java index 4c554ad5f..10d9e9f1f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiTerminals.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/MultiTerminals.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullCrossRef.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullCrossRef.java index 1b2769208..295a50c62 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullCrossRef.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullCrossRef.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullValue.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullValue.java index d92e10c7b..6f6fa4ab1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullValue.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/NullValue.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Optional.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Optional.java index 53ccfd145..e718ce3bf 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Optional.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Optional.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/OptionalDouble.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/OptionalDouble.java index e7fcc3370..615b0c369 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/OptionalDouble.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/OptionalDouble.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterCaller.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterCaller.java index a3c1cd0ae..6bf6ef05b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterCaller.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterCaller.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterDelegation.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterDelegation.java index 47f4fbd78..36babbd15 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterDelegation.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/ParameterDelegation.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Parameterized.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Parameterized.java index eb4ff35c0..998b4dd73 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Parameterized.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/Parameterized.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestFactory.java index be8e96149..29a3991ad 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestPackage.java index 38f510d07..990cfab47 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestPackage.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SequencertestPackage.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleAlternative.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleAlternative.java index 96d80c39d..7f2be2759 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleAlternative.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleAlternative.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleGroup.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleGroup.java index ee4779d11..2a1438250 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleGroup.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleGroup.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleMultiplicities.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleMultiplicities.java index 2b02c3603..db4cd4f4c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleMultiplicities.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SimpleMultiplicities.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReference.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReference.java index f4ca47c6b..088e45363 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReference.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReference.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild1.java index c0b7f27ee..7669fc45d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild2.java index 4f4ff24a8..73b65e851 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild3.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild3.java index e7747d24a..1bb3dd0d4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild3.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleContainmentReferenceChild3.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleCrossReference.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleCrossReference.java index fdcb2bdf9..9dd14901d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleCrossReference.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleCrossReference.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleEnum.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleEnum.java index 463919661..f421e4bf0 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleEnum.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleEnum.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywords.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywords.java index 8d549d6bf..5f2f4a314 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywords.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywords.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywordsOrID.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywordsOrID.java index 6001397d2..dbeeaed40 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywordsOrID.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleKeywordsOrID.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleTerminals.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleTerminals.java index 5a05f3395..88ab26d50 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleTerminals.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/SingleTerminals.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternative.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternative.java index a4e28aee8..e077182d2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternative.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternative.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal.java index b19681b79..60f2a2829 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal2.java index fc5ab3584..d2483f645 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeVal2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeValDelegate.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeValDelegate.java index d474c0e9f..521d52c63 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeValDelegate.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedAlternativeValDelegate.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroup.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroup.java index a9c968dc0..ac2b60618 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroup.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroup.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupBoolean.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupBoolean.java index 11138d47b..c45c57b79 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupBoolean.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupBoolean.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupOptional.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupOptional.java index 173ce6b6e..d6fd71bea 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupOptional.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupOptional.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal.java index 613f2bf30..221800092 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal2.java index c072544f2..aa9b4bd2e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupVal2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupValDelegate.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupValDelegate.java index d5a016e8d..96974acc4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupValDelegate.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/UnorderedGroupValDelegate.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList1Impl.java index ed556e788..bb6e249a6 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList2Impl.java index 67b91204f..d7fbe425b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AltList2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AlternativeMultiplicitiesImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AlternativeMultiplicitiesImpl.java index d6f8a301e..d961a2277 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AlternativeMultiplicitiesImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/AlternativeMultiplicitiesImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/Complex1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/Complex1Impl.java index dc23d351d..cfcaa19d6 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/Complex1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/Complex1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationAImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationAImpl.java index be852857c..9663ae578 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationAImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationAImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationImpl.java index 9a9c45ccb..61bf6a34b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DelegationImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative1Impl.java index da497fd80..d568eb602 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative2Impl.java index f3102a149..5b6f6f5e3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/DependentAlternative2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FloatImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FloatImpl.java index 49bd3a9ef..0d470ea8d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FloatImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FloatImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FragmentCallerTypeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FragmentCallerTypeImpl.java index 0e511582c..f83c0281f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FragmentCallerTypeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/FragmentCallerTypeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/GroupMultiplicitiesImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/GroupMultiplicitiesImpl.java index 7d1e85a16..469b07b49 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/GroupMultiplicitiesImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/GroupMultiplicitiesImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List1Impl.java index 09bd042de..37370a745 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List2Impl.java index 45f9982b9..6d0bb20f5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/List2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ModelImpl.java index f6cbba518..fbed1be00 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsImpl.java index 603c58beb..02a045bed 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsOrIDImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsOrIDImpl.java index 3e55df549..86c3a8dcb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsOrIDImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiKeywordsOrIDImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiTerminalsImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiTerminalsImpl.java index 375cdd7bf..cbe4c76ea 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiTerminalsImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/MultiTerminalsImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullCrossRefImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullCrossRefImpl.java index 05866c907..f88dddc2b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullCrossRefImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullCrossRefImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullValueImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullValueImpl.java index ce65ba668..4d7bfae7f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullValueImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/NullValueImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalDoubleImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalDoubleImpl.java index f212b259e..d8b546f78 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalDoubleImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalDoubleImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalImpl.java index c25b00fea..3c3aea6dd 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/OptionalImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterCallerImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterCallerImpl.java index 5564cdf7c..998577382 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterCallerImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterCallerImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterDelegationImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterDelegationImpl.java index 6febeee71..15a1cbb33 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterDelegationImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterDelegationImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterizedImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterizedImpl.java index b6383a0ce..6c249b244 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterizedImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/ParameterizedImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestFactoryImpl.java index c1ea43b14..18b9ee0ec 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestFactoryImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestFactoryImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestPackageImpl.java index 50bda36ff..e1106a442 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestPackageImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SequencertestPackageImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; @@ -7,7 +8,6 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; @@ -445,9 +445,6 @@ public class SequencertestPackageImpl extends EPackageImpl implements Sequencert isInited = true; - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - // Create package meta-data objects theSequencertestPackage.createPackageContents(); @@ -2458,9 +2455,6 @@ public class SequencertestPackageImpl extends EPackageImpl implements Sequencert setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - // Create type parameters // Set bounds for type parameters @@ -2481,9 +2475,9 @@ public class SequencertestPackageImpl extends EPackageImpl implements Sequencert initEReference(getModel_X7(), this.getList2(), null, "x7", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_X8(), this.getAltList1(), null, "x8", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_X9(), this.getAltList2(), null, "x9", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getModel_X10(), theEcorePackage.getEObject(), null, "x10", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getModel_X11(), theEcorePackage.getEObject(), null, "x11", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getModel_X12(), theEcorePackage.getEObject(), null, "x12", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModel_X10(), ecorePackage.getEObject(), null, "x10", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModel_X11(), ecorePackage.getEObject(), null, "x11", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getModel_X12(), ecorePackage.getEObject(), null, "x12", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_X13(), this.getSingleEnum(), null, "x13", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_X14(), this.getSingleCrossReference(), null, "x14", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getModel_X15(), this.getSingleContainmentReference(), null, "x15", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -2506,183 +2500,183 @@ public class SequencertestPackageImpl extends EPackageImpl implements Sequencert initEReference(getModel_X35(), this.getParameterDelegation(), null, "x35", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(simpleGroupEClass, SimpleGroup.class, "SimpleGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSimpleGroup_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, SimpleGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleGroup_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, SimpleGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleGroup_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, SimpleGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleGroup_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, SimpleGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(simpleAlternativeEClass, SimpleAlternative.class, "SimpleAlternative", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSimpleAlternative_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, SimpleAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleAlternative_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, SimpleAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleAlternative_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, SimpleAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleAlternative_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, SimpleAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(simpleMultiplicitiesEClass, SimpleMultiplicities.class, "SimpleMultiplicities", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSimpleMultiplicities_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleMultiplicities_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleMultiplicities_Val3(), theEcorePackage.getEString(), "val3", null, 0, -1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSimpleMultiplicities_Val4(), theEcorePackage.getEString(), "val4", null, 0, -1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleMultiplicities_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleMultiplicities_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleMultiplicities_Val3(), ecorePackage.getEString(), "val3", null, 0, -1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSimpleMultiplicities_Val4(), ecorePackage.getEString(), "val4", null, 0, -1, SimpleMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(groupMultiplicitiesEClass, GroupMultiplicities.class, "GroupMultiplicities", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getGroupMultiplicities_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val4(), theEcorePackage.getEString(), "val4", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val5(), theEcorePackage.getEString(), "val5", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val6(), theEcorePackage.getEString(), "val6", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getGroupMultiplicities_Val7(), theEcorePackage.getEString(), "val7", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val4(), ecorePackage.getEString(), "val4", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val5(), ecorePackage.getEString(), "val5", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val6(), ecorePackage.getEString(), "val6", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGroupMultiplicities_Val7(), ecorePackage.getEString(), "val7", null, 0, -1, GroupMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(alternativeMultiplicitiesEClass, AlternativeMultiplicities.class, "AlternativeMultiplicities", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAlternativeMultiplicities_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAlternativeMultiplicities_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAlternativeMultiplicities_Val4(), theEcorePackage.getEString(), "val4", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAlternativeMultiplicities_Val5(), theEcorePackage.getEString(), "val5", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAlternativeMultiplicities_Val6(), theEcorePackage.getEString(), "val6", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAlternativeMultiplicities_Val7(), theEcorePackage.getEString(), "val7", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val4(), ecorePackage.getEString(), "val4", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val5(), ecorePackage.getEString(), "val5", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val6(), ecorePackage.getEString(), "val6", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeMultiplicities_Val7(), ecorePackage.getEString(), "val7", null, 0, -1, AlternativeMultiplicities.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(list1EClass, List1.class, "List1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getList1_Val1(), theEcorePackage.getEString(), "val1", null, 0, -1, List1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getList1_Val1(), ecorePackage.getEString(), "val1", null, 0, -1, List1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(list2EClass, List2.class, "List2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getList2_Val1(), theEcorePackage.getEString(), "val1", null, 0, -1, List2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getList2_Val1(), ecorePackage.getEString(), "val1", null, 0, -1, List2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(altList1EClass, AltList1.class, "AltList1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAltList1_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAltList1_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAltList1_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAltList1_Val4(), theEcorePackage.getEString(), "val4", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList1_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList1_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList1_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList1_Val4(), ecorePackage.getEString(), "val4", null, 0, 1, AltList1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(altList2EClass, AltList2.class, "AltList2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAltList2_Val1(), theEcorePackage.getEString(), "val1", null, 0, -1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAltList2_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getAltList2_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList2_Val1(), ecorePackage.getEString(), "val1", null, 0, -1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList2_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAltList2_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, AltList2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleKeywordsEClass, SingleKeywords.class, "SingleKeywords", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleKeywords_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleKeywords_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleKeywordsOrIDEClass, SingleKeywordsOrID.class, "SingleKeywordsOrID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleKeywordsOrID_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleKeywordsOrID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleKeywordsOrID_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleKeywordsOrID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleTerminalsEClass, SingleTerminals.class, "SingleTerminals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleTerminals_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleTerminals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleTerminals_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleTerminals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleEnumEClass, SingleEnum.class, "SingleEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSingleEnum_Val(), this.getDefEnum(), "val", null, 0, 1, SingleEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleCrossReferenceEClass, SingleCrossReference.class, "SingleCrossReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleCrossReference_Name(), theEcorePackage.getEString(), "name", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleCrossReference_Name(), ecorePackage.getEString(), "name", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSingleCrossReference_Ref(), this.getSingleCrossReference(), null, "ref", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleContainmentReferenceEClass, SingleContainmentReference.class, "SingleContainmentReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSingleContainmentReference_Child(), theEcorePackage.getEObject(), null, "child", null, 0, 1, SingleContainmentReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSingleContainmentReference_Child(), ecorePackage.getEObject(), null, "child", null, 0, 1, SingleContainmentReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleContainmentReferenceChild1EClass, SingleContainmentReferenceChild1.class, "SingleContainmentReferenceChild1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleContainmentReferenceChild1_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleContainmentReferenceChild1_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleContainmentReferenceChild2EClass, SingleContainmentReferenceChild2.class, "SingleContainmentReferenceChild2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleContainmentReferenceChild2_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleContainmentReferenceChild2_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(singleContainmentReferenceChild3EClass, SingleContainmentReferenceChild3.class, "SingleContainmentReferenceChild3", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleContainmentReferenceChild3_Val(), theEcorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleContainmentReferenceChild3_Val(), ecorePackage.getEString(), "val", null, 0, 1, SingleContainmentReferenceChild3.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(multiKeywordsEClass, MultiKeywords.class, "MultiKeywords", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMultiKeywords_Val(), theEcorePackage.getEString(), "val", null, 0, -1, MultiKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMultiKeywords_Val(), ecorePackage.getEString(), "val", null, 0, -1, MultiKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(multiKeywordsOrIDEClass, MultiKeywordsOrID.class, "MultiKeywordsOrID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMultiKeywordsOrID_Val(), theEcorePackage.getEString(), "val", null, 0, -1, MultiKeywordsOrID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMultiKeywordsOrID_Val(), ecorePackage.getEString(), "val", null, 0, -1, MultiKeywordsOrID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(multiTerminalsEClass, MultiTerminals.class, "MultiTerminals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMultiTerminals_Val(), theEcorePackage.getEString(), "val", null, 0, -1, MultiTerminals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMultiTerminals_Val(), ecorePackage.getEString(), "val", null, 0, -1, MultiTerminals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dependentAlternative1EClass, DependentAlternative1.class, "DependentAlternative1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDependentAlternative1_Val(), theEcorePackage.getEString(), "val", null, 0, 1, DependentAlternative1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDependentAlternative1_Flag(), theEcorePackage.getEBoolean(), "flag", null, 0, 1, DependentAlternative1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDependentAlternative1_Val(), ecorePackage.getEString(), "val", null, 0, 1, DependentAlternative1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDependentAlternative1_Flag(), ecorePackage.getEBoolean(), "flag", null, 0, 1, DependentAlternative1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dependentAlternative2EClass, DependentAlternative2.class, "DependentAlternative2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDependentAlternative2_Val(), theEcorePackage.getEString(), "val", null, 0, -1, DependentAlternative2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDependentAlternative2_Flag(), theEcorePackage.getEBoolean(), "flag", null, 0, 1, DependentAlternative2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDependentAlternative2_Val(), ecorePackage.getEString(), "val", null, 0, -1, DependentAlternative2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDependentAlternative2_Flag(), ecorePackage.getEBoolean(), "flag", null, 0, 1, DependentAlternative2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(optionalEClass, Optional.class, "Optional", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOptional_Int0(), theEcorePackage.getEInt(), "int0", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getOptional_Int1(), theEcorePackage.getEInt(), "int1", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getOptional_Int2(), theEcorePackage.getEInt(), "int2", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptional_Int0(), ecorePackage.getEInt(), "int0", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptional_Int1(), ecorePackage.getEInt(), "int1", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptional_Int2(), ecorePackage.getEInt(), "int2", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(floatEClass, org.eclipse.xtext.serializer.sequencertest.Float.class, "Float", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(unorderedAlternativeEClass, UnorderedAlternative.class, "UnorderedAlternative", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedAlternative_Val1(), theEcorePackage.getEString(), "val1", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedAlternative_Val2(), theEcorePackage.getEInt(), "val2", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedAlternative_Val1(), ecorePackage.getEString(), "val1", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedAlternative_Val2(), ecorePackage.getEInt(), "val2", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getUnorderedAlternative_Val3(), this.getUnorderedAlternativeVal(), null, "val3", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getUnorderedAlternative_Val4(), this.getUnorderedAlternativeValDelegate(), null, "val4", null, 0, -1, UnorderedAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedAlternativeValEClass, UnorderedAlternativeVal.class, "UnorderedAlternativeVal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedAlternativeVal_Val(), theEcorePackage.getEString(), "val", null, 0, 1, UnorderedAlternativeVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedAlternativeVal_Val(), ecorePackage.getEString(), "val", null, 0, 1, UnorderedAlternativeVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedAlternativeValDelegateEClass, UnorderedAlternativeValDelegate.class, "UnorderedAlternativeValDelegate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(unorderedAlternativeVal2EClass, UnorderedAlternativeVal2.class, "UnorderedAlternativeVal2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedAlternativeVal2_Val(), theEcorePackage.getEString(), "val", null, 0, 1, UnorderedAlternativeVal2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedAlternativeVal2_Val(), ecorePackage.getEString(), "val", null, 0, 1, UnorderedAlternativeVal2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedGroupEClass, UnorderedGroup.class, "UnorderedGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedGroup_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedGroup_Val2(), theEcorePackage.getEInt(), "val2", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroup_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroup_Val2(), ecorePackage.getEInt(), "val2", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getUnorderedGroup_Val3(), this.getUnorderedGroupVal(), null, "val3", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getUnorderedGroup_Val4(), this.getUnorderedGroupValDelegate(), null, "val4", null, 0, 1, UnorderedGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedGroupValEClass, UnorderedGroupVal.class, "UnorderedGroupVal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedGroupVal_Val(), theEcorePackage.getEString(), "val", null, 0, 1, UnorderedGroupVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupVal_Val(), ecorePackage.getEString(), "val", null, 0, 1, UnorderedGroupVal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedGroupValDelegateEClass, UnorderedGroupValDelegate.class, "UnorderedGroupValDelegate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(unorderedGroupVal2EClass, UnorderedGroupVal2.class, "UnorderedGroupVal2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedGroupVal2_Val(), theEcorePackage.getEString(), "val", null, 0, 1, UnorderedGroupVal2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupVal2_Val(), ecorePackage.getEString(), "val", null, 0, 1, UnorderedGroupVal2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedGroupOptionalEClass, UnorderedGroupOptional.class, "UnorderedGroupOptional", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedGroupOptional_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedGroupOptional_Va2(), theEcorePackage.getEString(), "va2", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedGroupOptional_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupOptional_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupOptional_Va2(), ecorePackage.getEString(), "va2", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupOptional_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, UnorderedGroupOptional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unorderedGroupBooleanEClass, UnorderedGroupBoolean.class, "UnorderedGroupBoolean", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnorderedGroupBoolean_Val1(), theEcorePackage.getEBoolean(), "val1", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedGroupBoolean_Val2(), theEcorePackage.getEBoolean(), "val2", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getUnorderedGroupBoolean_Val3(), theEcorePackage.getEBoolean(), "val3", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupBoolean_Val1(), ecorePackage.getEBoolean(), "val1", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupBoolean_Val2(), ecorePackage.getEBoolean(), "val2", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnorderedGroupBoolean_Val3(), ecorePackage.getEBoolean(), "val3", null, 0, 1, UnorderedGroupBoolean.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(complex1EClass, Complex1.class, "Complex1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getComplex1_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComplex1_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComplex1_Val3(), theEcorePackage.getEString(), "val3", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComplex1_Val4(), theEcorePackage.getEString(), "val4", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComplex1_Val5(), theEcorePackage.getEString(), "val5", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getComplex1_Val6(), theEcorePackage.getEString(), "val6", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val3(), ecorePackage.getEString(), "val3", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val4(), ecorePackage.getEString(), "val4", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val5(), ecorePackage.getEString(), "val5", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComplex1_Val6(), ecorePackage.getEString(), "val6", null, 0, -1, Complex1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(optionalDoubleEClass, OptionalDouble.class, "OptionalDouble", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOptionalDouble_Double0(), theEcorePackage.getEDouble(), "double0", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getOptionalDouble_Double1(), theEcorePackage.getEDouble(), "double1", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getOptionalDouble_Double2(), theEcorePackage.getEDouble(), "double2", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptionalDouble_Double0(), ecorePackage.getEDouble(), "double0", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptionalDouble_Double1(), ecorePackage.getEDouble(), "double1", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptionalDouble_Double2(), ecorePackage.getEDouble(), "double2", null, 0, 1, OptionalDouble.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nullValueEClass, NullValue.class, "NullValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNullValue_Value(), theEcorePackage.getEString(), "value", null, 0, 1, NullValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getNullValue_Foo(), theEcorePackage.getEString(), "foo", null, 0, 1, NullValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNullValue_Value(), ecorePackage.getEString(), "value", null, 0, 1, NullValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNullValue_Foo(), ecorePackage.getEString(), "foo", null, 0, 1, NullValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nullCrossRefEClass, NullCrossRef.class, "NullCrossRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getNullCrossRef_Ref(), theEcorePackage.getEObject(), null, "ref", null, 0, 1, NullCrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getNullCrossRef_Foo(), theEcorePackage.getEString(), "foo", null, 0, 1, NullCrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNullCrossRef_Ref(), ecorePackage.getEObject(), null, "ref", null, 0, 1, NullCrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNullCrossRef_Foo(), ecorePackage.getEString(), "foo", null, 0, 1, NullCrossRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(fragmentCallerTypeEClass, FragmentCallerType.class, "FragmentCallerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFragmentCallerType_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFragmentCallerType_Val(), theEcorePackage.getEString(), "val", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFragmentCallerType_FragVal(), theEcorePackage.getEString(), "fragVal", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_Val(), ecorePackage.getEString(), "val", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_FragVal(), ecorePackage.getEString(), "fragVal", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(parameterCallerEClass, ParameterCaller.class, "ParameterCaller", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getParameterCaller_P(), this.getParameterized(), null, "p", null, 0, 1, ParameterCaller.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(parameterizedEClass, Parameterized.class, "Parameterized", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getParameterized_V1(), theEcorePackage.getEString(), "v1", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getParameterized_V2(), theEcorePackage.getEString(), "v2", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getParameterized_V3(), theEcorePackage.getEString(), "v3", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameterized_V1(), ecorePackage.getEString(), "v1", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameterized_V2(), ecorePackage.getEString(), "v2", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getParameterized_V3(), ecorePackage.getEString(), "v3", null, 0, 1, Parameterized.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(parameterDelegationEClass, ParameterDelegation.class, "ParameterDelegation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getParameterDelegation_P(), this.getDelegation(), null, "p", null, 0, 1, ParameterDelegation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(delegationEClass, Delegation.class, "Delegation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDelegation_P(), theEcorePackage.getEString(), "p", null, 0, 1, Delegation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDelegation_Np(), theEcorePackage.getEInt(), "np", null, 0, 1, Delegation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDelegation_P(), ecorePackage.getEString(), "p", null, 0, 1, Delegation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDelegation_Np(), ecorePackage.getEInt(), "np", null, 0, 1, Delegation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(delegationAEClass, DelegationA.class, "DelegationA", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDelegationA_Left(), this.getDelegation(), null, "left", null, 0, 1, DelegationA.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleAlternativeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleAlternativeImpl.java index 64a1edd15..06d548b8b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleAlternativeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleAlternativeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleGroupImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleGroupImpl.java index ab7ff3a96..4c567cd5a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleGroupImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleGroupImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleMultiplicitiesImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleMultiplicitiesImpl.java index a3d4bef5a..15ae6b890 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleMultiplicitiesImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SimpleMultiplicitiesImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild1Impl.java index 820955d27..688bfae19 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild2Impl.java index 912bd906d..34ff71d5a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild3Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild3Impl.java index 2f7a8ce38..ecd19704e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild3Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceChild3Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceImpl.java index bb4192892..80a0913ba 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleContainmentReferenceImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleCrossReferenceImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleCrossReferenceImpl.java index 4e70063fb..5b00cdad1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleCrossReferenceImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleCrossReferenceImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleEnumImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleEnumImpl.java index fbc502ef4..0c2e45bbd 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleEnumImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleEnumImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsImpl.java index a47e6a4e6..e7a91cbf9 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsOrIDImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsOrIDImpl.java index ec9b72adb..b8838ddd9 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsOrIDImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleKeywordsOrIDImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleTerminalsImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleTerminalsImpl.java index 0e7948a9b..d93a6214a 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleTerminalsImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/SingleTerminalsImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeImpl.java index e0fb5694b..fcd0ec404 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeVal2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeVal2Impl.java index 904086ff5..bfb59f2eb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeVal2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeVal2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValDelegateImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValDelegateImpl.java index 2c634fcc8..81f4747a2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValDelegateImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValDelegateImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValImpl.java index c8099d76e..4aea2b5c9 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedAlternativeValImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupBooleanImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupBooleanImpl.java index 8b2e08880..6a6320460 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupBooleanImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupBooleanImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupImpl.java index 20b5117af..c8b73f652 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupOptionalImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupOptionalImpl.java index fe27c7940..d11681f5f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupOptionalImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupOptionalImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupVal2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupVal2Impl.java index e096c70c7..7d3d05a39 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupVal2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupVal2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValDelegateImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValDelegateImpl.java index 582060b66..fb593f39c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValDelegateImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValDelegateImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValImpl.java index ababd5c7f..ee603d5fc 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/impl/UnorderedGroupValImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestAdapterFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestAdapterFactory.java index 7bb2e36b9..145def91e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestAdapterFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestAdapterFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestSwitch.java index f1bb55bfe..da854002e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestSwitch.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/sequencertest/util/SequencertestSwitch.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.sequencertest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/AssignmentFinderTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/AssignmentFinderTestLanguageGrammarAccess.java index e6a896cf7..e6a9d26bb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/AssignmentFinderTestLanguageGrammarAccess.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/AssignmentFinderTestLanguageGrammarAccess.java @@ -3,21 +3,29 @@ */ package org.eclipse.xtext.serializer.services; -import com.google.inject.Singleton; import com.google.inject.Inject; - +import com.google.inject.Singleton; import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +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.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; @Singleton public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarElementFinder { - public class ModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Model"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -67,133 +75,132 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl // "#04" terminalBool=TerminalBool | "#05" enumBool=EnumBool | "#06" mixedBool=MixedBool | "#07" mixedValue=MixedValue | // "#08" containmentRef=ContainmentRef | "#09" crossRef=CrossRef; @Override public ParserRule getRule() { return rule; } - + //"#00" keywordVal=KeywordVal | "#01" terminalVal=TerminalVal | "#02" enumVal=EnumVal | "#03" keywordBool=KeywordBool | //"#04" terminalBool=TerminalBool | "#05" enumBool=EnumBool | "#06" mixedBool=MixedBool | "#07" mixedValue=MixedValue | //"#08" containmentRef=ContainmentRef | "#09" crossRef=CrossRef public Alternatives getAlternatives() { return cAlternatives; } - + //"#00" keywordVal=KeywordVal public Group getGroup_0() { return cGroup_0; } - + //"#00" public Keyword getNumberSignDigitZeroDigitZeroKeyword_0_0() { return cNumberSignDigitZeroDigitZeroKeyword_0_0; } - + //keywordVal=KeywordVal public Assignment getKeywordValAssignment_0_1() { return cKeywordValAssignment_0_1; } - + //KeywordVal public RuleCall getKeywordValKeywordValParserRuleCall_0_1_0() { return cKeywordValKeywordValParserRuleCall_0_1_0; } - + //"#01" terminalVal=TerminalVal public Group getGroup_1() { return cGroup_1; } - + //"#01" public Keyword getNumberSignDigitZeroDigitOneKeyword_1_0() { return cNumberSignDigitZeroDigitOneKeyword_1_0; } - + //terminalVal=TerminalVal public Assignment getTerminalValAssignment_1_1() { return cTerminalValAssignment_1_1; } - + //TerminalVal public RuleCall getTerminalValTerminalValParserRuleCall_1_1_0() { return cTerminalValTerminalValParserRuleCall_1_1_0; } - + //"#02" enumVal=EnumVal public Group getGroup_2() { return cGroup_2; } - + //"#02" public Keyword getNumberSignDigitZeroDigitTwoKeyword_2_0() { return cNumberSignDigitZeroDigitTwoKeyword_2_0; } - + //enumVal=EnumVal public Assignment getEnumValAssignment_2_1() { return cEnumValAssignment_2_1; } - + //EnumVal public RuleCall getEnumValEnumValParserRuleCall_2_1_0() { return cEnumValEnumValParserRuleCall_2_1_0; } - + //"#03" keywordBool=KeywordBool public Group getGroup_3() { return cGroup_3; } - + //"#03" public Keyword getNumberSignDigitZeroDigitThreeKeyword_3_0() { return cNumberSignDigitZeroDigitThreeKeyword_3_0; } - + //keywordBool=KeywordBool public Assignment getKeywordBoolAssignment_3_1() { return cKeywordBoolAssignment_3_1; } - + //KeywordBool public RuleCall getKeywordBoolKeywordBoolParserRuleCall_3_1_0() { return cKeywordBoolKeywordBoolParserRuleCall_3_1_0; } - + //"#04" terminalBool=TerminalBool public Group getGroup_4() { return cGroup_4; } - + //"#04" public Keyword getNumberSignDigitZeroDigitFourKeyword_4_0() { return cNumberSignDigitZeroDigitFourKeyword_4_0; } - + //terminalBool=TerminalBool public Assignment getTerminalBoolAssignment_4_1() { return cTerminalBoolAssignment_4_1; } - + //TerminalBool public RuleCall getTerminalBoolTerminalBoolParserRuleCall_4_1_0() { return cTerminalBoolTerminalBoolParserRuleCall_4_1_0; } - + //"#05" enumBool=EnumBool public Group getGroup_5() { return cGroup_5; } - + //"#05" public Keyword getNumberSignDigitZeroDigitFiveKeyword_5_0() { return cNumberSignDigitZeroDigitFiveKeyword_5_0; } - + //enumBool=EnumBool public Assignment getEnumBoolAssignment_5_1() { return cEnumBoolAssignment_5_1; } - + //EnumBool public RuleCall getEnumBoolEnumBoolParserRuleCall_5_1_0() { return cEnumBoolEnumBoolParserRuleCall_5_1_0; } - + //"#06" mixedBool=MixedBool public Group getGroup_6() { return cGroup_6; } - + //"#06" public Keyword getNumberSignDigitZeroDigitSixKeyword_6_0() { return cNumberSignDigitZeroDigitSixKeyword_6_0; } - + //mixedBool=MixedBool public Assignment getMixedBoolAssignment_6_1() { return cMixedBoolAssignment_6_1; } - + //MixedBool public RuleCall getMixedBoolMixedBoolParserRuleCall_6_1_0() { return cMixedBoolMixedBoolParserRuleCall_6_1_0; } - + //"#07" mixedValue=MixedValue public Group getGroup_7() { return cGroup_7; } - + //"#07" public Keyword getNumberSignDigitZeroDigitSevenKeyword_7_0() { return cNumberSignDigitZeroDigitSevenKeyword_7_0; } - + //mixedValue=MixedValue public Assignment getMixedValueAssignment_7_1() { return cMixedValueAssignment_7_1; } - + //MixedValue public RuleCall getMixedValueMixedValueParserRuleCall_7_1_0() { return cMixedValueMixedValueParserRuleCall_7_1_0; } - + //"#08" containmentRef=ContainmentRef public Group getGroup_8() { return cGroup_8; } - + //"#08" public Keyword getNumberSignDigitZeroDigitEightKeyword_8_0() { return cNumberSignDigitZeroDigitEightKeyword_8_0; } - + //containmentRef=ContainmentRef public Assignment getContainmentRefAssignment_8_1() { return cContainmentRefAssignment_8_1; } - + //ContainmentRef public RuleCall getContainmentRefContainmentRefParserRuleCall_8_1_0() { return cContainmentRefContainmentRefParserRuleCall_8_1_0; } - + //"#09" crossRef=CrossRef public Group getGroup_9() { return cGroup_9; } - + //"#09" public Keyword getNumberSignDigitZeroDigitNineKeyword_9_0() { return cNumberSignDigitZeroDigitNineKeyword_9_0; } - + //crossRef=CrossRef public Assignment getCrossRefAssignment_9_1() { return cCrossRefAssignment_9_1; } - + //CrossRef public RuleCall getCrossRefCrossRefParserRuleCall_9_1_0() { return cCrossRefCrossRefParserRuleCall_9_1_0; } } - public class KeywordValElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordVal"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -205,23 +212,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //KeywordVal: // kw="kw1" | kw="kw2"; @Override public ParserRule getRule() { return rule; } - + //kw="kw1" | kw="kw2" public Alternatives getAlternatives() { return cAlternatives; } - + //kw="kw1" public Assignment getKwAssignment_0() { return cKwAssignment_0; } - + //"kw1" public Keyword getKwKw1Keyword_0_0() { return cKwKw1Keyword_0_0; } - + //kw="kw2" public Assignment getKwAssignment_1() { return cKwAssignment_1; } - + //"kw2" public Keyword getKwKw2Keyword_1_0() { return cKwKw2Keyword_1_0; } } - public class TerminalValElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalVal"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -235,29 +241,28 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //TerminalVal: // term=Terminal1 | term=Terminal2 | term="%foo"; @Override public ParserRule getRule() { return rule; } - + //term=Terminal1 | term=Terminal2 | term="%foo" public Alternatives getAlternatives() { return cAlternatives; } - + //term=Terminal1 public Assignment getTermAssignment_0() { return cTermAssignment_0; } - + //Terminal1 public RuleCall getTermTerminal1TerminalRuleCall_0_0() { return cTermTerminal1TerminalRuleCall_0_0; } - + //term=Terminal2 public Assignment getTermAssignment_1() { return cTermAssignment_1; } - + //Terminal2 public RuleCall getTermTerminal2TerminalRuleCall_1_0() { return cTermTerminal2TerminalRuleCall_1_0; } - + //term="%foo" public Assignment getTermAssignment_2() { return cTermAssignment_2; } - + //"%foo" public Keyword getTermFooKeyword_2_0() { return cTermFooKeyword_2_0; } } - public class EnumValElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumVal"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -269,23 +274,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //EnumVal: // en=Enum1 | en=Enum2; @Override public ParserRule getRule() { return rule; } - + //en=Enum1 | en=Enum2 public Alternatives getAlternatives() { return cAlternatives; } - + //en=Enum1 public Assignment getEnAssignment_0() { return cEnAssignment_0; } - + //Enum1 public RuleCall getEnEnum1EnumRuleCall_0_0() { return cEnEnum1EnumRuleCall_0_0; } - + //en=Enum2 public Assignment getEnAssignment_1() { return cEnAssignment_1; } - + //Enum2 public RuleCall getEnEnum2EnumRuleCall_1_0() { return cEnEnum2EnumRuleCall_1_0; } } - public class KeywordBoolElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.KeywordBool"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -297,23 +301,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //KeywordBool: // kw?="kw1" | kw?="kw2"; @Override public ParserRule getRule() { return rule; } - + //kw?="kw1" | kw?="kw2" public Alternatives getAlternatives() { return cAlternatives; } - + //kw?="kw1" public Assignment getKwAssignment_0() { return cKwAssignment_0; } - + //"kw1" public Keyword getKwKw1Keyword_0_0() { return cKwKw1Keyword_0_0; } - + //kw?="kw2" public Assignment getKwAssignment_1() { return cKwAssignment_1; } - + //"kw2" public Keyword getKwKw2Keyword_1_0() { return cKwKw2Keyword_1_0; } } - public class TerminalBoolElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.TerminalBool"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -327,29 +330,28 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //TerminalBool: // term?=Terminal1 | term?=Terminal2 | term?="%foo"; @Override public ParserRule getRule() { return rule; } - + //term?=Terminal1 | term?=Terminal2 | term?="%foo" public Alternatives getAlternatives() { return cAlternatives; } - + //term?=Terminal1 public Assignment getTermAssignment_0() { return cTermAssignment_0; } - + //Terminal1 public RuleCall getTermTerminal1TerminalRuleCall_0_0() { return cTermTerminal1TerminalRuleCall_0_0; } - + //term?=Terminal2 public Assignment getTermAssignment_1() { return cTermAssignment_1; } - + //Terminal2 public RuleCall getTermTerminal2TerminalRuleCall_1_0() { return cTermTerminal2TerminalRuleCall_1_0; } - + //term?="%foo" public Assignment getTermAssignment_2() { return cTermAssignment_2; } - + //"%foo" public Keyword getTermFooKeyword_2_0() { return cTermFooKeyword_2_0; } } - public class EnumBoolElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.EnumBool"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -361,23 +363,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //EnumBool: // en?=Enum1 | en?=Enum2; @Override public ParserRule getRule() { return rule; } - + //en?=Enum1 | en?=Enum2 public Alternatives getAlternatives() { return cAlternatives; } - + //en?=Enum1 public Assignment getEnAssignment_0() { return cEnAssignment_0; } - + //Enum1 public RuleCall getEnEnum1EnumRuleCall_0_0() { return cEnEnum1EnumRuleCall_0_0; } - + //en?=Enum2 public Assignment getEnAssignment_1() { return cEnAssignment_1; } - + //Enum2 public RuleCall getEnEnum2EnumRuleCall_1_0() { return cEnEnum2EnumRuleCall_1_0; } } - public class MixedBoolElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedBool"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -389,23 +390,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //MixedBool: // val?="kw1" | val=Boolean; @Override public ParserRule getRule() { return rule; } - + //val?="kw1" | val=Boolean public Alternatives getAlternatives() { return cAlternatives; } - + //val?="kw1" public Assignment getValAssignment_0() { return cValAssignment_0; } - + //"kw1" public Keyword getValKw1Keyword_0_0() { return cValKw1Keyword_0_0; } - + //val=Boolean public Assignment getValAssignment_1() { return cValAssignment_1; } - + //Boolean public RuleCall getValBooleanParserRuleCall_1_0() { return cValBooleanParserRuleCall_1_0; } } - public class BooleanElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Boolean"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -415,17 +415,16 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //Boolean ecore::EBoolean: // "true" | "false" @Override public ParserRule getRule() { return rule; } - + //"true" | "false" public Alternatives getAlternatives() { return cAlternatives; } - + //"true" public Keyword getTrueKeyword_0() { return cTrueKeyword_0; } - + //"false" public Keyword getFalseKeyword_1() { return cFalseKeyword_1; } } - public class MixedValueElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.MixedValue"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -437,23 +436,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //MixedValue: // val=Enum1 | val=DatEnum; @Override public ParserRule getRule() { return rule; } - + //val=Enum1 | val=DatEnum public Alternatives getAlternatives() { return cAlternatives; } - + //val=Enum1 public Assignment getValAssignment_0() { return cValAssignment_0; } - + //Enum1 public RuleCall getValEnum1EnumRuleCall_0_0() { return cValEnum1EnumRuleCall_0_0; } - + //val=DatEnum public Assignment getValAssignment_1() { return cValAssignment_1; } - + //DatEnum public RuleCall getValDatEnumParserRuleCall_1_0() { return cValDatEnumParserRuleCall_1_0; } } - public class DatEnumElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.DatEnum"); private final Keyword cLit3Keyword = (Keyword)rule.eContents().get(1); @@ -461,11 +459,10 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //DatEnum TestEnum: // "lit3" @Override public ParserRule getRule() { return rule; } - + //"lit3" public Keyword getLit3Keyword() { return cLit3Keyword; } } - public class ContainmentRefElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -477,23 +474,22 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //ContainmentRef: // ctx=ContainmentRef1 | ctx=ContainmentRef2; @Override public ParserRule getRule() { return rule; } - + //ctx=ContainmentRef1 | ctx=ContainmentRef2 public Alternatives getAlternatives() { return cAlternatives; } - + //ctx=ContainmentRef1 public Assignment getCtxAssignment_0() { return cCtxAssignment_0; } - + //ContainmentRef1 public RuleCall getCtxContainmentRef1ParserRuleCall_0_0() { return cCtxContainmentRef1ParserRuleCall_0_0; } - + //ctx=ContainmentRef2 public Assignment getCtxAssignment_1() { return cCtxAssignment_1; } - + //ContainmentRef2 public RuleCall getCtxContainmentRef2ParserRuleCall_1_0() { return cCtxContainmentRef2ParserRuleCall_1_0; } } - public class ContainmentRef1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -504,20 +500,19 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //ContainmentRef1 ContainmentRefN: // "kw1" val1=ID @Override public ParserRule getRule() { return rule; } - + //"kw1" val1=ID public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } } - public class ContainmentRef2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.ContainmentRef2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -528,20 +523,19 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //ContainmentRef2 ContainmentRefN: // "kw2" val2=ID @Override public ParserRule getRule() { return rule; } - + //"kw2" val2=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //val2=ID public Assignment getVal2Assignment_1() { return cVal2Assignment_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_1_0() { return cVal2IDTerminalRuleCall_1_0; } } - public class CrossRefElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.CrossRef"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -560,45 +554,44 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //CrossRef: // name=(Terminal1 | Terminal2) (crossRef=[CrossRef|Terminal1] | crossRef=[CrossRef|Terminal2]); @Override public ParserRule getRule() { return rule; } - + //name=(Terminal1 | Terminal2) (crossRef=[CrossRef|Terminal1] | crossRef=[CrossRef|Terminal2]) public Group getGroup() { return cGroup; } - + //name=(Terminal1 | Terminal2) public Assignment getNameAssignment_0() { return cNameAssignment_0; } - + //(Terminal1 | Terminal2) public Alternatives getNameAlternatives_0_0() { return cNameAlternatives_0_0; } - + //Terminal1 public RuleCall getNameTerminal1TerminalRuleCall_0_0_0() { return cNameTerminal1TerminalRuleCall_0_0_0; } - + //Terminal2 public RuleCall getNameTerminal2TerminalRuleCall_0_0_1() { return cNameTerminal2TerminalRuleCall_0_0_1; } - + //(crossRef=[CrossRef|Terminal1] | crossRef=[CrossRef|Terminal2]) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //crossRef=[CrossRef|Terminal1] public Assignment getCrossRefAssignment_1_0() { return cCrossRefAssignment_1_0; } - + //[CrossRef|Terminal1] public CrossReference getCrossRefCrossRefCrossReference_1_0_0() { return cCrossRefCrossRefCrossReference_1_0_0; } - + //Terminal1 public RuleCall getCrossRefCrossRefTerminal1TerminalRuleCall_1_0_0_1() { return cCrossRefCrossRefTerminal1TerminalRuleCall_1_0_0_1; } - + //crossRef=[CrossRef|Terminal2] public Assignment getCrossRefAssignment_1_1() { return cCrossRefAssignment_1_1; } - + //[CrossRef|Terminal2] public CrossReference getCrossRefCrossRefCrossReference_1_1_0() { return cCrossRefCrossRefCrossReference_1_1_0; } - + //Terminal2 public RuleCall getCrossRefCrossRefTerminal2TerminalRuleCall_1_1_0_1() { return cCrossRefCrossRefTerminal2TerminalRuleCall_1_1_0_1; } } - public class Enum1Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum1"); private final EnumLiteralDeclaration cLit1EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -607,14 +600,13 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //enum Enum1 returns TestEnum: // lit1; public EnumRule getRule() { return rule; } - + //lit1 public EnumLiteralDeclaration getLit1EnumLiteralDeclaration() { return cLit1EnumLiteralDeclaration; } - + //"lit1" public Keyword getLit1Lit1Keyword_0() { return cLit1Lit1Keyword_0; } } - public class Enum2Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum2"); private final EnumLiteralDeclaration cLit2EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -623,14 +615,13 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //enum Enum2 returns TestEnum: // lit2; public EnumRule getRule() { return rule; } - + //lit2 public EnumLiteralDeclaration getLit2EnumLiteralDeclaration() { return cLit2EnumLiteralDeclaration; } - + //"lit2" public Keyword getLit2Lit2Keyword_0() { return cLit2Lit2Keyword_0; } } - public class Enum3Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Enum3"); private final EnumLiteralDeclaration cLit3EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -639,10 +630,10 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl //enum Enum3 returns TestEnum: // lit3; public EnumRule getRule() { return rule; } - + //lit3 public EnumLiteralDeclaration getLit3EnumLiteralDeclaration() { return cLit3EnumLiteralDeclaration; } - + //"lit3" public Keyword getLit3Lit3Keyword_0() { return cLit3Lit3Keyword_0; } } @@ -669,12 +660,12 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl private final CrossRefElements pCrossRef; private final Grammar grammar; - + private final TerminalsGrammarAccess gaTerminals; @Inject public AssignmentFinderTestLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); @@ -720,7 +711,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl return grammar; } - + public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } @@ -737,7 +728,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getModelRule() { return getModelAccess().getRule(); } - + //KeywordVal: // kw="kw1" | kw="kw2"; public KeywordValElements getKeywordValAccess() { @@ -747,7 +738,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getKeywordValRule() { return getKeywordValAccess().getRule(); } - + //TerminalVal: // term=Terminal1 | term=Terminal2 | term="%foo"; public TerminalValElements getTerminalValAccess() { @@ -757,19 +748,19 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getTerminalValRule() { return getTerminalValAccess().getRule(); } - + //terminal Terminal1: // '%' 'A'..'Z'*; public TerminalRule getTerminal1Rule() { return tTerminal1; - } - + } + //terminal Terminal2: // '%' 'a'..'z'*; public TerminalRule getTerminal2Rule() { return tTerminal2; - } - + } + //EnumVal: // en=Enum1 | en=Enum2; public EnumValElements getEnumValAccess() { @@ -779,7 +770,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getEnumValRule() { return getEnumValAccess().getRule(); } - + //enum Enum1 returns TestEnum: // lit1; public Enum1Elements getEnum1Access() { @@ -789,7 +780,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public EnumRule getEnum1Rule() { return getEnum1Access().getRule(); } - + //enum Enum2 returns TestEnum: // lit2; public Enum2Elements getEnum2Access() { @@ -799,7 +790,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public EnumRule getEnum2Rule() { return getEnum2Access().getRule(); } - + //enum Enum3 returns TestEnum: // lit3; public Enum3Elements getEnum3Access() { @@ -809,7 +800,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public EnumRule getEnum3Rule() { return getEnum3Access().getRule(); } - + //KeywordBool: // kw?="kw1" | kw?="kw2"; public KeywordBoolElements getKeywordBoolAccess() { @@ -819,7 +810,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getKeywordBoolRule() { return getKeywordBoolAccess().getRule(); } - + //TerminalBool: // term?=Terminal1 | term?=Terminal2 | term?="%foo"; public TerminalBoolElements getTerminalBoolAccess() { @@ -829,7 +820,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getTerminalBoolRule() { return getTerminalBoolAccess().getRule(); } - + //EnumBool: // en?=Enum1 | en?=Enum2; public EnumBoolElements getEnumBoolAccess() { @@ -839,7 +830,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getEnumBoolRule() { return getEnumBoolAccess().getRule(); } - + //MixedBool: // val?="kw1" | val=Boolean; public MixedBoolElements getMixedBoolAccess() { @@ -849,7 +840,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getMixedBoolRule() { return getMixedBoolAccess().getRule(); } - + //Boolean ecore::EBoolean: // "true" | "false" public BooleanElements getBooleanAccess() { @@ -859,7 +850,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getBooleanRule() { return getBooleanAccess().getRule(); } - + //MixedValue: // val=Enum1 | val=DatEnum; public MixedValueElements getMixedValueAccess() { @@ -869,7 +860,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getMixedValueRule() { return getMixedValueAccess().getRule(); } - + //DatEnum TestEnum: // "lit3" public DatEnumElements getDatEnumAccess() { @@ -879,7 +870,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getDatEnumRule() { return getDatEnumAccess().getRule(); } - + //ContainmentRef: // ctx=ContainmentRef1 | ctx=ContainmentRef2; public ContainmentRefElements getContainmentRefAccess() { @@ -889,7 +880,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getContainmentRefRule() { return getContainmentRefAccess().getRule(); } - + //ContainmentRef1 ContainmentRefN: // "kw1" val1=ID public ContainmentRef1Elements getContainmentRef1Access() { @@ -899,7 +890,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getContainmentRef1Rule() { return getContainmentRef1Access().getRule(); } - + //ContainmentRef2 ContainmentRefN: // "kw2" val2=ID public ContainmentRef2Elements getContainmentRef2Access() { @@ -909,7 +900,7 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getContainmentRef2Rule() { return getContainmentRef2Access().getRule(); } - + //CrossRef: // name=(Terminal1 | Terminal2) (crossRef=[CrossRef|Terminal1] | crossRef=[CrossRef|Terminal2]); public CrossRefElements getCrossRefAccess() { @@ -919,47 +910,47 @@ public class AssignmentFinderTestLanguageGrammarAccess extends AbstractGrammarEl public ParserRule getCrossRefRule() { return getCrossRefAccess().getRule(); } - + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); - } - + } + //terminal INT returns ecore::EInt: // '0'..'9'+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); - } - + } + //terminal STRING: // '"' ('\\' . | !('\\' | '"'))* '"' | // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); - } - + } + //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); - } - + } + //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); - } - + } + //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); - } - + } + //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); - } + } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/ContextFinderTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/ContextFinderTestLanguageGrammarAccess.java index bf077869a..cefb59caf 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/ContextFinderTestLanguageGrammarAccess.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/ContextFinderTestLanguageGrammarAccess.java @@ -3,21 +3,30 @@ */ package org.eclipse.xtext.serializer.services; -import com.google.inject.Singleton; import com.google.inject.Inject; - +import com.google.inject.Singleton; import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +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.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; @Singleton public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarElementFinder { - public class ModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -86,7 +95,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme // ValueExclusionTest2) | "#7" name=STRING nodeExclusion=(NodeExclusion1 | NodeExclusion2) | "#8" name=STRING // nodeExclusionList=(NodeExclusion1List | NodeExclusion2List); @Override public ParserRule getRule() { return rule; } - + //"#0" model=Model2 | "#1" attributeExclusion=(AttributeExclusionTest1 | AttributeExclusionTest2) | "#2" //nestedType=(NestedTypeTest1 | NestedTypeTest2) | "#3" nestedTypeRecursiveTest2=(NestedTypeRecursiveTest1 | //NestedTypeRecursiveTest2) | "#4" parentRef=(ParentRefTest1 | ParentRefTest2) | "#5" @@ -94,176 +103,175 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ValueExclusionTest2) | "#7" name=STRING nodeExclusion=(NodeExclusion1 | NodeExclusion2) | "#8" name=STRING //nodeExclusionList=(NodeExclusion1List | NodeExclusion2List) public Alternatives getAlternatives() { return cAlternatives; } - + //"#0" model=Model2 public Group getGroup_0() { return cGroup_0; } - + //"#0" public Keyword getNumberSignDigitZeroKeyword_0_0() { return cNumberSignDigitZeroKeyword_0_0; } - + //model=Model2 public Assignment getModelAssignment_0_1() { return cModelAssignment_0_1; } - + //Model2 public RuleCall getModelModel2ParserRuleCall_0_1_0() { return cModelModel2ParserRuleCall_0_1_0; } - + //"#1" attributeExclusion=(AttributeExclusionTest1 | AttributeExclusionTest2) public Group getGroup_1() { return cGroup_1; } - + //"#1" public Keyword getNumberSignDigitOneKeyword_1_0() { return cNumberSignDigitOneKeyword_1_0; } - + //attributeExclusion=(AttributeExclusionTest1 | AttributeExclusionTest2) public Assignment getAttributeExclusionAssignment_1_1() { return cAttributeExclusionAssignment_1_1; } - + //(AttributeExclusionTest1 | AttributeExclusionTest2) public Alternatives getAttributeExclusionAlternatives_1_1_0() { return cAttributeExclusionAlternatives_1_1_0; } - + //AttributeExclusionTest1 public RuleCall getAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0() { return cAttributeExclusionAttributeExclusionTest1ParserRuleCall_1_1_0_0; } - + //AttributeExclusionTest2 public RuleCall getAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1() { return cAttributeExclusionAttributeExclusionTest2ParserRuleCall_1_1_0_1; } - + //"#2" nestedType=(NestedTypeTest1 | NestedTypeTest2) public Group getGroup_2() { return cGroup_2; } - + //"#2" public Keyword getNumberSignDigitTwoKeyword_2_0() { return cNumberSignDigitTwoKeyword_2_0; } - + //nestedType=(NestedTypeTest1 | NestedTypeTest2) public Assignment getNestedTypeAssignment_2_1() { return cNestedTypeAssignment_2_1; } - + //(NestedTypeTest1 | NestedTypeTest2) public Alternatives getNestedTypeAlternatives_2_1_0() { return cNestedTypeAlternatives_2_1_0; } - + //NestedTypeTest1 public RuleCall getNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0() { return cNestedTypeNestedTypeTest1ParserRuleCall_2_1_0_0; } - + //NestedTypeTest2 public RuleCall getNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1() { return cNestedTypeNestedTypeTest2ParserRuleCall_2_1_0_1; } - + //"#3" nestedTypeRecursiveTest2=(NestedTypeRecursiveTest1 | NestedTypeRecursiveTest2) public Group getGroup_3() { return cGroup_3; } - + //"#3" public Keyword getNumberSignDigitThreeKeyword_3_0() { return cNumberSignDigitThreeKeyword_3_0; } - + //nestedTypeRecursiveTest2=(NestedTypeRecursiveTest1 | NestedTypeRecursiveTest2) public Assignment getNestedTypeRecursiveTest2Assignment_3_1() { return cNestedTypeRecursiveTest2Assignment_3_1; } - + //(NestedTypeRecursiveTest1 | NestedTypeRecursiveTest2) public Alternatives getNestedTypeRecursiveTest2Alternatives_3_1_0() { return cNestedTypeRecursiveTest2Alternatives_3_1_0; } - + //NestedTypeRecursiveTest1 public RuleCall getNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0() { return cNestedTypeRecursiveTest2NestedTypeRecursiveTest1ParserRuleCall_3_1_0_0; } - + //NestedTypeRecursiveTest2 public RuleCall getNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1() { return cNestedTypeRecursiveTest2NestedTypeRecursiveTest2ParserRuleCall_3_1_0_1; } - + //"#4" parentRef=(ParentRefTest1 | ParentRefTest2) public Group getGroup_4() { return cGroup_4; } - + //"#4" public Keyword getNumberSignDigitFourKeyword_4_0() { return cNumberSignDigitFourKeyword_4_0; } - + //parentRef=(ParentRefTest1 | ParentRefTest2) public Assignment getParentRefAssignment_4_1() { return cParentRefAssignment_4_1; } - + //(ParentRefTest1 | ParentRefTest2) public Alternatives getParentRefAlternatives_4_1_0() { return cParentRefAlternatives_4_1_0; } - + //ParentRefTest1 public RuleCall getParentRefParentRefTest1ParserRuleCall_4_1_0_0() { return cParentRefParentRefTest1ParserRuleCall_4_1_0_0; } - + //ParentRefTest2 public RuleCall getParentRefParentRefTest2ParserRuleCall_4_1_0_1() { return cParentRefParentRefTest2ParserRuleCall_4_1_0_1; } - + //"#5" quantityExclusion=(QuantityExclusionTest1 | QuantityExclusionTest2) public Group getGroup_5() { return cGroup_5; } - + //"#5" public Keyword getNumberSignDigitFiveKeyword_5_0() { return cNumberSignDigitFiveKeyword_5_0; } - + //quantityExclusion=(QuantityExclusionTest1 | QuantityExclusionTest2) public Assignment getQuantityExclusionAssignment_5_1() { return cQuantityExclusionAssignment_5_1; } - + //(QuantityExclusionTest1 | QuantityExclusionTest2) public Alternatives getQuantityExclusionAlternatives_5_1_0() { return cQuantityExclusionAlternatives_5_1_0; } - + //QuantityExclusionTest1 public RuleCall getQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0() { return cQuantityExclusionQuantityExclusionTest1ParserRuleCall_5_1_0_0; } - + //QuantityExclusionTest2 public RuleCall getQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1() { return cQuantityExclusionQuantityExclusionTest2ParserRuleCall_5_1_0_1; } - + //"#6" valueExclusion=(ValueExclusionTest1 | ValueExclusionTest2) public Group getGroup_6() { return cGroup_6; } - + //"#6" public Keyword getNumberSignDigitSixKeyword_6_0() { return cNumberSignDigitSixKeyword_6_0; } - + //valueExclusion=(ValueExclusionTest1 | ValueExclusionTest2) public Assignment getValueExclusionAssignment_6_1() { return cValueExclusionAssignment_6_1; } - + //(ValueExclusionTest1 | ValueExclusionTest2) public Alternatives getValueExclusionAlternatives_6_1_0() { return cValueExclusionAlternatives_6_1_0; } - + //ValueExclusionTest1 public RuleCall getValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0() { return cValueExclusionValueExclusionTest1ParserRuleCall_6_1_0_0; } - + //ValueExclusionTest2 public RuleCall getValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1() { return cValueExclusionValueExclusionTest2ParserRuleCall_6_1_0_1; } - + //"#7" name=STRING nodeExclusion=(NodeExclusion1 | NodeExclusion2) public Group getGroup_7() { return cGroup_7; } - + //"#7" public Keyword getNumberSignDigitSevenKeyword_7_0() { return cNumberSignDigitSevenKeyword_7_0; } - + //name=STRING public Assignment getNameAssignment_7_1() { return cNameAssignment_7_1; } - + //STRING public RuleCall getNameSTRINGTerminalRuleCall_7_1_0() { return cNameSTRINGTerminalRuleCall_7_1_0; } - + //nodeExclusion=(NodeExclusion1 | NodeExclusion2) public Assignment getNodeExclusionAssignment_7_2() { return cNodeExclusionAssignment_7_2; } - + //(NodeExclusion1 | NodeExclusion2) public Alternatives getNodeExclusionAlternatives_7_2_0() { return cNodeExclusionAlternatives_7_2_0; } - + //NodeExclusion1 public RuleCall getNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0() { return cNodeExclusionNodeExclusion1ParserRuleCall_7_2_0_0; } - + //NodeExclusion2 public RuleCall getNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1() { return cNodeExclusionNodeExclusion2ParserRuleCall_7_2_0_1; } - + //"#8" name=STRING nodeExclusionList=(NodeExclusion1List | NodeExclusion2List) public Group getGroup_8() { return cGroup_8; } - + //"#8" public Keyword getNumberSignDigitEightKeyword_8_0() { return cNumberSignDigitEightKeyword_8_0; } - + //name=STRING public Assignment getNameAssignment_8_1() { return cNameAssignment_8_1; } - + //STRING public RuleCall getNameSTRINGTerminalRuleCall_8_1_0() { return cNameSTRINGTerminalRuleCall_8_1_0; } - + //nodeExclusionList=(NodeExclusion1List | NodeExclusion2List) public Assignment getNodeExclusionListAssignment_8_2() { return cNodeExclusionListAssignment_8_2; } - + //(NodeExclusion1List | NodeExclusion2List) public Alternatives getNodeExclusionListAlternatives_8_2_0() { return cNodeExclusionListAlternatives_8_2_0; } - + //NodeExclusion1List public RuleCall getNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0() { return cNodeExclusionListNodeExclusion1ListParserRuleCall_8_2_0_0; } - + //NodeExclusion2List public RuleCall getNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1() { return cNodeExclusionListNodeExclusion2ListParserRuleCall_8_2_0_1; } } - public class Model2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.Model2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -273,17 +281,16 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //Model2 Model: // {Model} "model" @Override public ParserRule getRule() { return rule; } - + //{Model} "model" public Group getGroup() { return cGroup; } - + //{Model} public Action getModelAction_0() { return cModelAction_0; } - + //"model" public Keyword getModelKeyword_1() { return cModelKeyword_1; } } - public class AttributeExclusionTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -294,20 +301,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //AttributeExclusionTest1 AttributeExclusionTest: // "kw1" attr1=ID @Override public ParserRule getRule() { return rule; } - + //"kw1" attr1=ID public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //attr1=ID public Assignment getAttr1Assignment_1() { return cAttr1Assignment_1; } - + //ID public RuleCall getAttr1IDTerminalRuleCall_1_0() { return cAttr1IDTerminalRuleCall_1_0; } } - public class AttributeExclusionTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.AttributeExclusionTest2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -318,20 +324,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //AttributeExclusionTest2 AttributeExclusionTest: // "kw2" attr2=ID @Override public ParserRule getRule() { return rule; } - + //"kw2" attr2=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //attr2=ID public Assignment getAttr2Assignment_1() { return cAttr2Assignment_1; } - + //ID public RuleCall getAttr2IDTerminalRuleCall_1_0() { return cAttr2IDTerminalRuleCall_1_0; } } - public class NestedTypeTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest1"); private final Assignment cNestedAssignment = (Assignment)rule.eContents().get(1); @@ -340,14 +345,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeTest1 NestedTypeTest: // nested=NestedTypeChild1 @Override public ParserRule getRule() { return rule; } - + //nested=NestedTypeChild1 public Assignment getNestedAssignment() { return cNestedAssignment; } - + //NestedTypeChild1 public RuleCall getNestedNestedTypeChild1ParserRuleCall_0() { return cNestedNestedTypeChild1ParserRuleCall_0; } } - public class NestedTypeTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeTest2"); private final Assignment cNestedAssignment = (Assignment)rule.eContents().get(1); @@ -356,14 +360,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeTest2 NestedTypeTest: // nested=NestedTypeChild2 @Override public ParserRule getRule() { return rule; } - + //nested=NestedTypeChild2 public Assignment getNestedAssignment() { return cNestedAssignment; } - + //NestedTypeChild2 public RuleCall getNestedNestedTypeChild2ParserRuleCall_0() { return cNestedNestedTypeChild2ParserRuleCall_0; } } - public class NestedTypeChildElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -373,17 +376,16 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeChild: // NestedTypeChild1 | NestedTypeChild2; @Override public ParserRule getRule() { return rule; } - + //NestedTypeChild1 | NestedTypeChild2 public Alternatives getAlternatives() { return cAlternatives; } - + //NestedTypeChild1 public RuleCall getNestedTypeChild1ParserRuleCall_0() { return cNestedTypeChild1ParserRuleCall_0; } - + //NestedTypeChild2 public RuleCall getNestedTypeChild2ParserRuleCall_1() { return cNestedTypeChild2ParserRuleCall_1; } } - public class NestedTypeChild1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -394,20 +396,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeChild1: // "kw1" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw1" val=ID public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class NestedTypeChild2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeChild2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -418,20 +419,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeChild2: // "kw2" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw2" val=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class NestedTypeRecursiveTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -444,26 +444,25 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeRecursiveTest1 NestedTypeRecursiveTest: // {NestedTypeRecursiveTest1} "kw1" ({NestedTypeRecursiveTest.left=current} ".")+ @Override public ParserRule getRule() { return rule; } - + //{NestedTypeRecursiveTest1} "kw1" ({NestedTypeRecursiveTest.left=current} ".")+ public Group getGroup() { return cGroup; } - + //{NestedTypeRecursiveTest1} public Action getNestedTypeRecursiveTest1Action_0() { return cNestedTypeRecursiveTest1Action_0; } - + //"kw1" public Keyword getKw1Keyword_1() { return cKw1Keyword_1; } - + //({NestedTypeRecursiveTest.left=current} ".")+ public Group getGroup_2() { return cGroup_2; } - + //{NestedTypeRecursiveTest.left=current} public Action getNestedTypeRecursiveTestLeftAction_2_0() { return cNestedTypeRecursiveTestLeftAction_2_0; } - + //"." public Keyword getFullStopKeyword_2_1() { return cFullStopKeyword_2_1; } } - public class NestedTypeRecursiveTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NestedTypeRecursiveTest2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -476,26 +475,25 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NestedTypeRecursiveTest2 NestedTypeRecursiveTest: // {NestedTypeRecursiveTest2} "kw2" ({NestedTypeRecursiveTest.left=current} ".")+ @Override public ParserRule getRule() { return rule; } - + //{NestedTypeRecursiveTest2} "kw2" ({NestedTypeRecursiveTest.left=current} ".")+ public Group getGroup() { return cGroup; } - + //{NestedTypeRecursiveTest2} public Action getNestedTypeRecursiveTest2Action_0() { return cNestedTypeRecursiveTest2Action_0; } - + //"kw2" public Keyword getKw2Keyword_1() { return cKw2Keyword_1; } - + //({NestedTypeRecursiveTest.left=current} ".")+ public Group getGroup_2() { return cGroup_2; } - + //{NestedTypeRecursiveTest.left=current} public Action getNestedTypeRecursiveTestLeftAction_2_0() { return cNestedTypeRecursiveTestLeftAction_2_0; } - + //"." public Keyword getFullStopKeyword_2_1() { return cFullStopKeyword_2_1; } } - public class ParentRefTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -506,20 +504,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ParentRefTest1: // "kw1" child1=ParentRefTestChild1; @Override public ParserRule getRule() { return rule; } - + //"kw1" child1=ParentRefTestChild1 public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //child1=ParentRefTestChild1 public Assignment getChild1Assignment_1() { return cChild1Assignment_1; } - + //ParentRefTestChild1 public RuleCall getChild1ParentRefTestChild1ParserRuleCall_1_0() { return cChild1ParentRefTestChild1ParserRuleCall_1_0; } } - public class ParentRefTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTest2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -530,20 +527,19 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ParentRefTest2: // "kw2" child2=ParentRefTestChild2; @Override public ParserRule getRule() { return rule; } - + //"kw2" child2=ParentRefTestChild2 public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //child2=ParentRefTestChild2 public Assignment getChild2Assignment_1() { return cChild2Assignment_1; } - + //ParentRefTestChild2 public RuleCall getChild2ParentRefTestChild2ParserRuleCall_1_0() { return cChild2ParentRefTestChild2ParserRuleCall_1_0; } } - public class ParentRefTestChild1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -555,23 +551,22 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ParentRefTestChild1 ParentRefTestChild: // {ParentRefTestChild} "foo" child=ParentRefTestChild1? @Override public ParserRule getRule() { return rule; } - + //{ParentRefTestChild} "foo" child=ParentRefTestChild1? public Group getGroup() { return cGroup; } - + //{ParentRefTestChild} public Action getParentRefTestChildAction_0() { return cParentRefTestChildAction_0; } - + //"foo" public Keyword getFooKeyword_1() { return cFooKeyword_1; } - + //child=ParentRefTestChild1? public Assignment getChildAssignment_2() { return cChildAssignment_2; } - + //ParentRefTestChild1 public RuleCall getChildParentRefTestChild1ParserRuleCall_2_0() { return cChildParentRefTestChild1ParserRuleCall_2_0; } } - public class ParentRefTestChild2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ParentRefTestChild2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -583,23 +578,22 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ParentRefTestChild2 ParentRefTestChild: // {ParentRefTestChild} "foo" child=ParentRefTestChild2? @Override public ParserRule getRule() { return rule; } - + //{ParentRefTestChild} "foo" child=ParentRefTestChild2? public Group getGroup() { return cGroup; } - + //{ParentRefTestChild} public Action getParentRefTestChildAction_0() { return cParentRefTestChildAction_0; } - + //"foo" public Keyword getFooKeyword_1() { return cFooKeyword_1; } - + //child=ParentRefTestChild2? public Assignment getChildAssignment_2() { return cChildAssignment_2; } - + //ParentRefTestChild2 public RuleCall getChildParentRefTestChild2ParserRuleCall_2_0() { return cChildParentRefTestChild2ParserRuleCall_2_0; } } - public class QuantityExclusionTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -612,26 +606,25 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //QuantityExclusionTest1 QuantityExclusionTest: // "kw1" attr1=ID attr2=ID? @Override public ParserRule getRule() { return rule; } - + //"kw1" attr1=ID attr2=ID? public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //attr1=ID public Assignment getAttr1Assignment_1() { return cAttr1Assignment_1; } - + //ID public RuleCall getAttr1IDTerminalRuleCall_1_0() { return cAttr1IDTerminalRuleCall_1_0; } - + //attr2=ID? public Assignment getAttr2Assignment_2() { return cAttr2Assignment_2; } - + //ID public RuleCall getAttr2IDTerminalRuleCall_2_0() { return cAttr2IDTerminalRuleCall_2_0; } } - public class QuantityExclusionTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.QuantityExclusionTest2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -644,26 +637,25 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //QuantityExclusionTest2 QuantityExclusionTest: // "kw2" attr1=ID? attr2=ID @Override public ParserRule getRule() { return rule; } - + //"kw2" attr1=ID? attr2=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //attr1=ID? public Assignment getAttr1Assignment_1() { return cAttr1Assignment_1; } - + //ID public RuleCall getAttr1IDTerminalRuleCall_1_0() { return cAttr1IDTerminalRuleCall_1_0; } - + //attr2=ID public Assignment getAttr2Assignment_2() { return cAttr2Assignment_2; } - + //ID public RuleCall getAttr2IDTerminalRuleCall_2_0() { return cAttr2IDTerminalRuleCall_2_0; } } - public class ValueExclusionTest1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest1"); private final Assignment cValAssignment = (Assignment)rule.eContents().get(1); @@ -672,14 +664,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ValueExclusionTest1 ValueExclusionTest: // val=ValueExclusionTestEn1 @Override public ParserRule getRule() { return rule; } - + //val=ValueExclusionTestEn1 public Assignment getValAssignment() { return cValAssignment; } - + //ValueExclusionTestEn1 public RuleCall getValValueExclusionTestEn1EnumRuleCall_0() { return cValValueExclusionTestEn1EnumRuleCall_0; } } - public class ValueExclusionTest2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTest2"); private final Assignment cValAssignment = (Assignment)rule.eContents().get(1); @@ -688,14 +679,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //ValueExclusionTest2 ValueExclusionTest: // val=ValueExclusionTestEn2 @Override public ParserRule getRule() { return rule; } - + //val=ValueExclusionTestEn2 public Assignment getValAssignment() { return cValAssignment; } - + //ValueExclusionTestEn2 public RuleCall getValValueExclusionTestEn2EnumRuleCall_0() { return cValValueExclusionTestEn2EnumRuleCall_0; } } - public class NodeExclusion1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1"); private final Assignment cRefAssignment = (Assignment)rule.eContents().get(1); @@ -705,17 +695,16 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NodeExclusion1 NodeExclusion: // ref=[Model] @Override public ParserRule getRule() { return rule; } - + //ref=[Model] public Assignment getRefAssignment() { return cRefAssignment; } - + //[Model] public CrossReference getRefModelCrossReference_0() { return cRefModelCrossReference_0; } - + //ID public RuleCall getRefModelIDTerminalRuleCall_0_1() { return cRefModelIDTerminalRuleCall_0_1; } } - public class NodeExclusion2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2"); private final Assignment cRefAssignment = (Assignment)rule.eContents().get(1); @@ -725,17 +714,16 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NodeExclusion2 NodeExclusion: // ref=[Model|STRING] @Override public ParserRule getRule() { return rule; } - + //ref=[Model|STRING] public Assignment getRefAssignment() { return cRefAssignment; } - + //[Model|STRING] public CrossReference getRefModelCrossReference_0() { return cRefModelCrossReference_0; } - + //STRING public RuleCall getRefModelSTRINGTerminalRuleCall_0_1() { return cRefModelSTRINGTerminalRuleCall_0_1; } } - public class NodeExclusion1ListElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion1List"); private final Assignment cRefAssignment = (Assignment)rule.eContents().get(1); @@ -745,17 +733,16 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NodeExclusion1List NodeExclusionList: // ref+=[Model]+ @Override public ParserRule getRule() { return rule; } - + //ref+=[Model]+ public Assignment getRefAssignment() { return cRefAssignment; } - + //[Model] public CrossReference getRefModelCrossReference_0() { return cRefModelCrossReference_0; } - + //ID public RuleCall getRefModelIDTerminalRuleCall_0_1() { return cRefModelIDTerminalRuleCall_0_1; } } - public class NodeExclusion2ListElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.NodeExclusion2List"); private final Assignment cRefAssignment = (Assignment)rule.eContents().get(1); @@ -765,18 +752,17 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //NodeExclusion2List NodeExclusionList: // ref+=[Model|STRING]+ @Override public ParserRule getRule() { return rule; } - + //ref+=[Model|STRING]+ public Assignment getRefAssignment() { return cRefAssignment; } - + //[Model|STRING] public CrossReference getRefModelCrossReference_0() { return cRefModelCrossReference_0; } - + //STRING public RuleCall getRefModelSTRINGTerminalRuleCall_0_1() { return cRefModelSTRINGTerminalRuleCall_0_1; } } - public class ValueExclusionTestEn0Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn0"); private final EnumLiteralDeclaration cLit0EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -785,14 +771,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //enum ValueExclusionTestEn0 returns ValueExclusionTestEn: // lit0; public EnumRule getRule() { return rule; } - + //lit0 public EnumLiteralDeclaration getLit0EnumLiteralDeclaration() { return cLit0EnumLiteralDeclaration; } - + //"lit0" public Keyword getLit0Lit0Keyword_0() { return cLit0Lit0Keyword_0; } } - public class ValueExclusionTestEn1Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn1"); private final EnumLiteralDeclaration cLit1EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -801,14 +786,13 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //enum ValueExclusionTestEn1 returns ValueExclusionTestEn: // lit1; public EnumRule getRule() { return rule; } - + //lit1 public EnumLiteralDeclaration getLit1EnumLiteralDeclaration() { return cLit1EnumLiteralDeclaration; } - + //"lit1" public Keyword getLit1Lit1Keyword_0() { return cLit1Lit1Keyword_0; } } - public class ValueExclusionTestEn2Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.ContextFinderTestLanguage.ValueExclusionTestEn2"); private final EnumLiteralDeclaration cLit2EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -817,10 +801,10 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme //enum ValueExclusionTestEn2 returns ValueExclusionTestEn: // lit2; public EnumRule getRule() { return rule; } - + //lit2 public EnumLiteralDeclaration getLit2EnumLiteralDeclaration() { return cLit2EnumLiteralDeclaration; } - + //"lit2" public Keyword getLit2Lit2Keyword_0() { return cLit2Lit2Keyword_0; } } @@ -853,12 +837,12 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme private final NodeExclusion2ListElements pNodeExclusion2List; private final Grammar grammar; - + private final TerminalsGrammarAccess gaTerminals; @Inject public ContextFinderTestLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); @@ -910,7 +894,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme return grammar; } - + public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } @@ -930,7 +914,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getModelRule() { return getModelAccess().getRule(); } - + //Model2 Model: // {Model} "model" public Model2Elements getModel2Access() { @@ -940,7 +924,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getModel2Rule() { return getModel2Access().getRule(); } - + //AttributeExclusionTest1 AttributeExclusionTest: // "kw1" attr1=ID public AttributeExclusionTest1Elements getAttributeExclusionTest1Access() { @@ -950,7 +934,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getAttributeExclusionTest1Rule() { return getAttributeExclusionTest1Access().getRule(); } - + //AttributeExclusionTest2 AttributeExclusionTest: // "kw2" attr2=ID public AttributeExclusionTest2Elements getAttributeExclusionTest2Access() { @@ -960,7 +944,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getAttributeExclusionTest2Rule() { return getAttributeExclusionTest2Access().getRule(); } - + //NestedTypeTest1 NestedTypeTest: // nested=NestedTypeChild1 public NestedTypeTest1Elements getNestedTypeTest1Access() { @@ -970,7 +954,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeTest1Rule() { return getNestedTypeTest1Access().getRule(); } - + //NestedTypeTest2 NestedTypeTest: // nested=NestedTypeChild2 public NestedTypeTest2Elements getNestedTypeTest2Access() { @@ -980,7 +964,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeTest2Rule() { return getNestedTypeTest2Access().getRule(); } - + //NestedTypeChild: // NestedTypeChild1 | NestedTypeChild2; public NestedTypeChildElements getNestedTypeChildAccess() { @@ -990,7 +974,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeChildRule() { return getNestedTypeChildAccess().getRule(); } - + //NestedTypeChild1: // "kw1" val=ID; public NestedTypeChild1Elements getNestedTypeChild1Access() { @@ -1000,7 +984,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeChild1Rule() { return getNestedTypeChild1Access().getRule(); } - + //NestedTypeChild2: // "kw2" val=ID; public NestedTypeChild2Elements getNestedTypeChild2Access() { @@ -1010,7 +994,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeChild2Rule() { return getNestedTypeChild2Access().getRule(); } - + //NestedTypeRecursiveTest1 NestedTypeRecursiveTest: // {NestedTypeRecursiveTest1} "kw1" ({NestedTypeRecursiveTest.left=current} ".")+ public NestedTypeRecursiveTest1Elements getNestedTypeRecursiveTest1Access() { @@ -1020,7 +1004,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeRecursiveTest1Rule() { return getNestedTypeRecursiveTest1Access().getRule(); } - + //NestedTypeRecursiveTest2 NestedTypeRecursiveTest: // {NestedTypeRecursiveTest2} "kw2" ({NestedTypeRecursiveTest.left=current} ".")+ public NestedTypeRecursiveTest2Elements getNestedTypeRecursiveTest2Access() { @@ -1030,7 +1014,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNestedTypeRecursiveTest2Rule() { return getNestedTypeRecursiveTest2Access().getRule(); } - + //ParentRefTest1: // "kw1" child1=ParentRefTestChild1; public ParentRefTest1Elements getParentRefTest1Access() { @@ -1040,7 +1024,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getParentRefTest1Rule() { return getParentRefTest1Access().getRule(); } - + //ParentRefTest2: // "kw2" child2=ParentRefTestChild2; public ParentRefTest2Elements getParentRefTest2Access() { @@ -1050,7 +1034,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getParentRefTest2Rule() { return getParentRefTest2Access().getRule(); } - + //ParentRefTestChild1 ParentRefTestChild: // {ParentRefTestChild} "foo" child=ParentRefTestChild1? public ParentRefTestChild1Elements getParentRefTestChild1Access() { @@ -1060,7 +1044,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getParentRefTestChild1Rule() { return getParentRefTestChild1Access().getRule(); } - + //ParentRefTestChild2 ParentRefTestChild: // {ParentRefTestChild} "foo" child=ParentRefTestChild2? public ParentRefTestChild2Elements getParentRefTestChild2Access() { @@ -1070,7 +1054,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getParentRefTestChild2Rule() { return getParentRefTestChild2Access().getRule(); } - + //QuantityExclusionTest1 QuantityExclusionTest: // "kw1" attr1=ID attr2=ID? public QuantityExclusionTest1Elements getQuantityExclusionTest1Access() { @@ -1080,7 +1064,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getQuantityExclusionTest1Rule() { return getQuantityExclusionTest1Access().getRule(); } - + //QuantityExclusionTest2 QuantityExclusionTest: // "kw2" attr1=ID? attr2=ID public QuantityExclusionTest2Elements getQuantityExclusionTest2Access() { @@ -1090,7 +1074,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getQuantityExclusionTest2Rule() { return getQuantityExclusionTest2Access().getRule(); } - + //ValueExclusionTest1 ValueExclusionTest: // val=ValueExclusionTestEn1 public ValueExclusionTest1Elements getValueExclusionTest1Access() { @@ -1100,7 +1084,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getValueExclusionTest1Rule() { return getValueExclusionTest1Access().getRule(); } - + //ValueExclusionTest2 ValueExclusionTest: // val=ValueExclusionTestEn2 public ValueExclusionTest2Elements getValueExclusionTest2Access() { @@ -1110,7 +1094,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getValueExclusionTest2Rule() { return getValueExclusionTest2Access().getRule(); } - + //enum ValueExclusionTestEn0 returns ValueExclusionTestEn: // lit0; public ValueExclusionTestEn0Elements getValueExclusionTestEn0Access() { @@ -1120,7 +1104,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public EnumRule getValueExclusionTestEn0Rule() { return getValueExclusionTestEn0Access().getRule(); } - + //enum ValueExclusionTestEn1 returns ValueExclusionTestEn: // lit1; public ValueExclusionTestEn1Elements getValueExclusionTestEn1Access() { @@ -1130,7 +1114,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public EnumRule getValueExclusionTestEn1Rule() { return getValueExclusionTestEn1Access().getRule(); } - + //enum ValueExclusionTestEn2 returns ValueExclusionTestEn: // lit2; public ValueExclusionTestEn2Elements getValueExclusionTestEn2Access() { @@ -1140,7 +1124,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public EnumRule getValueExclusionTestEn2Rule() { return getValueExclusionTestEn2Access().getRule(); } - + //NodeExclusion1 NodeExclusion: // ref=[Model] public NodeExclusion1Elements getNodeExclusion1Access() { @@ -1150,7 +1134,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNodeExclusion1Rule() { return getNodeExclusion1Access().getRule(); } - + //NodeExclusion2 NodeExclusion: // ref=[Model|STRING] public NodeExclusion2Elements getNodeExclusion2Access() { @@ -1160,7 +1144,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNodeExclusion2Rule() { return getNodeExclusion2Access().getRule(); } - + //NodeExclusion1List NodeExclusionList: // ref+=[Model]+ public NodeExclusion1ListElements getNodeExclusion1ListAccess() { @@ -1170,7 +1154,7 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNodeExclusion1ListRule() { return getNodeExclusion1ListAccess().getRule(); } - + //NodeExclusion2List NodeExclusionList: // ref+=[Model|STRING]+ public NodeExclusion2ListElements getNodeExclusion2ListAccess() { @@ -1180,47 +1164,47 @@ public class ContextFinderTestLanguageGrammarAccess extends AbstractGrammarEleme public ParserRule getNodeExclusion2ListRule() { return getNodeExclusion2ListAccess().getRule(); } - + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); - } - + } + //terminal INT returns ecore::EInt: // '0'..'9'+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); - } - + } + //terminal STRING: // '"' ('\\' . | !('\\' | '"'))* '"' | // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); - } - + } + //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); - } - + } + //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); - } - + } + //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); - } - + } + //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); - } + } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/HiddenTokenSequencerTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/HiddenTokenSequencerTestLanguageGrammarAccess.java index e99ea314c..6494a84cc 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/HiddenTokenSequencerTestLanguageGrammarAccess.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/HiddenTokenSequencerTestLanguageGrammarAccess.java @@ -3,21 +3,24 @@ */ package org.eclipse.xtext.serializer.services; -import com.google.inject.Singleton; import com.google.inject.Inject; - +import com.google.inject.Singleton; import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +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.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; @Singleton public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGrammarElementFinder { - public class ModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Model"); private final Assignment cDomainModelAssignment = (Assignment)rule.eContents().get(1); @@ -26,14 +29,13 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm //Model: // domainModel=DomainModel; @Override public ParserRule getRule() { return rule; } - + //domainModel=DomainModel public Assignment getDomainModelAssignment() { return cDomainModelAssignment; } - + //DomainModel public RuleCall getDomainModelDomainModelParserRuleCall_0() { return cDomainModelDomainModelParserRuleCall_0; } } - public class DomainModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.DomainModel"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -47,23 +49,22 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm // entities+=Entity* // 'end'; @Override public ParserRule getRule() { return rule; } - + //'entities' entities+=Entity* 'end' public Group getGroup() { return cGroup; } - + //'entities' public Keyword getEntitiesKeyword_0() { return cEntitiesKeyword_0; } - + //entities+=Entity* public Assignment getEntitiesAssignment_1() { return cEntitiesAssignment_1; } - + //Entity public RuleCall getEntitiesEntityParserRuleCall_1_0() { return cEntitiesEntityParserRuleCall_1_0; } - + //'end' public Keyword getEndKeyword_2() { return cEndKeyword_2; } } - public class EntityElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.HiddenTokenSequencerTestLanguage.Entity"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -76,19 +77,19 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm // name=ID // description=STRING; @Override public ParserRule getRule() { return rule; } - + //name=ID description=STRING public Group getGroup() { return cGroup; } - + //name=ID public Assignment getNameAssignment_0() { return cNameAssignment_0; } - + //ID public RuleCall getNameIDTerminalRuleCall_0_0() { return cNameIDTerminalRuleCall_0_0; } - + //description=STRING public Assignment getDescriptionAssignment_1() { return cDescriptionAssignment_1; } - + //STRING public RuleCall getDescriptionSTRINGTerminalRuleCall_1_0() { return cDescriptionSTRINGTerminalRuleCall_1_0; } } @@ -99,12 +100,12 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm private final EntityElements pEntity; private final Grammar grammar; - + private final TerminalsGrammarAccess gaTerminals; @Inject public HiddenTokenSequencerTestLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); @@ -133,7 +134,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm return grammar; } - + public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } @@ -148,7 +149,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm public ParserRule getModelRule() { return getModelAccess().getRule(); } - + /// * SuppressWarnings[noInstantiation] * / DomainModel: // 'entities' // entities+=Entity* @@ -160,7 +161,7 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm public ParserRule getDomainModelRule() { return getDomainModelAccess().getRule(); } - + //Entity: // name=ID // description=STRING; @@ -171,47 +172,47 @@ public class HiddenTokenSequencerTestLanguageGrammarAccess extends AbstractGramm public ParserRule getEntityRule() { return getEntityAccess().getRule(); } - + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); - } - + } + //terminal INT returns ecore::EInt: // '0'..'9'+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); - } - + } + //terminal STRING: // '"' ('\\' . | !('\\' | '"'))* '"' | // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); - } - + } + //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); - } - + } + //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); - } - + } + //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); - } - + } + //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); - } + } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SequencerTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SequencerTestLanguageGrammarAccess.java index b75f522aa..bb82a7e91 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SequencerTestLanguageGrammarAccess.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SequencerTestLanguageGrammarAccess.java @@ -3,21 +3,31 @@ */ package org.eclipse.xtext.serializer.services; -import com.google.inject.Singleton; import com.google.inject.Inject; - +import com.google.inject.Singleton; import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +import org.eclipse.xtext.Keyword; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.UnorderedGroup; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; @Singleton public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFinder { - public class ModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Model"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -102,7 +112,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi // x30=NullValueInterpreted | x31=NullCrossRefGenerated | x32=NullCrossRefInterpreted | x33=FragmentCaller | // x34=ParameterCaller | x35=ParameterDelegation; @Override public ParserRule getRule() { return rule; } - + //x1=SimpleGroup | x2=SimpleAlternative | x3=SimpleMultiplicities | x4=GroupMultiplicities | x5=AlternativeMultiplicities //| x6=List1 | x7=List2 | x8=AltList1 | x9=AltList2 | x10=SingleKeywords | x11=SingleKeywordsOrID | x12=SingleTerminals | //x10=MultiKeywords | x11=MultiKeywordsOrID | x12=MultiTerminals | x13=SingleEnum | x14=SingleCrossReference | @@ -111,218 +121,217 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //x28=OptionalDouble | x29=NullValueGenerated | x30=NullValueInterpreted | x31=NullCrossRefGenerated | //x32=NullCrossRefInterpreted | x33=FragmentCaller | x34=ParameterCaller | x35=ParameterDelegation public Alternatives getAlternatives() { return cAlternatives; } - + //x1=SimpleGroup public Assignment getX1Assignment_0() { return cX1Assignment_0; } - + //SimpleGroup public RuleCall getX1SimpleGroupParserRuleCall_0_0() { return cX1SimpleGroupParserRuleCall_0_0; } - + //x2=SimpleAlternative public Assignment getX2Assignment_1() { return cX2Assignment_1; } - + //SimpleAlternative public RuleCall getX2SimpleAlternativeParserRuleCall_1_0() { return cX2SimpleAlternativeParserRuleCall_1_0; } - + //x3=SimpleMultiplicities public Assignment getX3Assignment_2() { return cX3Assignment_2; } - + //SimpleMultiplicities public RuleCall getX3SimpleMultiplicitiesParserRuleCall_2_0() { return cX3SimpleMultiplicitiesParserRuleCall_2_0; } - + //x4=GroupMultiplicities public Assignment getX4Assignment_3() { return cX4Assignment_3; } - + //GroupMultiplicities public RuleCall getX4GroupMultiplicitiesParserRuleCall_3_0() { return cX4GroupMultiplicitiesParserRuleCall_3_0; } - + //x5=AlternativeMultiplicities public Assignment getX5Assignment_4() { return cX5Assignment_4; } - + //AlternativeMultiplicities public RuleCall getX5AlternativeMultiplicitiesParserRuleCall_4_0() { return cX5AlternativeMultiplicitiesParserRuleCall_4_0; } - + //x6=List1 public Assignment getX6Assignment_5() { return cX6Assignment_5; } - + //List1 public RuleCall getX6List1ParserRuleCall_5_0() { return cX6List1ParserRuleCall_5_0; } - + //x7=List2 public Assignment getX7Assignment_6() { return cX7Assignment_6; } - + //List2 public RuleCall getX7List2ParserRuleCall_6_0() { return cX7List2ParserRuleCall_6_0; } - + //x8=AltList1 public Assignment getX8Assignment_7() { return cX8Assignment_7; } - + //AltList1 public RuleCall getX8AltList1ParserRuleCall_7_0() { return cX8AltList1ParserRuleCall_7_0; } - + //x9=AltList2 public Assignment getX9Assignment_8() { return cX9Assignment_8; } - + //AltList2 public RuleCall getX9AltList2ParserRuleCall_8_0() { return cX9AltList2ParserRuleCall_8_0; } - + //x10=SingleKeywords public Assignment getX10Assignment_9() { return cX10Assignment_9; } - + //SingleKeywords public RuleCall getX10SingleKeywordsParserRuleCall_9_0() { return cX10SingleKeywordsParserRuleCall_9_0; } - + //x11=SingleKeywordsOrID public Assignment getX11Assignment_10() { return cX11Assignment_10; } - + //SingleKeywordsOrID public RuleCall getX11SingleKeywordsOrIDParserRuleCall_10_0() { return cX11SingleKeywordsOrIDParserRuleCall_10_0; } - + //x12=SingleTerminals public Assignment getX12Assignment_11() { return cX12Assignment_11; } - + //SingleTerminals public RuleCall getX12SingleTerminalsParserRuleCall_11_0() { return cX12SingleTerminalsParserRuleCall_11_0; } - + //x10=MultiKeywords public Assignment getX10Assignment_12() { return cX10Assignment_12; } - + //MultiKeywords public RuleCall getX10MultiKeywordsParserRuleCall_12_0() { return cX10MultiKeywordsParserRuleCall_12_0; } - + //x11=MultiKeywordsOrID public Assignment getX11Assignment_13() { return cX11Assignment_13; } - + //MultiKeywordsOrID public RuleCall getX11MultiKeywordsOrIDParserRuleCall_13_0() { return cX11MultiKeywordsOrIDParserRuleCall_13_0; } - + //x12=MultiTerminals public Assignment getX12Assignment_14() { return cX12Assignment_14; } - + //MultiTerminals public RuleCall getX12MultiTerminalsParserRuleCall_14_0() { return cX12MultiTerminalsParserRuleCall_14_0; } - + //x13=SingleEnum public Assignment getX13Assignment_15() { return cX13Assignment_15; } - + //SingleEnum public RuleCall getX13SingleEnumParserRuleCall_15_0() { return cX13SingleEnumParserRuleCall_15_0; } - + //x14=SingleCrossReference public Assignment getX14Assignment_16() { return cX14Assignment_16; } - + //SingleCrossReference public RuleCall getX14SingleCrossReferenceParserRuleCall_16_0() { return cX14SingleCrossReferenceParserRuleCall_16_0; } - + //x15=SingleContainmentReference public Assignment getX15Assignment_17() { return cX15Assignment_17; } - + //SingleContainmentReference public RuleCall getX15SingleContainmentReferenceParserRuleCall_17_0() { return cX15SingleContainmentReferenceParserRuleCall_17_0; } - + //x19=DependentAlternative1 public Assignment getX19Assignment_18() { return cX19Assignment_18; } - + //DependentAlternative1 public RuleCall getX19DependentAlternative1ParserRuleCall_18_0() { return cX19DependentAlternative1ParserRuleCall_18_0; } - + //x20=DependentAlternative2 public Assignment getX20Assignment_19() { return cX20Assignment_19; } - + //DependentAlternative2 public RuleCall getX20DependentAlternative2ParserRuleCall_19_0() { return cX20DependentAlternative2ParserRuleCall_19_0; } - + //x21=Optional public Assignment getX21Assignment_20() { return cX21Assignment_20; } - + //Optional public RuleCall getX21OptionalParserRuleCall_20_0() { return cX21OptionalParserRuleCall_20_0; } - + //x22=Float public Assignment getX22Assignment_21() { return cX22Assignment_21; } - + //Float public RuleCall getX22FloatParserRuleCall_21_0() { return cX22FloatParserRuleCall_21_0; } - + //x23=UnorderedAlternative public Assignment getX23Assignment_22() { return cX23Assignment_22; } - + //UnorderedAlternative public RuleCall getX23UnorderedAlternativeParserRuleCall_22_0() { return cX23UnorderedAlternativeParserRuleCall_22_0; } - + //x24=UnorderedGroup public Assignment getX24Assignment_23() { return cX24Assignment_23; } - + //UnorderedGroup public RuleCall getX24UnorderedGroupParserRuleCall_23_0() { return cX24UnorderedGroupParserRuleCall_23_0; } - + //x25=UnorderedGroupOptional public Assignment getX25Assignment_24() { return cX25Assignment_24; } - + //UnorderedGroupOptional public RuleCall getX25UnorderedGroupOptionalParserRuleCall_24_0() { return cX25UnorderedGroupOptionalParserRuleCall_24_0; } - + //x26=UnorderedGroupBoolean public Assignment getX26Assignment_25() { return cX26Assignment_25; } - + //UnorderedGroupBoolean public RuleCall getX26UnorderedGroupBooleanParserRuleCall_25_0() { return cX26UnorderedGroupBooleanParserRuleCall_25_0; } - + //x27=Complex1 public Assignment getX27Assignment_26() { return cX27Assignment_26; } - + //Complex1 public RuleCall getX27Complex1ParserRuleCall_26_0() { return cX27Complex1ParserRuleCall_26_0; } - + //x28=OptionalDouble public Assignment getX28Assignment_27() { return cX28Assignment_27; } - + //OptionalDouble public RuleCall getX28OptionalDoubleParserRuleCall_27_0() { return cX28OptionalDoubleParserRuleCall_27_0; } - + //x29=NullValueGenerated public Assignment getX29Assignment_28() { return cX29Assignment_28; } - + //NullValueGenerated public RuleCall getX29NullValueGeneratedParserRuleCall_28_0() { return cX29NullValueGeneratedParserRuleCall_28_0; } - + //x30=NullValueInterpreted public Assignment getX30Assignment_29() { return cX30Assignment_29; } - + //NullValueInterpreted public RuleCall getX30NullValueInterpretedParserRuleCall_29_0() { return cX30NullValueInterpretedParserRuleCall_29_0; } - + //x31=NullCrossRefGenerated public Assignment getX31Assignment_30() { return cX31Assignment_30; } - + //NullCrossRefGenerated public RuleCall getX31NullCrossRefGeneratedParserRuleCall_30_0() { return cX31NullCrossRefGeneratedParserRuleCall_30_0; } - + //x32=NullCrossRefInterpreted public Assignment getX32Assignment_31() { return cX32Assignment_31; } - + //NullCrossRefInterpreted public RuleCall getX32NullCrossRefInterpretedParserRuleCall_31_0() { return cX32NullCrossRefInterpretedParserRuleCall_31_0; } - + //x33=FragmentCaller public Assignment getX33Assignment_32() { return cX33Assignment_32; } - + //FragmentCaller public RuleCall getX33FragmentCallerParserRuleCall_32_0() { return cX33FragmentCallerParserRuleCall_32_0; } - + //x34=ParameterCaller public Assignment getX34Assignment_33() { return cX34Assignment_33; } - + //ParameterCaller public RuleCall getX34ParameterCallerParserRuleCall_33_0() { return cX34ParameterCallerParserRuleCall_33_0; } - + //x35=ParameterDelegation public Assignment getX35Assignment_34() { return cX35Assignment_34; } - + //ParameterDelegation public RuleCall getX35ParameterDelegationParserRuleCall_34_0() { return cX35ParameterDelegationParserRuleCall_34_0; } } - public class SimpleGroupElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleGroup"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -335,26 +344,25 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SimpleGroup: // "#1" val1=ID val2=ID; @Override public ParserRule getRule() { return rule; } - + //"#1" val1=ID val2=ID public Group getGroup() { return cGroup; } - + //"#1" public Keyword getNumberSignDigitOneKeyword_0() { return cNumberSignDigitOneKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //val2=ID public Assignment getVal2Assignment_2() { return cVal2Assignment_2; } - + //ID public RuleCall getVal2IDTerminalRuleCall_2_0() { return cVal2IDTerminalRuleCall_2_0; } } - public class SimpleAlternativeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleAlternative"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -372,41 +380,40 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SimpleAlternative: // "#2" ("kw1" val1=ID | "kw2" val2=ID); @Override public ParserRule getRule() { return rule; } - + //"#2" ("kw1" val1=ID | "kw2" val2=ID) public Group getGroup() { return cGroup; } - + //"#2" public Keyword getNumberSignDigitTwoKeyword_0() { return cNumberSignDigitTwoKeyword_0; } - + //("kw1" val1=ID | "kw2" val2=ID) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //"kw1" val1=ID public Group getGroup_1_0() { return cGroup_1_0; } - + //"kw1" public Keyword getKw1Keyword_1_0_0() { return cKw1Keyword_1_0_0; } - + //val1=ID public Assignment getVal1Assignment_1_0_1() { return cVal1Assignment_1_0_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0_1_0() { return cVal1IDTerminalRuleCall_1_0_1_0; } - + //"kw2" val2=ID public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw2" public Keyword getKw2Keyword_1_1_0() { return cKw2Keyword_1_1_0; } - + //val2=ID public Assignment getVal2Assignment_1_1_1() { return cVal2Assignment_1_1_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_1_1_1_0() { return cVal2IDTerminalRuleCall_1_1_1_0; } } - public class SimpleMultiplicitiesElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SimpleMultiplicities"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -426,47 +433,46 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SimpleMultiplicities: // "#3" val1=ID "kw1" val2=ID? "kw2" val3+=ID+ "kw3" val4+=ID*; @Override public ParserRule getRule() { return rule; } - + //"#3" val1=ID "kw1" val2=ID? "kw2" val3+=ID+ "kw3" val4+=ID* public Group getGroup() { return cGroup; } - + //"#3" public Keyword getNumberSignDigitThreeKeyword_0() { return cNumberSignDigitThreeKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //"kw1" public Keyword getKw1Keyword_2() { return cKw1Keyword_2; } - + //val2=ID? public Assignment getVal2Assignment_3() { return cVal2Assignment_3; } - + //ID public RuleCall getVal2IDTerminalRuleCall_3_0() { return cVal2IDTerminalRuleCall_3_0; } - + //"kw2" public Keyword getKw2Keyword_4() { return cKw2Keyword_4; } - + //val3+=ID+ public Assignment getVal3Assignment_5() { return cVal3Assignment_5; } - + //ID public RuleCall getVal3IDTerminalRuleCall_5_0() { return cVal3IDTerminalRuleCall_5_0; } - + //"kw3" public Keyword getKw3Keyword_6() { return cKw3Keyword_6; } - + //val4+=ID* public Assignment getVal4Assignment_7() { return cVal4Assignment_7; } - + //ID public RuleCall getVal4IDTerminalRuleCall_7_0() { return cVal4IDTerminalRuleCall_7_0; } } - public class GroupMultiplicitiesElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.GroupMultiplicities"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -495,74 +501,73 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //GroupMultiplicities: // "#4" val1=ID "kw1" (val2=ID val3=ID)? "kw2" (val4+=ID val5+=ID)+ "kw3" (val6+=ID val7+=ID)*; @Override public ParserRule getRule() { return rule; } - + //"#4" val1=ID "kw1" (val2=ID val3=ID)? "kw2" (val4+=ID val5+=ID)+ "kw3" (val6+=ID val7+=ID)* public Group getGroup() { return cGroup; } - + //"#4" public Keyword getNumberSignDigitFourKeyword_0() { return cNumberSignDigitFourKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //"kw1" public Keyword getKw1Keyword_2() { return cKw1Keyword_2; } - + //(val2=ID val3=ID)? public Group getGroup_3() { return cGroup_3; } - + //val2=ID public Assignment getVal2Assignment_3_0() { return cVal2Assignment_3_0; } - + //ID public RuleCall getVal2IDTerminalRuleCall_3_0_0() { return cVal2IDTerminalRuleCall_3_0_0; } - + //val3=ID public Assignment getVal3Assignment_3_1() { return cVal3Assignment_3_1; } - + //ID public RuleCall getVal3IDTerminalRuleCall_3_1_0() { return cVal3IDTerminalRuleCall_3_1_0; } - + //"kw2" public Keyword getKw2Keyword_4() { return cKw2Keyword_4; } - + //(val4+=ID val5+=ID)+ public Group getGroup_5() { return cGroup_5; } - + //val4+=ID public Assignment getVal4Assignment_5_0() { return cVal4Assignment_5_0; } - + //ID public RuleCall getVal4IDTerminalRuleCall_5_0_0() { return cVal4IDTerminalRuleCall_5_0_0; } - + //val5+=ID public Assignment getVal5Assignment_5_1() { return cVal5Assignment_5_1; } - + //ID public RuleCall getVal5IDTerminalRuleCall_5_1_0() { return cVal5IDTerminalRuleCall_5_1_0; } - + //"kw3" public Keyword getKw3Keyword_6() { return cKw3Keyword_6; } - + //(val6+=ID val7+=ID)* public Group getGroup_7() { return cGroup_7; } - + //val6+=ID public Assignment getVal6Assignment_7_0() { return cVal6Assignment_7_0; } - + //ID public RuleCall getVal6IDTerminalRuleCall_7_0_0() { return cVal6IDTerminalRuleCall_7_0_0; } - + //val7+=ID public Assignment getVal7Assignment_7_1() { return cVal7Assignment_7_1; } - + //ID public RuleCall getVal7IDTerminalRuleCall_7_1_0() { return cVal7IDTerminalRuleCall_7_1_0; } } - public class AlternativeMultiplicitiesElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.AlternativeMultiplicities"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -594,83 +599,82 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //AlternativeMultiplicities: // "#5" (val2=ID | "kw1" val3=ID)? "kw2" (val4+=ID | "kw3" val5+=ID)+ "kw4" (val6+=ID | "kw5" val7+=ID)*; @Override public ParserRule getRule() { return rule; } - + //"#5" (val2=ID | "kw1" val3=ID)? "kw2" (val4+=ID | "kw3" val5+=ID)+ "kw4" (val6+=ID | "kw5" val7+=ID)* public Group getGroup() { return cGroup; } - + //"#5" public Keyword getNumberSignDigitFiveKeyword_0() { return cNumberSignDigitFiveKeyword_0; } - + //(val2=ID | "kw1" val3=ID)? public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //val2=ID public Assignment getVal2Assignment_1_0() { return cVal2Assignment_1_0; } - + //ID public RuleCall getVal2IDTerminalRuleCall_1_0_0() { return cVal2IDTerminalRuleCall_1_0_0; } - + //"kw1" val3=ID public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw1" public Keyword getKw1Keyword_1_1_0() { return cKw1Keyword_1_1_0; } - + //val3=ID public Assignment getVal3Assignment_1_1_1() { return cVal3Assignment_1_1_1; } - + //ID public RuleCall getVal3IDTerminalRuleCall_1_1_1_0() { return cVal3IDTerminalRuleCall_1_1_1_0; } - + //"kw2" public Keyword getKw2Keyword_2() { return cKw2Keyword_2; } - + //(val4+=ID | "kw3" val5+=ID)+ public Alternatives getAlternatives_3() { return cAlternatives_3; } - + //val4+=ID public Assignment getVal4Assignment_3_0() { return cVal4Assignment_3_0; } - + //ID public RuleCall getVal4IDTerminalRuleCall_3_0_0() { return cVal4IDTerminalRuleCall_3_0_0; } - + //"kw3" val5+=ID public Group getGroup_3_1() { return cGroup_3_1; } - + //"kw3" public Keyword getKw3Keyword_3_1_0() { return cKw3Keyword_3_1_0; } - + //val5+=ID public Assignment getVal5Assignment_3_1_1() { return cVal5Assignment_3_1_1; } - + //ID public RuleCall getVal5IDTerminalRuleCall_3_1_1_0() { return cVal5IDTerminalRuleCall_3_1_1_0; } - + //"kw4" public Keyword getKw4Keyword_4() { return cKw4Keyword_4; } - + //(val6+=ID | "kw5" val7+=ID)* public Alternatives getAlternatives_5() { return cAlternatives_5; } - + //val6+=ID public Assignment getVal6Assignment_5_0() { return cVal6Assignment_5_0; } - + //ID public RuleCall getVal6IDTerminalRuleCall_5_0_0() { return cVal6IDTerminalRuleCall_5_0_0; } - + //"kw5" val7+=ID public Group getGroup_5_1() { return cGroup_5_1; } - + //"kw5" public Keyword getKw5Keyword_5_1_0() { return cKw5Keyword_5_1_0; } - + //val7+=ID public Assignment getVal7Assignment_5_1_1() { return cVal7Assignment_5_1_1; } - + //ID public RuleCall getVal7IDTerminalRuleCall_5_1_1_0() { return cVal7IDTerminalRuleCall_5_1_1_0; } } - public class List1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.List1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -685,32 +689,31 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //List1: // "#6" val1+=ID ("," val1+=ID)*; @Override public ParserRule getRule() { return rule; } - + //"#6" val1+=ID ("," val1+=ID)* public Group getGroup() { return cGroup; } - + //"#6" public Keyword getNumberSignDigitSixKeyword_0() { return cNumberSignDigitSixKeyword_0; } - + //val1+=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //("," val1+=ID)* public Group getGroup_2() { return cGroup_2; } - + //"," public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } - + //val1+=ID public Assignment getVal1Assignment_2_1() { return cVal1Assignment_2_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_1_0() { return cVal1IDTerminalRuleCall_2_1_0; } } - public class List2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.List2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -727,38 +730,37 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //List2: // "#7" {List2} (val1+=ID ("," val1+=ID)*)?; @Override public ParserRule getRule() { return rule; } - + //"#7" {List2} (val1+=ID ("," val1+=ID)*)? public Group getGroup() { return cGroup; } - + //"#7" public Keyword getNumberSignDigitSevenKeyword_0() { return cNumberSignDigitSevenKeyword_0; } - + //{List2} public Action getList2Action_1() { return cList2Action_1; } - + //(val1+=ID ("," val1+=ID)*)? public Group getGroup_2() { return cGroup_2; } - + //val1+=ID public Assignment getVal1Assignment_2_0() { return cVal1Assignment_2_0; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_0_0() { return cVal1IDTerminalRuleCall_2_0_0; } - + //("," val1+=ID)* public Group getGroup_2_1() { return cGroup_2_1; } - + //"," public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } - + //val1+=ID public Assignment getVal1Assignment_2_1_1() { return cVal1Assignment_2_1_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_1_1_0() { return cVal1IDTerminalRuleCall_2_1_1_0; } } - public class AltList1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -785,68 +787,67 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //AltList1: // "#8" (val1=ID val2=ID | "kw1" val1=ID val3=ID | "kw2" val1=ID val4=ID?); @Override public ParserRule getRule() { return rule; } - + //"#8" (val1=ID val2=ID | "kw1" val1=ID val3=ID | "kw2" val1=ID val4=ID?) public Group getGroup() { return cGroup; } - + //"#8" public Keyword getNumberSignDigitEightKeyword_0() { return cNumberSignDigitEightKeyword_0; } - + //(val1=ID val2=ID | "kw1" val1=ID val3=ID | "kw2" val1=ID val4=ID?) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //val1=ID val2=ID public Group getGroup_1_0() { return cGroup_1_0; } - + //val1=ID public Assignment getVal1Assignment_1_0_0() { return cVal1Assignment_1_0_0; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0_0_0() { return cVal1IDTerminalRuleCall_1_0_0_0; } - + //val2=ID public Assignment getVal2Assignment_1_0_1() { return cVal2Assignment_1_0_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_1_0_1_0() { return cVal2IDTerminalRuleCall_1_0_1_0; } - + //"kw1" val1=ID val3=ID public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw1" public Keyword getKw1Keyword_1_1_0() { return cKw1Keyword_1_1_0; } - + //val1=ID public Assignment getVal1Assignment_1_1_1() { return cVal1Assignment_1_1_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_1_1_0() { return cVal1IDTerminalRuleCall_1_1_1_0; } - + //val3=ID public Assignment getVal3Assignment_1_1_2() { return cVal3Assignment_1_1_2; } - + //ID public RuleCall getVal3IDTerminalRuleCall_1_1_2_0() { return cVal3IDTerminalRuleCall_1_1_2_0; } - + //"kw2" val1=ID val4=ID? public Group getGroup_1_2() { return cGroup_1_2; } - + //"kw2" public Keyword getKw2Keyword_1_2_0() { return cKw2Keyword_1_2_0; } - + //val1=ID public Assignment getVal1Assignment_1_2_1() { return cVal1Assignment_1_2_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_2_1_0() { return cVal1IDTerminalRuleCall_1_2_1_0; } - + //val4=ID? public Assignment getVal4Assignment_1_2_2() { return cVal4Assignment_1_2_2; } - + //ID public RuleCall getVal4IDTerminalRuleCall_1_2_2_0() { return cVal4IDTerminalRuleCall_1_2_2_0; } } - public class AltList2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.AltList2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -871,62 +872,61 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //AltList2: // "#9" (val1+=ID val2=ID | "kw" val1+=ID ("," val1+=ID)* val3=ID); @Override public ParserRule getRule() { return rule; } - + //"#9" (val1+=ID val2=ID | "kw" val1+=ID ("," val1+=ID)* val3=ID) public Group getGroup() { return cGroup; } - + //"#9" public Keyword getNumberSignDigitNineKeyword_0() { return cNumberSignDigitNineKeyword_0; } - + //(val1+=ID val2=ID | "kw" val1+=ID ("," val1+=ID)* val3=ID) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //val1+=ID val2=ID public Group getGroup_1_0() { return cGroup_1_0; } - + //val1+=ID public Assignment getVal1Assignment_1_0_0() { return cVal1Assignment_1_0_0; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0_0_0() { return cVal1IDTerminalRuleCall_1_0_0_0; } - + //val2=ID public Assignment getVal2Assignment_1_0_1() { return cVal2Assignment_1_0_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_1_0_1_0() { return cVal2IDTerminalRuleCall_1_0_1_0; } - + //"kw" val1+=ID ("," val1+=ID)* val3=ID public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw" public Keyword getKwKeyword_1_1_0() { return cKwKeyword_1_1_0; } - + //val1+=ID public Assignment getVal1Assignment_1_1_1() { return cVal1Assignment_1_1_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_1_1_0() { return cVal1IDTerminalRuleCall_1_1_1_0; } - + //("," val1+=ID)* public Group getGroup_1_1_2() { return cGroup_1_1_2; } - + //"," public Keyword getCommaKeyword_1_1_2_0() { return cCommaKeyword_1_1_2_0; } - + //val1+=ID public Assignment getVal1Assignment_1_1_2_1() { return cVal1Assignment_1_1_2_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_1_2_1_0() { return cVal1IDTerminalRuleCall_1_1_2_1_0; } - + //val3=ID public Assignment getVal3Assignment_1_1_3() { return cVal3Assignment_1_1_3; } - + //ID public RuleCall getVal3IDTerminalRuleCall_1_1_3_0() { return cVal3IDTerminalRuleCall_1_1_3_0; } } - public class SingleKeywordsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywords"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -940,29 +940,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleKeywords: // "#10" val=("kw1" | "kw2" | "kw3"); @Override public ParserRule getRule() { return rule; } - + //"#10" val=("kw1" | "kw2" | "kw3") public Group getGroup() { return cGroup; } - + //"#10" public Keyword getNumberSignDigitOneDigitZeroKeyword_0() { return cNumberSignDigitOneDigitZeroKeyword_0; } - + //val=("kw1" | "kw2" | "kw3") public Assignment getValAssignment_1() { return cValAssignment_1; } - + //("kw1" | "kw2" | "kw3") public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //"kw1" public Keyword getValKw1Keyword_1_0_0() { return cValKw1Keyword_1_0_0; } - + //"kw2" public Keyword getValKw2Keyword_1_0_1() { return cValKw2Keyword_1_0_1; } - + //"kw3" public Keyword getValKw3Keyword_1_0_2() { return cValKw3Keyword_1_0_2; } } - public class SingleKeywordsOrIDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleKeywordsOrID"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -977,32 +976,31 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleKeywordsOrID: // "#11" val=("kw1" | "kw2" | "kw3" | ID); @Override public ParserRule getRule() { return rule; } - + //"#11" val=("kw1" | "kw2" | "kw3" | ID) public Group getGroup() { return cGroup; } - + //"#11" public Keyword getNumberSignDigitOneDigitOneKeyword_0() { return cNumberSignDigitOneDigitOneKeyword_0; } - + //val=("kw1" | "kw2" | "kw3" | ID) public Assignment getValAssignment_1() { return cValAssignment_1; } - + //("kw1" | "kw2" | "kw3" | ID) public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //"kw1" public Keyword getValKw1Keyword_1_0_0() { return cValKw1Keyword_1_0_0; } - + //"kw2" public Keyword getValKw2Keyword_1_0_1() { return cValKw2Keyword_1_0_1; } - + //"kw3" public Keyword getValKw3Keyword_1_0_2() { return cValKw3Keyword_1_0_2; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0_3() { return cValIDTerminalRuleCall_1_0_3; } } - public class SingleTerminalsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleTerminals"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1015,26 +1013,25 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleTerminals: // "#12" val=(ID1 | ID2); @Override public ParserRule getRule() { return rule; } - + //"#12" val=(ID1 | ID2) public Group getGroup() { return cGroup; } - + //"#12" public Keyword getNumberSignDigitOneDigitTwoKeyword_0() { return cNumberSignDigitOneDigitTwoKeyword_0; } - + //val=(ID1 | ID2) public Assignment getValAssignment_1() { return cValAssignment_1; } - + //(ID1 | ID2) public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //ID1 public RuleCall getValID1TerminalRuleCall_1_0_0() { return cValID1TerminalRuleCall_1_0_0; } - + //ID2 public RuleCall getValID2TerminalRuleCall_1_0_1() { return cValID2TerminalRuleCall_1_0_1; } } - public class SingleEnumElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleEnum"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1048,29 +1045,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleEnum: // "#13" val=(DefEnum1 | DefEnum2 | DefEnum3); @Override public ParserRule getRule() { return rule; } - + //"#13" val=(DefEnum1 | DefEnum2 | DefEnum3) public Group getGroup() { return cGroup; } - + //"#13" public Keyword getNumberSignDigitOneDigitThreeKeyword_0() { return cNumberSignDigitOneDigitThreeKeyword_0; } - + //val=(DefEnum1 | DefEnum2 | DefEnum3) public Assignment getValAssignment_1() { return cValAssignment_1; } - + //(DefEnum1 | DefEnum2 | DefEnum3) public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //DefEnum1 public RuleCall getValDefEnum1EnumRuleCall_1_0_0() { return cValDefEnum1EnumRuleCall_1_0_0; } - + //DefEnum2 public RuleCall getValDefEnum2EnumRuleCall_1_0_1() { return cValDefEnum2EnumRuleCall_1_0_1; } - + //DefEnum3 public RuleCall getValDefEnum3EnumRuleCall_1_0_2() { return cValDefEnum3EnumRuleCall_1_0_2; } } - public class SingleCrossReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleCrossReference"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1095,60 +1091,59 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi // "#14" name=(ID1 | ID2 | ID3) (ref=[SingleCrossReference|ID1] | ref=[SingleCrossReference|ID2] | // ref=[SingleCrossReference|ID3]); @Override public ParserRule getRule() { return rule; } - + //"#14" name=(ID1 | ID2 | ID3) (ref=[SingleCrossReference|ID1] | ref=[SingleCrossReference|ID2] | //ref=[SingleCrossReference|ID3]) public Group getGroup() { return cGroup; } - + //"#14" public Keyword getNumberSignDigitOneDigitFourKeyword_0() { return cNumberSignDigitOneDigitFourKeyword_0; } - + //name=(ID1 | ID2 | ID3) public Assignment getNameAssignment_1() { return cNameAssignment_1; } - + //(ID1 | ID2 | ID3) public Alternatives getNameAlternatives_1_0() { return cNameAlternatives_1_0; } - + //ID1 public RuleCall getNameID1TerminalRuleCall_1_0_0() { return cNameID1TerminalRuleCall_1_0_0; } - + //ID2 public RuleCall getNameID2TerminalRuleCall_1_0_1() { return cNameID2TerminalRuleCall_1_0_1; } - + //ID3 public RuleCall getNameID3TerminalRuleCall_1_0_2() { return cNameID3TerminalRuleCall_1_0_2; } - + //(ref=[SingleCrossReference|ID1] | ref=[SingleCrossReference|ID2] | ref=[SingleCrossReference|ID3]) public Alternatives getAlternatives_2() { return cAlternatives_2; } - + //ref=[SingleCrossReference|ID1] public Assignment getRefAssignment_2_0() { return cRefAssignment_2_0; } - + //[SingleCrossReference|ID1] public CrossReference getRefSingleCrossReferenceCrossReference_2_0_0() { return cRefSingleCrossReferenceCrossReference_2_0_0; } - + //ID1 public RuleCall getRefSingleCrossReferenceID1TerminalRuleCall_2_0_0_1() { return cRefSingleCrossReferenceID1TerminalRuleCall_2_0_0_1; } - + //ref=[SingleCrossReference|ID2] public Assignment getRefAssignment_2_1() { return cRefAssignment_2_1; } - + //[SingleCrossReference|ID2] public CrossReference getRefSingleCrossReferenceCrossReference_2_1_0() { return cRefSingleCrossReferenceCrossReference_2_1_0; } - + //ID2 public RuleCall getRefSingleCrossReferenceID2TerminalRuleCall_2_1_0_1() { return cRefSingleCrossReferenceID2TerminalRuleCall_2_1_0_1; } - + //ref=[SingleCrossReference|ID3] public Assignment getRefAssignment_2_2() { return cRefAssignment_2_2; } - + //[SingleCrossReference|ID3] public CrossReference getRefSingleCrossReferenceCrossReference_2_2_0() { return cRefSingleCrossReferenceCrossReference_2_2_0; } - + //ID3 public RuleCall getRefSingleCrossReferenceID3TerminalRuleCall_2_2_0_1() { return cRefSingleCrossReferenceID3TerminalRuleCall_2_2_0_1; } } - public class SingleContainmentReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReference"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1162,29 +1157,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleContainmentReference: // "#15" child=(SingleContainmentReferenceChild1 | SingleContainmentReferenceChild2 | SingleContainmentReferenceChild3); @Override public ParserRule getRule() { return rule; } - + //"#15" child=(SingleContainmentReferenceChild1 | SingleContainmentReferenceChild2 | SingleContainmentReferenceChild3) public Group getGroup() { return cGroup; } - + //"#15" public Keyword getNumberSignDigitOneDigitFiveKeyword_0() { return cNumberSignDigitOneDigitFiveKeyword_0; } - + //child=(SingleContainmentReferenceChild1 | SingleContainmentReferenceChild2 | SingleContainmentReferenceChild3) public Assignment getChildAssignment_1() { return cChildAssignment_1; } - + //(SingleContainmentReferenceChild1 | SingleContainmentReferenceChild2 | SingleContainmentReferenceChild3) public Alternatives getChildAlternatives_1_0() { return cChildAlternatives_1_0; } - + //SingleContainmentReferenceChild1 public RuleCall getChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0() { return cChildSingleContainmentReferenceChild1ParserRuleCall_1_0_0; } - + //SingleContainmentReferenceChild2 public RuleCall getChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1() { return cChildSingleContainmentReferenceChild2ParserRuleCall_1_0_1; } - + //SingleContainmentReferenceChild3 public RuleCall getChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2() { return cChildSingleContainmentReferenceChild3ParserRuleCall_1_0_2; } } - public class SingleContainmentReferenceChild1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild1"); private final Assignment cValAssignment = (Assignment)rule.eContents().get(1); @@ -1193,14 +1187,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleContainmentReferenceChild1: // val='kw1'; @Override public ParserRule getRule() { return rule; } - + //val='kw1' public Assignment getValAssignment() { return cValAssignment; } - + //'kw1' public Keyword getValKw1Keyword_0() { return cValKw1Keyword_0; } } - public class SingleContainmentReferenceChild2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild2"); private final Assignment cValAssignment = (Assignment)rule.eContents().get(1); @@ -1209,14 +1202,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleContainmentReferenceChild2: // val='kw2'; @Override public ParserRule getRule() { return rule; } - + //val='kw2' public Assignment getValAssignment() { return cValAssignment; } - + //'kw2' public Keyword getValKw2Keyword_0() { return cValKw2Keyword_0; } } - public class SingleContainmentReferenceChild3Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.SingleContainmentReferenceChild3"); private final Assignment cValAssignment = (Assignment)rule.eContents().get(1); @@ -1225,14 +1217,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //SingleContainmentReferenceChild3: // val='kw3'; @Override public ParserRule getRule() { return rule; } - + //val='kw3' public Assignment getValAssignment() { return cValAssignment; } - + //'kw3' public Keyword getValKw3Keyword_0() { return cValKw3Keyword_0; } } - public class MultiKeywordsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywords"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1246,29 +1237,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //MultiKeywords: // "#16" val+=("kw1" | "kw2" | "kw3"); @Override public ParserRule getRule() { return rule; } - + //"#16" val+=("kw1" | "kw2" | "kw3") public Group getGroup() { return cGroup; } - + //"#16" public Keyword getNumberSignDigitOneDigitSixKeyword_0() { return cNumberSignDigitOneDigitSixKeyword_0; } - + //val+=("kw1" | "kw2" | "kw3") public Assignment getValAssignment_1() { return cValAssignment_1; } - + //("kw1" | "kw2" | "kw3") public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //"kw1" public Keyword getValKw1Keyword_1_0_0() { return cValKw1Keyword_1_0_0; } - + //"kw2" public Keyword getValKw2Keyword_1_0_1() { return cValKw2Keyword_1_0_1; } - + //"kw3" public Keyword getValKw3Keyword_1_0_2() { return cValKw3Keyword_1_0_2; } } - public class MultiKeywordsOrIDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiKeywordsOrID"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1283,32 +1273,31 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //MultiKeywordsOrID: // "#17" val+=("kw1" | "kw2" | "kw3" | ID); @Override public ParserRule getRule() { return rule; } - + //"#17" val+=("kw1" | "kw2" | "kw3" | ID) public Group getGroup() { return cGroup; } - + //"#17" public Keyword getNumberSignDigitOneDigitSevenKeyword_0() { return cNumberSignDigitOneDigitSevenKeyword_0; } - + //val+=("kw1" | "kw2" | "kw3" | ID) public Assignment getValAssignment_1() { return cValAssignment_1; } - + //("kw1" | "kw2" | "kw3" | ID) public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //"kw1" public Keyword getValKw1Keyword_1_0_0() { return cValKw1Keyword_1_0_0; } - + //"kw2" public Keyword getValKw2Keyword_1_0_1() { return cValKw2Keyword_1_0_1; } - + //"kw3" public Keyword getValKw3Keyword_1_0_2() { return cValKw3Keyword_1_0_2; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0_3() { return cValIDTerminalRuleCall_1_0_3; } } - public class MultiTerminalsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.MultiTerminals"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1321,26 +1310,25 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //MultiTerminals: // "#18" val+=(ID1 | ID2); @Override public ParserRule getRule() { return rule; } - + //"#18" val+=(ID1 | ID2) public Group getGroup() { return cGroup; } - + //"#18" public Keyword getNumberSignDigitOneDigitEightKeyword_0() { return cNumberSignDigitOneDigitEightKeyword_0; } - + //val+=(ID1 | ID2) public Assignment getValAssignment_1() { return cValAssignment_1; } - + //(ID1 | ID2) public Alternatives getValAlternatives_1_0() { return cValAlternatives_1_0; } - + //ID1 public RuleCall getValID1TerminalRuleCall_1_0_0() { return cValID1TerminalRuleCall_1_0_0; } - + //ID2 public RuleCall getValID2TerminalRuleCall_1_0_1() { return cValID2TerminalRuleCall_1_0_1; } } - public class DependentAlternative1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1357,38 +1345,37 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //DependentAlternative1: // "#19" (val=ID | val=ID flag?="kw1"); @Override public ParserRule getRule() { return rule; } - + //"#19" (val=ID | val=ID flag?="kw1") public Group getGroup() { return cGroup; } - + //"#19" public Keyword getNumberSignDigitOneDigitNineKeyword_0() { return cNumberSignDigitOneDigitNineKeyword_0; } - + //(val=ID | val=ID flag?="kw1") public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //val=ID public Assignment getValAssignment_1_0() { return cValAssignment_1_0; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0_0() { return cValIDTerminalRuleCall_1_0_0; } - + //val=ID flag?="kw1" public Group getGroup_1_1() { return cGroup_1_1; } - + //val=ID public Assignment getValAssignment_1_1_0() { return cValAssignment_1_1_0; } - + //ID public RuleCall getValIDTerminalRuleCall_1_1_0_0() { return cValIDTerminalRuleCall_1_1_0_0; } - + //flag?="kw1" public Assignment getFlagAssignment_1_1_1() { return cFlagAssignment_1_1_1; } - + //"kw1" public Keyword getFlagKw1Keyword_1_1_1_0() { return cFlagKw1Keyword_1_1_1_0; } } - public class DependentAlternative2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DependentAlternative2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1408,47 +1395,46 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //DependentAlternative2: // "#20" (val+=ID val+=ID+ | val+=ID+ flag?="kw1"); @Override public ParserRule getRule() { return rule; } - + //"#20" (val+=ID val+=ID+ | val+=ID+ flag?="kw1") public Group getGroup() { return cGroup; } - + //"#20" public Keyword getNumberSignDigitTwoDigitZeroKeyword_0() { return cNumberSignDigitTwoDigitZeroKeyword_0; } - + //(val+=ID val+=ID+ | val+=ID+ flag?="kw1") public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //val+=ID val+=ID+ public Group getGroup_1_0() { return cGroup_1_0; } - + //val+=ID public Assignment getValAssignment_1_0_0() { return cValAssignment_1_0_0; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0_0_0() { return cValIDTerminalRuleCall_1_0_0_0; } - + //val+=ID+ public Assignment getValAssignment_1_0_1() { return cValAssignment_1_0_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0_1_0() { return cValIDTerminalRuleCall_1_0_1_0; } - + //val+=ID+ flag?="kw1" public Group getGroup_1_1() { return cGroup_1_1; } - + //val+=ID+ public Assignment getValAssignment_1_1_0() { return cValAssignment_1_1_0; } - + //ID public RuleCall getValIDTerminalRuleCall_1_1_0_0() { return cValIDTerminalRuleCall_1_1_0_0; } - + //flag?="kw1" public Assignment getFlagAssignment_1_1_1() { return cFlagAssignment_1_1_1; } - + //"kw1" public Keyword getFlagKw1Keyword_1_1_1_0() { return cFlagKw1Keyword_1_1_1_0; } } - public class OptionalElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Optional"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1464,35 +1450,34 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //Optional: // "#21" int0=INT (int1=INT int2=INT)?; @Override public ParserRule getRule() { return rule; } - + //"#21" int0=INT (int1=INT int2=INT)? public Group getGroup() { return cGroup; } - + //"#21" public Keyword getNumberSignDigitTwoDigitOneKeyword_0() { return cNumberSignDigitTwoDigitOneKeyword_0; } - + //int0=INT public Assignment getInt0Assignment_1() { return cInt0Assignment_1; } - + //INT public RuleCall getInt0INTTerminalRuleCall_1_0() { return cInt0INTTerminalRuleCall_1_0; } - + //(int1=INT int2=INT)? public Group getGroup_2() { return cGroup_2; } - + //int1=INT public Assignment getInt1Assignment_2_0() { return cInt1Assignment_2_0; } - + //INT public RuleCall getInt1INTTerminalRuleCall_2_0_0() { return cInt1INTTerminalRuleCall_2_0_0; } - + //int2=INT public Assignment getInt2Assignment_2_1() { return cInt2Assignment_2_1; } - + //INT public RuleCall getInt2INTTerminalRuleCall_2_1_0() { return cInt2INTTerminalRuleCall_2_1_0; } } - public class FloatElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Float"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1503,20 +1488,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //Float: // "#22" {Float} 'Bye'; @Override public ParserRule getRule() { return rule; } - + //"#22" {Float} 'Bye' public Group getGroup() { return cGroup; } - + //"#22" public Keyword getNumberSignDigitTwoDigitTwoKeyword_0() { return cNumberSignDigitTwoDigitTwoKeyword_0; } - + //{Float} public Action getFloatAction_1() { return cFloatAction_1; } - + //'Bye' public Keyword getByeKeyword_2() { return cByeKeyword_2; } } - public class UnorderedAlternativeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternative"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1536,45 +1520,44 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi // "#23" {UnorderedAlternative} (val1+=ID | val2+=INT | val3+=UnorderedAlternativeVal | // val4+=UnorderedAlternativeValDelegate)*; @Override public ParserRule getRule() { return rule; } - + //"#23" {UnorderedAlternative} (val1+=ID | val2+=INT | val3+=UnorderedAlternativeVal | //val4+=UnorderedAlternativeValDelegate)* public Group getGroup() { return cGroup; } - + //"#23" public Keyword getNumberSignDigitTwoDigitThreeKeyword_0() { return cNumberSignDigitTwoDigitThreeKeyword_0; } - + //{UnorderedAlternative} public Action getUnorderedAlternativeAction_1() { return cUnorderedAlternativeAction_1; } - + //(val1+=ID | val2+=INT | val3+=UnorderedAlternativeVal | val4+=UnorderedAlternativeValDelegate)* public Alternatives getAlternatives_2() { return cAlternatives_2; } - + //val1+=ID public Assignment getVal1Assignment_2_0() { return cVal1Assignment_2_0; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_0_0() { return cVal1IDTerminalRuleCall_2_0_0; } - + //val2+=INT public Assignment getVal2Assignment_2_1() { return cVal2Assignment_2_1; } - + //INT public RuleCall getVal2INTTerminalRuleCall_2_1_0() { return cVal2INTTerminalRuleCall_2_1_0; } - + //val3+=UnorderedAlternativeVal public Assignment getVal3Assignment_2_2() { return cVal3Assignment_2_2; } - + //UnorderedAlternativeVal public RuleCall getVal3UnorderedAlternativeValParserRuleCall_2_2_0() { return cVal3UnorderedAlternativeValParserRuleCall_2_2_0; } - + //val4+=UnorderedAlternativeValDelegate public Assignment getVal4Assignment_2_3() { return cVal4Assignment_2_3; } - + //UnorderedAlternativeValDelegate public RuleCall getVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0() { return cVal4UnorderedAlternativeValDelegateParserRuleCall_2_3_0; } } - public class UnorderedAlternativeValElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1585,20 +1568,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedAlternativeVal: // "kw1" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw1" val=ID public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class UnorderedAlternativeValDelegateElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeValDelegate"); private final RuleCall cUnorderedAlternativeVal2ParserRuleCall = (RuleCall)rule.eContents().get(1); @@ -1606,11 +1588,10 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedAlternativeValDelegate: // UnorderedAlternativeVal2; @Override public ParserRule getRule() { return rule; } - + //UnorderedAlternativeVal2 public RuleCall getUnorderedAlternativeVal2ParserRuleCall() { return cUnorderedAlternativeVal2ParserRuleCall; } } - public class UnorderedAlternativeVal2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedAlternativeVal2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1621,20 +1602,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedAlternativeVal2: // "kw2" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw2" val=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class UnorderedGroupElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroup"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1652,41 +1632,40 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroup: // "#24" (val1=ID & val2=INT & val3=UnorderedGroupVal & val4=UnorderedGroupValDelegate); @Override public ParserRule getRule() { return rule; } - + //"#24" (val1=ID & val2=INT & val3=UnorderedGroupVal & val4=UnorderedGroupValDelegate) public Group getGroup() { return cGroup; } - + //"#24" public Keyword getNumberSignDigitTwoDigitFourKeyword_0() { return cNumberSignDigitTwoDigitFourKeyword_0; } - + //(val1=ID & val2=INT & val3=UnorderedGroupVal & val4=UnorderedGroupValDelegate) public UnorderedGroup getUnorderedGroup_1() { return cUnorderedGroup_1; } - + //val1=ID public Assignment getVal1Assignment_1_0() { return cVal1Assignment_1_0; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0_0() { return cVal1IDTerminalRuleCall_1_0_0; } - + //val2=INT public Assignment getVal2Assignment_1_1() { return cVal2Assignment_1_1; } - + //INT public RuleCall getVal2INTTerminalRuleCall_1_1_0() { return cVal2INTTerminalRuleCall_1_1_0; } - + //val3=UnorderedGroupVal public Assignment getVal3Assignment_1_2() { return cVal3Assignment_1_2; } - + //UnorderedGroupVal public RuleCall getVal3UnorderedGroupValParserRuleCall_1_2_0() { return cVal3UnorderedGroupValParserRuleCall_1_2_0; } - + //val4=UnorderedGroupValDelegate public Assignment getVal4Assignment_1_3() { return cVal4Assignment_1_3; } - + //UnorderedGroupValDelegate public RuleCall getVal4UnorderedGroupValDelegateParserRuleCall_1_3_0() { return cVal4UnorderedGroupValDelegateParserRuleCall_1_3_0; } } - public class UnorderedGroupValElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1697,20 +1676,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroupVal: // "kw1" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw1" val=ID public Group getGroup() { return cGroup; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class UnorderedGroupValDelegateElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupValDelegate"); private final RuleCall cUnorderedGroupVal2ParserRuleCall = (RuleCall)rule.eContents().get(1); @@ -1718,11 +1696,10 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroupValDelegate: // UnorderedGroupVal2; @Override public ParserRule getRule() { return rule; } - + //UnorderedGroupVal2 public RuleCall getUnorderedGroupVal2ParserRuleCall() { return cUnorderedGroupVal2ParserRuleCall; } } - public class UnorderedGroupVal2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupVal2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1733,20 +1710,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroupVal2: // "kw2" val=ID; @Override public ParserRule getRule() { return rule; } - + //"kw2" val=ID public Group getGroup() { return cGroup; } - + //"kw2" public Keyword getKw2Keyword_0() { return cKw2Keyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } } - public class UnorderedGroupOptionalElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupOptional"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1769,56 +1745,55 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroupOptional: // "#25" {UnorderedGroupOptional} (("kw1" val1=ID)? & ("kw2" va2=ID)? & ("kw3" val3=ID)?); @Override public ParserRule getRule() { return rule; } - + //"#25" {UnorderedGroupOptional} (("kw1" val1=ID)? & ("kw2" va2=ID)? & ("kw3" val3=ID)?) public Group getGroup() { return cGroup; } - + //"#25" public Keyword getNumberSignDigitTwoDigitFiveKeyword_0() { return cNumberSignDigitTwoDigitFiveKeyword_0; } - + //{UnorderedGroupOptional} public Action getUnorderedGroupOptionalAction_1() { return cUnorderedGroupOptionalAction_1; } - + //(("kw1" val1=ID)? & ("kw2" va2=ID)? & ("kw3" val3=ID)?) public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; } - + //("kw1" val1=ID)? public Group getGroup_2_0() { return cGroup_2_0; } - + //"kw1" public Keyword getKw1Keyword_2_0_0() { return cKw1Keyword_2_0_0; } - + //val1=ID public Assignment getVal1Assignment_2_0_1() { return cVal1Assignment_2_0_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_0_1_0() { return cVal1IDTerminalRuleCall_2_0_1_0; } - + //("kw2" va2=ID)? public Group getGroup_2_1() { return cGroup_2_1; } - + //"kw2" public Keyword getKw2Keyword_2_1_0() { return cKw2Keyword_2_1_0; } - + //va2=ID public Assignment getVa2Assignment_2_1_1() { return cVa2Assignment_2_1_1; } - + //ID public RuleCall getVa2IDTerminalRuleCall_2_1_1_0() { return cVa2IDTerminalRuleCall_2_1_1_0; } - + //("kw3" val3=ID)? public Group getGroup_2_2() { return cGroup_2_2; } - + //"kw3" public Keyword getKw3Keyword_2_2_0() { return cKw3Keyword_2_2_0; } - + //val3=ID public Assignment getVal3Assignment_2_2_1() { return cVal3Assignment_2_2_1; } - + //ID public RuleCall getVal3IDTerminalRuleCall_2_2_1_0() { return cVal3IDTerminalRuleCall_2_2_1_0; } } - public class UnorderedGroupBooleanElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.UnorderedGroupBoolean"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1835,38 +1810,37 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //UnorderedGroupBoolean: // '#26' {UnorderedGroupBoolean} (val1?='kw1'? & val2?='kw2'? & val3?='kw3'?); @Override public ParserRule getRule() { return rule; } - + //'#26' {UnorderedGroupBoolean} (val1?='kw1'? & val2?='kw2'? & val3?='kw3'?) public Group getGroup() { return cGroup; } - + //'#26' public Keyword getNumberSignDigitTwoDigitSixKeyword_0() { return cNumberSignDigitTwoDigitSixKeyword_0; } - + //{UnorderedGroupBoolean} public Action getUnorderedGroupBooleanAction_1() { return cUnorderedGroupBooleanAction_1; } - + //(val1?='kw1'? & val2?='kw2'? & val3?='kw3'?) public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; } - + //val1?='kw1'? public Assignment getVal1Assignment_2_0() { return cVal1Assignment_2_0; } - + //'kw1' public Keyword getVal1Kw1Keyword_2_0_0() { return cVal1Kw1Keyword_2_0_0; } - + //val2?='kw2'? public Assignment getVal2Assignment_2_1() { return cVal2Assignment_2_1; } - + //'kw2' public Keyword getVal2Kw2Keyword_2_1_0() { return cVal2Kw2Keyword_2_1_0; } - + //val3?='kw3'? public Assignment getVal3Assignment_2_2() { return cVal3Assignment_2_2; } - + //'kw3' public Keyword getVal3Kw3Keyword_2_2_0() { return cVal3Kw3Keyword_2_2_0; } } - public class Complex1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Complex1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1902,92 +1876,91 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi // '#27' {Complex1} ("kw1" val1=ID)? ("kw2" val2=ID)? ("kw3" val3+=ID | "kw4" val4+=ID | "kw5" val5+=ID | "kw6" // val6+=ID)*; @Override public ParserRule getRule() { return rule; } - + //'#27' {Complex1} ("kw1" val1=ID)? ("kw2" val2=ID)? ("kw3" val3+=ID | "kw4" val4+=ID | "kw5" val5+=ID | "kw6" val6+=ID)* public Group getGroup() { return cGroup; } - + //'#27' public Keyword getNumberSignDigitTwoDigitSevenKeyword_0() { return cNumberSignDigitTwoDigitSevenKeyword_0; } - + //{Complex1} public Action getComplex1Action_1() { return cComplex1Action_1; } - + //("kw1" val1=ID)? public Group getGroup_2() { return cGroup_2; } - + //"kw1" public Keyword getKw1Keyword_2_0() { return cKw1Keyword_2_0; } - + //val1=ID public Assignment getVal1Assignment_2_1() { return cVal1Assignment_2_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_1_0() { return cVal1IDTerminalRuleCall_2_1_0; } - + //("kw2" val2=ID)? public Group getGroup_3() { return cGroup_3; } - + //"kw2" public Keyword getKw2Keyword_3_0() { return cKw2Keyword_3_0; } - + //val2=ID public Assignment getVal2Assignment_3_1() { return cVal2Assignment_3_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_3_1_0() { return cVal2IDTerminalRuleCall_3_1_0; } - + //("kw3" val3+=ID | "kw4" val4+=ID | "kw5" val5+=ID | "kw6" val6+=ID)* public Alternatives getAlternatives_4() { return cAlternatives_4; } - + //"kw3" val3+=ID public Group getGroup_4_0() { return cGroup_4_0; } - + //"kw3" public Keyword getKw3Keyword_4_0_0() { return cKw3Keyword_4_0_0; } - + //val3+=ID public Assignment getVal3Assignment_4_0_1() { return cVal3Assignment_4_0_1; } - + //ID public RuleCall getVal3IDTerminalRuleCall_4_0_1_0() { return cVal3IDTerminalRuleCall_4_0_1_0; } - + //"kw4" val4+=ID public Group getGroup_4_1() { return cGroup_4_1; } - + //"kw4" public Keyword getKw4Keyword_4_1_0() { return cKw4Keyword_4_1_0; } - + //val4+=ID public Assignment getVal4Assignment_4_1_1() { return cVal4Assignment_4_1_1; } - + //ID public RuleCall getVal4IDTerminalRuleCall_4_1_1_0() { return cVal4IDTerminalRuleCall_4_1_1_0; } - + //"kw5" val5+=ID public Group getGroup_4_2() { return cGroup_4_2; } - + //"kw5" public Keyword getKw5Keyword_4_2_0() { return cKw5Keyword_4_2_0; } - + //val5+=ID public Assignment getVal5Assignment_4_2_1() { return cVal5Assignment_4_2_1; } - + //ID public RuleCall getVal5IDTerminalRuleCall_4_2_1_0() { return cVal5IDTerminalRuleCall_4_2_1_0; } - + //"kw6" val6+=ID public Group getGroup_4_3() { return cGroup_4_3; } - + //"kw6" public Keyword getKw6Keyword_4_3_0() { return cKw6Keyword_4_3_0; } - + //val6+=ID public Assignment getVal6Assignment_4_3_1() { return cVal6Assignment_4_3_1; } - + //ID public RuleCall getVal6IDTerminalRuleCall_4_3_1_0() { return cVal6IDTerminalRuleCall_4_3_1_0; } } - public class OptionalDoubleElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.OptionalDouble"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2003,35 +1976,34 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //OptionalDouble: // "#28" double0=DOUBLE (double1=DOUBLE double2=DOUBLE)?; @Override public ParserRule getRule() { return rule; } - + //"#28" double0=DOUBLE (double1=DOUBLE double2=DOUBLE)? public Group getGroup() { return cGroup; } - + //"#28" public Keyword getNumberSignDigitTwoDigitEightKeyword_0() { return cNumberSignDigitTwoDigitEightKeyword_0; } - + //double0=DOUBLE public Assignment getDouble0Assignment_1() { return cDouble0Assignment_1; } - + //DOUBLE public RuleCall getDouble0DOUBLEParserRuleCall_1_0() { return cDouble0DOUBLEParserRuleCall_1_0; } - + //(double1=DOUBLE double2=DOUBLE)? public Group getGroup_2() { return cGroup_2; } - + //double1=DOUBLE public Assignment getDouble1Assignment_2_0() { return cDouble1Assignment_2_0; } - + //DOUBLE public RuleCall getDouble1DOUBLEParserRuleCall_2_0_0() { return cDouble1DOUBLEParserRuleCall_2_0_0; } - + //double2=DOUBLE public Assignment getDouble2Assignment_2_1() { return cDouble2Assignment_2_1; } - + //DOUBLE public RuleCall getDouble2DOUBLEParserRuleCall_2_1_0() { return cDouble2DOUBLEParserRuleCall_2_1_0; } } - public class DOUBLEElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DOUBLE"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2043,23 +2015,22 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //DOUBLE ecore::EDouble: // INT ("." INT)? @Override public ParserRule getRule() { return rule; } - + //INT ("." INT)? public Group getGroup() { return cGroup; } - + //INT public RuleCall getINTTerminalRuleCall_0() { return cINTTerminalRuleCall_0; } - + //("." INT)? public Group getGroup_1() { return cGroup_1; } - + //"." public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - + //INT public RuleCall getINTTerminalRuleCall_1_1() { return cINTTerminalRuleCall_1_1; } } - public class NullValueGeneratedElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueGenerated"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2070,20 +2041,19 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //NullValueGenerated NullValue: // "#29" value=NULL_STRING @Override public ParserRule getRule() { return rule; } - + //"#29" value=NULL_STRING public Group getGroup() { return cGroup; } - + //"#29" public Keyword getNumberSignDigitTwoDigitNineKeyword_0() { return cNumberSignDigitTwoDigitNineKeyword_0; } - + //value=NULL_STRING public Assignment getValueAssignment_1() { return cValueAssignment_1; } - + //NULL_STRING public RuleCall getValueNULL_STRINGParserRuleCall_1_0() { return cValueNULL_STRINGParserRuleCall_1_0; } } - public class NullValueInterpretedElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.NullValueInterpreted"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2096,26 +2066,25 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //NullValueInterpreted NullValue: // "#30" value=NULL_STRING foo=ID? @Override public ParserRule getRule() { return rule; } - + //"#30" value=NULL_STRING foo=ID? public Group getGroup() { return cGroup; } - + //"#30" public Keyword getNumberSignDigitThreeDigitZeroKeyword_0() { return cNumberSignDigitThreeDigitZeroKeyword_0; } - + //value=NULL_STRING public Assignment getValueAssignment_1() { return cValueAssignment_1; } - + //NULL_STRING public RuleCall getValueNULL_STRINGParserRuleCall_1_0() { return cValueNULL_STRINGParserRuleCall_1_0; } - + //foo=ID? public Assignment getFooAssignment_2() { return cFooAssignment_2; } - + //ID public RuleCall getFooIDTerminalRuleCall_2_0() { return cFooIDTerminalRuleCall_2_0; } } - public class NULL_STRINGElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.NULL_STRING"); private final RuleCall cSTRINGTerminalRuleCall = (RuleCall)rule.eContents().get(1); @@ -2123,11 +2092,10 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //NULL_STRING: // STRING; @Override public ParserRule getRule() { return rule; } - + //STRING public RuleCall getSTRINGTerminalRuleCall() { return cSTRINGTerminalRuleCall; } } - public class NullCrossRefGeneratedElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefGenerated"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2139,23 +2107,22 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //NullCrossRefGenerated NullCrossRef: // "#31" ref=[ecore::EObject] @Override public ParserRule getRule() { return rule; } - + //"#31" ref=[ecore::EObject] public Group getGroup() { return cGroup; } - + //"#31" public Keyword getNumberSignDigitThreeDigitOneKeyword_0() { return cNumberSignDigitThreeDigitOneKeyword_0; } - + //ref=[ecore::EObject] public Assignment getRefAssignment_1() { return cRefAssignment_1; } - + //[ecore::EObject] public CrossReference getRefEObjectCrossReference_1_0() { return cRefEObjectCrossReference_1_0; } - + //ID public RuleCall getRefEObjectIDTerminalRuleCall_1_0_1() { return cRefEObjectIDTerminalRuleCall_1_0_1; } } - public class NullCrossRefInterpretedElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.NullCrossRefInterpreted"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2169,29 +2136,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //NullCrossRefInterpreted NullCrossRef: // "#32" ref=[ecore::EObject] foo=ID? @Override public ParserRule getRule() { return rule; } - + //"#32" ref=[ecore::EObject] foo=ID? public Group getGroup() { return cGroup; } - + //"#32" public Keyword getNumberSignDigitThreeDigitTwoKeyword_0() { return cNumberSignDigitThreeDigitTwoKeyword_0; } - + //ref=[ecore::EObject] public Assignment getRefAssignment_1() { return cRefAssignment_1; } - + //[ecore::EObject] public CrossReference getRefEObjectCrossReference_1_0() { return cRefEObjectCrossReference_1_0; } - + //ID public RuleCall getRefEObjectIDTerminalRuleCall_1_0_1() { return cRefEObjectIDTerminalRuleCall_1_0_1; } - + //foo=ID? public Assignment getFooAssignment_2() { return cFooAssignment_2; } - + //ID public RuleCall getFooIDTerminalRuleCall_2_0() { return cFooIDTerminalRuleCall_2_0; } } - public class FragmentCallerElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.FragmentCaller"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2205,29 +2171,28 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //FragmentCaller FragmentCallerType: // "#33" val1=ID Fragment1 val=ID @Override public ParserRule getRule() { return rule; } - + //"#33" val1=ID Fragment1 val=ID public Group getGroup() { return cGroup; } - + //"#33" public Keyword getNumberSignDigitThreeDigitThreeKeyword_0() { return cNumberSignDigitThreeDigitThreeKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //Fragment1 public RuleCall getFragment1ParserRuleCall_2() { return cFragment1ParserRuleCall_2; } - + //val=ID public Assignment getValAssignment_3() { return cValAssignment_3; } - + //ID public RuleCall getValIDTerminalRuleCall_3_0() { return cValIDTerminalRuleCall_3_0; } } - public class Fragment1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Fragment1"); private final Assignment cFragValAssignment = (Assignment)rule.eContents().get(1); @@ -2236,14 +2201,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //fragment Fragment1 returns FragmentCallerType: // fragVal=ID; @Override public ParserRule getRule() { return rule; } - + //fragVal=ID public Assignment getFragValAssignment() { return cFragValAssignment; } - + //ID public RuleCall getFragValIDTerminalRuleCall_0() { return cFragValIDTerminalRuleCall_0; } } - public class ParameterCallerElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterCaller"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2270,67 +2234,66 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi // "#34" ("kw1" p=Parameterized | "kw2" p=Parameterized | "kw3" p=Parameterized | // "kw4" p=Parameterized); @Override public ParserRule getRule() { return rule; } - + //"#34" ("kw1" p=Parameterized | "kw2" p=Parameterized | "kw3" p=Parameterized | "kw4" //p=Parameterized) public Group getGroup() { return cGroup; } - + //"#34" public Keyword getNumberSignDigitThreeDigitFourKeyword_0() { return cNumberSignDigitThreeDigitFourKeyword_0; } - + //("kw1" p=Parameterized | "kw2" p=Parameterized | "kw3" p=Parameterized | "kw4" //p=Parameterized) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //"kw1" p=Parameterized public Group getGroup_1_0() { return cGroup_1_0; } - + //"kw1" public Keyword getKw1Keyword_1_0_0() { return cKw1Keyword_1_0_0; } - + //p=Parameterized public Assignment getPAssignment_1_0_1() { return cPAssignment_1_0_1; } - + //Parameterized public RuleCall getPParameterizedParserRuleCall_1_0_1_0() { return cPParameterizedParserRuleCall_1_0_1_0; } - + //"kw2" p=Parameterized public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw2" public Keyword getKw2Keyword_1_1_0() { return cKw2Keyword_1_1_0; } - + //p=Parameterized public Assignment getPAssignment_1_1_1() { return cPAssignment_1_1_1; } - + //Parameterized public RuleCall getPParameterizedParserRuleCall_1_1_1_0() { return cPParameterizedParserRuleCall_1_1_1_0; } - + //"kw3" p=Parameterized public Group getGroup_1_2() { return cGroup_1_2; } - + //"kw3" public Keyword getKw3Keyword_1_2_0() { return cKw3Keyword_1_2_0; } - + //p=Parameterized public Assignment getPAssignment_1_2_1() { return cPAssignment_1_2_1; } - + //Parameterized public RuleCall getPParameterizedParserRuleCall_1_2_1_0() { return cPParameterizedParserRuleCall_1_2_1_0; } - + //"kw4" p=Parameterized public Group getGroup_1_3() { return cGroup_1_3; } - + //"kw4" public Keyword getKw4Keyword_1_3_0() { return cKw4Keyword_1_3_0; } - + //p=Parameterized public Assignment getPAssignment_1_3_1() { return cPAssignment_1_3_1; } - + //Parameterized public RuleCall getPParameterizedParserRuleCall_1_3_1_0() { return cPParameterizedParserRuleCall_1_3_1_0; } } - public class ParameterizedElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Parameterized"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -2350,47 +2313,46 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //Parameterized : //

"kwp1" v1=ID | "kwp2" v2=ID ( "kwp3" v3=ID)?; @Override public ParserRule getRule() { return rule; } - + //

"kwp1" v1=ID | "kwp2" v2=ID ( "kwp3" v3=ID)? public Alternatives getAlternatives() { return cAlternatives; } - + //

"kwp1" v1=ID public Group getGroup_0() { return cGroup_0; } - + //"kwp1" public Keyword getKwp1Keyword_0_0() { return cKwp1Keyword_0_0; } - + //v1=ID public Assignment getV1Assignment_0_1() { return cV1Assignment_0_1; } - + //ID public RuleCall getV1IDTerminalRuleCall_0_1_0() { return cV1IDTerminalRuleCall_0_1_0; } - + // "kwp2" v2=ID ( "kwp3" v3=ID)? public Group getGroup_1() { return cGroup_1; } - + //"kwp2" public Keyword getKwp2Keyword_1_0() { return cKwp2Keyword_1_0; } - + //v2=ID public Assignment getV2Assignment_1_1() { return cV2Assignment_1_1; } - + //ID public RuleCall getV2IDTerminalRuleCall_1_1_0() { return cV2IDTerminalRuleCall_1_1_0; } - + //( "kwp3" v3=ID)? public Group getGroup_1_2() { return cGroup_1_2; } - + //"kwp3" public Keyword getKwp3Keyword_1_2_0() { return cKwp3Keyword_1_2_0; } - + //v3=ID public Assignment getV3Assignment_1_2_1() { return cV3Assignment_1_2_1; } - + //ID public RuleCall getV3IDTerminalRuleCall_1_2_1_0() { return cV3IDTerminalRuleCall_1_2_1_0; } } - public class ParameterDelegationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.ParameterDelegation"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -2408,41 +2370,40 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //ParameterDelegation: // "#35" ("kw1" p=Delegation | "kw2" p=Delegation); @Override public ParserRule getRule() { return rule; } - + //"#35" ("kw1" p=Delegation | "kw2" p=Delegation) public Group getGroup() { return cGroup; } - + //"#35" public Keyword getNumberSignDigitThreeDigitFiveKeyword_0() { return cNumberSignDigitThreeDigitFiveKeyword_0; } - + //("kw1" p=Delegation | "kw2" p=Delegation) public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //"kw1" p=Delegation public Group getGroup_1_0() { return cGroup_1_0; } - + //"kw1" public Keyword getKw1Keyword_1_0_0() { return cKw1Keyword_1_0_0; } - + //p=Delegation public Assignment getPAssignment_1_0_1() { return cPAssignment_1_0_1; } - + //Delegation public RuleCall getPDelegationParserRuleCall_1_0_1_0() { return cPDelegationParserRuleCall_1_0_1_0; } - + //"kw2" p=Delegation public Group getGroup_1_1() { return cGroup_1_1; } - + //"kw2" public Keyword getKw2Keyword_1_1_0() { return cKw2Keyword_1_1_0; } - + //p=Delegation public Assignment getPAssignment_1_1_1() { return cPAssignment_1_1_1; } - + //Delegation public RuleCall getPDelegationParserRuleCall_1_1_1_0() { return cPDelegationParserRuleCall_1_1_1_0; } } - public class DelegationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.Delegation"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -2465,57 +2426,56 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //Delegation : // (

p=ID | np=INT) | "kwd" Delegation ({DelegationA.left=current} rc2=Delegation)?; @Override public ParserRule getRule() { return rule; } - + // (

p=ID | np=INT) | "kwd" Delegation ({DelegationA.left=current} rc2=Delegation)? public Alternatives getAlternatives() { return cAlternatives; } - + // (

p=ID | np=INT) public Group getGroup_0() { return cGroup_0; } - + //(

p=ID | np=INT) public Alternatives getAlternatives_0_0() { return cAlternatives_0_0; } - + //

p=ID public Group getGroup_0_0_0() { return cGroup_0_0_0; } - + //p=ID public Assignment getPAssignment_0_0_0_0() { return cPAssignment_0_0_0_0; } - + //ID public RuleCall getPIDTerminalRuleCall_0_0_0_0_0() { return cPIDTerminalRuleCall_0_0_0_0_0; } - + // np=INT public Group getGroup_0_0_1() { return cGroup_0_0_1; } - + //np=INT public Assignment getNpAssignment_0_0_1_0() { return cNpAssignment_0_0_1_0; } - + //INT public RuleCall getNpINTTerminalRuleCall_0_0_1_0_0() { return cNpINTTerminalRuleCall_0_0_1_0_0; } - + // "kwd" Delegation ({DelegationA.left=current} rc2=Delegation)? public Group getGroup_1() { return cGroup_1; } - + //"kwd" public Keyword getKwdKeyword_1_0() { return cKwdKeyword_1_0; } - + //Delegation public RuleCall getDelegationParserRuleCall_1_1() { return cDelegationParserRuleCall_1_1; } - + //({DelegationA.left=current} rc2=Delegation)? public Group getGroup_1_2() { return cGroup_1_2; } - + //{DelegationA.left=current} public Action getDelegationALeftAction_1_2_0() { return cDelegationALeftAction_1_2_0; } - + //rc2=Delegation public Assignment getRc2Assignment_1_2_1() { return cRc2Assignment_1_2_1; } - + //Delegation public RuleCall getRc2DelegationParserRuleCall_1_2_1_0() { return cRc2DelegationParserRuleCall_1_2_1_0; } } - public class DefEnum1Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum1"); private final EnumLiteralDeclaration cKw1EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -2524,14 +2484,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //enum DefEnum1 returns DefEnum: // kw1; public EnumRule getRule() { return rule; } - + //kw1 public EnumLiteralDeclaration getKw1EnumLiteralDeclaration() { return cKw1EnumLiteralDeclaration; } - + //"kw1" public Keyword getKw1Kw1Keyword_0() { return cKw1Kw1Keyword_0; } } - public class DefEnum2Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum2"); private final EnumLiteralDeclaration cKw2EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -2540,14 +2499,13 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //enum DefEnum2 returns DefEnum: // kw2; public EnumRule getRule() { return rule; } - + //kw2 public EnumLiteralDeclaration getKw2EnumLiteralDeclaration() { return cKw2EnumLiteralDeclaration; } - + //"kw2" public Keyword getKw2Kw2Keyword_0() { return cKw2Kw2Keyword_0; } } - public class DefEnum3Elements extends AbstractEnumRuleElementFinder { private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SequencerTestLanguage.DefEnum3"); private final EnumLiteralDeclaration cKw3EnumLiteralDeclaration = (EnumLiteralDeclaration)rule.eContents().get(1); @@ -2556,10 +2514,10 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi //enum DefEnum3 returns DefEnum: // kw3; public EnumRule getRule() { return rule; } - + //kw3 public EnumLiteralDeclaration getKw3EnumLiteralDeclaration() { return cKw3EnumLiteralDeclaration; } - + //"kw3" public Keyword getKw3Kw3Keyword_0() { return cKw3Kw3Keyword_0; } } @@ -2622,12 +2580,12 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi private final DelegationElements pDelegation; private final Grammar grammar; - + private final TerminalsGrammarAccess gaTerminals; @Inject public SequencerTestLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); @@ -2709,7 +2667,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi return grammar; } - + public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } @@ -2731,7 +2689,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getModelRule() { return getModelAccess().getRule(); } - + //SimpleGroup: // "#1" val1=ID val2=ID; public SimpleGroupElements getSimpleGroupAccess() { @@ -2741,7 +2699,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSimpleGroupRule() { return getSimpleGroupAccess().getRule(); } - + //SimpleAlternative: // "#2" ("kw1" val1=ID | "kw2" val2=ID); public SimpleAlternativeElements getSimpleAlternativeAccess() { @@ -2751,7 +2709,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSimpleAlternativeRule() { return getSimpleAlternativeAccess().getRule(); } - + //SimpleMultiplicities: // "#3" val1=ID "kw1" val2=ID? "kw2" val3+=ID+ "kw3" val4+=ID*; public SimpleMultiplicitiesElements getSimpleMultiplicitiesAccess() { @@ -2761,7 +2719,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSimpleMultiplicitiesRule() { return getSimpleMultiplicitiesAccess().getRule(); } - + //GroupMultiplicities: // "#4" val1=ID "kw1" (val2=ID val3=ID)? "kw2" (val4+=ID val5+=ID)+ "kw3" (val6+=ID val7+=ID)*; public GroupMultiplicitiesElements getGroupMultiplicitiesAccess() { @@ -2771,7 +2729,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getGroupMultiplicitiesRule() { return getGroupMultiplicitiesAccess().getRule(); } - + //AlternativeMultiplicities: // "#5" (val2=ID | "kw1" val3=ID)? "kw2" (val4+=ID | "kw3" val5+=ID)+ "kw4" (val6+=ID | "kw5" val7+=ID)*; public AlternativeMultiplicitiesElements getAlternativeMultiplicitiesAccess() { @@ -2781,7 +2739,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getAlternativeMultiplicitiesRule() { return getAlternativeMultiplicitiesAccess().getRule(); } - + //List1: // "#6" val1+=ID ("," val1+=ID)*; public List1Elements getList1Access() { @@ -2791,7 +2749,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getList1Rule() { return getList1Access().getRule(); } - + //List2: // "#7" {List2} (val1+=ID ("," val1+=ID)*)?; public List2Elements getList2Access() { @@ -2801,7 +2759,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getList2Rule() { return getList2Access().getRule(); } - + //AltList1: // "#8" (val1=ID val2=ID | "kw1" val1=ID val3=ID | "kw2" val1=ID val4=ID?); public AltList1Elements getAltList1Access() { @@ -2811,7 +2769,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getAltList1Rule() { return getAltList1Access().getRule(); } - + //AltList2: // "#9" (val1+=ID val2=ID | "kw" val1+=ID ("," val1+=ID)* val3=ID); public AltList2Elements getAltList2Access() { @@ -2821,7 +2779,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getAltList2Rule() { return getAltList2Access().getRule(); } - + //SingleKeywords: // "#10" val=("kw1" | "kw2" | "kw3"); public SingleKeywordsElements getSingleKeywordsAccess() { @@ -2831,7 +2789,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleKeywordsRule() { return getSingleKeywordsAccess().getRule(); } - + //SingleKeywordsOrID: // "#11" val=("kw1" | "kw2" | "kw3" | ID); public SingleKeywordsOrIDElements getSingleKeywordsOrIDAccess() { @@ -2841,7 +2799,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleKeywordsOrIDRule() { return getSingleKeywordsOrIDAccess().getRule(); } - + //SingleTerminals: // "#12" val=(ID1 | ID2); public SingleTerminalsElements getSingleTerminalsAccess() { @@ -2851,25 +2809,25 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleTerminalsRule() { return getSingleTerminalsAccess().getRule(); } - + //terminal ID1: // '$1' ID; public TerminalRule getID1Rule() { return tID1; - } - + } + //terminal ID2: // '$2' ID; public TerminalRule getID2Rule() { return tID2; - } - + } + //terminal ID3: // '$3' ID; public TerminalRule getID3Rule() { return tID3; - } - + } + //SingleEnum: // "#13" val=(DefEnum1 | DefEnum2 | DefEnum3); public SingleEnumElements getSingleEnumAccess() { @@ -2879,7 +2837,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleEnumRule() { return getSingleEnumAccess().getRule(); } - + //enum DefEnum1 returns DefEnum: // kw1; public DefEnum1Elements getDefEnum1Access() { @@ -2889,7 +2847,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public EnumRule getDefEnum1Rule() { return getDefEnum1Access().getRule(); } - + //enum DefEnum2 returns DefEnum: // kw2; public DefEnum2Elements getDefEnum2Access() { @@ -2899,7 +2857,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public EnumRule getDefEnum2Rule() { return getDefEnum2Access().getRule(); } - + //enum DefEnum3 returns DefEnum: // kw3; public DefEnum3Elements getDefEnum3Access() { @@ -2909,7 +2867,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public EnumRule getDefEnum3Rule() { return getDefEnum3Access().getRule(); } - + //SingleCrossReference: // "#14" name=(ID1 | ID2 | ID3) (ref=[SingleCrossReference|ID1] | ref=[SingleCrossReference|ID2] | // ref=[SingleCrossReference|ID3]); @@ -2920,7 +2878,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleCrossReferenceRule() { return getSingleCrossReferenceAccess().getRule(); } - + //SingleContainmentReference: // "#15" child=(SingleContainmentReferenceChild1 | SingleContainmentReferenceChild2 | SingleContainmentReferenceChild3); public SingleContainmentReferenceElements getSingleContainmentReferenceAccess() { @@ -2930,7 +2888,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleContainmentReferenceRule() { return getSingleContainmentReferenceAccess().getRule(); } - + //SingleContainmentReferenceChild1: // val='kw1'; public SingleContainmentReferenceChild1Elements getSingleContainmentReferenceChild1Access() { @@ -2940,7 +2898,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleContainmentReferenceChild1Rule() { return getSingleContainmentReferenceChild1Access().getRule(); } - + //SingleContainmentReferenceChild2: // val='kw2'; public SingleContainmentReferenceChild2Elements getSingleContainmentReferenceChild2Access() { @@ -2950,7 +2908,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleContainmentReferenceChild2Rule() { return getSingleContainmentReferenceChild2Access().getRule(); } - + //SingleContainmentReferenceChild3: // val='kw3'; public SingleContainmentReferenceChild3Elements getSingleContainmentReferenceChild3Access() { @@ -2960,7 +2918,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getSingleContainmentReferenceChild3Rule() { return getSingleContainmentReferenceChild3Access().getRule(); } - + //MultiKeywords: // "#16" val+=("kw1" | "kw2" | "kw3"); public MultiKeywordsElements getMultiKeywordsAccess() { @@ -2970,7 +2928,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getMultiKeywordsRule() { return getMultiKeywordsAccess().getRule(); } - + //MultiKeywordsOrID: // "#17" val+=("kw1" | "kw2" | "kw3" | ID); public MultiKeywordsOrIDElements getMultiKeywordsOrIDAccess() { @@ -2980,7 +2938,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getMultiKeywordsOrIDRule() { return getMultiKeywordsOrIDAccess().getRule(); } - + //MultiTerminals: // "#18" val+=(ID1 | ID2); public MultiTerminalsElements getMultiTerminalsAccess() { @@ -2990,7 +2948,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getMultiTerminalsRule() { return getMultiTerminalsAccess().getRule(); } - + //DependentAlternative1: // "#19" (val=ID | val=ID flag?="kw1"); public DependentAlternative1Elements getDependentAlternative1Access() { @@ -3000,7 +2958,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getDependentAlternative1Rule() { return getDependentAlternative1Access().getRule(); } - + //DependentAlternative2: // "#20" (val+=ID val+=ID+ | val+=ID+ flag?="kw1"); public DependentAlternative2Elements getDependentAlternative2Access() { @@ -3010,7 +2968,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getDependentAlternative2Rule() { return getDependentAlternative2Access().getRule(); } - + //Optional: // "#21" int0=INT (int1=INT int2=INT)?; public OptionalElements getOptionalAccess() { @@ -3020,7 +2978,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getOptionalRule() { return getOptionalAccess().getRule(); } - + //Float: // "#22" {Float} 'Bye'; public FloatElements getFloatAccess() { @@ -3030,7 +2988,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getFloatRule() { return getFloatAccess().getRule(); } - + //UnorderedAlternative: // "#23" {UnorderedAlternative} (val1+=ID | val2+=INT | val3+=UnorderedAlternativeVal | // val4+=UnorderedAlternativeValDelegate)*; @@ -3041,7 +2999,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedAlternativeRule() { return getUnorderedAlternativeAccess().getRule(); } - + //UnorderedAlternativeVal: // "kw1" val=ID; public UnorderedAlternativeValElements getUnorderedAlternativeValAccess() { @@ -3051,7 +3009,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedAlternativeValRule() { return getUnorderedAlternativeValAccess().getRule(); } - + //UnorderedAlternativeValDelegate: // UnorderedAlternativeVal2; public UnorderedAlternativeValDelegateElements getUnorderedAlternativeValDelegateAccess() { @@ -3061,7 +3019,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedAlternativeValDelegateRule() { return getUnorderedAlternativeValDelegateAccess().getRule(); } - + //UnorderedAlternativeVal2: // "kw2" val=ID; public UnorderedAlternativeVal2Elements getUnorderedAlternativeVal2Access() { @@ -3071,7 +3029,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedAlternativeVal2Rule() { return getUnorderedAlternativeVal2Access().getRule(); } - + //UnorderedGroup: // "#24" (val1=ID & val2=INT & val3=UnorderedGroupVal & val4=UnorderedGroupValDelegate); public UnorderedGroupElements getUnorderedGroupAccess() { @@ -3081,7 +3039,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupRule() { return getUnorderedGroupAccess().getRule(); } - + //UnorderedGroupVal: // "kw1" val=ID; public UnorderedGroupValElements getUnorderedGroupValAccess() { @@ -3091,7 +3049,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupValRule() { return getUnorderedGroupValAccess().getRule(); } - + //UnorderedGroupValDelegate: // UnorderedGroupVal2; public UnorderedGroupValDelegateElements getUnorderedGroupValDelegateAccess() { @@ -3101,7 +3059,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupValDelegateRule() { return getUnorderedGroupValDelegateAccess().getRule(); } - + //UnorderedGroupVal2: // "kw2" val=ID; public UnorderedGroupVal2Elements getUnorderedGroupVal2Access() { @@ -3111,7 +3069,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupVal2Rule() { return getUnorderedGroupVal2Access().getRule(); } - + //UnorderedGroupOptional: // "#25" {UnorderedGroupOptional} (("kw1" val1=ID)? & ("kw2" va2=ID)? & ("kw3" val3=ID)?); public UnorderedGroupOptionalElements getUnorderedGroupOptionalAccess() { @@ -3121,7 +3079,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupOptionalRule() { return getUnorderedGroupOptionalAccess().getRule(); } - + //UnorderedGroupBoolean: // '#26' {UnorderedGroupBoolean} (val1?='kw1'? & val2?='kw2'? & val3?='kw3'?); public UnorderedGroupBooleanElements getUnorderedGroupBooleanAccess() { @@ -3131,7 +3089,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getUnorderedGroupBooleanRule() { return getUnorderedGroupBooleanAccess().getRule(); } - + //Complex1: // '#27' {Complex1} ("kw1" val1=ID)? ("kw2" val2=ID)? ("kw3" val3+=ID | "kw4" val4+=ID | "kw5" val5+=ID | "kw6" // val6+=ID)*; @@ -3142,7 +3100,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getComplex1Rule() { return getComplex1Access().getRule(); } - + //OptionalDouble: // "#28" double0=DOUBLE (double1=DOUBLE double2=DOUBLE)?; public OptionalDoubleElements getOptionalDoubleAccess() { @@ -3152,7 +3110,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getOptionalDoubleRule() { return getOptionalDoubleAccess().getRule(); } - + //DOUBLE ecore::EDouble: // INT ("." INT)? public DOUBLEElements getDOUBLEAccess() { @@ -3162,7 +3120,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getDOUBLERule() { return getDOUBLEAccess().getRule(); } - + //NullValueGenerated NullValue: // "#29" value=NULL_STRING public NullValueGeneratedElements getNullValueGeneratedAccess() { @@ -3172,7 +3130,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getNullValueGeneratedRule() { return getNullValueGeneratedAccess().getRule(); } - + //NullValueInterpreted NullValue: // "#30" value=NULL_STRING foo=ID? public NullValueInterpretedElements getNullValueInterpretedAccess() { @@ -3182,7 +3140,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getNullValueInterpretedRule() { return getNullValueInterpretedAccess().getRule(); } - + //NULL_STRING: // STRING; public NULL_STRINGElements getNULL_STRINGAccess() { @@ -3192,7 +3150,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getNULL_STRINGRule() { return getNULL_STRINGAccess().getRule(); } - + //NullCrossRefGenerated NullCrossRef: // "#31" ref=[ecore::EObject] public NullCrossRefGeneratedElements getNullCrossRefGeneratedAccess() { @@ -3202,7 +3160,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getNullCrossRefGeneratedRule() { return getNullCrossRefGeneratedAccess().getRule(); } - + //NullCrossRefInterpreted NullCrossRef: // "#32" ref=[ecore::EObject] foo=ID? public NullCrossRefInterpretedElements getNullCrossRefInterpretedAccess() { @@ -3212,7 +3170,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getNullCrossRefInterpretedRule() { return getNullCrossRefInterpretedAccess().getRule(); } - + //FragmentCaller FragmentCallerType: // "#33" val1=ID Fragment1 val=ID public FragmentCallerElements getFragmentCallerAccess() { @@ -3222,7 +3180,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getFragmentCallerRule() { return getFragmentCallerAccess().getRule(); } - + //fragment Fragment1 returns FragmentCallerType: // fragVal=ID; public Fragment1Elements getFragment1Access() { @@ -3232,7 +3190,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getFragment1Rule() { return getFragment1Access().getRule(); } - + //ParameterCaller: // "#34" ("kw1" p=Parameterized | "kw2" p=Parameterized | "kw3" p=Parameterized | // "kw4" p=Parameterized); @@ -3243,7 +3201,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getParameterCallerRule() { return getParameterCallerAccess().getRule(); } - + //Parameterized : //

"kwp1" v1=ID | "kwp2" v2=ID ( "kwp3" v3=ID)?; public ParameterizedElements getParameterizedAccess() { @@ -3253,7 +3211,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getParameterizedRule() { return getParameterizedAccess().getRule(); } - + //ParameterDelegation: // "#35" ("kw1" p=Delegation | "kw2" p=Delegation); public ParameterDelegationElements getParameterDelegationAccess() { @@ -3263,7 +3221,7 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getParameterDelegationRule() { return getParameterDelegationAccess().getRule(); } - + //Delegation : // (

p=ID | np=INT) | "kwd" Delegation ({DelegationA.left=current} rc2=Delegation)?; public DelegationElements getDelegationAccess() { @@ -3273,47 +3231,47 @@ public class SequencerTestLanguageGrammarAccess extends AbstractGrammarElementFi public ParserRule getDelegationRule() { return getDelegationAccess().getRule(); } - + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); - } - + } + //terminal INT returns ecore::EInt: // '0'..'9'+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); - } - + } + //terminal STRING: // '"' ('\\' . | !('\\' | '"'))* '"' | // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); - } - + } + //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); - } - + } + //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); - } - + } + //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); - } - + } + //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); - } + } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SyntacticSequencerTestLanguageGrammarAccess.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SyntacticSequencerTestLanguageGrammarAccess.java index 865276e79..5b03120ef 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SyntacticSequencerTestLanguageGrammarAccess.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/services/SyntacticSequencerTestLanguageGrammarAccess.java @@ -3,21 +3,27 @@ */ package org.eclipse.xtext.serializer.services; -import com.google.inject.Singleton; import com.google.inject.Inject; - +import com.google.inject.Singleton; import java.util.List; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.GrammarUtil; +import org.eclipse.xtext.Group; +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.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; +import org.eclipse.xtext.service.GrammarProvider; @Singleton public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammarElementFinder { - public class ModelElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Model"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -57,103 +63,102 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar // x7=UnassignedDatatype | x8=OptionalSingleTransition | x9=OptionalManyTransition | x10=MandatoryManyTransition | // x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller; @Override public ParserRule getRule() { return rule; } - + //x1=MandatoryKeywords | x2=Exp0 | x3=Exp1 | x4=Exp2 | x5=SingleCrossReference | x6=BooleanAlternative | //x7=UnassignedDatatype | x8=OptionalSingleTransition | x9=OptionalManyTransition | x10=MandatoryManyTransition | //x11=AlternativeTransition | x12=BooleanValues | x13=LongAlternative | x14=ActionOnly | x15=FragmentCaller public Alternatives getAlternatives() { return cAlternatives; } - + //x1=MandatoryKeywords public Assignment getX1Assignment_0() { return cX1Assignment_0; } - + //MandatoryKeywords public RuleCall getX1MandatoryKeywordsParserRuleCall_0_0() { return cX1MandatoryKeywordsParserRuleCall_0_0; } - + //x2=Exp0 public Assignment getX2Assignment_1() { return cX2Assignment_1; } - + //Exp0 public RuleCall getX2Exp0ParserRuleCall_1_0() { return cX2Exp0ParserRuleCall_1_0; } - + //x3=Exp1 public Assignment getX3Assignment_2() { return cX3Assignment_2; } - + //Exp1 public RuleCall getX3Exp1ParserRuleCall_2_0() { return cX3Exp1ParserRuleCall_2_0; } - + //x4=Exp2 public Assignment getX4Assignment_3() { return cX4Assignment_3; } - + //Exp2 public RuleCall getX4Exp2ParserRuleCall_3_0() { return cX4Exp2ParserRuleCall_3_0; } - + //x5=SingleCrossReference public Assignment getX5Assignment_4() { return cX5Assignment_4; } - + //SingleCrossReference public RuleCall getX5SingleCrossReferenceParserRuleCall_4_0() { return cX5SingleCrossReferenceParserRuleCall_4_0; } - + //x6=BooleanAlternative public Assignment getX6Assignment_5() { return cX6Assignment_5; } - + //BooleanAlternative public RuleCall getX6BooleanAlternativeParserRuleCall_5_0() { return cX6BooleanAlternativeParserRuleCall_5_0; } - + //x7=UnassignedDatatype public Assignment getX7Assignment_6() { return cX7Assignment_6; } - + //UnassignedDatatype public RuleCall getX7UnassignedDatatypeParserRuleCall_6_0() { return cX7UnassignedDatatypeParserRuleCall_6_0; } - + //x8=OptionalSingleTransition public Assignment getX8Assignment_7() { return cX8Assignment_7; } - + //OptionalSingleTransition public RuleCall getX8OptionalSingleTransitionParserRuleCall_7_0() { return cX8OptionalSingleTransitionParserRuleCall_7_0; } - + //x9=OptionalManyTransition public Assignment getX9Assignment_8() { return cX9Assignment_8; } - + //OptionalManyTransition public RuleCall getX9OptionalManyTransitionParserRuleCall_8_0() { return cX9OptionalManyTransitionParserRuleCall_8_0; } - + //x10=MandatoryManyTransition public Assignment getX10Assignment_9() { return cX10Assignment_9; } - + //MandatoryManyTransition public RuleCall getX10MandatoryManyTransitionParserRuleCall_9_0() { return cX10MandatoryManyTransitionParserRuleCall_9_0; } - + //x11=AlternativeTransition public Assignment getX11Assignment_10() { return cX11Assignment_10; } - + //AlternativeTransition public RuleCall getX11AlternativeTransitionParserRuleCall_10_0() { return cX11AlternativeTransitionParserRuleCall_10_0; } - + //x12=BooleanValues public Assignment getX12Assignment_11() { return cX12Assignment_11; } - + //BooleanValues public RuleCall getX12BooleanValuesParserRuleCall_11_0() { return cX12BooleanValuesParserRuleCall_11_0; } - + //x13=LongAlternative public Assignment getX13Assignment_12() { return cX13Assignment_12; } - + //LongAlternative public RuleCall getX13LongAlternativeParserRuleCall_12_0() { return cX13LongAlternativeParserRuleCall_12_0; } - + //x14=ActionOnly public Assignment getX14Assignment_13() { return cX14Assignment_13; } - + //ActionOnly public RuleCall getX14ActionOnlyParserRuleCall_13_0() { return cX14ActionOnlyParserRuleCall_13_0; } - + //x15=FragmentCaller public Assignment getX15Assignment_14() { return cX15Assignment_14; } - + //FragmentCaller public RuleCall getX15FragmentCallerParserRuleCall_14_0() { return cX15FragmentCallerParserRuleCall_14_0; } } - public class MandatoryKeywordsElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryKeywords"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -172,44 +177,43 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //MandatoryKeywords: // "#1" val1=ID "kw1" val2=ID "kw2" "kw3" val3=ID "kw4"; @Override public ParserRule getRule() { return rule; } - + //"#1" val1=ID "kw1" val2=ID "kw2" "kw3" val3=ID "kw4" public Group getGroup() { return cGroup; } - + //"#1" public Keyword getNumberSignDigitOneKeyword_0() { return cNumberSignDigitOneKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //"kw1" public Keyword getKw1Keyword_2() { return cKw1Keyword_2; } - + //val2=ID public Assignment getVal2Assignment_3() { return cVal2Assignment_3; } - + //ID public RuleCall getVal2IDTerminalRuleCall_3_0() { return cVal2IDTerminalRuleCall_3_0; } - + //"kw2" public Keyword getKw2Keyword_4() { return cKw2Keyword_4; } - + //"kw3" public Keyword getKw3Keyword_5() { return cKw3Keyword_5; } - + //val3=ID public Assignment getVal3Assignment_6() { return cVal3Assignment_6; } - + //ID public RuleCall getVal3IDTerminalRuleCall_6_0() { return cVal3IDTerminalRuleCall_6_0; } - + //"kw4" public Keyword getKw4Keyword_7() { return cKw4Keyword_7; } } - public class Exp0Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp0"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -219,17 +223,16 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Exp0: // "#2" Addition0; @Override public ParserRule getRule() { return rule; } - + //"#2" Addition0 public Group getGroup() { return cGroup; } - + //"#2" public Keyword getNumberSignDigitTwoKeyword_0() { return cNumberSignDigitTwoKeyword_0; } - + //Addition0 public RuleCall getAddition0ParserRuleCall_1() { return cAddition0ParserRuleCall_1; } } - public class Addition0Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Addition0"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -243,29 +246,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Addition0 Exp0: // Prim0 ({Add0.left=current} '+' right=Prim0)* @Override public ParserRule getRule() { return rule; } - + //Prim0 ({Add0.left=current} '+' right=Prim0)* public Group getGroup() { return cGroup; } - + //Prim0 public RuleCall getPrim0ParserRuleCall_0() { return cPrim0ParserRuleCall_0; } - + //({Add0.left=current} '+' right=Prim0)* public Group getGroup_1() { return cGroup_1; } - + //{Add0.left=current} public Action getAdd0LeftAction_1_0() { return cAdd0LeftAction_1_0; } - + //'+' public Keyword getPlusSignKeyword_1_1() { return cPlusSignKeyword_1_1; } - + //right=Prim0 public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } - + //Prim0 public RuleCall getRightPrim0ParserRuleCall_1_2_0() { return cRightPrim0ParserRuleCall_1_2_0; } } - public class Prim0Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim0"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -276,20 +278,19 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Prim0 Exp0: // {Val0} name=ID @Override public ParserRule getRule() { return rule; } - + //{Val0} name=ID public Group getGroup() { return cGroup; } - + //{Val0} public Action getVal0Action_0() { return cVal0Action_0; } - + //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } - + //ID public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } } - public class Exp1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -299,17 +300,16 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Exp1: // "#3" Addition1; @Override public ParserRule getRule() { return rule; } - + //"#3" Addition1 public Group getGroup() { return cGroup; } - + //"#3" public Keyword getNumberSignDigitThreeKeyword_0() { return cNumberSignDigitThreeKeyword_0; } - + //Addition1 public RuleCall getAddition1ParserRuleCall_1() { return cAddition1ParserRuleCall_1; } } - public class Addition1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Addition1"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -323,29 +323,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Addition1 Exp1: // Prim1 ({Add1.left=current} '+' right=Prim1)* @Override public ParserRule getRule() { return rule; } - + //Prim1 ({Add1.left=current} '+' right=Prim1)* public Group getGroup() { return cGroup; } - + //Prim1 public RuleCall getPrim1ParserRuleCall_0() { return cPrim1ParserRuleCall_0; } - + //({Add1.left=current} '+' right=Prim1)* public Group getGroup_1() { return cGroup_1; } - + //{Add1.left=current} public Action getAdd1LeftAction_1_0() { return cAdd1LeftAction_1_0; } - + //'+' public Keyword getPlusSignKeyword_1_1() { return cPlusSignKeyword_1_1; } - + //right=Prim1 public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } - + //Prim1 public RuleCall getRightPrim1ParserRuleCall_1_2_0() { return cRightPrim1ParserRuleCall_1_2_0; } } - public class Prim1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim1"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -361,35 +360,34 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Prim1 Exp1: // {Val1} name=ID | '(' Addition1 ')' @Override public ParserRule getRule() { return rule; } - + //{Val1} name=ID | '(' Addition1 ')' public Alternatives getAlternatives() { return cAlternatives; } - + //{Val1} name=ID public Group getGroup_0() { return cGroup_0; } - + //{Val1} public Action getVal1Action_0_0() { return cVal1Action_0_0; } - + //name=ID public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; } - + //ID public RuleCall getNameIDTerminalRuleCall_0_1_0() { return cNameIDTerminalRuleCall_0_1_0; } - + //'(' Addition1 ')' public Group getGroup_1() { return cGroup_1; } - + //'(' public Keyword getLeftParenthesisKeyword_1_0() { return cLeftParenthesisKeyword_1_0; } - + //Addition1 public RuleCall getAddition1ParserRuleCall_1_1() { return cAddition1ParserRuleCall_1_1; } - + //')' public Keyword getRightParenthesisKeyword_1_2() { return cRightParenthesisKeyword_1_2; } } - public class Exp2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Exp2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -399,17 +397,16 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Exp2: // "#4" Addition2; @Override public ParserRule getRule() { return rule; } - + //"#4" Addition2 public Group getGroup() { return cGroup; } - + //"#4" public Keyword getNumberSignDigitFourKeyword_0() { return cNumberSignDigitFourKeyword_0; } - + //Addition2 public RuleCall getAddition2ParserRuleCall_1() { return cAddition2ParserRuleCall_1; } } - public class Addition2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Addition2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -423,29 +420,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Addition2 Exp2: // Multiplication2 ({Add2.left=current} '+' right=Multiplication2)* @Override public ParserRule getRule() { return rule; } - + //Multiplication2 ({Add2.left=current} '+' right=Multiplication2)* public Group getGroup() { return cGroup; } - + //Multiplication2 public RuleCall getMultiplication2ParserRuleCall_0() { return cMultiplication2ParserRuleCall_0; } - + //({Add2.left=current} '+' right=Multiplication2)* public Group getGroup_1() { return cGroup_1; } - + //{Add2.left=current} public Action getAdd2LeftAction_1_0() { return cAdd2LeftAction_1_0; } - + //'+' public Keyword getPlusSignKeyword_1_1() { return cPlusSignKeyword_1_1; } - + //right=Multiplication2 public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } - + //Multiplication2 public RuleCall getRightMultiplication2ParserRuleCall_1_2_0() { return cRightMultiplication2ParserRuleCall_1_2_0; } } - public class Multiplication2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Multiplication2"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -459,29 +455,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Multiplication2 Exp2: // Prim2 ({Mult2.left=current} '*' right=Prim2)* @Override public ParserRule getRule() { return rule; } - + //Prim2 ({Mult2.left=current} '*' right=Prim2)* public Group getGroup() { return cGroup; } - + //Prim2 public RuleCall getPrim2ParserRuleCall_0() { return cPrim2ParserRuleCall_0; } - + //({Mult2.left=current} '*' right=Prim2)* public Group getGroup_1() { return cGroup_1; } - + //{Mult2.left=current} public Action getMult2LeftAction_1_0() { return cMult2LeftAction_1_0; } - + //'*' public Keyword getAsteriskKeyword_1_1() { return cAsteriskKeyword_1_1; } - + //right=Prim2 public Assignment getRightAssignment_1_2() { return cRightAssignment_1_2; } - + //Prim2 public RuleCall getRightPrim2ParserRuleCall_1_2_0() { return cRightPrim2ParserRuleCall_1_2_0; } } - public class Prim2Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Prim2"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -497,35 +492,34 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //Prim2 Exp2: // {Val2} name=ID | '(' Addition2 ')' @Override public ParserRule getRule() { return rule; } - + //{Val2} name=ID | '(' Addition2 ')' public Alternatives getAlternatives() { return cAlternatives; } - + //{Val2} name=ID public Group getGroup_0() { return cGroup_0; } - + //{Val2} public Action getVal2Action_0_0() { return cVal2Action_0_0; } - + //name=ID public Assignment getNameAssignment_0_1() { return cNameAssignment_0_1; } - + //ID public RuleCall getNameIDTerminalRuleCall_0_1_0() { return cNameIDTerminalRuleCall_0_1_0; } - + //'(' Addition2 ')' public Group getGroup_1() { return cGroup_1; } - + //'(' public Keyword getLeftParenthesisKeyword_1_0() { return cLeftParenthesisKeyword_1_0; } - + //Addition2 public RuleCall getAddition2ParserRuleCall_1_1() { return cAddition2ParserRuleCall_1_1; } - + //')' public Keyword getRightParenthesisKeyword_1_2() { return cRightParenthesisKeyword_1_2; } } - public class DatatypeIDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.DatatypeID"); private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); @@ -533,11 +527,10 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //DatatypeID: // ID; @Override public ParserRule getRule() { return rule; } - + //ID public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } } - public class SingleCrossReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.SingleCrossReference"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -571,87 +564,86 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar // "#5" name=(TERMINAL_ID | ID) ("kw1" ref1=[SingleCrossReference|TERMINAL_ID])? ("kw2" // ref2=[SingleCrossReference|DatatypeID])? ("kw3" ref3=[SingleCrossReference])? ("kw4" ref4=[SingleCrossReference])?; @Override public ParserRule getRule() { return rule; } - + //"#5" name=(TERMINAL_ID | ID) ("kw1" ref1=[SingleCrossReference|TERMINAL_ID])? ("kw2" //ref2=[SingleCrossReference|DatatypeID])? ("kw3" ref3=[SingleCrossReference])? ("kw4" ref4=[SingleCrossReference])? public Group getGroup() { return cGroup; } - + //"#5" public Keyword getNumberSignDigitFiveKeyword_0() { return cNumberSignDigitFiveKeyword_0; } - + //name=(TERMINAL_ID | ID) public Assignment getNameAssignment_1() { return cNameAssignment_1; } - + //(TERMINAL_ID | ID) public Alternatives getNameAlternatives_1_0() { return cNameAlternatives_1_0; } - + //TERMINAL_ID public RuleCall getNameTERMINAL_IDTerminalRuleCall_1_0_0() { return cNameTERMINAL_IDTerminalRuleCall_1_0_0; } - + //ID public RuleCall getNameIDTerminalRuleCall_1_0_1() { return cNameIDTerminalRuleCall_1_0_1; } - + //("kw1" ref1=[SingleCrossReference|TERMINAL_ID])? public Group getGroup_2() { return cGroup_2; } - + //"kw1" public Keyword getKw1Keyword_2_0() { return cKw1Keyword_2_0; } - + //ref1=[SingleCrossReference|TERMINAL_ID] public Assignment getRef1Assignment_2_1() { return cRef1Assignment_2_1; } - + //[SingleCrossReference|TERMINAL_ID] public CrossReference getRef1SingleCrossReferenceCrossReference_2_1_0() { return cRef1SingleCrossReferenceCrossReference_2_1_0; } - + //TERMINAL_ID public RuleCall getRef1SingleCrossReferenceTERMINAL_IDTerminalRuleCall_2_1_0_1() { return cRef1SingleCrossReferenceTERMINAL_IDTerminalRuleCall_2_1_0_1; } - + //("kw2" ref2=[SingleCrossReference|DatatypeID])? public Group getGroup_3() { return cGroup_3; } - + //"kw2" public Keyword getKw2Keyword_3_0() { return cKw2Keyword_3_0; } - + //ref2=[SingleCrossReference|DatatypeID] public Assignment getRef2Assignment_3_1() { return cRef2Assignment_3_1; } - + //[SingleCrossReference|DatatypeID] public CrossReference getRef2SingleCrossReferenceCrossReference_3_1_0() { return cRef2SingleCrossReferenceCrossReference_3_1_0; } - + //DatatypeID public RuleCall getRef2SingleCrossReferenceDatatypeIDParserRuleCall_3_1_0_1() { return cRef2SingleCrossReferenceDatatypeIDParserRuleCall_3_1_0_1; } - + //("kw3" ref3=[SingleCrossReference])? public Group getGroup_4() { return cGroup_4; } - + //"kw3" public Keyword getKw3Keyword_4_0() { return cKw3Keyword_4_0; } - + //ref3=[SingleCrossReference] public Assignment getRef3Assignment_4_1() { return cRef3Assignment_4_1; } - + //[SingleCrossReference] public CrossReference getRef3SingleCrossReferenceCrossReference_4_1_0() { return cRef3SingleCrossReferenceCrossReference_4_1_0; } - + //ID public RuleCall getRef3SingleCrossReferenceIDTerminalRuleCall_4_1_0_1() { return cRef3SingleCrossReferenceIDTerminalRuleCall_4_1_0_1; } - + //("kw4" ref4=[SingleCrossReference])? public Group getGroup_5() { return cGroup_5; } - + //"kw4" public Keyword getKw4Keyword_5_0() { return cKw4Keyword_5_0; } - + //ref4=[SingleCrossReference] public Assignment getRef4Assignment_5_1() { return cRef4Assignment_5_1; } - + //[SingleCrossReference] public CrossReference getRef4SingleCrossReferenceCrossReference_5_1_0() { return cRef4SingleCrossReferenceCrossReference_5_1_0; } - + //ID public RuleCall getRef4SingleCrossReferenceIDTerminalRuleCall_5_1_0_1() { return cRef4SingleCrossReferenceIDTerminalRuleCall_5_1_0_1; } } - public class BooleanAlternativeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternative"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -662,20 +654,19 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //BooleanAlternative: // "#6" bool=BooleanAlternativeLiteral; @Override public ParserRule getRule() { return rule; } - + //"#6" bool=BooleanAlternativeLiteral public Group getGroup() { return cGroup; } - + //"#6" public Keyword getNumberSignDigitSixKeyword_0() { return cNumberSignDigitSixKeyword_0; } - + //bool=BooleanAlternativeLiteral public Assignment getBoolAssignment_1() { return cBoolAssignment_1; } - + //BooleanAlternativeLiteral public RuleCall getBoolBooleanAlternativeLiteralParserRuleCall_1_0() { return cBoolBooleanAlternativeLiteralParserRuleCall_1_0; } } - public class BooleanAlternativeLiteralElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanAlternativeLiteral"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -688,26 +679,25 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //BooleanAlternativeLiteral: // {BooleanAlternativeLiteral} ("kw1" | isTrue?="kw2"); @Override public ParserRule getRule() { return rule; } - + //{BooleanAlternativeLiteral} ("kw1" | isTrue?="kw2") public Group getGroup() { return cGroup; } - + //{BooleanAlternativeLiteral} public Action getBooleanAlternativeLiteralAction_0() { return cBooleanAlternativeLiteralAction_0; } - + //("kw1" | isTrue?="kw2") public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //"kw1" public Keyword getKw1Keyword_1_0() { return cKw1Keyword_1_0; } - + //isTrue?="kw2" public Assignment getIsTrueAssignment_1_1() { return cIsTrueAssignment_1_1; } - + //"kw2" public Keyword getIsTrueKw2Keyword_1_1_0() { return cIsTrueKw2Keyword_1_1_0; } } - public class UnassignedDatatypeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.UnassignedDatatype"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -719,23 +709,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //UnassignedDatatype: // "#7" val=ID KW1; @Override public ParserRule getRule() { return rule; } - + //"#7" val=ID KW1 public Group getGroup() { return cGroup; } - + //"#7" public Keyword getNumberSignDigitSevenKeyword_0() { return cNumberSignDigitSevenKeyword_0; } - + //val=ID public Assignment getValAssignment_1() { return cValAssignment_1; } - + //ID public RuleCall getValIDTerminalRuleCall_1_0() { return cValIDTerminalRuleCall_1_0; } - + //KW1 public RuleCall getKW1ParserRuleCall_2() { return cKW1ParserRuleCall_2; } } - public class KW1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.KW1"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); @@ -747,23 +736,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //KW1: // "kw1" | "matched" INT?; @Override public ParserRule getRule() { return rule; } - + //"kw1" | "matched" INT? public Alternatives getAlternatives() { return cAlternatives; } - + //"kw1" public Keyword getKw1Keyword_0() { return cKw1Keyword_0; } - + //"matched" INT? public Group getGroup_1() { return cGroup_1; } - + //"matched" public Keyword getMatchedKeyword_1_0() { return cMatchedKeyword_1_0; } - + //INT? public RuleCall getINTTerminalRuleCall_1_1() { return cINTTerminalRuleCall_1_1; } } - public class OptionalSingleTransitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalSingleTransition"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -775,23 +763,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //OptionalSingleTransition: // "#8" KW1? val=ID; @Override public ParserRule getRule() { return rule; } - + //"#8" KW1? val=ID public Group getGroup() { return cGroup; } - + //"#8" public Keyword getNumberSignDigitEightKeyword_0() { return cNumberSignDigitEightKeyword_0; } - + //KW1? public RuleCall getKW1ParserRuleCall_1() { return cKW1ParserRuleCall_1; } - + //val=ID public Assignment getValAssignment_2() { return cValAssignment_2; } - + //ID public RuleCall getValIDTerminalRuleCall_2_0() { return cValIDTerminalRuleCall_2_0; } } - public class OptionalManyTransitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.OptionalManyTransition"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -803,23 +790,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //OptionalManyTransition: // "#9" KW1* val=ID; @Override public ParserRule getRule() { return rule; } - + //"#9" KW1* val=ID public Group getGroup() { return cGroup; } - + //"#9" public Keyword getNumberSignDigitNineKeyword_0() { return cNumberSignDigitNineKeyword_0; } - + //KW1* public RuleCall getKW1ParserRuleCall_1() { return cKW1ParserRuleCall_1; } - + //val=ID public Assignment getValAssignment_2() { return cValAssignment_2; } - + //ID public RuleCall getValIDTerminalRuleCall_2_0() { return cValIDTerminalRuleCall_2_0; } } - public class MandatoryManyTransitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.MandatoryManyTransition"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -831,23 +817,22 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //MandatoryManyTransition: // "#10" KW1+ val=ID; @Override public ParserRule getRule() { return rule; } - + //"#10" KW1+ val=ID public Group getGroup() { return cGroup; } - + //"#10" public Keyword getNumberSignDigitOneDigitZeroKeyword_0() { return cNumberSignDigitOneDigitZeroKeyword_0; } - + //KW1+ public RuleCall getKW1ParserRuleCall_1() { return cKW1ParserRuleCall_1; } - + //val=ID public Assignment getValAssignment_2() { return cValAssignment_2; } - + //ID public RuleCall getValIDTerminalRuleCall_2_0() { return cValIDTerminalRuleCall_2_0; } } - public class AlternativeTransitionElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.AlternativeTransition"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -861,29 +846,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //AlternativeTransition: // "#11" (KW1 | "kw2") val=ID; @Override public ParserRule getRule() { return rule; } - + //"#11" (KW1 | "kw2") val=ID public Group getGroup() { return cGroup; } - + //"#11" public Keyword getNumberSignDigitOneDigitOneKeyword_0() { return cNumberSignDigitOneDigitOneKeyword_0; } - + //(KW1 | "kw2") public Alternatives getAlternatives_1() { return cAlternatives_1; } - + //KW1 public RuleCall getKW1ParserRuleCall_1_0() { return cKW1ParserRuleCall_1_0; } - + //"kw2" public Keyword getKw2Keyword_1_1() { return cKw2Keyword_1_1; } - + //val=ID public Assignment getValAssignment_2() { return cValAssignment_2; } - + //ID public RuleCall getValIDTerminalRuleCall_2_0() { return cValIDTerminalRuleCall_2_0; } } - public class BooleanDatatypeIDElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanDatatypeID"); private final RuleCall cIDTerminalRuleCall = (RuleCall)rule.eContents().get(1); @@ -891,11 +875,10 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //BooleanDatatypeID: // ID; @Override public ParserRule getRule() { return rule; } - + //ID public RuleCall getIDTerminalRuleCall() { return cIDTerminalRuleCall; } } - public class BooleanValuesElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.BooleanValues"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -911,35 +894,34 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //BooleanValues: // {BooleanValues} "#12" val1?="kw1"? val2?=BOOLEAN_TERMINAL_ID? val3?=BooleanDatatypeID?; @Override public ParserRule getRule() { return rule; } - + //{BooleanValues} "#12" val1?="kw1"? val2?=BOOLEAN_TERMINAL_ID? val3?=BooleanDatatypeID? public Group getGroup() { return cGroup; } - + //{BooleanValues} public Action getBooleanValuesAction_0() { return cBooleanValuesAction_0; } - + //"#12" public Keyword getNumberSignDigitOneDigitTwoKeyword_1() { return cNumberSignDigitOneDigitTwoKeyword_1; } - + //val1?="kw1"? public Assignment getVal1Assignment_2() { return cVal1Assignment_2; } - + //"kw1" public Keyword getVal1Kw1Keyword_2_0() { return cVal1Kw1Keyword_2_0; } - + //val2?=BOOLEAN_TERMINAL_ID? public Assignment getVal2Assignment_3() { return cVal2Assignment_3; } - + //BOOLEAN_TERMINAL_ID public RuleCall getVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0() { return cVal2BOOLEAN_TERMINAL_IDTerminalRuleCall_3_0; } - + //val3?=BooleanDatatypeID? public Assignment getVal3Assignment_4() { return cVal3Assignment_4; } - + //BooleanDatatypeID public RuleCall getVal3BooleanDatatypeIDParserRuleCall_4_0() { return cVal3BooleanDatatypeIDParserRuleCall_4_0; } } - public class LongAlternativeElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.LongAlternative"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -992,124 +974,123 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar // "kw8" val8+=ID?)* // '!'; @Override public ParserRule getRule() { return rule; } - + //'#13' foo=ID ("kw1" val1+=ID? | "kw2" val2+=ID? | "kw3" val3+=ID? | "kw4" val4+=ID? | "kw5" val5+=ID? | "kw6" val6+=ID? //| "kw7" val7+=ID? | "kw8" val8+=ID?)* '!' public Group getGroup() { return cGroup; } - + //'#13' public Keyword getNumberSignDigitOneDigitThreeKeyword_0() { return cNumberSignDigitOneDigitThreeKeyword_0; } - + //foo=ID public Assignment getFooAssignment_1() { return cFooAssignment_1; } - + //ID public RuleCall getFooIDTerminalRuleCall_1_0() { return cFooIDTerminalRuleCall_1_0; } - + //("kw1" val1+=ID? | "kw2" val2+=ID? | "kw3" val3+=ID? | "kw4" val4+=ID? | "kw5" val5+=ID? | "kw6" val6+=ID? | "kw7" //val7+=ID? | "kw8" val8+=ID?)* public Alternatives getAlternatives_2() { return cAlternatives_2; } - + //"kw1" val1+=ID? public Group getGroup_2_0() { return cGroup_2_0; } - + //"kw1" public Keyword getKw1Keyword_2_0_0() { return cKw1Keyword_2_0_0; } - + //val1+=ID? public Assignment getVal1Assignment_2_0_1() { return cVal1Assignment_2_0_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_2_0_1_0() { return cVal1IDTerminalRuleCall_2_0_1_0; } - + //"kw2" val2+=ID? public Group getGroup_2_1() { return cGroup_2_1; } - + //"kw2" public Keyword getKw2Keyword_2_1_0() { return cKw2Keyword_2_1_0; } - + //val2+=ID? public Assignment getVal2Assignment_2_1_1() { return cVal2Assignment_2_1_1; } - + //ID public RuleCall getVal2IDTerminalRuleCall_2_1_1_0() { return cVal2IDTerminalRuleCall_2_1_1_0; } - + //"kw3" val3+=ID? public Group getGroup_2_2() { return cGroup_2_2; } - + //"kw3" public Keyword getKw3Keyword_2_2_0() { return cKw3Keyword_2_2_0; } - + //val3+=ID? public Assignment getVal3Assignment_2_2_1() { return cVal3Assignment_2_2_1; } - + //ID public RuleCall getVal3IDTerminalRuleCall_2_2_1_0() { return cVal3IDTerminalRuleCall_2_2_1_0; } - + //"kw4" val4+=ID? public Group getGroup_2_3() { return cGroup_2_3; } - + //"kw4" public Keyword getKw4Keyword_2_3_0() { return cKw4Keyword_2_3_0; } - + //val4+=ID? public Assignment getVal4Assignment_2_3_1() { return cVal4Assignment_2_3_1; } - + //ID public RuleCall getVal4IDTerminalRuleCall_2_3_1_0() { return cVal4IDTerminalRuleCall_2_3_1_0; } - + //"kw5" val5+=ID? public Group getGroup_2_4() { return cGroup_2_4; } - + //"kw5" public Keyword getKw5Keyword_2_4_0() { return cKw5Keyword_2_4_0; } - + //val5+=ID? public Assignment getVal5Assignment_2_4_1() { return cVal5Assignment_2_4_1; } - + //ID public RuleCall getVal5IDTerminalRuleCall_2_4_1_0() { return cVal5IDTerminalRuleCall_2_4_1_0; } - + //"kw6" val6+=ID? public Group getGroup_2_5() { return cGroup_2_5; } - + //"kw6" public Keyword getKw6Keyword_2_5_0() { return cKw6Keyword_2_5_0; } - + //val6+=ID? public Assignment getVal6Assignment_2_5_1() { return cVal6Assignment_2_5_1; } - + //ID public RuleCall getVal6IDTerminalRuleCall_2_5_1_0() { return cVal6IDTerminalRuleCall_2_5_1_0; } - + //"kw7" val7+=ID? public Group getGroup_2_6() { return cGroup_2_6; } - + //"kw7" public Keyword getKw7Keyword_2_6_0() { return cKw7Keyword_2_6_0; } - + //val7+=ID? public Assignment getVal7Assignment_2_6_1() { return cVal7Assignment_2_6_1; } - + //ID public RuleCall getVal7IDTerminalRuleCall_2_6_1_0() { return cVal7IDTerminalRuleCall_2_6_1_0; } - + //"kw8" val8+=ID? public Group getGroup_2_7() { return cGroup_2_7; } - + //"kw8" public Keyword getKw8Keyword_2_7_0() { return cKw8Keyword_2_7_0; } - + //val8+=ID? public Assignment getVal8Assignment_2_7_1() { return cVal8Assignment_2_7_1; } - + //ID public RuleCall getVal8IDTerminalRuleCall_2_7_1_0() { return cVal8IDTerminalRuleCall_2_7_1_0; } - + //'!' public Keyword getExclamationMarkKeyword_3() { return cExclamationMarkKeyword_3; } } - public class ActionOnlyElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.ActionOnly"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1123,29 +1104,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //ActionOnly: // "#14" "kw1"? => ID? {ActionOnly} "kw2"? ID?; @Override public ParserRule getRule() { return rule; } - + //"#14" "kw1"? => ID? {ActionOnly} "kw2"? ID? public Group getGroup() { return cGroup; } - + //"#14" public Keyword getNumberSignDigitOneDigitFourKeyword_0() { return cNumberSignDigitOneDigitFourKeyword_0; } - + //"kw1"? public Keyword getKw1Keyword_1() { return cKw1Keyword_1; } - + //=> ID? public RuleCall getIDTerminalRuleCall_2() { return cIDTerminalRuleCall_2; } - + //{ActionOnly} public Action getActionOnlyAction_3() { return cActionOnlyAction_3; } - + //"kw2"? public Keyword getKw2Keyword_4() { return cKw2Keyword_4; } - + //ID? public RuleCall getIDTerminalRuleCall_5() { return cIDTerminalRuleCall_5; } } - public class FragmentCallerElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.FragmentCaller"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -1159,29 +1139,28 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //FragmentCaller FragmentCallerType: // "#15" val1=ID Fragment1 val=ID @Override public ParserRule getRule() { return rule; } - + //"#15" val1=ID Fragment1 val=ID public Group getGroup() { return cGroup; } - + //"#15" public Keyword getNumberSignDigitOneDigitFiveKeyword_0() { return cNumberSignDigitOneDigitFiveKeyword_0; } - + //val1=ID public Assignment getVal1Assignment_1() { return cVal1Assignment_1; } - + //ID public RuleCall getVal1IDTerminalRuleCall_1_0() { return cVal1IDTerminalRuleCall_1_0; } - + //Fragment1 public RuleCall getFragment1ParserRuleCall_2() { return cFragment1ParserRuleCall_2; } - + //val=ID public Assignment getValAssignment_3() { return cValAssignment_3; } - + //ID public RuleCall getValIDTerminalRuleCall_3_0() { return cValIDTerminalRuleCall_3_0; } } - public class Fragment1Elements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.SyntacticSequencerTestLanguage.Fragment1"); private final Assignment cFragValAssignment = (Assignment)rule.eContents().get(1); @@ -1190,10 +1169,10 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar //fragment Fragment1 returns FragmentCallerType: // fragVal=ID; @Override public ParserRule getRule() { return rule; } - + //fragVal=ID public Assignment getFragValAssignment() { return cFragValAssignment; } - + //ID public RuleCall getFragValIDTerminalRuleCall_0() { return cFragValIDTerminalRuleCall_0; } } @@ -1231,12 +1210,12 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar private final Fragment1Elements pFragment1; private final Grammar grammar; - + private final TerminalsGrammarAccess gaTerminals; @Inject public SyntacticSequencerTestLanguageGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); @@ -1292,7 +1271,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar return grammar; } - + public TerminalsGrammarAccess getTerminalsGrammarAccess() { return gaTerminals; } @@ -1309,7 +1288,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getModelRule() { return getModelAccess().getRule(); } - + //MandatoryKeywords: // "#1" val1=ID "kw1" val2=ID "kw2" "kw3" val3=ID "kw4"; public MandatoryKeywordsElements getMandatoryKeywordsAccess() { @@ -1319,7 +1298,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getMandatoryKeywordsRule() { return getMandatoryKeywordsAccess().getRule(); } - + //Exp0: // "#2" Addition0; public Exp0Elements getExp0Access() { @@ -1329,7 +1308,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getExp0Rule() { return getExp0Access().getRule(); } - + //Addition0 Exp0: // Prim0 ({Add0.left=current} '+' right=Prim0)* public Addition0Elements getAddition0Access() { @@ -1339,7 +1318,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getAddition0Rule() { return getAddition0Access().getRule(); } - + //Prim0 Exp0: // {Val0} name=ID public Prim0Elements getPrim0Access() { @@ -1349,7 +1328,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getPrim0Rule() { return getPrim0Access().getRule(); } - + //Exp1: // "#3" Addition1; public Exp1Elements getExp1Access() { @@ -1359,7 +1338,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getExp1Rule() { return getExp1Access().getRule(); } - + //Addition1 Exp1: // Prim1 ({Add1.left=current} '+' right=Prim1)* public Addition1Elements getAddition1Access() { @@ -1369,7 +1348,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getAddition1Rule() { return getAddition1Access().getRule(); } - + //Prim1 Exp1: // {Val1} name=ID | '(' Addition1 ')' public Prim1Elements getPrim1Access() { @@ -1379,7 +1358,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getPrim1Rule() { return getPrim1Access().getRule(); } - + //Exp2: // "#4" Addition2; public Exp2Elements getExp2Access() { @@ -1389,7 +1368,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getExp2Rule() { return getExp2Access().getRule(); } - + //Addition2 Exp2: // Multiplication2 ({Add2.left=current} '+' right=Multiplication2)* public Addition2Elements getAddition2Access() { @@ -1399,7 +1378,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getAddition2Rule() { return getAddition2Access().getRule(); } - + //Multiplication2 Exp2: // Prim2 ({Mult2.left=current} '*' right=Prim2)* public Multiplication2Elements getMultiplication2Access() { @@ -1409,7 +1388,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getMultiplication2Rule() { return getMultiplication2Access().getRule(); } - + //Prim2 Exp2: // {Val2} name=ID | '(' Addition2 ')' public Prim2Elements getPrim2Access() { @@ -1419,13 +1398,13 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getPrim2Rule() { return getPrim2Access().getRule(); } - + //terminal TERMINAL_ID: // '$1' ID; public TerminalRule getTERMINAL_IDRule() { return tTERMINAL_ID; - } - + } + //DatatypeID: // ID; public DatatypeIDElements getDatatypeIDAccess() { @@ -1435,7 +1414,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getDatatypeIDRule() { return getDatatypeIDAccess().getRule(); } - + //SingleCrossReference: // "#5" name=(TERMINAL_ID | ID) ("kw1" ref1=[SingleCrossReference|TERMINAL_ID])? ("kw2" // ref2=[SingleCrossReference|DatatypeID])? ("kw3" ref3=[SingleCrossReference])? ("kw4" ref4=[SingleCrossReference])?; @@ -1446,7 +1425,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getSingleCrossReferenceRule() { return getSingleCrossReferenceAccess().getRule(); } - + //BooleanAlternative: // "#6" bool=BooleanAlternativeLiteral; public BooleanAlternativeElements getBooleanAlternativeAccess() { @@ -1456,7 +1435,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getBooleanAlternativeRule() { return getBooleanAlternativeAccess().getRule(); } - + //BooleanAlternativeLiteral: // {BooleanAlternativeLiteral} ("kw1" | isTrue?="kw2"); public BooleanAlternativeLiteralElements getBooleanAlternativeLiteralAccess() { @@ -1466,7 +1445,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getBooleanAlternativeLiteralRule() { return getBooleanAlternativeLiteralAccess().getRule(); } - + //UnassignedDatatype: // "#7" val=ID KW1; public UnassignedDatatypeElements getUnassignedDatatypeAccess() { @@ -1476,7 +1455,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getUnassignedDatatypeRule() { return getUnassignedDatatypeAccess().getRule(); } - + //KW1: // "kw1" | "matched" INT?; public KW1Elements getKW1Access() { @@ -1486,7 +1465,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getKW1Rule() { return getKW1Access().getRule(); } - + //OptionalSingleTransition: // "#8" KW1? val=ID; public OptionalSingleTransitionElements getOptionalSingleTransitionAccess() { @@ -1496,7 +1475,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getOptionalSingleTransitionRule() { return getOptionalSingleTransitionAccess().getRule(); } - + //OptionalManyTransition: // "#9" KW1* val=ID; public OptionalManyTransitionElements getOptionalManyTransitionAccess() { @@ -1506,7 +1485,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getOptionalManyTransitionRule() { return getOptionalManyTransitionAccess().getRule(); } - + //MandatoryManyTransition: // "#10" KW1+ val=ID; public MandatoryManyTransitionElements getMandatoryManyTransitionAccess() { @@ -1516,7 +1495,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getMandatoryManyTransitionRule() { return getMandatoryManyTransitionAccess().getRule(); } - + //AlternativeTransition: // "#11" (KW1 | "kw2") val=ID; public AlternativeTransitionElements getAlternativeTransitionAccess() { @@ -1526,13 +1505,13 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getAlternativeTransitionRule() { return getAlternativeTransitionAccess().getRule(); } - + //terminal BOOLEAN_TERMINAL_ID: // '%1' ID; public TerminalRule getBOOLEAN_TERMINAL_IDRule() { return tBOOLEAN_TERMINAL_ID; - } - + } + //BooleanDatatypeID: // ID; public BooleanDatatypeIDElements getBooleanDatatypeIDAccess() { @@ -1542,7 +1521,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getBooleanDatatypeIDRule() { return getBooleanDatatypeIDAccess().getRule(); } - + //BooleanValues: // {BooleanValues} "#12" val1?="kw1"? val2?=BOOLEAN_TERMINAL_ID? val3?=BooleanDatatypeID?; public BooleanValuesElements getBooleanValuesAccess() { @@ -1552,7 +1531,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getBooleanValuesRule() { return getBooleanValuesAccess().getRule(); } - + //LongAlternative: // '#13' foo=ID ("kw1" val1+=ID? | // "kw2" val2+=ID? | @@ -1570,7 +1549,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getLongAlternativeRule() { return getLongAlternativeAccess().getRule(); } - + //ActionOnly: // "#14" "kw1"? => ID? {ActionOnly} "kw2"? ID?; public ActionOnlyElements getActionOnlyAccess() { @@ -1580,7 +1559,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getActionOnlyRule() { return getActionOnlyAccess().getRule(); } - + //FragmentCaller FragmentCallerType: // "#15" val1=ID Fragment1 val=ID public FragmentCallerElements getFragmentCallerAccess() { @@ -1590,7 +1569,7 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getFragmentCallerRule() { return getFragmentCallerAccess().getRule(); } - + //fragment Fragment1 returns FragmentCallerType: // fragVal=ID; public Fragment1Elements getFragment1Access() { @@ -1600,47 +1579,47 @@ public class SyntacticSequencerTestLanguageGrammarAccess extends AbstractGrammar public ParserRule getFragment1Rule() { return getFragment1Access().getRule(); } - + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { return gaTerminals.getIDRule(); - } - + } + //terminal INT returns ecore::EInt: // '0'..'9'+; public TerminalRule getINTRule() { return gaTerminals.getINTRule(); - } - + } + //terminal STRING: // '"' ('\\' . | !('\\' | '"'))* '"' | // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { return gaTerminals.getSTRINGRule(); - } - + } + //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { return gaTerminals.getML_COMMENTRule(); - } - + } + //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { return gaTerminals.getSL_COMMENTRule(); - } - + } + //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { return gaTerminals.getWSRule(); - } - + } + //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { return gaTerminals.getANY_OTHERRule(); - } + } } diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/ActionOnly.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/ActionOnly.java index 6e11d33f1..80afed049 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/ActionOnly.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/ActionOnly.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add0.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add0.java index 6a88ee212..301b9887e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add0.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add0.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add1.java index 36a198f1a..1e532fb05 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add2.java index 158487e74..86023556c 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Add2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/AlternativeTransition.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/AlternativeTransition.java index f2758d7b9..b1fcd5a5e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/AlternativeTransition.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/AlternativeTransition.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternative.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternative.java index d66dd5580..94d6c9f65 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternative.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternative.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternativeLiteral.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternativeLiteral.java index c58f879a8..9f0f2fe47 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternativeLiteral.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanAlternativeLiteral.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanValues.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanValues.java index d752e3687..9ba89a3a5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanValues.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/BooleanValues.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp0.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp0.java index cd15a09a8..b82bb00d4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp0.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp0.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp1.java index c2ea39dd3..cfed2f5cb 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp2.java index 86d93c770..9d4936c5f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Exp2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/FragmentCallerType.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/FragmentCallerType.java index dba0a5cba..244700ef4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/FragmentCallerType.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/FragmentCallerType.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/LongAlternative.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/LongAlternative.java index 532bbb7da..97d3b1210 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/LongAlternative.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/LongAlternative.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryKeywords.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryKeywords.java index 976e2ef21..1e806dcda 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryKeywords.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryKeywords.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryManyTransition.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryManyTransition.java index 18a9e1525..e7cd659b5 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryManyTransition.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/MandatoryManyTransition.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Model.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Model.java index 11261cc53..94a70e56e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Model.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Model.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Mult2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Mult2.java index 2bacc20b5..ad0654981 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Mult2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Mult2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalManyTransition.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalManyTransition.java index 741de1472..1141e36af 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalManyTransition.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalManyTransition.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalSingleTransition.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalSingleTransition.java index 922572ea0..328ffcbef 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalSingleTransition.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/OptionalSingleTransition.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SingleCrossReference.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SingleCrossReference.java index 4d7a06f7c..5065d262f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SingleCrossReference.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SingleCrossReference.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestFactory.java index f3a6bcb58..5559f4c3f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestPackage.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestPackage.java index 56f8b4304..8bb3d33c9 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestPackage.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/SyntacticsequencertestPackage.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/UnassignedDatatype.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/UnassignedDatatype.java index 6d3ef7919..4c99a0ec4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/UnassignedDatatype.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/UnassignedDatatype.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val0.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val0.java index c526a14f0..7d81f9410 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val0.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val0.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val1.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val1.java index 8f7d409d4..a6b45f8f4 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val1.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val1.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val2.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val2.java index 9fbb89b24..accc55d16 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val2.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/Val2.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ActionOnlyImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ActionOnlyImpl.java index b08940fed..d69d8aed3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ActionOnlyImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ActionOnlyImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add0Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add0Impl.java index 6f1c2fce7..8d8673053 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add0Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add0Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add1Impl.java index 6ba518915..f414e64a1 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add2Impl.java index cef372117..f236d5703 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Add2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/AlternativeTransitionImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/AlternativeTransitionImpl.java index 441970869..16e7e9e06 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/AlternativeTransitionImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/AlternativeTransitionImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeImpl.java index 402aca783..1d3643b89 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeLiteralImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeLiteralImpl.java index 3178804da..92899f09d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeLiteralImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanAlternativeLiteralImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanValuesImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanValuesImpl.java index b57967a11..7db93a783 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanValuesImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/BooleanValuesImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp0Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp0Impl.java index bfe0adabb..ff073c111 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp0Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp0Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp1Impl.java index 7a3a51d12..04014e704 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp2Impl.java index 9ebf6f5d2..a1af4c3d6 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Exp2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/FragmentCallerTypeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/FragmentCallerTypeImpl.java index d996236bb..819628864 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/FragmentCallerTypeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/FragmentCallerTypeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/LongAlternativeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/LongAlternativeImpl.java index f2bd20a24..0dafa1c4d 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/LongAlternativeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/LongAlternativeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryKeywordsImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryKeywordsImpl.java index 7d893fc05..a8845c6a2 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryKeywordsImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryKeywordsImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryManyTransitionImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryManyTransitionImpl.java index 9fd6259e4..70fee6d28 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryManyTransitionImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/MandatoryManyTransitionImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ModelImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ModelImpl.java index 505edc0cd..69fb2f458 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ModelImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/ModelImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Mult2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Mult2Impl.java index 1bfe92d72..33f68f594 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Mult2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Mult2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalManyTransitionImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalManyTransitionImpl.java index 02c8e0ae7..dd39448a3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalManyTransitionImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalManyTransitionImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalSingleTransitionImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalSingleTransitionImpl.java index 42dfb9b40..2c0b570e7 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalSingleTransitionImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/OptionalSingleTransitionImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SingleCrossReferenceImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SingleCrossReferenceImpl.java index 1ec834d4f..6ad2ae0dd 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SingleCrossReferenceImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SingleCrossReferenceImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestFactoryImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestFactoryImpl.java index 4936d1f0c..0c38c2835 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestFactoryImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestFactoryImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestPackageImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestPackageImpl.java index 1ea81ffc8..93e15d49b 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestPackageImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/SyntacticsequencertestPackageImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; @@ -6,7 +7,6 @@ import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; @@ -261,9 +261,6 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S isInited = true; - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - // Create package meta-data objects theSyntacticsequencertestPackage.createPackageContents(); @@ -1238,9 +1235,6 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); - // Obtain other dependent packages - EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); - // Create type parameters // Set bounds for type parameters @@ -1273,9 +1267,9 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S initEReference(getModel_X15(), this.getFragmentCallerType(), null, "x15", null, 0, 1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mandatoryKeywordsEClass, MandatoryKeywords.class, "MandatoryKeywords", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMandatoryKeywords_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMandatoryKeywords_Val2(), theEcorePackage.getEString(), "val2", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMandatoryKeywords_Val3(), theEcorePackage.getEString(), "val3", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMandatoryKeywords_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMandatoryKeywords_Val2(), ecorePackage.getEString(), "val2", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMandatoryKeywords_Val3(), ecorePackage.getEString(), "val3", null, 0, 1, MandatoryKeywords.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(exp0EClass, Exp0.class, "Exp0", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -1284,7 +1278,7 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S initEClass(exp2EClass, Exp2.class, "Exp2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(singleCrossReferenceEClass, SingleCrossReference.class, "SingleCrossReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSingleCrossReference_Name(), theEcorePackage.getEString(), "name", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSingleCrossReference_Name(), ecorePackage.getEString(), "name", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSingleCrossReference_Ref1(), this.getSingleCrossReference(), null, "ref1", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSingleCrossReference_Ref2(), this.getSingleCrossReference(), null, "ref2", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSingleCrossReference_Ref3(), this.getSingleCrossReference(), null, "ref3", null, 0, 1, SingleCrossReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -1294,59 +1288,59 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S initEReference(getBooleanAlternative_Bool(), this.getBooleanAlternativeLiteral(), null, "bool", null, 0, 1, BooleanAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(booleanAlternativeLiteralEClass, BooleanAlternativeLiteral.class, "BooleanAlternativeLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBooleanAlternativeLiteral_IsTrue(), theEcorePackage.getEBoolean(), "isTrue", null, 0, 1, BooleanAlternativeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBooleanAlternativeLiteral_IsTrue(), ecorePackage.getEBoolean(), "isTrue", null, 0, 1, BooleanAlternativeLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(unassignedDatatypeEClass, UnassignedDatatype.class, "UnassignedDatatype", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getUnassignedDatatype_Val(), theEcorePackage.getEString(), "val", null, 0, 1, UnassignedDatatype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getUnassignedDatatype_Val(), ecorePackage.getEString(), "val", null, 0, 1, UnassignedDatatype.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(optionalSingleTransitionEClass, OptionalSingleTransition.class, "OptionalSingleTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOptionalSingleTransition_Val(), theEcorePackage.getEString(), "val", null, 0, 1, OptionalSingleTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptionalSingleTransition_Val(), ecorePackage.getEString(), "val", null, 0, 1, OptionalSingleTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(optionalManyTransitionEClass, OptionalManyTransition.class, "OptionalManyTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOptionalManyTransition_Val(), theEcorePackage.getEString(), "val", null, 0, 1, OptionalManyTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getOptionalManyTransition_Val(), ecorePackage.getEString(), "val", null, 0, 1, OptionalManyTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mandatoryManyTransitionEClass, MandatoryManyTransition.class, "MandatoryManyTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMandatoryManyTransition_Val(), theEcorePackage.getEString(), "val", null, 0, 1, MandatoryManyTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMandatoryManyTransition_Val(), ecorePackage.getEString(), "val", null, 0, 1, MandatoryManyTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(alternativeTransitionEClass, AlternativeTransition.class, "AlternativeTransition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getAlternativeTransition_Val(), theEcorePackage.getEString(), "val", null, 0, 1, AlternativeTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAlternativeTransition_Val(), ecorePackage.getEString(), "val", null, 0, 1, AlternativeTransition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(booleanValuesEClass, BooleanValues.class, "BooleanValues", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBooleanValues_Val1(), theEcorePackage.getEBoolean(), "val1", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBooleanValues_Val2(), theEcorePackage.getEBoolean(), "val2", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBooleanValues_Val3(), theEcorePackage.getEBoolean(), "val3", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBooleanValues_Val1(), ecorePackage.getEBoolean(), "val1", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBooleanValues_Val2(), ecorePackage.getEBoolean(), "val2", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getBooleanValues_Val3(), ecorePackage.getEBoolean(), "val3", null, 0, 1, BooleanValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(longAlternativeEClass, LongAlternative.class, "LongAlternative", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getLongAlternative_Foo(), theEcorePackage.getEString(), "foo", null, 0, 1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val1(), theEcorePackage.getEString(), "val1", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val2(), theEcorePackage.getEString(), "val2", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val3(), theEcorePackage.getEString(), "val3", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val4(), theEcorePackage.getEString(), "val4", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val5(), theEcorePackage.getEString(), "val5", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val6(), theEcorePackage.getEString(), "val6", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val7(), theEcorePackage.getEString(), "val7", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getLongAlternative_Val8(), theEcorePackage.getEString(), "val8", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Foo(), ecorePackage.getEString(), "foo", null, 0, 1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val1(), ecorePackage.getEString(), "val1", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val2(), ecorePackage.getEString(), "val2", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val3(), ecorePackage.getEString(), "val3", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val4(), ecorePackage.getEString(), "val4", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val5(), ecorePackage.getEString(), "val5", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val6(), ecorePackage.getEString(), "val6", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val7(), ecorePackage.getEString(), "val7", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLongAlternative_Val8(), ecorePackage.getEString(), "val8", null, 0, -1, LongAlternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(actionOnlyEClass, ActionOnly.class, "ActionOnly", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(fragmentCallerTypeEClass, FragmentCallerType.class, "FragmentCallerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFragmentCallerType_Val1(), theEcorePackage.getEString(), "val1", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFragmentCallerType_Val(), theEcorePackage.getEString(), "val", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFragmentCallerType_FragVal(), theEcorePackage.getEString(), "fragVal", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_Val1(), ecorePackage.getEString(), "val1", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_Val(), ecorePackage.getEString(), "val", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFragmentCallerType_FragVal(), ecorePackage.getEString(), "fragVal", null, 0, 1, FragmentCallerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(add0EClass, Add0.class, "Add0", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAdd0_Left(), this.getExp0(), null, "left", null, 0, 1, Add0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAdd0_Right(), this.getExp0(), null, "right", null, 0, 1, Add0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(val0EClass, Val0.class, "Val0", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVal0_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Val0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVal0_Name(), ecorePackage.getEString(), "name", null, 0, 1, Val0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(add1EClass, Add1.class, "Add1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAdd1_Left(), this.getExp1(), null, "left", null, 0, 1, Add1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAdd1_Right(), this.getExp1(), null, "right", null, 0, 1, Add1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(val1EClass, Val1.class, "Val1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVal1_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Val1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVal1_Name(), ecorePackage.getEString(), "name", null, 0, 1, Val1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(add2EClass, Add2.class, "Add2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAdd2_Left(), this.getExp2(), null, "left", null, 0, 1, Add2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -1357,7 +1351,7 @@ public class SyntacticsequencertestPackageImpl extends EPackageImpl implements S initEReference(getMult2_Right(), this.getExp2(), null, "right", null, 0, 1, Mult2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(val2EClass, Val2.class, "Val2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVal2_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Val2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVal2_Name(), ecorePackage.getEString(), "name", null, 0, 1, Val2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/UnassignedDatatypeImpl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/UnassignedDatatypeImpl.java index 152f94618..61741d7a3 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/UnassignedDatatypeImpl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/UnassignedDatatypeImpl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val0Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val0Impl.java index afe63909e..c418c977e 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val0Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val0Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val1Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val1Impl.java index b0d9ba63b..b0ee5404f 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val1Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val1Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val2Impl.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val2Impl.java index ff00ddb4d..8df5695a8 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val2Impl.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/impl/Val2Impl.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.impl; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestAdapterFactory.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestAdapterFactory.java index a11918fa3..8ee2b5227 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestAdapterFactory.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestAdapterFactory.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.util; diff --git a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestSwitch.java b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestSwitch.java index 170e80f7f..a61d688ee 100644 --- a/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestSwitch.java +++ b/org.eclipse.xtext.tests/src-gen/org/eclipse/xtext/serializer/syntacticsequencertest/util/SyntacticsequencertestSwitch.java @@ -1,4 +1,5 @@ /** + * generated by Xtext */ package org.eclipse.xtext.serializer.syntacticsequencertest.util;