diff options
author | Nicolas FAUVERGUE | 2018-06-26 15:08:29 +0000 |
---|---|---|
committer | vincent lorenzo | 2018-06-29 13:58:42 +0000 |
commit | 315737aa71b8280cdf7e527631ab80fd2525f1f3 (patch) | |
tree | 9af0b7682296473f282cb988f2728861b172aa7f /plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui | |
parent | 12c4c7fdc7e8e9dd4324fb23cc11c897d2dc8b10 (diff) | |
download | org.eclipse.papyrus-315737aa71b8280cdf7e527631ab80fd2525f1f3.tar.gz org.eclipse.papyrus-315737aa71b8280cdf7e527631ab80fd2525f1f3.tar.xz org.eclipse.papyrus-315737aa71b8280cdf7e527631ab80fd2525f1f3.zip |
Bug 536425: [Xtext] All Papyrus Xtext plugins must be regenerated
Change-Id: I5855fe718bec8ae29f58dafe1a8a8f57860c97ec
Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui')
9 files changed, 3337 insertions, 3484 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/META-INF/MANIFEST.MF b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/META-INF/MANIFEST.MF index e5b1e94e958..40271f0f387 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/META-INF/MANIFEST.MF +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/META-INF/MANIFEST.MF @@ -13,10 +13,14 @@ Require-Bundle: org.eclipse.xtext.ui.shared;bundle-version="[2.10.0,3.0.0)", org.apache.log4j;bundle-version="[1.2.0,2.0.0)", org.eclipse.papyrus.uml.xtext.integration.ui;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, org.eclipse.papyrus.uml.tools;bundle-version="[4.0.0,5.0.0)", - org.eclipse.papyrus.uml.textedit.valuespecification.xtext.utils;bundle-version="[1.2.0,2.0.0)" + org.eclipse.papyrus.uml.textedit.valuespecification.xtext.utils;bundle-version="[1.4.0,2.0.0)", + org.eclipse.papyrus.uml.textedit.valuespecification.xtext;bundle-version="[1.4.0,2.0.0)", + org.eclipse.xtext.ui, + org.eclipse.ui.editors, + org.eclipse.ui Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy -Bundle-Version: 2.0.100.qualifier +Bundle-Version: 2.1.0.qualifier Bundle-Name: %pluginName Bundle-Localization: plugin Bundle-ManifestVersion: 2 diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/pom.xml b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/pom.xml index 58fcf79f83c..8f93eeef6fe 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/pom.xml +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/pom.xml @@ -7,6 +7,6 @@ <version>0.0.1-SNAPSHOT</version> </parent> <artifactId>org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui</artifactId> - <version>2.0.100-SNAPSHOT</version> + <version>2.1.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project>
\ No newline at end of file diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/AbstractUmlValueSpecificationUiModule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/AbstractUmlValueSpecificationUiModule.java index 1c3f489b73e..773a16d5d7b 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/AbstractUmlValueSpecificationUiModule.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/AbstractUmlValueSpecificationUiModule.java @@ -11,12 +11,12 @@ import org.eclipse.ui.plugin.AbstractUIPlugin; */ @SuppressWarnings("all") public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse.xtext.ui.DefaultUiModule { - + public AbstractUmlValueSpecificationUiModule(AbstractUIPlugin plugin) { super(plugin); } - - + + // contributed by org.eclipse.xtext.ui.generator.ImplicitUiFragment public com.google.inject.Provider<org.eclipse.xtext.resource.containers.IAllContainersState> provideIAllContainersState() { return org.eclipse.xtext.ui.shared.Access.getJavaProjectsState(); @@ -29,7 +29,8 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment public void configureHighlightingLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)).to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.parser.antlr.internal.InternalUmlValueSpecificationLexer.class); + binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.HIGHLIGHTING)) + .to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.parser.antlr.internal.InternalUmlValueSpecificationLexer.class); } // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment @@ -49,7 +50,8 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)) + .to(org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware.class); } // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment @@ -58,8 +60,14 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. } // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment + public Class<? extends org.eclipse.xtext.generator.IContextualOutputConfigurationProvider> bindIContextualOutputConfigurationProvider() { + return org.eclipse.xtext.builder.EclipseOutputConfigurationProvider.class; + } + + // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment public void configureIResourceDescriptionsPersisted(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to(org.eclipse.xtext.builder.builderState.IBuilderState.class); + binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)) + .to(org.eclipse.xtext.builder.builderState.IBuilderState.class); } // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment @@ -79,7 +87,8 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment public void configureBuilderPreferenceStoreInitializer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")).to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); + binder.bind(org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreInitializer.class).annotatedWith(com.google.inject.name.Names.named("builderPreferenceInitializer")) + .to(org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess.Initializer.class); } // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment @@ -89,7 +98,8 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. // contributed by org.eclipse.xtext.ui.generator.labeling.LabelProviderFragment public void configureResourceUIServiceLabelProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class).to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.labeling.UmlValueSpecificationDescriptionLabelProvider.class); + binder.bind(org.eclipse.jface.viewers.ILabelProvider.class).annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class) + .to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.labeling.UmlValueSpecificationDescriptionLabelProvider.class); } // contributed by org.eclipse.xtext.ui.generator.outline.OutlineTreeProviderFragment @@ -124,12 +134,14 @@ public abstract class AbstractUmlValueSpecificationUiModule extends org.eclipse. // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment public void configureContentAssistLexerProvider(com.google.inject.Binder binder) { - binder.bind(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class).toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class)); + binder.bind(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class) + .toProvider(org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class)); } // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrUiGeneratorFragment public void configureContentAssistLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)).to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class); + binder.bind(org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.ui.LexerUIBindings.CONTENT_ASSIST)) + .to(org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationLexer.class); } diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/UmlValueSpecificationExecutableExtensionFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/UmlValueSpecificationExecutableExtensionFactory.java index a87a6e3ac4d..7a09af5857e 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/UmlValueSpecificationExecutableExtensionFactory.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/UmlValueSpecificationExecutableExtensionFactory.java @@ -3,16 +3,15 @@ */ package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui; +import org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.internal.UmlValueSpecificationActivator; import org.eclipse.xtext.ui.guice.AbstractGuiceAwareExecutableExtensionFactory; import org.osgi.framework.Bundle; import com.google.inject.Injector; -import org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.internal.UmlValueSpecificationActivator; - /** * This class was generated. Customizations should only happen in a newly - * introduced subclass. + * introduced subclass. */ public class UmlValueSpecificationExecutableExtensionFactory extends AbstractGuiceAwareExecutableExtensionFactory { @@ -20,10 +19,10 @@ public class UmlValueSpecificationExecutableExtensionFactory extends AbstractGui protected Bundle getBundle() { return UmlValueSpecificationActivator.getInstance().getBundle(); } - + @Override protected Injector getInjector() { return UmlValueSpecificationActivator.getInstance().getInjector(UmlValueSpecificationActivator.ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_VALUESPECIFICATION_XTEXT_UMLVALUESPECIFICATION); } - + } diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/AbstractUmlValueSpecificationProposalProvider.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/AbstractUmlValueSpecificationProposalProvider.java index be32a0e774b..9acb9975e82 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/AbstractUmlValueSpecificationProposalProvider.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/AbstractUmlValueSpecificationProposalProvider.java @@ -4,103 +4,131 @@ package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist; import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.*; -import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; +import org.eclipse.xtext.Alternatives; +import org.eclipse.xtext.Assignment; +import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; +import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; /** * Represents a generated, default implementation of superclass {@link org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider}. - * Methods are dynamically dispatched on the first parameter, i.e., you can override them - * with a more concrete subtype. + * Methods are dynamically dispatched on the first parameter, i.e., you can override them + * with a more concrete subtype. */ @SuppressWarnings("all") public class AbstractUmlValueSpecificationProposalProvider extends org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider { - + public void completeAbstractRule_Visibility(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); } + public void completeAbstractRule_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); } + public void completeAbstractRule_InstanceSpecification(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - lookupCrossReference(((CrossReference)assignment.getTerminal()), context, acceptor); + lookupCrossReference(((CrossReference) assignment.getTerminal()), context, acceptor); } + public void completeAbstractRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(0)), context, acceptor); - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(1)), context, acceptor); - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(2)), context, acceptor); - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(3)), context, acceptor); - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(4)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(0)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(1)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(2)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(3)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(4)), context, acceptor); } + public void completeAbstractRule_Undefined(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); } + public void completeLiteralBooleanRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override // subclasses may override } + public void completeLiteralIntegerOrUnlimitedNaturalRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(0)), context, acceptor); - completeRuleCall(((RuleCall)((Alternatives)assignment.getTerminal()).getElements().get(1)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(0)), context, acceptor); + completeRuleCall(((RuleCall) ((Alternatives) assignment.getTerminal()).getElements().get(1)), context, acceptor); } + public void completeLiteralIntegerOrUnlimitedNaturalRule_Unlimited(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeLiteralRealRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); } + public void completeLiteralNullRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeLiteralStringRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { - completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); + completeRuleCall(((RuleCall) assignment.getTerminal()), context, acceptor); } + public void completeUndefinedRule_Value(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeVisibilityKind_Public(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeVisibilityKind_Private(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeVisibilityKind_Protected(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeVisibilityKind_Package(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } - + public void complete_AbstractRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_LiteralBooleanRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_LiteralIntegerOrUnlimitedNaturalRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_LiteralRealRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_LiteralNullRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_LiteralStringRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_UndefinedRule(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_VisibilityKind(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_VALUE_SPECIFICATION_ID(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_VALUE_SPECIFICATION_NEGATIVE_INT(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_VALUE_SPECIFICATION_DOUBLE(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/UmlValueSpecificationParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/UmlValueSpecificationParser.java index 415e267b58c..7db0688223a 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/UmlValueSpecificationParser.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/UmlValueSpecificationParser.java @@ -4,10 +4,11 @@ package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr; import java.util.Collection; -import java.util.Map; import java.util.HashMap; +import java.util.Map; import org.antlr.runtime.RecognitionException; +import org.eclipse.papyrus.uml.textedit.valuespecification.xtext.services.UmlValueSpecificationGrammarAccess; import org.eclipse.xtext.AbstractElement; import org.eclipse.xtext.ui.editor.contentassist.antlr.AbstractContentAssistParser; import org.eclipse.xtext.ui.editor.contentassist.antlr.FollowElement; @@ -15,22 +16,21 @@ import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternal import com.google.inject.Inject; -import org.eclipse.papyrus.uml.textedit.valuespecification.xtext.services.UmlValueSpecificationGrammarAccess; - public class UmlValueSpecificationParser extends AbstractContentAssistParser { - + @Inject private UmlValueSpecificationGrammarAccess grammarAccess; - + private Map<AbstractElement, String> nameMappings; - + @Override protected org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser createParser() { - org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser result = new org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser(null); + org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser result = new org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser( + null); result.setGrammarAccess(grammarAccess); return result; } - + @Override protected String getRuleName(AbstractElement element) { if (nameMappings == null) { @@ -65,27 +65,27 @@ public class UmlValueSpecificationParser extends AbstractContentAssistParser { } return nameMappings.get(element); } - + @Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser typedParser = (org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal.InternalUmlValueSpecificationParser) parser; typedParser.entryRuleAbstractRule(); return typedParser.getFollowElements(); - } catch(RecognitionException ex) { + } catch (RecognitionException ex) { throw new RuntimeException(ex); - } + } } - + @Override protected String[] getInitialHiddenTokens() { return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; } - + public UmlValueSpecificationGrammarAccess getGrammarAccess() { return this.grammarAccess; } - + public void setGrammarAccess(UmlValueSpecificationGrammarAccess grammarAccess) { this.grammarAccess = grammarAccess; } diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationLexer.java index 3f9935ced8c..7c2d483d684 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationLexer.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationLexer.java @@ -1,1307 +1,1293 @@ package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal; +import org.antlr.runtime.BaseRecognizer; +import org.antlr.runtime.CharStream; +import org.antlr.runtime.DFA; +import org.antlr.runtime.EarlyExitException; +import org.antlr.runtime.IntStream; +import org.antlr.runtime.MismatchedSetException; +import org.antlr.runtime.NoViableAltException; +import org.antlr.runtime.RecognitionException; +import org.antlr.runtime.RecognizerSharedState; // Hack: Use our own Lexer superclass by means of import. // Currently there is no other way to specify the superclass for the lexer. import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - @SuppressWarnings("all") public class InternalUmlValueSpecificationLexer extends Lexer { - public static final int RULE_ID=7; - public static final int RULE_VALUE_SPECIFICATION_DOUBLE=8; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=13; - public static final int T__21=21; - public static final int T__20=20; - public static final int EOF=-1; - public static final int RULE_SL_COMMENT=11; - public static final int RULE_ML_COMMENT=10; - public static final int T__19=19; - public static final int RULE_STRING=9; - public static final int T__16=16; - public static final int T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__14=14; - public static final int RULE_INT=4; - public static final int RULE_VALUE_SPECIFICATION_ID=6; - public static final int RULE_WS=12; - public static final int RULE_VALUE_SPECIFICATION_NEGATIVE_INT=5; - - // delegates - // delegators - - public InternalUmlValueSpecificationLexer() {;} - public InternalUmlValueSpecificationLexer(CharStream input) { - this(input, new RecognizerSharedState()); - } - public InternalUmlValueSpecificationLexer(CharStream input, RecognizerSharedState state) { - super(input,state); - - } - public String getGrammarFileName() { return "../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g"; } - - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { - try { - int _type = T__14; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:11:7: ( 'true' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:11:9: 'true' - { - match("true"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__14" - - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { - try { - int _type = T__15; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:12:7: ( 'false' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:12:9: 'false' - { - match("false"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__15" - - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { - try { - int _type = T__16; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:13:7: ( '*' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:13:9: '*' - { - match('*'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__16" - - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { - try { - int _type = T__17; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:14:7: ( 'null' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:14:9: 'null' - { - match("null"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__17" - - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { - try { - int _type = T__18; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:15:7: ( '<Undefined>' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:15:9: '<Undefined>' - { - match("<Undefined>"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__18" - - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { - try { - int _type = T__19; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:16:7: ( '+' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:16:9: '+' - { - match('+'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__19" - - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { - try { - int _type = T__20; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:17:7: ( '-' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:17:9: '-' - { - match('-'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__20" - - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { - try { - int _type = T__21; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:18:7: ( '#' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:18:9: '#' - { - match('#'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__21" - - // $ANTLR start "T__22" - public final void mT__22() throws RecognitionException { - try { - int _type = T__22; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:19:7: ( '~' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:19:9: '~' - { - match('~'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__22" - - // $ANTLR start "RULE_VALUE_SPECIFICATION_ID" - public final void mRULE_VALUE_SPECIFICATION_ID() throws RecognitionException { - try { - int _type = RULE_VALUE_SPECIFICATION_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:855:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* '=' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:855:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* '=' - { - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:855:55: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='-'||(LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { - alt1=1; - } - - - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g: - { - if ( input.LA(1)=='-'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop1; - } - } while (true); - - match('='); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_VALUE_SPECIFICATION_ID" - - // $ANTLR start "RULE_VALUE_SPECIFICATION_NEGATIVE_INT" - public final void mRULE_VALUE_SPECIFICATION_NEGATIVE_INT() throws RecognitionException { - try { - int _type = RULE_VALUE_SPECIFICATION_NEGATIVE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:857:39: ( '-' RULE_INT ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:857:41: '-' RULE_INT - { - match('-'); - mRULE_INT(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_VALUE_SPECIFICATION_NEGATIVE_INT" - - // $ANTLR start "RULE_VALUE_SPECIFICATION_DOUBLE" - public final void mRULE_VALUE_SPECIFICATION_DOUBLE() throws RecognitionException { - try { - int _type = RULE_VALUE_SPECIFICATION_DOUBLE; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:33: ( ( '-' )? ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:35: ( '-' )? ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:35: ( '-' )? - int alt2=2; - int LA2_0 = input.LA(1); - - if ( (LA2_0=='-') ) { - alt2=1; - } - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:35: '-' - { - match('-'); - - } - break; - - } - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:40: ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) - int alt3=3; - alt3 = dfa3.predict(input); - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:41: RULE_INT ( '.' | ',' ) RULE_INT - { - mRULE_INT(); - if ( input.LA(1)==','||input.LA(1)=='.' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - mRULE_INT(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:69: RULE_INT ( '.' | ',' ) - { - mRULE_INT(); - if ( input.LA(1)==','||input.LA(1)=='.' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - case 3 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:859:88: ( '.' | ',' ) RULE_INT - { - if ( input.LA(1)==','||input.LA(1)=='.' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - mRULE_INT(); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_VALUE_SPECIFICATION_DOUBLE" - - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:861:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:861:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:861:11: ( '^' )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='^') ) { - alt4=1; - } - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:861:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:861:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop5: - do { - int alt5=2; - int LA5_0 = input.LA(1); - - if ( ((LA5_0>='0' && LA5_0<='9')||(LA5_0>='A' && LA5_0<='Z')||LA5_0=='_'||(LA5_0>='a' && LA5_0<='z')) ) { - alt5=1; - } - - - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop5; - } - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ID" - - // $ANTLR start "RULE_INT" - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:863:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:863:12: ( '0' .. '9' )+ - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:863:12: ( '0' .. '9' )+ - int cnt6=0; - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( ((LA6_0>='0' && LA6_0<='9')) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:863:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt6 >= 1 ) break loop6; - EarlyExitException eee = - new EarlyExitException(6, input); - throw eee; - } - cnt6++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_INT" - - // $ANTLR start "RULE_STRING" - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='\"') ) { - alt9=1; - } - else if ( (LA9_0=='\'') ) { - alt9=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - switch (alt9) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop7: - do { - int alt7=3; - int LA7_0 = input.LA(1); - - if ( (LA7_0=='\\') ) { - alt7=1; - } - else if ( ((LA7_0>='\u0000' && LA7_0<='!')||(LA7_0>='#' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { - alt7=2; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:21: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:28: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop7; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop8: - do { - int alt8=3; - int LA8_0 = input.LA(1); - - if ( (LA8_0=='\\') ) { - alt8=1; - } - else if ( ((LA8_0>='\u0000' && LA8_0<='&')||(LA8_0>='(' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFF')) ) { - alt8=2; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:54: '\\\\' . - { - match('\\'); - matchAny(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:865:61: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop8; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_STRING" - - // $ANTLR start "RULE_ML_COMMENT" - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:867:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:867:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:867:24: ( options {greedy=false; } : . )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0=='*') ) { - int LA10_1 = input.LA(2); - - if ( (LA10_1=='/') ) { - alt10=2; - } - else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) { - alt10=1; - } - - - } - else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:867:52: . - { - matchAny(); - - } - break; - - default : - break loop10; - } - } while (true); - - match("*/"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ML_COMMENT" - - // $ANTLR start "RULE_SL_COMMENT" - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>='\u0000' && LA11_0<='\t')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\uFFFF')) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869: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(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - break loop11; - } - } while (true); - - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:40: ( ( '\\r' )? '\\n' )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0=='\n'||LA13_0=='\r') ) { - alt13=1; - } - switch (alt13) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:41: ( '\\r' )? - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0=='\r') ) { - alt12=1; - } - switch (alt12) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:869:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_SL_COMMENT" - - // $ANTLR start "RULE_WS" - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:871:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt14=0; - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = new MismatchedSetException(null,input); - recover(mse); - throw mse;} - - - } - break; - - default : - if ( cnt14 >= 1 ) break loop14; - EarlyExitException eee = - new EarlyExitException(14, input); - throw eee; - } - cnt14++; - } while (true); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_WS" - - // $ANTLR start "RULE_ANY_OTHER" - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:873:16: ( . ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:873:18: . - { - matchAny(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "RULE_ANY_OTHER" - - public void mTokens() throws RecognitionException { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:8: ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_VALUE_SPECIFICATION_ID | RULE_VALUE_SPECIFICATION_NEGATIVE_INT | RULE_VALUE_SPECIFICATION_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt15=19; - alt15 = dfa15.predict(input); - switch (alt15) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:10: T__14 - { - mT__14(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:16: T__15 - { - mT__15(); - - } - break; - case 3 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:22: T__16 - { - mT__16(); - - } - break; - case 4 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:28: T__17 - { - mT__17(); - - } - break; - case 5 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:34: T__18 - { - mT__18(); - - } - break; - case 6 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:40: T__19 - { - mT__19(); - - } - break; - case 7 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:46: T__20 - { - mT__20(); - - } - break; - case 8 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:52: T__21 - { - mT__21(); - - } - break; - case 9 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:58: T__22 - { - mT__22(); - - } - break; - case 10 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:64: RULE_VALUE_SPECIFICATION_ID - { - mRULE_VALUE_SPECIFICATION_ID(); - - } - break; - case 11 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:92: RULE_VALUE_SPECIFICATION_NEGATIVE_INT - { - mRULE_VALUE_SPECIFICATION_NEGATIVE_INT(); - - } - break; - case 12 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:130: RULE_VALUE_SPECIFICATION_DOUBLE - { - mRULE_VALUE_SPECIFICATION_DOUBLE(); - - } - break; - case 13 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:162: RULE_ID - { - mRULE_ID(); - - } - break; - case 14 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:170: RULE_INT - { - mRULE_INT(); - - } - break; - case 15 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:179: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 16 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:191: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 17 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:207: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 18 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:223: RULE_WS - { - mRULE_WS(); - - } - break; - case 19 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:1:231: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA3 dfa3 = new DFA3(this); - protected DFA15 dfa15 = new DFA15(this); - static final String DFA3_eotS = - "\3\uffff\1\4\2\uffff"; - static final String DFA3_eofS = - "\6\uffff"; - static final String DFA3_minS = - "\2\54\1\uffff\1\60\2\uffff"; - static final String DFA3_maxS = - "\2\71\1\uffff\1\71\2\uffff"; - static final String DFA3_acceptS = - "\2\uffff\1\3\1\uffff\1\2\1\1"; - static final String DFA3_specialS = - "\6\uffff}>"; - static final String[] DFA3_transitionS = { - "\1\2\1\uffff\1\2\1\uffff\12\1", - "\1\3\1\uffff\1\3\1\uffff\12\1", - "", - "\12\5", - "", - "" - }; - - static final short[] DFA3_eot = DFA.unpackEncodedString(DFA3_eotS); - static final short[] DFA3_eof = DFA.unpackEncodedString(DFA3_eofS); - static final char[] DFA3_min = DFA.unpackEncodedStringToUnsignedChars(DFA3_minS); - static final char[] DFA3_max = DFA.unpackEncodedStringToUnsignedChars(DFA3_maxS); - static final short[] DFA3_accept = DFA.unpackEncodedString(DFA3_acceptS); - static final short[] DFA3_special = DFA.unpackEncodedString(DFA3_specialS); - static final short[][] DFA3_transition; - - static { - int numStates = DFA3_transitionS.length; - DFA3_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA3_transition[i] = DFA.unpackEncodedString(DFA3_transitionS[i]); - } - } - - class DFA3 extends DFA { - - public DFA3(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 3; - this.eot = DFA3_eot; - this.eof = DFA3_eof; - this.min = DFA3_min; - this.max = DFA3_max; - this.accept = DFA3_accept; - this.special = DFA3_special; - this.transition = DFA3_transition; - } - public String getDescription() { - return "859:40: ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT )"; - } - } - static final String DFA15_eotS = - "\1\uffff\2\26\1\uffff\1\26\1\22\1\uffff\1\36\2\uffff\1\26\1\41"+ - "\5\22\2\uffff\2\26\2\uffff\1\26\1\uffff\1\26\2\uffff\1\52\5\uffff"+ - "\1\41\4\uffff\3\26\1\uffff\1\56\1\26\1\60\1\uffff\1\61\2\uffff"; - static final String DFA15_eofS = - "\62\uffff"; - static final String DFA15_minS = - "\1\0\2\55\1\uffff\1\55\1\125\1\uffff\1\54\2\uffff\1\55\1\54\1\60"+ - "\1\101\2\0\1\52\2\uffff\2\55\2\uffff\1\55\1\uffff\1\55\2\uffff\1"+ - "\54\5\uffff\1\54\4\uffff\3\55\1\uffff\3\55\1\uffff\1\55\2\uffff"; - static final String DFA15_maxS = - "\1\uffff\2\172\1\uffff\1\172\1\125\1\uffff\1\71\2\uffff\1\172\2"+ - "\71\1\172\2\uffff\1\57\2\uffff\2\172\2\uffff\1\172\1\uffff\1\172"+ - "\2\uffff\1\71\5\uffff\1\71\4\uffff\3\172\1\uffff\3\172\1\uffff\1"+ - "\172\2\uffff"; - static final String DFA15_acceptS = - "\3\uffff\1\3\2\uffff\1\6\1\uffff\1\10\1\11\7\uffff\1\22\1\23\2"+ - "\uffff\1\12\1\15\1\uffff\1\3\1\uffff\1\5\1\6\1\uffff\1\14\1\7\1"+ - "\10\1\11\1\16\1\uffff\1\17\1\20\1\21\1\22\3\uffff\1\13\3\uffff\1"+ - "\1\1\uffff\1\4\1\2"; - static final String DFA15_specialS = - "\1\1\15\uffff\1\0\1\2\42\uffff}>"; - static final String[] DFA15_transitionS = { - "\11\22\2\21\2\22\1\21\22\22\1\21\1\22\1\16\1\10\3\22\1\17\2"+ - "\22\1\3\1\6\1\14\1\7\1\14\1\20\12\13\2\22\1\5\4\22\32\12\3\22"+ - "\1\15\1\12\1\22\5\12\1\2\7\12\1\4\5\12\1\1\6\12\3\22\1\11\uff81"+ - "\22", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\21\24\1\23\10\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\1\27\31\24", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\24\24\1\31\5\24", - "\1\32", - "", - "\1\35\1\uffff\1\35\1\uffff\12\34", - "", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\32\24", - "\1\35\1\uffff\1\35\1\uffff\12\42", - "\12\35", - "\32\26\4\uffff\1\26\1\uffff\32\26", - "\0\43", - "\0\43", - "\1\44\4\uffff\1\45", - "", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\24\24\1\47\5\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\32\24", - "", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\13\24\1\50\16\24", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\13\24\1\51\16\24", - "", - "", - "\1\35\1\uffff\1\35\1\uffff\12\34", - "", - "", - "", - "", - "", - "\1\35\1\uffff\1\35\1\uffff\12\42", - "", - "", - "", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\4\24\1\53\25\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\22\24\1\54\7\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\13\24\1\55\16\24", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\32\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\4\24\1\57\25\24", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\32\24", - "", - "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24"+ - "\1\uffff\32\24", - "", - "" - }; - - static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS); - static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS); - static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS); - static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS); - static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS); - static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS); - static final short[][] DFA15_transition; - - static { - int numStates = DFA15_transitionS.length; - DFA15_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]); - } - } - - class DFA15 extends DFA { - - public DFA15(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 15; - this.eot = DFA15_eot; - this.eof = DFA15_eof; - this.min = DFA15_min; - this.max = DFA15_max; - this.accept = DFA15_accept; - this.special = DFA15_special; - this.transition = DFA15_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_VALUE_SPECIFICATION_ID | RULE_VALUE_SPECIFICATION_NEGATIVE_INT | RULE_VALUE_SPECIFICATION_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { - IntStream input = _input; - int _s = s; - switch ( s ) { - case 0 : - int LA15_14 = input.LA(1); - - s = -1; - if ( ((LA15_14>='\u0000' && LA15_14<='\uFFFF')) ) {s = 35;} - - else s = 18; - - if ( s>=0 ) return s; - break; - case 1 : - int LA15_0 = input.LA(1); - - s = -1; - if ( (LA15_0=='t') ) {s = 1;} - - else if ( (LA15_0=='f') ) {s = 2;} - - else if ( (LA15_0=='*') ) {s = 3;} - - else if ( (LA15_0=='n') ) {s = 4;} - - else if ( (LA15_0=='<') ) {s = 5;} - - else if ( (LA15_0=='+') ) {s = 6;} - - else if ( (LA15_0=='-') ) {s = 7;} - - else if ( (LA15_0=='#') ) {s = 8;} - - else if ( (LA15_0=='~') ) {s = 9;} - - else if ( ((LA15_0>='A' && LA15_0<='Z')||LA15_0=='_'||(LA15_0>='a' && LA15_0<='e')||(LA15_0>='g' && LA15_0<='m')||(LA15_0>='o' && LA15_0<='s')||(LA15_0>='u' && LA15_0<='z')) ) {s = 10;} - - else if ( ((LA15_0>='0' && LA15_0<='9')) ) {s = 11;} - - else if ( (LA15_0==','||LA15_0=='.') ) {s = 12;} - - else if ( (LA15_0=='^') ) {s = 13;} - - else if ( (LA15_0=='\"') ) {s = 14;} - - else if ( (LA15_0=='\'') ) {s = 15;} - - else if ( (LA15_0=='/') ) {s = 16;} - - else if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) {s = 17;} - - else if ( ((LA15_0>='\u0000' && LA15_0<='\b')||(LA15_0>='\u000B' && LA15_0<='\f')||(LA15_0>='\u000E' && LA15_0<='\u001F')||LA15_0=='!'||(LA15_0>='$' && LA15_0<='&')||(LA15_0>='(' && LA15_0<=')')||(LA15_0>=':' && LA15_0<=';')||(LA15_0>='=' && LA15_0<='@')||(LA15_0>='[' && LA15_0<=']')||LA15_0=='`'||(LA15_0>='{' && LA15_0<='}')||(LA15_0>='\u007F' && LA15_0<='\uFFFF')) ) {s = 18;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA15_15 = input.LA(1); - - s = -1; - if ( ((LA15_15>='\u0000' && LA15_15<='\uFFFF')) ) {s = 35;} - - else s = 18; + public static final int RULE_VALUE_SPECIFICATION_NEGATIVE_INT = 5; + public static final int RULE_STRING = 9; + public static final int RULE_VALUE_SPECIFICATION_DOUBLE = 8; + public static final int RULE_VALUE_SPECIFICATION_ID = 6; + public static final int RULE_SL_COMMENT = 11; + public static final int T__19 = 19; + public static final int T__15 = 15; + public static final int T__16 = 16; + public static final int T__17 = 17; + public static final int T__18 = 18; + public static final int T__14 = 14; + public static final int EOF = -1; + public static final int RULE_ID = 7; + public static final int RULE_WS = 12; + public static final int RULE_ANY_OTHER = 13; + public static final int RULE_INT = 4; + public static final int T__22 = 22; + public static final int RULE_ML_COMMENT = 10; + public static final int T__20 = 20; + public static final int T__21 = 21; + + // delegates + // delegators + + public InternalUmlValueSpecificationLexer() { + ; + } + + public InternalUmlValueSpecificationLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + + public InternalUmlValueSpecificationLexer(CharStream input, RecognizerSharedState state) { + super(input, state); + + } + + public String getGrammarFileName() { + return "InternalUmlValueSpecification.g"; + } + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:11:7: ( 'true' ) + // InternalUmlValueSpecification.g:11:9: 'true' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:12:7: ( 'false' ) + // InternalUmlValueSpecification.g:12:9: 'false' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:13:7: ( '*' ) + // InternalUmlValueSpecification.g:13:9: '*' + { + match('*'); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:14:7: ( 'null' ) + // InternalUmlValueSpecification.g:14:9: 'null' + { + match("null"); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:15:7: ( '<Undefined>' ) + // InternalUmlValueSpecification.g:15:9: '<Undefined>' + { + match("<Undefined>"); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:16:7: ( '+' ) + // InternalUmlValueSpecification.g:16:9: '+' + { + match('+'); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:17:7: ( '-' ) + // InternalUmlValueSpecification.g:17:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:18:7: ( '#' ) + // InternalUmlValueSpecification.g:18:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:19:7: ( '~' ) + // InternalUmlValueSpecification.g:19:9: '~' + { + match('~'); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "RULE_VALUE_SPECIFICATION_ID" + public final void mRULE_VALUE_SPECIFICATION_ID() throws RecognitionException { + try { + int _type = RULE_VALUE_SPECIFICATION_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:855:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* '=' ) + // InternalUmlValueSpecification.g:855:31: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* '=' + { + if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + // InternalUmlValueSpecification.g:855:55: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '-' | '0' .. '9' )* + loop1: do { + int alt1 = 2; + int LA1_0 = input.LA(1); + + if ((LA1_0 == '-' || (LA1_0 >= '0' && LA1_0 <= '9') || (LA1_0 >= 'A' && LA1_0 <= 'Z') || LA1_0 == '_' || (LA1_0 >= 'a' && LA1_0 <= 'z'))) { + alt1 = 1; + } + + + switch (alt1) { + case 1: + // InternalUmlValueSpecification.g: + { + if (input.LA(1) == '-' || (input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + break loop1; + } + } while (true); + + match('='); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_VALUE_SPECIFICATION_ID" + + // $ANTLR start "RULE_VALUE_SPECIFICATION_NEGATIVE_INT" + public final void mRULE_VALUE_SPECIFICATION_NEGATIVE_INT() throws RecognitionException { + try { + int _type = RULE_VALUE_SPECIFICATION_NEGATIVE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:857:39: ( '-' RULE_INT ) + // InternalUmlValueSpecification.g:857:41: '-' RULE_INT + { + match('-'); + mRULE_INT(); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_VALUE_SPECIFICATION_NEGATIVE_INT" + + // $ANTLR start "RULE_VALUE_SPECIFICATION_DOUBLE" + public final void mRULE_VALUE_SPECIFICATION_DOUBLE() throws RecognitionException { + try { + int _type = RULE_VALUE_SPECIFICATION_DOUBLE; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:859:33: ( ( '-' )? ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) ) + // InternalUmlValueSpecification.g:859:35: ( '-' )? ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) + { + // InternalUmlValueSpecification.g:859:35: ( '-' )? + int alt2 = 2; + int LA2_0 = input.LA(1); + + if ((LA2_0 == '-')) { + alt2 = 1; + } + switch (alt2) { + case 1: + // InternalUmlValueSpecification.g:859:35: '-' + { + match('-'); + + } + break; + + } + + // InternalUmlValueSpecification.g:859:40: ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT ) + int alt3 = 3; + alt3 = dfa3.predict(input); + switch (alt3) { + case 1: + // InternalUmlValueSpecification.g:859:41: RULE_INT ( '.' | ',' ) RULE_INT + { + mRULE_INT(); + if (input.LA(1) == ',' || input.LA(1) == '.') { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + mRULE_INT(); + + } + break; + case 2: + // InternalUmlValueSpecification.g:859:69: RULE_INT ( '.' | ',' ) + { + mRULE_INT(); + if (input.LA(1) == ',' || input.LA(1) == '.') { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + case 3: + // InternalUmlValueSpecification.g:859:88: ( '.' | ',' ) RULE_INT + { + if (input.LA(1) == ',' || input.LA(1) == '.') { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + mRULE_INT(); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_VALUE_SPECIFICATION_DOUBLE" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:861:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalUmlValueSpecification.g:861:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalUmlValueSpecification.g:861:11: ( '^' )? + int alt4 = 2; + int LA4_0 = input.LA(1); + + if ((LA4_0 == '^')) { + alt4 = 1; + } + switch (alt4) { + case 1: + // InternalUmlValueSpecification.g:861:11: '^' + { + match('^'); + + } + break; + + } + + if ((input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + // InternalUmlValueSpecification.g:861:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop5: do { + int alt5 = 2; + int LA5_0 = input.LA(1); + + if (((LA5_0 >= '0' && LA5_0 <= '9') || (LA5_0 >= 'A' && LA5_0 <= 'Z') || LA5_0 == '_' || (LA5_0 >= 'a' && LA5_0 <= 'z'))) { + alt5 = 1; + } + + + switch (alt5) { + case 1: + // InternalUmlValueSpecification.g: + { + if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'Z') || input.LA(1) == '_' || (input.LA(1) >= 'a' && input.LA(1) <= 'z')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + break loop5; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:863:10: ( ( '0' .. '9' )+ ) + // InternalUmlValueSpecification.g:863:12: ( '0' .. '9' )+ + { + // InternalUmlValueSpecification.g:863:12: ( '0' .. '9' )+ + int cnt6 = 0; + loop6: do { + int alt6 = 2; + int LA6_0 = input.LA(1); + + if (((LA6_0 >= '0' && LA6_0 <= '9'))) { + alt6 = 1; + } + + + switch (alt6) { + case 1: + // InternalUmlValueSpecification.g:863:13: '0' .. '9' + { + matchRange('0', '9'); + + } + break; + + default: + if (cnt6 >= 1) + break loop6; + EarlyExitException eee = new EarlyExitException(6, input); + throw eee; + } + cnt6++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:865:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalUmlValueSpecification.g:865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // InternalUmlValueSpecification.g:865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt9 = 2; + int LA9_0 = input.LA(1); + + if ((LA9_0 == '\"')) { + alt9 = 1; + } else if ((LA9_0 == '\'')) { + alt9 = 2; + } else { + NoViableAltException nvae = new NoViableAltException("", 9, 0, input); + + throw nvae; + } + switch (alt9) { + case 1: + // InternalUmlValueSpecification.g:865:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalUmlValueSpecification.g:865:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop7: do { + int alt7 = 3; + int LA7_0 = input.LA(1); + + if ((LA7_0 == '\\')) { + alt7 = 1; + } else if (((LA7_0 >= '\u0000' && LA7_0 <= '!') || (LA7_0 >= '#' && LA7_0 <= '[') || (LA7_0 >= ']' && LA7_0 <= '\uFFFF'))) { + alt7 = 2; + } + + + switch (alt7) { + case 1: + // InternalUmlValueSpecification.g:865:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2: + // InternalUmlValueSpecification.g:865:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + break loop7; + } + } while (true); + + match('\"'); + + } + break; + case 2: + // InternalUmlValueSpecification.g:865:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalUmlValueSpecification.g:865:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop8: do { + int alt8 = 3; + int LA8_0 = input.LA(1); + + if ((LA8_0 == '\\')) { + alt8 = 1; + } else if (((LA8_0 >= '\u0000' && LA8_0 <= '&') || (LA8_0 >= '(' && LA8_0 <= '[') || (LA8_0 >= ']' && LA8_0 <= '\uFFFF'))) { + alt8 = 2; + } + + + switch (alt8) { + case 1: + // InternalUmlValueSpecification.g:865:54: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2: + // InternalUmlValueSpecification.g:865:61: ~ ( ( '\\\\' | '\\'' ) ) + { + if ((input.LA(1) >= '\u0000' && input.LA(1) <= '&') || (input.LA(1) >= '(' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + break loop8; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:867:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalUmlValueSpecification.g:867:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalUmlValueSpecification.g:867:24: ( options {greedy=false; } : . )* + loop10: do { + int alt10 = 2; + int LA10_0 = input.LA(1); + + if ((LA10_0 == '*')) { + int LA10_1 = input.LA(2); + + if ((LA10_1 == '/')) { + alt10 = 2; + } else if (((LA10_1 >= '\u0000' && LA10_1 <= '.') || (LA10_1 >= '0' && LA10_1 <= '\uFFFF'))) { + alt10 = 1; + } + + + } else if (((LA10_0 >= '\u0000' && LA10_0 <= ')') || (LA10_0 >= '+' && LA10_0 <= '\uFFFF'))) { + alt10 = 1; + } + + + switch (alt10) { + case 1: + // InternalUmlValueSpecification.g:867:52: . + { + matchAny(); + + } + break; + + default: + break loop10; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:869:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalUmlValueSpecification.g:869:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalUmlValueSpecification.g:869:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop11: do { + int alt11 = 2; + int LA11_0 = input.LA(1); + + if (((LA11_0 >= '\u0000' && LA11_0 <= '\t') || (LA11_0 >= '\u000B' && LA11_0 <= '\f') || (LA11_0 >= '\u000E' && LA11_0 <= '\uFFFF'))) { + alt11 = 1; + } + + + switch (alt11) { + case 1: + // InternalUmlValueSpecification.g:869: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(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + break loop11; + } + } while (true); + + // InternalUmlValueSpecification.g:869:40: ( ( '\\r' )? '\\n' )? + int alt13 = 2; + int LA13_0 = input.LA(1); + + if ((LA13_0 == '\n' || LA13_0 == '\r')) { + alt13 = 1; + } + switch (alt13) { + case 1: + // InternalUmlValueSpecification.g:869:41: ( '\\r' )? '\\n' + { + // InternalUmlValueSpecification.g:869:41: ( '\\r' )? + int alt12 = 2; + int LA12_0 = input.LA(1); + + if ((LA12_0 == '\r')) { + alt12 = 1; + } + switch (alt12) { + case 1: + // InternalUmlValueSpecification.g:869:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:871:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalUmlValueSpecification.g:871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalUmlValueSpecification.g:871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt14 = 0; + loop14: do { + int alt14 = 2; + int LA14_0 = input.LA(1); + + if (((LA14_0 >= '\t' && LA14_0 <= '\n') || LA14_0 == '\r' || LA14_0 == ' ')) { + alt14 = 1; + } + + + switch (alt14) { + case 1: + // InternalUmlValueSpecification.g: + { + if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') { + input.consume(); + + } else { + MismatchedSetException mse = new MismatchedSetException(null, input); + recover(mse); + throw mse; + } + + + } + break; + + default: + if (cnt14 >= 1) + break loop14; + EarlyExitException eee = new EarlyExitException(14, input); + throw eee; + } + cnt14++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalUmlValueSpecification.g:873:16: ( . ) + // InternalUmlValueSpecification.g:873:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // InternalUmlValueSpecification.g:1:8: ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_VALUE_SPECIFICATION_ID | RULE_VALUE_SPECIFICATION_NEGATIVE_INT | RULE_VALUE_SPECIFICATION_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | + // RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt15 = 19; + alt15 = dfa15.predict(input); + switch (alt15) { + case 1: + // InternalUmlValueSpecification.g:1:10: T__14 + { + mT__14(); + + } + break; + case 2: + // InternalUmlValueSpecification.g:1:16: T__15 + { + mT__15(); + + } + break; + case 3: + // InternalUmlValueSpecification.g:1:22: T__16 + { + mT__16(); + + } + break; + case 4: + // InternalUmlValueSpecification.g:1:28: T__17 + { + mT__17(); + + } + break; + case 5: + // InternalUmlValueSpecification.g:1:34: T__18 + { + mT__18(); + + } + break; + case 6: + // InternalUmlValueSpecification.g:1:40: T__19 + { + mT__19(); + + } + break; + case 7: + // InternalUmlValueSpecification.g:1:46: T__20 + { + mT__20(); + + } + break; + case 8: + // InternalUmlValueSpecification.g:1:52: T__21 + { + mT__21(); + + } + break; + case 9: + // InternalUmlValueSpecification.g:1:58: T__22 + { + mT__22(); + + } + break; + case 10: + // InternalUmlValueSpecification.g:1:64: RULE_VALUE_SPECIFICATION_ID + { + mRULE_VALUE_SPECIFICATION_ID(); + + } + break; + case 11: + // InternalUmlValueSpecification.g:1:92: RULE_VALUE_SPECIFICATION_NEGATIVE_INT + { + mRULE_VALUE_SPECIFICATION_NEGATIVE_INT(); + + } + break; + case 12: + // InternalUmlValueSpecification.g:1:130: RULE_VALUE_SPECIFICATION_DOUBLE + { + mRULE_VALUE_SPECIFICATION_DOUBLE(); + + } + break; + case 13: + // InternalUmlValueSpecification.g:1:162: RULE_ID + { + mRULE_ID(); + + } + break; + case 14: + // InternalUmlValueSpecification.g:1:170: RULE_INT + { + mRULE_INT(); + + } + break; + case 15: + // InternalUmlValueSpecification.g:1:179: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 16: + // InternalUmlValueSpecification.g:1:191: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 17: + // InternalUmlValueSpecification.g:1:207: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 18: + // InternalUmlValueSpecification.g:1:223: RULE_WS + { + mRULE_WS(); + + } + break; + case 19: + // InternalUmlValueSpecification.g:1:231: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA3 dfa3 = new DFA3(this); + protected DFA15 dfa15 = new DFA15(this); + static final String DFA3_eotS = "\3\uffff\1\5\2\uffff"; + static final String DFA3_eofS = "\6\uffff"; + static final String DFA3_minS = "\2\54\1\uffff\1\60\2\uffff"; + static final String DFA3_maxS = "\2\71\1\uffff\1\71\2\uffff"; + static final String DFA3_acceptS = "\2\uffff\1\3\1\uffff\1\1\1\2"; + static final String DFA3_specialS = "\6\uffff}>"; + static final String[] DFA3_transitionS = { + "\1\2\1\uffff\1\2\1\uffff\12\1", + "\1\3\1\uffff\1\3\1\uffff\12\1", + "", + "\12\4", + "", + "" + }; + + static final short[] DFA3_eot = DFA.unpackEncodedString(DFA3_eotS); + static final short[] DFA3_eof = DFA.unpackEncodedString(DFA3_eofS); + static final char[] DFA3_min = DFA.unpackEncodedStringToUnsignedChars(DFA3_minS); + static final char[] DFA3_max = DFA.unpackEncodedStringToUnsignedChars(DFA3_maxS); + static final short[] DFA3_accept = DFA.unpackEncodedString(DFA3_acceptS); + static final short[] DFA3_special = DFA.unpackEncodedString(DFA3_specialS); + static final short[][] DFA3_transition; + + static { + int numStates = DFA3_transitionS.length; + DFA3_transition = new short[numStates][]; + for (int i = 0; i < numStates; i++) { + DFA3_transition[i] = DFA.unpackEncodedString(DFA3_transitionS[i]); + } + } + + class DFA3 extends DFA { + + public DFA3(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 3; + this.eot = DFA3_eot; + this.eof = DFA3_eof; + this.min = DFA3_min; + this.max = DFA3_max; + this.accept = DFA3_accept; + this.special = DFA3_special; + this.transition = DFA3_transition; + } + + public String getDescription() { + return "859:40: ( RULE_INT ( '.' | ',' ) RULE_INT | RULE_INT ( '.' | ',' ) | ( '.' | ',' ) RULE_INT )"; + } + } + + static final String DFA15_eotS = "\1\uffff\2\26\1\uffff\1\26\1\22\1\uffff\1\36\2\uffff\1\26\1\41\5\22\2\uffff\2\26\2\uffff\1\26\1\uffff\1\26\2\uffff\1\52\5\uffff\1\41\4\uffff\3\26\1\uffff\1\56\1\26\1\60\1\uffff\1\61\2\uffff"; + static final String DFA15_eofS = "\62\uffff"; + static final String DFA15_minS = "\1\0\2\55\1\uffff\1\55\1\125\1\uffff\1\54\2\uffff\1\55\1\54\1\60\1\101\2\0\1\52\2\uffff\2\55\2\uffff\1\55\1\uffff\1\55\2\uffff\1\54\5\uffff\1\54\4\uffff\3\55\1\uffff\3\55\1\uffff\1\55\2\uffff"; + static final String DFA15_maxS = "\1\uffff\2\172\1\uffff\1\172\1\125\1\uffff\1\71\2\uffff\1\172\2\71\1\172\2\uffff\1\57\2\uffff\2\172\2\uffff\1\172\1\uffff\1\172\2\uffff\1\71\5\uffff\1\71\4\uffff\3\172\1\uffff\3\172\1\uffff\1\172\2\uffff"; + static final String DFA15_acceptS = "\3\uffff\1\3\2\uffff\1\6\1\uffff\1\10\1\11\7\uffff\1\22\1\23\2\uffff\1\12\1\15\1\uffff\1\3\1\uffff\1\5\1\6\1\uffff\1\14\1\7\1\10\1\11\1\16\1\uffff\1\17\1\20\1\21\1\22\3\uffff\1\13\3\uffff\1\1\1\uffff\1\4\1\2"; + static final String DFA15_specialS = "\1\2\15\uffff\1\0\1\1\42\uffff}>"; + static final String[] DFA15_transitionS = { + "\11\22\2\21\2\22\1\21\22\22\1\21\1\22\1\16\1\10\3\22\1\17\2\22\1\3\1\6\1\14\1\7\1\14\1\20\12\13\2\22\1\5\4\22\32\12\3\22\1\15\1\12\1\22\5\12\1\2\7\12\1\4\5\12\1\1\6\12\3\22\1\11\uff81\22", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\21\24\1\23\10\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\1\27\31\24", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\24\24\1\31\5\24", + "\1\32", + "", + "\1\35\1\uffff\1\35\1\uffff\12\34", + "", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\35\1\uffff\1\35\1\uffff\12\42", + "\12\35", + "\32\26\4\uffff\1\26\1\uffff\32\26", + "\0\43", + "\0\43", + "\1\44\4\uffff\1\45", + "", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\24\24\1\47\5\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\13\24\1\50\16\24", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\13\24\1\51\16\24", + "", + "", + "\1\35\1\uffff\1\35\1\uffff\12\34", + "", + "", + "", + "", + "", + "\1\35\1\uffff\1\35\1\uffff\12\42", + "", + "", + "", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\4\24\1\53\25\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\22\24\1\54\7\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\13\24\1\55\16\24", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\4\24\1\57\25\24", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "", + "\1\25\2\uffff\12\24\3\uffff\1\25\3\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "", + "" + }; + + static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS); + static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS); + static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS); + static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS); + static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS); + static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS); + static final short[][] DFA15_transition; + + static { + int numStates = DFA15_transitionS.length; + DFA15_transition = new short[numStates][]; + for (int i = 0; i < numStates; i++) { + DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]); + } + } + + class DFA15 extends DFA { + + public DFA15(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 15; + this.eot = DFA15_eot; + this.eof = DFA15_eof; + this.min = DFA15_min; + this.max = DFA15_max; + this.accept = DFA15_accept; + this.special = DFA15_special; + this.transition = DFA15_transition; + } + + public String getDescription() { + return "1:1: Tokens : ( T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | RULE_VALUE_SPECIFICATION_ID | RULE_VALUE_SPECIFICATION_NEGATIVE_INT | RULE_VALUE_SPECIFICATION_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + } + + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + IntStream input = _input; + int _s = s; + switch (s) { + case 0: + int LA15_14 = input.LA(1); + + s = -1; + if (((LA15_14 >= '\u0000' && LA15_14 <= '\uFFFF'))) { + s = 35; + } + + else + s = 18; + + if (s >= 0) + return s; + break; + case 1: + int LA15_15 = input.LA(1); + + s = -1; + if (((LA15_15 >= '\u0000' && LA15_15 <= '\uFFFF'))) { + s = 35; + } + + else + s = 18; + + if (s >= 0) + return s; + break; + case 2: + int LA15_0 = input.LA(1); + + s = -1; + if ((LA15_0 == 't')) { + s = 1; + } + + else if ((LA15_0 == 'f')) { + s = 2; + } + + else if ((LA15_0 == '*')) { + s = 3; + } + + else if ((LA15_0 == 'n')) { + s = 4; + } + + else if ((LA15_0 == '<')) { + s = 5; + } + + else if ((LA15_0 == '+')) { + s = 6; + } + + else if ((LA15_0 == '-')) { + s = 7; + } + + else if ((LA15_0 == '#')) { + s = 8; + } + + else if ((LA15_0 == '~')) { + s = 9; + } + + else if (((LA15_0 >= 'A' && LA15_0 <= 'Z') || LA15_0 == '_' || (LA15_0 >= 'a' && LA15_0 <= 'e') || (LA15_0 >= 'g' && LA15_0 <= 'm') || (LA15_0 >= 'o' && LA15_0 <= 's') || (LA15_0 >= 'u' && LA15_0 <= 'z'))) { + s = 10; + } + + else if (((LA15_0 >= '0' && LA15_0 <= '9'))) { + s = 11; + } + + else if ((LA15_0 == ',' || LA15_0 == '.')) { + s = 12; + } + + else if ((LA15_0 == '^')) { + s = 13; + } + + else if ((LA15_0 == '\"')) { + s = 14; + } + + else if ((LA15_0 == '\'')) { + s = 15; + } + + else if ((LA15_0 == '/')) { + s = 16; + } + + else if (((LA15_0 >= '\t' && LA15_0 <= '\n') || LA15_0 == '\r' || LA15_0 == ' ')) { + s = 17; + } + + else if (((LA15_0 >= '\u0000' && LA15_0 <= '\b') || (LA15_0 >= '\u000B' && LA15_0 <= '\f') || (LA15_0 >= '\u000E' && LA15_0 <= '\u001F') || LA15_0 == '!' || (LA15_0 >= '$' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= ')') + || (LA15_0 >= ':' && LA15_0 <= ';') || (LA15_0 >= '=' && LA15_0 <= '@') || (LA15_0 >= '[' && LA15_0 <= ']') || LA15_0 == '`' || (LA15_0 >= '{' && LA15_0 <= '}') || (LA15_0 >= '\u007F' && LA15_0 <= '\uFFFF'))) { + s = 18; + } + + if (s >= 0) + return s; + break; + } + NoViableAltException nvae = new NoViableAltException(getDescription(), 15, _s, input); + error(nvae); + throw nvae; + } + } - if ( s>=0 ) return s; - break; - } - NoViableAltException nvae = - new NoViableAltException(getDescription(), 15, _s, input); - error(nvae); - throw nvae; - } - } - }
\ No newline at end of file diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationParser.java index ca2ff9ed828..b8e6884a672 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationParser.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecificationParser.java @@ -1,2416 +1,2240 @@ -package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; -import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; +package org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contentassist.antlr.internal; + +import org.antlr.runtime.BitSet; +import org.antlr.runtime.NoViableAltException; +import org.antlr.runtime.RecognitionException; +import org.antlr.runtime.RecognizerSharedState; +import org.antlr.runtime.TokenStream; import org.eclipse.papyrus.uml.textedit.valuespecification.xtext.services.UmlValueSpecificationGrammarAccess; +import org.eclipse.xtext.Grammar; +import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +@SuppressWarnings("all") +public class InternalUmlValueSpecificationParser extends AbstractInternalContentAssistParser { + public static final String[] tokenNames = new String[] { + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_VALUE_SPECIFICATION_NEGATIVE_INT", "RULE_VALUE_SPECIFICATION_ID", "RULE_ID", "RULE_VALUE_SPECIFICATION_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", + "RULE_ANY_OTHER", "'true'", "'false'", "'*'", "'null'", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'" + }; + public static final int RULE_VALUE_SPECIFICATION_NEGATIVE_INT = 5; + public static final int RULE_STRING = 9; + public static final int RULE_VALUE_SPECIFICATION_DOUBLE = 8; + public static final int RULE_VALUE_SPECIFICATION_ID = 6; + public static final int RULE_SL_COMMENT = 11; + public static final int T__19 = 19; + public static final int T__15 = 15; + public static final int T__16 = 16; + public static final int T__17 = 17; + public static final int T__18 = 18; + public static final int T__14 = 14; + public static final int EOF = -1; + public static final int RULE_ID = 7; + public static final int RULE_WS = 12; + public static final int RULE_ANY_OTHER = 13; + public static final int RULE_INT = 4; + public static final int T__22 = 22; + public static final int RULE_ML_COMMENT = 10; + public static final int T__20 = 20; + public static final int T__21 = 21; + // delegates + // delegators -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; + public InternalUmlValueSpecificationParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } -@SuppressWarnings("all") -public class InternalUmlValueSpecificationParser extends AbstractInternalContentAssistParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_VALUE_SPECIFICATION_NEGATIVE_INT", "RULE_VALUE_SPECIFICATION_ID", "RULE_ID", "RULE_VALUE_SPECIFICATION_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'true'", "'false'", "'*'", "'null'", "'<Undefined>'", "'+'", "'-'", "'#'", "'~'" - }; - public static final int RULE_ID=7; - public static final int RULE_VALUE_SPECIFICATION_DOUBLE=8; - public static final int T__22=22; - public static final int RULE_ANY_OTHER=13; - public static final int T__21=21; - public static final int T__20=20; - public static final int RULE_SL_COMMENT=11; - public static final int EOF=-1; - public static final int RULE_ML_COMMENT=10; - public static final int T__19=19; - public static final int RULE_STRING=9; - public static final int T__16=16; - public static final int T__15=15; - public static final int T__18=18; - public static final int T__17=17; - public static final int T__14=14; - public static final int RULE_INT=4; - public static final int RULE_VALUE_SPECIFICATION_ID=6; - public static final int RULE_WS=12; - public static final int RULE_VALUE_SPECIFICATION_NEGATIVE_INT=5; - - // delegates - // delegators - - - public InternalUmlValueSpecificationParser(TokenStream input) { - this(input, new RecognizerSharedState()); - } - public InternalUmlValueSpecificationParser(TokenStream input, RecognizerSharedState state) { - super(input, state); - - } - - - public String[] getTokenNames() { return InternalUmlValueSpecificationParser.tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g"; } - - - - private UmlValueSpecificationGrammarAccess grammarAccess; - - public void setGrammarAccess(UmlValueSpecificationGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - - @Override - protected Grammar getGrammar() { - return grammarAccess.getGrammar(); - } - - @Override - protected String getValueForTokenName(String tokenName) { - return tokenName; - } - - - - - // $ANTLR start "entryRuleAbstractRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:60:1: entryRuleAbstractRule : ruleAbstractRule EOF ; - public final void entryRuleAbstractRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:61:1: ( ruleAbstractRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:62:1: ruleAbstractRule EOF - { - before(grammarAccess.getAbstractRuleRule()); - pushFollow(FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule61); - ruleAbstractRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleAbstractRule68); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleAbstractRule" - - - // $ANTLR start "ruleAbstractRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:69:1: ruleAbstractRule : ( ( rule__AbstractRule__Group__0 ) ) ; - public final void ruleAbstractRule() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:73:2: ( ( ( rule__AbstractRule__Group__0 ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:74:1: ( ( rule__AbstractRule__Group__0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:74:1: ( ( rule__AbstractRule__Group__0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:75:1: ( rule__AbstractRule__Group__0 ) - { - before(grammarAccess.getAbstractRuleAccess().getGroup()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:76:1: ( rule__AbstractRule__Group__0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:76:2: rule__AbstractRule__Group__0 - { - pushFollow(FOLLOW_rule__AbstractRule__Group__0_in_ruleAbstractRule94); - rule__AbstractRule__Group__0(); - - state._fsp--; - - - } - - after(grammarAccess.getAbstractRuleAccess().getGroup()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleAbstractRule" - - - // $ANTLR start "entryRuleLiteralBooleanRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:88:1: entryRuleLiteralBooleanRule : ruleLiteralBooleanRule EOF ; - public final void entryRuleLiteralBooleanRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:89:1: ( ruleLiteralBooleanRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:90:1: ruleLiteralBooleanRule EOF - { - before(grammarAccess.getLiteralBooleanRuleRule()); - pushFollow(FOLLOW_ruleLiteralBooleanRule_in_entryRuleLiteralBooleanRule121); - ruleLiteralBooleanRule(); - - state._fsp--; - - after(grammarAccess.getLiteralBooleanRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralBooleanRule128); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLiteralBooleanRule" - - - // $ANTLR start "ruleLiteralBooleanRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:97:1: ruleLiteralBooleanRule : ( ( rule__LiteralBooleanRule__ValueAssignment ) ) ; - public final void ruleLiteralBooleanRule() throws RecognitionException { + public InternalUmlValueSpecificationParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { + return InternalUmlValueSpecificationParser.tokenNames; + } + + public String getGrammarFileName() { + return "../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g"; + } + + + + private UmlValueSpecificationGrammarAccess grammarAccess; + + public void setGrammarAccess(UmlValueSpecificationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + + // $ANTLR start "entryRuleAbstractRule" + // InternalUmlValueSpecification.g:60:1: entryRuleAbstractRule : ruleAbstractRule EOF ; + public final void entryRuleAbstractRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:61:1: ( ruleAbstractRule EOF ) + // InternalUmlValueSpecification.g:62:1: ruleAbstractRule EOF + { + before(grammarAccess.getAbstractRuleRule()); + pushFollow(FOLLOW_1); + ruleAbstractRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleAbstractRule" + + + // $ANTLR start "ruleAbstractRule" + // InternalUmlValueSpecification.g:69:1: ruleAbstractRule : ( ( rule__AbstractRule__Group__0 ) ) ; + public final void ruleAbstractRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:73:2: ( ( ( rule__AbstractRule__Group__0 ) ) ) + // InternalUmlValueSpecification.g:74:1: ( ( rule__AbstractRule__Group__0 ) ) + { + // InternalUmlValueSpecification.g:74:1: ( ( rule__AbstractRule__Group__0 ) ) + // InternalUmlValueSpecification.g:75:1: ( rule__AbstractRule__Group__0 ) + { + before(grammarAccess.getAbstractRuleAccess().getGroup()); + // InternalUmlValueSpecification.g:76:1: ( rule__AbstractRule__Group__0 ) + // InternalUmlValueSpecification.g:76:2: rule__AbstractRule__Group__0 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAbstractRuleAccess().getGroup()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleAbstractRule" + + + // $ANTLR start "entryRuleLiteralBooleanRule" + // InternalUmlValueSpecification.g:88:1: entryRuleLiteralBooleanRule : ruleLiteralBooleanRule EOF ; + public final void entryRuleLiteralBooleanRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:89:1: ( ruleLiteralBooleanRule EOF ) + // InternalUmlValueSpecification.g:90:1: ruleLiteralBooleanRule EOF + { + before(grammarAccess.getLiteralBooleanRuleRule()); + pushFollow(FOLLOW_1); + ruleLiteralBooleanRule(); + + state._fsp--; + + after(grammarAccess.getLiteralBooleanRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleLiteralBooleanRule" + + + // $ANTLR start "ruleLiteralBooleanRule" + // InternalUmlValueSpecification.g:97:1: ruleLiteralBooleanRule : ( ( rule__LiteralBooleanRule__ValueAssignment ) ) ; + public final void ruleLiteralBooleanRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:101:2: ( ( ( rule__LiteralBooleanRule__ValueAssignment ) ) ) + // InternalUmlValueSpecification.g:102:1: ( ( rule__LiteralBooleanRule__ValueAssignment ) ) + { + // InternalUmlValueSpecification.g:102:1: ( ( rule__LiteralBooleanRule__ValueAssignment ) ) + // InternalUmlValueSpecification.g:103:1: ( rule__LiteralBooleanRule__ValueAssignment ) + { + before(grammarAccess.getLiteralBooleanRuleAccess().getValueAssignment()); + // InternalUmlValueSpecification.g:104:1: ( rule__LiteralBooleanRule__ValueAssignment ) + // InternalUmlValueSpecification.g:104:2: rule__LiteralBooleanRule__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__LiteralBooleanRule__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralBooleanRuleAccess().getValueAssignment()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleLiteralBooleanRule" + + + // $ANTLR start "entryRuleLiteralIntegerOrUnlimitedNaturalRule" + // InternalUmlValueSpecification.g:116:1: entryRuleLiteralIntegerOrUnlimitedNaturalRule : ruleLiteralIntegerOrUnlimitedNaturalRule EOF ; + public final void entryRuleLiteralIntegerOrUnlimitedNaturalRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:117:1: ( ruleLiteralIntegerOrUnlimitedNaturalRule EOF ) + // InternalUmlValueSpecification.g:118:1: ruleLiteralIntegerOrUnlimitedNaturalRule EOF + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleRule()); + pushFollow(FOLLOW_1); + ruleLiteralIntegerOrUnlimitedNaturalRule(); + + state._fsp--; + + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleLiteralIntegerOrUnlimitedNaturalRule" + + + // $ANTLR start "ruleLiteralIntegerOrUnlimitedNaturalRule" + // InternalUmlValueSpecification.g:125:1: ruleLiteralIntegerOrUnlimitedNaturalRule : ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) ; + public final void ruleLiteralIntegerOrUnlimitedNaturalRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:129:2: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) ) + // InternalUmlValueSpecification.g:130:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) + { + // InternalUmlValueSpecification.g:130:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) + // InternalUmlValueSpecification.g:131:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getAlternatives()); + // InternalUmlValueSpecification.g:132:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) + // InternalUmlValueSpecification.g:132:2: rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives + { + pushFollow(FOLLOW_2); + rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getAlternatives()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleLiteralIntegerOrUnlimitedNaturalRule" + + + // $ANTLR start "entryRuleLiteralRealRule" + // InternalUmlValueSpecification.g:144:1: entryRuleLiteralRealRule : ruleLiteralRealRule EOF ; + public final void entryRuleLiteralRealRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:145:1: ( ruleLiteralRealRule EOF ) + // InternalUmlValueSpecification.g:146:1: ruleLiteralRealRule EOF + { + before(grammarAccess.getLiteralRealRuleRule()); + pushFollow(FOLLOW_1); + ruleLiteralRealRule(); + + state._fsp--; + + after(grammarAccess.getLiteralRealRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleLiteralRealRule" + + + // $ANTLR start "ruleLiteralRealRule" + // InternalUmlValueSpecification.g:153:1: ruleLiteralRealRule : ( ( rule__LiteralRealRule__ValueAssignment ) ) ; + public final void ruleLiteralRealRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:157:2: ( ( ( rule__LiteralRealRule__ValueAssignment ) ) ) + // InternalUmlValueSpecification.g:158:1: ( ( rule__LiteralRealRule__ValueAssignment ) ) + { + // InternalUmlValueSpecification.g:158:1: ( ( rule__LiteralRealRule__ValueAssignment ) ) + // InternalUmlValueSpecification.g:159:1: ( rule__LiteralRealRule__ValueAssignment ) + { + before(grammarAccess.getLiteralRealRuleAccess().getValueAssignment()); + // InternalUmlValueSpecification.g:160:1: ( rule__LiteralRealRule__ValueAssignment ) + // InternalUmlValueSpecification.g:160:2: rule__LiteralRealRule__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__LiteralRealRule__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralRealRuleAccess().getValueAssignment()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleLiteralRealRule" + + + // $ANTLR start "entryRuleLiteralNullRule" + // InternalUmlValueSpecification.g:172:1: entryRuleLiteralNullRule : ruleLiteralNullRule EOF ; + public final void entryRuleLiteralNullRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:173:1: ( ruleLiteralNullRule EOF ) + // InternalUmlValueSpecification.g:174:1: ruleLiteralNullRule EOF + { + before(grammarAccess.getLiteralNullRuleRule()); + pushFollow(FOLLOW_1); + ruleLiteralNullRule(); + + state._fsp--; + + after(grammarAccess.getLiteralNullRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleLiteralNullRule" + + + // $ANTLR start "ruleLiteralNullRule" + // InternalUmlValueSpecification.g:181:1: ruleLiteralNullRule : ( ( rule__LiteralNullRule__ValueAssignment ) ) ; + public final void ruleLiteralNullRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:185:2: ( ( ( rule__LiteralNullRule__ValueAssignment ) ) ) + // InternalUmlValueSpecification.g:186:1: ( ( rule__LiteralNullRule__ValueAssignment ) ) + { + // InternalUmlValueSpecification.g:186:1: ( ( rule__LiteralNullRule__ValueAssignment ) ) + // InternalUmlValueSpecification.g:187:1: ( rule__LiteralNullRule__ValueAssignment ) + { + before(grammarAccess.getLiteralNullRuleAccess().getValueAssignment()); + // InternalUmlValueSpecification.g:188:1: ( rule__LiteralNullRule__ValueAssignment ) + // InternalUmlValueSpecification.g:188:2: rule__LiteralNullRule__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__LiteralNullRule__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralNullRuleAccess().getValueAssignment()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleLiteralNullRule" + + + // $ANTLR start "entryRuleLiteralStringRule" + // InternalUmlValueSpecification.g:200:1: entryRuleLiteralStringRule : ruleLiteralStringRule EOF ; + public final void entryRuleLiteralStringRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:201:1: ( ruleLiteralStringRule EOF ) + // InternalUmlValueSpecification.g:202:1: ruleLiteralStringRule EOF + { + before(grammarAccess.getLiteralStringRuleRule()); + pushFollow(FOLLOW_1); + ruleLiteralStringRule(); + + state._fsp--; + + after(grammarAccess.getLiteralStringRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleLiteralStringRule" + + + // $ANTLR start "ruleLiteralStringRule" + // InternalUmlValueSpecification.g:209:1: ruleLiteralStringRule : ( ( rule__LiteralStringRule__ValueAssignment ) ) ; + public final void ruleLiteralStringRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:213:2: ( ( ( rule__LiteralStringRule__ValueAssignment ) ) ) + // InternalUmlValueSpecification.g:214:1: ( ( rule__LiteralStringRule__ValueAssignment ) ) + { + // InternalUmlValueSpecification.g:214:1: ( ( rule__LiteralStringRule__ValueAssignment ) ) + // InternalUmlValueSpecification.g:215:1: ( rule__LiteralStringRule__ValueAssignment ) + { + before(grammarAccess.getLiteralStringRuleAccess().getValueAssignment()); + // InternalUmlValueSpecification.g:216:1: ( rule__LiteralStringRule__ValueAssignment ) + // InternalUmlValueSpecification.g:216:2: rule__LiteralStringRule__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__LiteralStringRule__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralStringRuleAccess().getValueAssignment()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleLiteralStringRule" + + + // $ANTLR start "entryRuleUndefinedRule" + // InternalUmlValueSpecification.g:228:1: entryRuleUndefinedRule : ruleUndefinedRule EOF ; + public final void entryRuleUndefinedRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:229:1: ( ruleUndefinedRule EOF ) + // InternalUmlValueSpecification.g:230:1: ruleUndefinedRule EOF + { + before(grammarAccess.getUndefinedRuleRule()); + pushFollow(FOLLOW_1); + ruleUndefinedRule(); + + state._fsp--; + + after(grammarAccess.getUndefinedRuleRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleUndefinedRule" + + + // $ANTLR start "ruleUndefinedRule" + // InternalUmlValueSpecification.g:237:1: ruleUndefinedRule : ( ( rule__UndefinedRule__ValueAssignment ) ) ; + public final void ruleUndefinedRule() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:241:2: ( ( ( rule__UndefinedRule__ValueAssignment ) ) ) + // InternalUmlValueSpecification.g:242:1: ( ( rule__UndefinedRule__ValueAssignment ) ) + { + // InternalUmlValueSpecification.g:242:1: ( ( rule__UndefinedRule__ValueAssignment ) ) + // InternalUmlValueSpecification.g:243:1: ( rule__UndefinedRule__ValueAssignment ) + { + before(grammarAccess.getUndefinedRuleAccess().getValueAssignment()); + // InternalUmlValueSpecification.g:244:1: ( rule__UndefinedRule__ValueAssignment ) + // InternalUmlValueSpecification.g:244:2: rule__UndefinedRule__ValueAssignment + { + pushFollow(FOLLOW_2); + rule__UndefinedRule__ValueAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getUndefinedRuleAccess().getValueAssignment()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleUndefinedRule" + + + // $ANTLR start "entryRuleVisibilityKind" + // InternalUmlValueSpecification.g:256:1: entryRuleVisibilityKind : ruleVisibilityKind EOF ; + public final void entryRuleVisibilityKind() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:257:1: ( ruleVisibilityKind EOF ) + // InternalUmlValueSpecification.g:258:1: ruleVisibilityKind EOF + { + before(grammarAccess.getVisibilityKindRule()); + pushFollow(FOLLOW_1); + ruleVisibilityKind(); + + state._fsp--; + + after(grammarAccess.getVisibilityKindRule()); + match(input, EOF, FOLLOW_2); + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + } + return; + } + // $ANTLR end "entryRuleVisibilityKind" + + + // $ANTLR start "ruleVisibilityKind" + // InternalUmlValueSpecification.g:265:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ; + public final void ruleVisibilityKind() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:269:2: ( ( ( rule__VisibilityKind__Alternatives ) ) ) + // InternalUmlValueSpecification.g:270:1: ( ( rule__VisibilityKind__Alternatives ) ) + { + // InternalUmlValueSpecification.g:270:1: ( ( rule__VisibilityKind__Alternatives ) ) + // InternalUmlValueSpecification.g:271:1: ( rule__VisibilityKind__Alternatives ) + { + before(grammarAccess.getVisibilityKindAccess().getAlternatives()); + // InternalUmlValueSpecification.g:272:1: ( rule__VisibilityKind__Alternatives ) + // InternalUmlValueSpecification.g:272:2: rule__VisibilityKind__Alternatives + { + pushFollow(FOLLOW_2); + rule__VisibilityKind__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getVisibilityKindAccess().getAlternatives()); + + } + + + } + + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "ruleVisibilityKind" + + + // $ANTLR start "rule__AbstractRule__Alternatives_2" + // InternalUmlValueSpecification.g:284:1: rule__AbstractRule__Alternatives_2 : ( ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) | ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) | ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) ); + public final void rule__AbstractRule__Alternatives_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:288:1: ( ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) | ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) | ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) ) + int alt1 = 3; + switch (input.LA(1)) { + case RULE_ID: { + alt1 = 1; + } + break; + case RULE_INT: + case RULE_VALUE_SPECIFICATION_NEGATIVE_INT: + case RULE_VALUE_SPECIFICATION_DOUBLE: + case RULE_STRING: + case 14: + case 15: + case 16: + case 17: { + alt1 = 2; + } + break; + case 18: { + alt1 = 3; + } + break; + default: + NoViableAltException nvae = new NoViableAltException("", 1, 0, input); + + throw nvae; + } + + switch (alt1) { + case 1: + // InternalUmlValueSpecification.g:289:1: ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) + { + // InternalUmlValueSpecification.g:289:1: ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) + // InternalUmlValueSpecification.g:290:1: ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) + { + before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationAssignment_2_0()); + // InternalUmlValueSpecification.g:291:1: ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) + // InternalUmlValueSpecification.g:291:2: rule__AbstractRule__InstanceSpecificationAssignment_2_0 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__InstanceSpecificationAssignment_2_0(); + + state._fsp--; + + + } + + after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationAssignment_2_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:295:6: ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) + { + // InternalUmlValueSpecification.g:295:6: ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) + // InternalUmlValueSpecification.g:296:1: ( rule__AbstractRule__ValueAssignment_2_1 ) + { + before(grammarAccess.getAbstractRuleAccess().getValueAssignment_2_1()); + // InternalUmlValueSpecification.g:297:1: ( rule__AbstractRule__ValueAssignment_2_1 ) + // InternalUmlValueSpecification.g:297:2: rule__AbstractRule__ValueAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__ValueAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAbstractRuleAccess().getValueAssignment_2_1()); + + } + + + } + break; + case 3: + // InternalUmlValueSpecification.g:301:6: ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) + { + // InternalUmlValueSpecification.g:301:6: ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) + // InternalUmlValueSpecification.g:302:1: ( rule__AbstractRule__UndefinedAssignment_2_2 ) + { + before(grammarAccess.getAbstractRuleAccess().getUndefinedAssignment_2_2()); + // InternalUmlValueSpecification.g:303:1: ( rule__AbstractRule__UndefinedAssignment_2_2 ) + // InternalUmlValueSpecification.g:303:2: rule__AbstractRule__UndefinedAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__UndefinedAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAbstractRuleAccess().getUndefinedAssignment_2_2()); + + } + + + } + break; + + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "rule__AbstractRule__Alternatives_2" + + + // $ANTLR start "rule__AbstractRule__ValueAlternatives_2_1_0" + // InternalUmlValueSpecification.g:312:1: rule__AbstractRule__ValueAlternatives_2_1_0 : ( ( ruleLiteralBooleanRule ) | ( ruleLiteralIntegerOrUnlimitedNaturalRule ) | ( ruleLiteralRealRule ) | ( ruleLiteralNullRule ) | ( ruleLiteralStringRule ) ); + public final void rule__AbstractRule__ValueAlternatives_2_1_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:316:1: ( ( ruleLiteralBooleanRule ) | ( ruleLiteralIntegerOrUnlimitedNaturalRule ) | ( ruleLiteralRealRule ) | ( ruleLiteralNullRule ) | ( ruleLiteralStringRule ) ) + int alt2 = 5; + switch (input.LA(1)) { + case 14: + case 15: { + alt2 = 1; + } + break; + case RULE_INT: + case RULE_VALUE_SPECIFICATION_NEGATIVE_INT: + case 16: { + alt2 = 2; + } + break; + case RULE_VALUE_SPECIFICATION_DOUBLE: { + alt2 = 3; + } + break; + case 17: { + alt2 = 4; + } + break; + case RULE_STRING: { + alt2 = 5; + } + break; + default: + NoViableAltException nvae = new NoViableAltException("", 2, 0, input); + + throw nvae; + } + + switch (alt2) { + case 1: + // InternalUmlValueSpecification.g:317:1: ( ruleLiteralBooleanRule ) + { + // InternalUmlValueSpecification.g:317:1: ( ruleLiteralBooleanRule ) + // InternalUmlValueSpecification.g:318:1: ruleLiteralBooleanRule + { + before(grammarAccess.getAbstractRuleAccess().getValueLiteralBooleanRuleParserRuleCall_2_1_0_0()); + pushFollow(FOLLOW_2); + ruleLiteralBooleanRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleAccess().getValueLiteralBooleanRuleParserRuleCall_2_1_0_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:323:6: ( ruleLiteralIntegerOrUnlimitedNaturalRule ) + { + // InternalUmlValueSpecification.g:323:6: ( ruleLiteralIntegerOrUnlimitedNaturalRule ) + // InternalUmlValueSpecification.g:324:1: ruleLiteralIntegerOrUnlimitedNaturalRule + { + before(grammarAccess.getAbstractRuleAccess().getValueLiteralIntegerOrUnlimitedNaturalRuleParserRuleCall_2_1_0_1()); + pushFollow(FOLLOW_2); + ruleLiteralIntegerOrUnlimitedNaturalRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleAccess().getValueLiteralIntegerOrUnlimitedNaturalRuleParserRuleCall_2_1_0_1()); + + } + + + } + break; + case 3: + // InternalUmlValueSpecification.g:329:6: ( ruleLiteralRealRule ) + { + // InternalUmlValueSpecification.g:329:6: ( ruleLiteralRealRule ) + // InternalUmlValueSpecification.g:330:1: ruleLiteralRealRule + { + before(grammarAccess.getAbstractRuleAccess().getValueLiteralRealRuleParserRuleCall_2_1_0_2()); + pushFollow(FOLLOW_2); + ruleLiteralRealRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleAccess().getValueLiteralRealRuleParserRuleCall_2_1_0_2()); + + } + + + } + break; + case 4: + // InternalUmlValueSpecification.g:335:6: ( ruleLiteralNullRule ) + { + // InternalUmlValueSpecification.g:335:6: ( ruleLiteralNullRule ) + // InternalUmlValueSpecification.g:336:1: ruleLiteralNullRule + { + before(grammarAccess.getAbstractRuleAccess().getValueLiteralNullRuleParserRuleCall_2_1_0_3()); + pushFollow(FOLLOW_2); + ruleLiteralNullRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleAccess().getValueLiteralNullRuleParserRuleCall_2_1_0_3()); + + } + + + } + break; + case 5: + // InternalUmlValueSpecification.g:341:6: ( ruleLiteralStringRule ) + { + // InternalUmlValueSpecification.g:341:6: ( ruleLiteralStringRule ) + // InternalUmlValueSpecification.g:342:1: ruleLiteralStringRule + { + before(grammarAccess.getAbstractRuleAccess().getValueLiteralStringRuleParserRuleCall_2_1_0_4()); + pushFollow(FOLLOW_2); + ruleLiteralStringRule(); + + state._fsp--; + + after(grammarAccess.getAbstractRuleAccess().getValueLiteralStringRuleParserRuleCall_2_1_0_4()); + + } + + + } + break; + + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "rule__AbstractRule__ValueAlternatives_2_1_0" + + + // $ANTLR start "rule__LiteralBooleanRule__ValueAlternatives_0" + // InternalUmlValueSpecification.g:352:1: rule__LiteralBooleanRule__ValueAlternatives_0 : ( ( 'true' ) | ( 'false' ) ); + public final void rule__LiteralBooleanRule__ValueAlternatives_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:356:1: ( ( 'true' ) | ( 'false' ) ) + int alt3 = 2; + int LA3_0 = input.LA(1); + + if ((LA3_0 == 14)) { + alt3 = 1; + } else if ((LA3_0 == 15)) { + alt3 = 2; + } else { + NoViableAltException nvae = new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1: + // InternalUmlValueSpecification.g:357:1: ( 'true' ) + { + // InternalUmlValueSpecification.g:357:1: ( 'true' ) + // InternalUmlValueSpecification.g:358:1: 'true' + { + before(grammarAccess.getLiteralBooleanRuleAccess().getValueTrueKeyword_0_0()); + match(input, 14, FOLLOW_2); + after(grammarAccess.getLiteralBooleanRuleAccess().getValueTrueKeyword_0_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:365:6: ( 'false' ) + { + // InternalUmlValueSpecification.g:365:6: ( 'false' ) + // InternalUmlValueSpecification.g:366:1: 'false' + { + before(grammarAccess.getLiteralBooleanRuleAccess().getValueFalseKeyword_0_1()); + match(input, 15, FOLLOW_2); + after(grammarAccess.getLiteralBooleanRuleAccess().getValueFalseKeyword_0_1()); + + } + + + } + break; + + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "rule__LiteralBooleanRule__ValueAlternatives_0" + + + // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives" + // InternalUmlValueSpecification.g:378:1: rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives : ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) | ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) ); + public final void rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:382:1: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) | ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) ) + int alt4 = 2; + int LA4_0 = input.LA(1); + + if (((LA4_0 >= RULE_INT && LA4_0 <= RULE_VALUE_SPECIFICATION_NEGATIVE_INT))) { + alt4 = 1; + } else if ((LA4_0 == 16)) { + alt4 = 2; + } else { + NoViableAltException nvae = new NoViableAltException("", 4, 0, input); + + throw nvae; + } + switch (alt4) { + case 1: + // InternalUmlValueSpecification.g:383:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) + { + // InternalUmlValueSpecification.g:383:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) + // InternalUmlValueSpecification.g:384:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAssignment_0()); + // InternalUmlValueSpecification.g:385:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) + // InternalUmlValueSpecification.g:385:2: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 + { + pushFollow(FOLLOW_2); + rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAssignment_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:389:6: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) + { + // InternalUmlValueSpecification.g:389:6: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) + // InternalUmlValueSpecification.g:390:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAssignment_1()); + // InternalUmlValueSpecification.g:391:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) + // InternalUmlValueSpecification.g:391:2: rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 + { + pushFollow(FOLLOW_2); + rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAssignment_1()); + + } + + + } + break; + + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives" + + + // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0" + // InternalUmlValueSpecification.g:400:1: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 : ( ( RULE_INT ) | ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) ); + public final void rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:404:1: ( ( RULE_INT ) | ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) ) + int alt5 = 2; + int LA5_0 = input.LA(1); + + if ((LA5_0 == RULE_INT)) { + alt5 = 1; + } else if ((LA5_0 == RULE_VALUE_SPECIFICATION_NEGATIVE_INT)) { + alt5 = 2; + } else { + NoViableAltException nvae = new NoViableAltException("", 5, 0, input); + + throw nvae; + } + switch (alt5) { + case 1: + // InternalUmlValueSpecification.g:405:1: ( RULE_INT ) + { + // InternalUmlValueSpecification.g:405:1: ( RULE_INT ) + // InternalUmlValueSpecification.g:406:1: RULE_INT + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueINTTerminalRuleCall_0_0_0()); + match(input, RULE_INT, FOLLOW_2); + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueINTTerminalRuleCall_0_0_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:411:6: ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) + { + // InternalUmlValueSpecification.g:411:6: ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) + // InternalUmlValueSpecification.g:412:1: RULE_VALUE_SPECIFICATION_NEGATIVE_INT + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueVALUE_SPECIFICATION_NEGATIVE_INTTerminalRuleCall_0_0_1()); + match(input, RULE_VALUE_SPECIFICATION_NEGATIVE_INT, FOLLOW_2); + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueVALUE_SPECIFICATION_NEGATIVE_INTTerminalRuleCall_0_0_1()); + + } + + + } + break; + + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + + restoreStackSize(stackSize); + + } + return; + } + // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0" + + + // $ANTLR start "rule__VisibilityKind__Alternatives" + // InternalUmlValueSpecification.g:422:1: rule__VisibilityKind__Alternatives : ( ( ( rule__VisibilityKind__PublicAssignment_0 ) ) | ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) | ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) | ( ( + // rule__VisibilityKind__PackageAssignment_3 ) ) ); + public final void rule__VisibilityKind__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalUmlValueSpecification.g:426:1: ( ( ( rule__VisibilityKind__PublicAssignment_0 ) ) | ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) | ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) | ( ( rule__VisibilityKind__PackageAssignment_3 ) + // ) ) + int alt6 = 4; + switch (input.LA(1)) { + case 19: { + alt6 = 1; + } + break; + case 20: { + alt6 = 2; + } + break; + case 21: { + alt6 = 3; + } + break; + case 22: { + alt6 = 4; + } + break; + default: + NoViableAltException nvae = new NoViableAltException("", 6, 0, input); + + throw nvae; + } + + switch (alt6) { + case 1: + // InternalUmlValueSpecification.g:427:1: ( ( rule__VisibilityKind__PublicAssignment_0 ) ) + { + // InternalUmlValueSpecification.g:427:1: ( ( rule__VisibilityKind__PublicAssignment_0 ) ) + // InternalUmlValueSpecification.g:428:1: ( rule__VisibilityKind__PublicAssignment_0 ) + { + before(grammarAccess.getVisibilityKindAccess().getPublicAssignment_0()); + // InternalUmlValueSpecification.g:429:1: ( rule__VisibilityKind__PublicAssignment_0 ) + // InternalUmlValueSpecification.g:429:2: rule__VisibilityKind__PublicAssignment_0 + { + pushFollow(FOLLOW_2); + rule__VisibilityKind__PublicAssignment_0(); + + state._fsp--; + + + } + + after(grammarAccess.getVisibilityKindAccess().getPublicAssignment_0()); + + } + + + } + break; + case 2: + // InternalUmlValueSpecification.g:433:6: ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) + { + // InternalUmlValueSpecification.g:433:6: ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) + // InternalUmlValueSpecification.g:434:1: ( rule__VisibilityKind__PrivateAssignment_1 ) + { + before(grammarAccess.getVisibilityKindAccess().getPrivateAssignment_1()); + // InternalUmlValueSpecification.g:435:1: ( rule__VisibilityKind__PrivateAssignment_1 ) + // InternalUmlValueSpecification.g:435:2: rule__VisibilityKind__PrivateAssignment_1 + { + pushFollow(FOLLOW_2); + rule__VisibilityKind__PrivateAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getVisibilityKindAccess().getPrivateAssignment_1()); + + } + + + } + break; + case 3: + // InternalUmlValueSpecification.g:439:6: ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) + { + // InternalUmlValueSpecification.g:439:6: ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) + // InternalUmlValueSpecification.g:440:1: ( rule__VisibilityKind__ProtectedAssignment_2 ) + { + before(grammarAccess.getVisibilityKindAccess().getProtectedAssignment_2()); + // InternalUmlValueSpecification.g:441:1: ( rule__VisibilityKind__ProtectedAssignment_2 ) + // InternalUmlValueSpecification.g:441:2: rule__VisibilityKind__ProtectedAssignment_2 + { + pushFollow(FOLLOW_2); + rule__VisibilityKind__ProtectedAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getVisibilityKindAccess().getProtectedAssignment_2()); + + } + + + } + break; + case 4: + // InternalUmlValueSpecification.g:445:6: ( ( rule__VisibilityKind__PackageAssignment_3 ) ) + { + // InternalUmlValueSpecification.g:445:6: ( ( rule__VisibilityKind__PackageAssignment_3 ) ) + // InternalUmlValueSpecification.g:446:1: ( rule__VisibilityKind__PackageAssignment_3 ) + { + before(grammarAccess.getVisibilityKindAccess().getPackageAssignment_3()); + // InternalUmlValueSpecification.g:447:1: ( rule__VisibilityKind__PackageAssignment_3 ) + // InternalUmlValueSpecification.g:447:2: rule__VisibilityKind__PackageAssignment_3 + { + pushFollow(FOLLOW_2); + rule__VisibilityKind__PackageAssignment_3(); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:101:2: ( ( ( rule__LiteralBooleanRule__ValueAssignment ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:102:1: ( ( rule__LiteralBooleanRule__ValueAssignment ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:102:1: ( ( rule__LiteralBooleanRule__ValueAssignment ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:103:1: ( rule__LiteralBooleanRule__ValueAssignment ) - { - before(grammarAccess.getLiteralBooleanRuleAccess().getValueAssignment()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:104:1: ( rule__LiteralBooleanRule__ValueAssignment ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:104:2: rule__LiteralBooleanRule__ValueAssignment - { - pushFollow(FOLLOW_rule__LiteralBooleanRule__ValueAssignment_in_ruleLiteralBooleanRule154); - rule__LiteralBooleanRule__ValueAssignment(); + state._fsp--; - state._fsp--; + } - } + after(grammarAccess.getVisibilityKindAccess().getPackageAssignment_3()); - after(grammarAccess.getLiteralBooleanRuleAccess().getValueAssignment()); + } - } + } + break; - } + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + restoreStackSize(stackSize); - restoreStackSize(stackSize); + } + return; + } + // $ANTLR end "rule__VisibilityKind__Alternatives" - } - return ; - } - // $ANTLR end "ruleLiteralBooleanRule" + // $ANTLR start "rule__AbstractRule__Group__0" + // InternalUmlValueSpecification.g:458:1: rule__AbstractRule__Group__0 : rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 ; + public final void rule__AbstractRule__Group__0() throws RecognitionException { - // $ANTLR start "entryRuleLiteralIntegerOrUnlimitedNaturalRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:116:1: entryRuleLiteralIntegerOrUnlimitedNaturalRule : ruleLiteralIntegerOrUnlimitedNaturalRule EOF ; - public final void entryRuleLiteralIntegerOrUnlimitedNaturalRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:117:1: ( ruleLiteralIntegerOrUnlimitedNaturalRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:118:1: ruleLiteralIntegerOrUnlimitedNaturalRule EOF - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleRule()); - pushFollow(FOLLOW_ruleLiteralIntegerOrUnlimitedNaturalRule_in_entryRuleLiteralIntegerOrUnlimitedNaturalRule181); - ruleLiteralIntegerOrUnlimitedNaturalRule(); - - state._fsp--; - - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralIntegerOrUnlimitedNaturalRule188); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLiteralIntegerOrUnlimitedNaturalRule" - - - // $ANTLR start "ruleLiteralIntegerOrUnlimitedNaturalRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:125:1: ruleLiteralIntegerOrUnlimitedNaturalRule : ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) ; - public final void ruleLiteralIntegerOrUnlimitedNaturalRule() throws RecognitionException { + int stackSize = keepStackSize(); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:129:2: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:130:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:130:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:131:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getAlternatives()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:132:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:132:2: rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives - { - pushFollow(FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives_in_ruleLiteralIntegerOrUnlimitedNaturalRule214); - rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives(); + try { + // InternalUmlValueSpecification.g:462:1: ( rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 ) + // InternalUmlValueSpecification.g:463:2: rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 + { + pushFollow(FOLLOW_3); + rule__AbstractRule__Group__0__Impl(); - state._fsp--; + state._fsp--; + pushFollow(FOLLOW_2); + rule__AbstractRule__Group__1(); - } + state._fsp--; - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getAlternatives()); - } + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__0" - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "ruleLiteralIntegerOrUnlimitedNaturalRule" + // $ANTLR start "rule__AbstractRule__Group__0__Impl" + // InternalUmlValueSpecification.g:470:1: rule__AbstractRule__Group__0__Impl : ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) ; + public final void rule__AbstractRule__Group__0__Impl() throws RecognitionException { + int stackSize = keepStackSize(); - // $ANTLR start "entryRuleLiteralRealRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:144:1: entryRuleLiteralRealRule : ruleLiteralRealRule EOF ; - public final void entryRuleLiteralRealRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:145:1: ( ruleLiteralRealRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:146:1: ruleLiteralRealRule EOF - { - before(grammarAccess.getLiteralRealRuleRule()); - pushFollow(FOLLOW_ruleLiteralRealRule_in_entryRuleLiteralRealRule241); - ruleLiteralRealRule(); - - state._fsp--; - - after(grammarAccess.getLiteralRealRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralRealRule248); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLiteralRealRule" - - - // $ANTLR start "ruleLiteralRealRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:153:1: ruleLiteralRealRule : ( ( rule__LiteralRealRule__ValueAssignment ) ) ; - public final void ruleLiteralRealRule() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:474:1: ( ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) ) + // InternalUmlValueSpecification.g:475:1: ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) + { + // InternalUmlValueSpecification.g:475:1: ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) + // InternalUmlValueSpecification.g:476:1: ( rule__AbstractRule__VisibilityAssignment_0 )? + { + before(grammarAccess.getAbstractRuleAccess().getVisibilityAssignment_0()); + // InternalUmlValueSpecification.g:477:1: ( rule__AbstractRule__VisibilityAssignment_0 )? + int alt7 = 2; + int LA7_0 = input.LA(1); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:157:2: ( ( ( rule__LiteralRealRule__ValueAssignment ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:158:1: ( ( rule__LiteralRealRule__ValueAssignment ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:158:1: ( ( rule__LiteralRealRule__ValueAssignment ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:159:1: ( rule__LiteralRealRule__ValueAssignment ) - { - before(grammarAccess.getLiteralRealRuleAccess().getValueAssignment()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:160:1: ( rule__LiteralRealRule__ValueAssignment ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:160:2: rule__LiteralRealRule__ValueAssignment - { - pushFollow(FOLLOW_rule__LiteralRealRule__ValueAssignment_in_ruleLiteralRealRule274); - rule__LiteralRealRule__ValueAssignment(); + if (((LA7_0 >= 19 && LA7_0 <= 22))) { + alt7 = 1; + } + switch (alt7) { + case 1: + // InternalUmlValueSpecification.g:477:2: rule__AbstractRule__VisibilityAssignment_0 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__VisibilityAssignment_0(); - state._fsp--; + state._fsp--; - } + } + break; - after(grammarAccess.getLiteralRealRuleAccess().getValueAssignment()); + } - } + after(grammarAccess.getAbstractRuleAccess().getVisibilityAssignment_0()); + } - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } - return ; - } - // $ANTLR end "ruleLiteralRealRule" + restoreStackSize(stackSize); + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__0__Impl" - // $ANTLR start "entryRuleLiteralNullRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:172:1: entryRuleLiteralNullRule : ruleLiteralNullRule EOF ; - public final void entryRuleLiteralNullRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:173:1: ( ruleLiteralNullRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:174:1: ruleLiteralNullRule EOF - { - before(grammarAccess.getLiteralNullRuleRule()); - pushFollow(FOLLOW_ruleLiteralNullRule_in_entryRuleLiteralNullRule301); - ruleLiteralNullRule(); - - state._fsp--; - - after(grammarAccess.getLiteralNullRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralNullRule308); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLiteralNullRule" - - - // $ANTLR start "ruleLiteralNullRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:181:1: ruleLiteralNullRule : ( ( rule__LiteralNullRule__ValueAssignment ) ) ; - public final void ruleLiteralNullRule() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:185:2: ( ( ( rule__LiteralNullRule__ValueAssignment ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:186:1: ( ( rule__LiteralNullRule__ValueAssignment ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:186:1: ( ( rule__LiteralNullRule__ValueAssignment ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:187:1: ( rule__LiteralNullRule__ValueAssignment ) - { - before(grammarAccess.getLiteralNullRuleAccess().getValueAssignment()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:188:1: ( rule__LiteralNullRule__ValueAssignment ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:188:2: rule__LiteralNullRule__ValueAssignment - { - pushFollow(FOLLOW_rule__LiteralNullRule__ValueAssignment_in_ruleLiteralNullRule334); - rule__LiteralNullRule__ValueAssignment(); + // $ANTLR start "rule__AbstractRule__Group__1" + // InternalUmlValueSpecification.g:487:1: rule__AbstractRule__Group__1 : rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 ; + public final void rule__AbstractRule__Group__1() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:491:1: ( rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 ) + // InternalUmlValueSpecification.g:492:2: rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 + { + pushFollow(FOLLOW_3); + rule__AbstractRule__Group__1__Impl(); - } + state._fsp--; - after(grammarAccess.getLiteralNullRuleAccess().getValueAssignment()); + pushFollow(FOLLOW_2); + rule__AbstractRule__Group__2(); - } + state._fsp--; - } + } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - restoreStackSize(stackSize); + restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "ruleLiteralNullRule" + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__1" - // $ANTLR start "entryRuleLiteralStringRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:200:1: entryRuleLiteralStringRule : ruleLiteralStringRule EOF ; - public final void entryRuleLiteralStringRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:201:1: ( ruleLiteralStringRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:202:1: ruleLiteralStringRule EOF - { - before(grammarAccess.getLiteralStringRuleRule()); - pushFollow(FOLLOW_ruleLiteralStringRule_in_entryRuleLiteralStringRule361); - ruleLiteralStringRule(); - - state._fsp--; - - after(grammarAccess.getLiteralStringRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralStringRule368); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleLiteralStringRule" - - - // $ANTLR start "ruleLiteralStringRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:209:1: ruleLiteralStringRule : ( ( rule__LiteralStringRule__ValueAssignment ) ) ; - public final void ruleLiteralStringRule() throws RecognitionException { + // $ANTLR start "rule__AbstractRule__Group__1__Impl" + // InternalUmlValueSpecification.g:499:1: rule__AbstractRule__Group__1__Impl : ( ( rule__AbstractRule__NameAssignment_1 )? ) ; + public final void rule__AbstractRule__Group__1__Impl() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:213:2: ( ( ( rule__LiteralStringRule__ValueAssignment ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:214:1: ( ( rule__LiteralStringRule__ValueAssignment ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:214:1: ( ( rule__LiteralStringRule__ValueAssignment ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:215:1: ( rule__LiteralStringRule__ValueAssignment ) - { - before(grammarAccess.getLiteralStringRuleAccess().getValueAssignment()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:216:1: ( rule__LiteralStringRule__ValueAssignment ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:216:2: rule__LiteralStringRule__ValueAssignment - { - pushFollow(FOLLOW_rule__LiteralStringRule__ValueAssignment_in_ruleLiteralStringRule394); - rule__LiteralStringRule__ValueAssignment(); + int stackSize = keepStackSize(); - state._fsp--; + try { + // InternalUmlValueSpecification.g:503:1: ( ( ( rule__AbstractRule__NameAssignment_1 )? ) ) + // InternalUmlValueSpecification.g:504:1: ( ( rule__AbstractRule__NameAssignment_1 )? ) + { + // InternalUmlValueSpecification.g:504:1: ( ( rule__AbstractRule__NameAssignment_1 )? ) + // InternalUmlValueSpecification.g:505:1: ( rule__AbstractRule__NameAssignment_1 )? + { + before(grammarAccess.getAbstractRuleAccess().getNameAssignment_1()); + // InternalUmlValueSpecification.g:506:1: ( rule__AbstractRule__NameAssignment_1 )? + int alt8 = 2; + int LA8_0 = input.LA(1); + if ((LA8_0 == RULE_VALUE_SPECIFICATION_ID)) { + alt8 = 1; + } + switch (alt8) { + case 1: + // InternalUmlValueSpecification.g:506:2: rule__AbstractRule__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__NameAssignment_1(); - } + state._fsp--; - after(grammarAccess.getLiteralStringRuleAccess().getValueAssignment()); - } + } + break; + } - } + after(grammarAccess.getAbstractRuleAccess().getNameAssignment_1()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "ruleLiteralStringRule" + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - // $ANTLR start "entryRuleUndefinedRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:228:1: entryRuleUndefinedRule : ruleUndefinedRule EOF ; - public final void entryRuleUndefinedRule() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:229:1: ( ruleUndefinedRule EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:230:1: ruleUndefinedRule EOF - { - before(grammarAccess.getUndefinedRuleRule()); - pushFollow(FOLLOW_ruleUndefinedRule_in_entryRuleUndefinedRule421); - ruleUndefinedRule(); - - state._fsp--; - - after(grammarAccess.getUndefinedRuleRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleUndefinedRule428); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleUndefinedRule" - - - // $ANTLR start "ruleUndefinedRule" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:237:1: ruleUndefinedRule : ( ( rule__UndefinedRule__ValueAssignment ) ) ; - public final void ruleUndefinedRule() throws RecognitionException { + restoreStackSize(stackSize); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:241:2: ( ( ( rule__UndefinedRule__ValueAssignment ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:242:1: ( ( rule__UndefinedRule__ValueAssignment ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:242:1: ( ( rule__UndefinedRule__ValueAssignment ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:243:1: ( rule__UndefinedRule__ValueAssignment ) - { - before(grammarAccess.getUndefinedRuleAccess().getValueAssignment()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:244:1: ( rule__UndefinedRule__ValueAssignment ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:244:2: rule__UndefinedRule__ValueAssignment - { - pushFollow(FOLLOW_rule__UndefinedRule__ValueAssignment_in_ruleUndefinedRule454); - rule__UndefinedRule__ValueAssignment(); + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__1__Impl" - state._fsp--; + // $ANTLR start "rule__AbstractRule__Group__2" + // InternalUmlValueSpecification.g:516:1: rule__AbstractRule__Group__2 : rule__AbstractRule__Group__2__Impl ; + public final void rule__AbstractRule__Group__2() throws RecognitionException { - } + int stackSize = keepStackSize(); - after(grammarAccess.getUndefinedRuleAccess().getValueAssignment()); + try { + // InternalUmlValueSpecification.g:520:1: ( rule__AbstractRule__Group__2__Impl ) + // InternalUmlValueSpecification.g:521:2: rule__AbstractRule__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__AbstractRule__Group__2__Impl(); - } + state._fsp--; - } + } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - restoreStackSize(stackSize); + restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "ruleUndefinedRule" - - - // $ANTLR start "entryRuleVisibilityKind" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:256:1: entryRuleVisibilityKind : ruleVisibilityKind EOF ; - public final void entryRuleVisibilityKind() throws RecognitionException { - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:257:1: ( ruleVisibilityKind EOF ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:258:1: ruleVisibilityKind EOF - { - before(grammarAccess.getVisibilityKindRule()); - pushFollow(FOLLOW_ruleVisibilityKind_in_entryRuleVisibilityKind481); - ruleVisibilityKind(); - - state._fsp--; - - after(grammarAccess.getVisibilityKindRule()); - match(input,EOF,FOLLOW_EOF_in_entryRuleVisibilityKind488); - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleVisibilityKind" - - - // $ANTLR start "ruleVisibilityKind" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:265:1: ruleVisibilityKind : ( ( rule__VisibilityKind__Alternatives ) ) ; - public final void ruleVisibilityKind() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:269:2: ( ( ( rule__VisibilityKind__Alternatives ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:270:1: ( ( rule__VisibilityKind__Alternatives ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:270:1: ( ( rule__VisibilityKind__Alternatives ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:271:1: ( rule__VisibilityKind__Alternatives ) - { - before(grammarAccess.getVisibilityKindAccess().getAlternatives()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:272:1: ( rule__VisibilityKind__Alternatives ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:272:2: rule__VisibilityKind__Alternatives - { - pushFollow(FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind514); - rule__VisibilityKind__Alternatives(); - - state._fsp--; - - - } - - after(grammarAccess.getVisibilityKindAccess().getAlternatives()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleVisibilityKind" - - - // $ANTLR start "rule__AbstractRule__Alternatives_2" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:284:1: rule__AbstractRule__Alternatives_2 : ( ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) | ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) | ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) ); - public final void rule__AbstractRule__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:288:1: ( ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) | ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) | ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) ) - int alt1=3; - switch ( input.LA(1) ) { - case RULE_ID: - { - alt1=1; - } - break; - case RULE_INT: - case RULE_VALUE_SPECIFICATION_NEGATIVE_INT: - case RULE_VALUE_SPECIFICATION_DOUBLE: - case RULE_STRING: - case 14: - case 15: - case 16: - case 17: - { - alt1=2; - } - break; - case 18: - { - alt1=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 1, 0, input); - - throw nvae; - } - - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:289:1: ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:289:1: ( ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:290:1: ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) - { - before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationAssignment_2_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:291:1: ( rule__AbstractRule__InstanceSpecificationAssignment_2_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:291:2: rule__AbstractRule__InstanceSpecificationAssignment_2_0 - { - pushFollow(FOLLOW_rule__AbstractRule__InstanceSpecificationAssignment_2_0_in_rule__AbstractRule__Alternatives_2550); - rule__AbstractRule__InstanceSpecificationAssignment_2_0(); - - state._fsp--; - - - } - - after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationAssignment_2_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:295:6: ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:295:6: ( ( rule__AbstractRule__ValueAssignment_2_1 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:296:1: ( rule__AbstractRule__ValueAssignment_2_1 ) - { - before(grammarAccess.getAbstractRuleAccess().getValueAssignment_2_1()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:297:1: ( rule__AbstractRule__ValueAssignment_2_1 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:297:2: rule__AbstractRule__ValueAssignment_2_1 - { - pushFollow(FOLLOW_rule__AbstractRule__ValueAssignment_2_1_in_rule__AbstractRule__Alternatives_2568); - rule__AbstractRule__ValueAssignment_2_1(); - - state._fsp--; - - - } - - after(grammarAccess.getAbstractRuleAccess().getValueAssignment_2_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:301:6: ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:301:6: ( ( rule__AbstractRule__UndefinedAssignment_2_2 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:302:1: ( rule__AbstractRule__UndefinedAssignment_2_2 ) - { - before(grammarAccess.getAbstractRuleAccess().getUndefinedAssignment_2_2()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:303:1: ( rule__AbstractRule__UndefinedAssignment_2_2 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:303:2: rule__AbstractRule__UndefinedAssignment_2_2 - { - pushFollow(FOLLOW_rule__AbstractRule__UndefinedAssignment_2_2_in_rule__AbstractRule__Alternatives_2586); - rule__AbstractRule__UndefinedAssignment_2_2(); - - state._fsp--; - - - } - - after(grammarAccess.getAbstractRuleAccess().getUndefinedAssignment_2_2()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AbstractRule__Alternatives_2" - - - // $ANTLR start "rule__AbstractRule__ValueAlternatives_2_1_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:312:1: rule__AbstractRule__ValueAlternatives_2_1_0 : ( ( ruleLiteralBooleanRule ) | ( ruleLiteralIntegerOrUnlimitedNaturalRule ) | ( ruleLiteralRealRule ) | ( ruleLiteralNullRule ) | ( ruleLiteralStringRule ) ); - public final void rule__AbstractRule__ValueAlternatives_2_1_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:316:1: ( ( ruleLiteralBooleanRule ) | ( ruleLiteralIntegerOrUnlimitedNaturalRule ) | ( ruleLiteralRealRule ) | ( ruleLiteralNullRule ) | ( ruleLiteralStringRule ) ) - int alt2=5; - switch ( input.LA(1) ) { - case 14: - case 15: - { - alt2=1; - } - break; - case RULE_INT: - case RULE_VALUE_SPECIFICATION_NEGATIVE_INT: - case 16: - { - alt2=2; - } - break; - case RULE_VALUE_SPECIFICATION_DOUBLE: - { - alt2=3; - } - break; - case 17: - { - alt2=4; - } - break; - case RULE_STRING: - { - alt2=5; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:317:1: ( ruleLiteralBooleanRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:317:1: ( ruleLiteralBooleanRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:318:1: ruleLiteralBooleanRule - { - before(grammarAccess.getAbstractRuleAccess().getValueLiteralBooleanRuleParserRuleCall_2_1_0_0()); - pushFollow(FOLLOW_ruleLiteralBooleanRule_in_rule__AbstractRule__ValueAlternatives_2_1_0619); - ruleLiteralBooleanRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleAccess().getValueLiteralBooleanRuleParserRuleCall_2_1_0_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:323:6: ( ruleLiteralIntegerOrUnlimitedNaturalRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:323:6: ( ruleLiteralIntegerOrUnlimitedNaturalRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:324:1: ruleLiteralIntegerOrUnlimitedNaturalRule - { - before(grammarAccess.getAbstractRuleAccess().getValueLiteralIntegerOrUnlimitedNaturalRuleParserRuleCall_2_1_0_1()); - pushFollow(FOLLOW_ruleLiteralIntegerOrUnlimitedNaturalRule_in_rule__AbstractRule__ValueAlternatives_2_1_0636); - ruleLiteralIntegerOrUnlimitedNaturalRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleAccess().getValueLiteralIntegerOrUnlimitedNaturalRuleParserRuleCall_2_1_0_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:329:6: ( ruleLiteralRealRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:329:6: ( ruleLiteralRealRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:330:1: ruleLiteralRealRule - { - before(grammarAccess.getAbstractRuleAccess().getValueLiteralRealRuleParserRuleCall_2_1_0_2()); - pushFollow(FOLLOW_ruleLiteralRealRule_in_rule__AbstractRule__ValueAlternatives_2_1_0653); - ruleLiteralRealRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleAccess().getValueLiteralRealRuleParserRuleCall_2_1_0_2()); - - } - - - } - break; - case 4 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:335:6: ( ruleLiteralNullRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:335:6: ( ruleLiteralNullRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:336:1: ruleLiteralNullRule - { - before(grammarAccess.getAbstractRuleAccess().getValueLiteralNullRuleParserRuleCall_2_1_0_3()); - pushFollow(FOLLOW_ruleLiteralNullRule_in_rule__AbstractRule__ValueAlternatives_2_1_0670); - ruleLiteralNullRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleAccess().getValueLiteralNullRuleParserRuleCall_2_1_0_3()); - - } - - - } - break; - case 5 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:341:6: ( ruleLiteralStringRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:341:6: ( ruleLiteralStringRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:342:1: ruleLiteralStringRule - { - before(grammarAccess.getAbstractRuleAccess().getValueLiteralStringRuleParserRuleCall_2_1_0_4()); - pushFollow(FOLLOW_ruleLiteralStringRule_in_rule__AbstractRule__ValueAlternatives_2_1_0687); - ruleLiteralStringRule(); - - state._fsp--; - - after(grammarAccess.getAbstractRuleAccess().getValueLiteralStringRuleParserRuleCall_2_1_0_4()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__AbstractRule__ValueAlternatives_2_1_0" - - - // $ANTLR start "rule__LiteralBooleanRule__ValueAlternatives_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:352:1: rule__LiteralBooleanRule__ValueAlternatives_0 : ( ( 'true' ) | ( 'false' ) ); - public final void rule__LiteralBooleanRule__ValueAlternatives_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:356:1: ( ( 'true' ) | ( 'false' ) ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==14) ) { - alt3=1; - } - else if ( (LA3_0==15) ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:357:1: ( 'true' ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:357:1: ( 'true' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:358:1: 'true' - { - before(grammarAccess.getLiteralBooleanRuleAccess().getValueTrueKeyword_0_0()); - match(input,14,FOLLOW_14_in_rule__LiteralBooleanRule__ValueAlternatives_0720); - after(grammarAccess.getLiteralBooleanRuleAccess().getValueTrueKeyword_0_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:365:6: ( 'false' ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:365:6: ( 'false' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:366:1: 'false' - { - before(grammarAccess.getLiteralBooleanRuleAccess().getValueFalseKeyword_0_1()); - match(input,15,FOLLOW_15_in_rule__LiteralBooleanRule__ValueAlternatives_0740); - after(grammarAccess.getLiteralBooleanRuleAccess().getValueFalseKeyword_0_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LiteralBooleanRule__ValueAlternatives_0" - - - // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:378:1: rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives : ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) | ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) ); - public final void rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:382:1: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) | ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) ) - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>=RULE_INT && LA4_0<=RULE_VALUE_SPECIFICATION_NEGATIVE_INT)) ) { - alt4=1; - } - else if ( (LA4_0==16) ) { - alt4=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:383:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:383:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:384:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAssignment_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:385:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:385:2: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 - { - pushFollow(FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0_in_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives774); - rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAssignment_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:389:6: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:389:6: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:390:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAssignment_1()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:391:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:391:2: rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 - { - pushFollow(FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1_in_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives792); - rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1(); - - state._fsp--; - - - } - - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAssignment_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives" - - - // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:400:1: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 : ( ( RULE_INT ) | ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) ); - public final void rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:404:1: ( ( RULE_INT ) | ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) ) - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==RULE_INT) ) { - alt5=1; - } - else if ( (LA5_0==RULE_VALUE_SPECIFICATION_NEGATIVE_INT) ) { - alt5=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:405:1: ( RULE_INT ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:405:1: ( RULE_INT ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:406:1: RULE_INT - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueINTTerminalRuleCall_0_0_0()); - match(input,RULE_INT,FOLLOW_RULE_INT_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0825); - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueINTTerminalRuleCall_0_0_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:411:6: ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:411:6: ( RULE_VALUE_SPECIFICATION_NEGATIVE_INT ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:412:1: RULE_VALUE_SPECIFICATION_NEGATIVE_INT - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueVALUE_SPECIFICATION_NEGATIVE_INTTerminalRuleCall_0_0_1()); - match(input,RULE_VALUE_SPECIFICATION_NEGATIVE_INT,FOLLOW_RULE_VALUE_SPECIFICATION_NEGATIVE_INT_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0842); - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueVALUE_SPECIFICATION_NEGATIVE_INTTerminalRuleCall_0_0_1()); - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0" - - - // $ANTLR start "rule__VisibilityKind__Alternatives" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:422:1: rule__VisibilityKind__Alternatives : ( ( ( rule__VisibilityKind__PublicAssignment_0 ) ) | ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) | ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) | ( ( rule__VisibilityKind__PackageAssignment_3 ) ) ); - public final void rule__VisibilityKind__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:426:1: ( ( ( rule__VisibilityKind__PublicAssignment_0 ) ) | ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) | ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) | ( ( rule__VisibilityKind__PackageAssignment_3 ) ) ) - int alt6=4; - switch ( input.LA(1) ) { - case 19: - { - alt6=1; - } - break; - case 20: - { - alt6=2; - } - break; - case 21: - { - alt6=3; - } - break; - case 22: - { - alt6=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:427:1: ( ( rule__VisibilityKind__PublicAssignment_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:427:1: ( ( rule__VisibilityKind__PublicAssignment_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:428:1: ( rule__VisibilityKind__PublicAssignment_0 ) - { - before(grammarAccess.getVisibilityKindAccess().getPublicAssignment_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:429:1: ( rule__VisibilityKind__PublicAssignment_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:429:2: rule__VisibilityKind__PublicAssignment_0 - { - pushFollow(FOLLOW_rule__VisibilityKind__PublicAssignment_0_in_rule__VisibilityKind__Alternatives874); - rule__VisibilityKind__PublicAssignment_0(); - - state._fsp--; - - - } - - after(grammarAccess.getVisibilityKindAccess().getPublicAssignment_0()); - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:433:6: ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:433:6: ( ( rule__VisibilityKind__PrivateAssignment_1 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:434:1: ( rule__VisibilityKind__PrivateAssignment_1 ) - { - before(grammarAccess.getVisibilityKindAccess().getPrivateAssignment_1()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:435:1: ( rule__VisibilityKind__PrivateAssignment_1 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:435:2: rule__VisibilityKind__PrivateAssignment_1 - { - pushFollow(FOLLOW_rule__VisibilityKind__PrivateAssignment_1_in_rule__VisibilityKind__Alternatives892); - rule__VisibilityKind__PrivateAssignment_1(); + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__2" - state._fsp--; + // $ANTLR start "rule__AbstractRule__Group__2__Impl" + // InternalUmlValueSpecification.g:527:1: rule__AbstractRule__Group__2__Impl : ( ( rule__AbstractRule__Alternatives_2 ) ) ; + public final void rule__AbstractRule__Group__2__Impl() throws RecognitionException { - } - - after(grammarAccess.getVisibilityKindAccess().getPrivateAssignment_1()); - - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:439:6: ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:439:6: ( ( rule__VisibilityKind__ProtectedAssignment_2 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:440:1: ( rule__VisibilityKind__ProtectedAssignment_2 ) - { - before(grammarAccess.getVisibilityKindAccess().getProtectedAssignment_2()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:441:1: ( rule__VisibilityKind__ProtectedAssignment_2 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:441:2: rule__VisibilityKind__ProtectedAssignment_2 - { - pushFollow(FOLLOW_rule__VisibilityKind__ProtectedAssignment_2_in_rule__VisibilityKind__Alternatives910); - rule__VisibilityKind__ProtectedAssignment_2(); - - state._fsp--; - - - } - - after(grammarAccess.getVisibilityKindAccess().getProtectedAssignment_2()); - - } - - - } - break; - case 4 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:445:6: ( ( rule__VisibilityKind__PackageAssignment_3 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:445:6: ( ( rule__VisibilityKind__PackageAssignment_3 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:446:1: ( rule__VisibilityKind__PackageAssignment_3 ) - { - before(grammarAccess.getVisibilityKindAccess().getPackageAssignment_3()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:447:1: ( rule__VisibilityKind__PackageAssignment_3 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:447:2: rule__VisibilityKind__PackageAssignment_3 - { - pushFollow(FOLLOW_rule__VisibilityKind__PackageAssignment_3_in_rule__VisibilityKind__Alternatives928); - rule__VisibilityKind__PackageAssignment_3(); + int stackSize = keepStackSize(); - state._fsp--; + try { + // InternalUmlValueSpecification.g:531:1: ( ( ( rule__AbstractRule__Alternatives_2 ) ) ) + // InternalUmlValueSpecification.g:532:1: ( ( rule__AbstractRule__Alternatives_2 ) ) + { + // InternalUmlValueSpecification.g:532:1: ( ( rule__AbstractRule__Alternatives_2 ) ) + // InternalUmlValueSpecification.g:533:1: ( rule__AbstractRule__Alternatives_2 ) + { + before(grammarAccess.getAbstractRuleAccess().getAlternatives_2()); + // InternalUmlValueSpecification.g:534:1: ( rule__AbstractRule__Alternatives_2 ) + // InternalUmlValueSpecification.g:534:2: rule__AbstractRule__Alternatives_2 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__Alternatives_2(); + state._fsp--; - } - after(grammarAccess.getVisibilityKindAccess().getPackageAssignment_3()); + } - } + after(grammarAccess.getAbstractRuleAccess().getAlternatives_2()); + } - } - break; - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } - return ; - } - // $ANTLR end "rule__VisibilityKind__Alternatives" + restoreStackSize(stackSize); + } + return; + } + // $ANTLR end "rule__AbstractRule__Group__2__Impl" - // $ANTLR start "rule__AbstractRule__Group__0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:458:1: rule__AbstractRule__Group__0 : rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 ; - public final void rule__AbstractRule__Group__0() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:462:1: ( rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:463:2: rule__AbstractRule__Group__0__Impl rule__AbstractRule__Group__1 - { - pushFollow(FOLLOW_rule__AbstractRule__Group__0__Impl_in_rule__AbstractRule__Group__0959); - rule__AbstractRule__Group__0__Impl(); + // $ANTLR start "rule__AbstractRule__VisibilityAssignment_0" + // InternalUmlValueSpecification.g:551:1: rule__AbstractRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ; + public final void rule__AbstractRule__VisibilityAssignment_0() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); - pushFollow(FOLLOW_rule__AbstractRule__Group__1_in_rule__AbstractRule__Group__0962); - rule__AbstractRule__Group__1(); + try { + // InternalUmlValueSpecification.g:555:1: ( ( ruleVisibilityKind ) ) + // InternalUmlValueSpecification.g:556:1: ( ruleVisibilityKind ) + { + // InternalUmlValueSpecification.g:556:1: ( ruleVisibilityKind ) + // InternalUmlValueSpecification.g:557:1: ruleVisibilityKind + { + before(grammarAccess.getAbstractRuleAccess().getVisibilityVisibilityKindParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleVisibilityKind(); - state._fsp--; + state._fsp--; + after(grammarAccess.getAbstractRuleAccess().getVisibilityVisibilityKindParserRuleCall_0_0()); - } + } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - restoreStackSize(stackSize); + } - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__0" + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - // $ANTLR start "rule__AbstractRule__Group__0__Impl" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:470:1: rule__AbstractRule__Group__0__Impl : ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) ; - public final void rule__AbstractRule__Group__0__Impl() throws RecognitionException { + } + return; + } + // $ANTLR end "rule__AbstractRule__VisibilityAssignment_0" - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:474:1: ( ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:475:1: ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:475:1: ( ( rule__AbstractRule__VisibilityAssignment_0 )? ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:476:1: ( rule__AbstractRule__VisibilityAssignment_0 )? - { - before(grammarAccess.getAbstractRuleAccess().getVisibilityAssignment_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:477:1: ( rule__AbstractRule__VisibilityAssignment_0 )? - int alt7=2; - int LA7_0 = input.LA(1); - if ( ((LA7_0>=19 && LA7_0<=22)) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:477:2: rule__AbstractRule__VisibilityAssignment_0 - { - pushFollow(FOLLOW_rule__AbstractRule__VisibilityAssignment_0_in_rule__AbstractRule__Group__0__Impl989); - rule__AbstractRule__VisibilityAssignment_0(); + // $ANTLR start "rule__AbstractRule__NameAssignment_1" + // InternalUmlValueSpecification.g:566:1: rule__AbstractRule__NameAssignment_1 : ( RULE_VALUE_SPECIFICATION_ID ) ; + public final void rule__AbstractRule__NameAssignment_1() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:570:1: ( ( RULE_VALUE_SPECIFICATION_ID ) ) + // InternalUmlValueSpecification.g:571:1: ( RULE_VALUE_SPECIFICATION_ID ) + { + // InternalUmlValueSpecification.g:571:1: ( RULE_VALUE_SPECIFICATION_ID ) + // InternalUmlValueSpecification.g:572:1: RULE_VALUE_SPECIFICATION_ID + { + before(grammarAccess.getAbstractRuleAccess().getNameVALUE_SPECIFICATION_IDTerminalRuleCall_1_0()); + match(input, RULE_VALUE_SPECIFICATION_ID, FOLLOW_2); + after(grammarAccess.getAbstractRuleAccess().getNameVALUE_SPECIFICATION_IDTerminalRuleCall_1_0()); - } - break; + } - } - after(grammarAccess.getAbstractRuleAccess().getVisibilityAssignment_0()); + } - } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__AbstractRule__NameAssignment_1" - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - restoreStackSize(stackSize); + // $ANTLR start "rule__AbstractRule__InstanceSpecificationAssignment_2_0" + // InternalUmlValueSpecification.g:581:1: rule__AbstractRule__InstanceSpecificationAssignment_2_0 : ( ( RULE_ID ) ) ; + public final void rule__AbstractRule__InstanceSpecificationAssignment_2_0() throws RecognitionException { - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__0__Impl" + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:585:1: ( ( ( RULE_ID ) ) ) + // InternalUmlValueSpecification.g:586:1: ( ( RULE_ID ) ) + { + // InternalUmlValueSpecification.g:586:1: ( ( RULE_ID ) ) + // InternalUmlValueSpecification.g:587:1: ( RULE_ID ) + { + before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationCrossReference_2_0_0()); + // InternalUmlValueSpecification.g:588:1: ( RULE_ID ) + // InternalUmlValueSpecification.g:589:1: RULE_ID + { + before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationIDTerminalRuleCall_2_0_0_1()); + match(input, RULE_ID, FOLLOW_2); + after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationIDTerminalRuleCall_2_0_0_1()); - // $ANTLR start "rule__AbstractRule__Group__1" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:487:1: rule__AbstractRule__Group__1 : rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 ; - public final void rule__AbstractRule__Group__1() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:491:1: ( rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:492:2: rule__AbstractRule__Group__1__Impl rule__AbstractRule__Group__2 - { - pushFollow(FOLLOW_rule__AbstractRule__Group__1__Impl_in_rule__AbstractRule__Group__11020); - rule__AbstractRule__Group__1__Impl(); + after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationCrossReference_2_0_0()); - state._fsp--; + } - pushFollow(FOLLOW_rule__AbstractRule__Group__2_in_rule__AbstractRule__Group__11023); - rule__AbstractRule__Group__2(); - state._fsp--; + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + return; + } + // $ANTLR end "rule__AbstractRule__InstanceSpecificationAssignment_2_0" - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__1" + // $ANTLR start "rule__AbstractRule__ValueAssignment_2_1" + // InternalUmlValueSpecification.g:600:1: rule__AbstractRule__ValueAssignment_2_1 : ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) ; + public final void rule__AbstractRule__ValueAssignment_2_1() throws RecognitionException { + int stackSize = keepStackSize(); - // $ANTLR start "rule__AbstractRule__Group__1__Impl" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:499:1: rule__AbstractRule__Group__1__Impl : ( ( rule__AbstractRule__NameAssignment_1 )? ) ; - public final void rule__AbstractRule__Group__1__Impl() throws RecognitionException { + try { + // InternalUmlValueSpecification.g:604:1: ( ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) ) + // InternalUmlValueSpecification.g:605:1: ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) + { + // InternalUmlValueSpecification.g:605:1: ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) + // InternalUmlValueSpecification.g:606:1: ( rule__AbstractRule__ValueAlternatives_2_1_0 ) + { + before(grammarAccess.getAbstractRuleAccess().getValueAlternatives_2_1_0()); + // InternalUmlValueSpecification.g:607:1: ( rule__AbstractRule__ValueAlternatives_2_1_0 ) + // InternalUmlValueSpecification.g:607:2: rule__AbstractRule__ValueAlternatives_2_1_0 + { + pushFollow(FOLLOW_2); + rule__AbstractRule__ValueAlternatives_2_1_0(); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:503:1: ( ( ( rule__AbstractRule__NameAssignment_1 )? ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:504:1: ( ( rule__AbstractRule__NameAssignment_1 )? ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:504:1: ( ( rule__AbstractRule__NameAssignment_1 )? ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:505:1: ( rule__AbstractRule__NameAssignment_1 )? - { - before(grammarAccess.getAbstractRuleAccess().getNameAssignment_1()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:506:1: ( rule__AbstractRule__NameAssignment_1 )? - int alt8=2; - int LA8_0 = input.LA(1); + state._fsp--; - if ( (LA8_0==RULE_VALUE_SPECIFICATION_ID) ) { - alt8=1; - } - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:506:2: rule__AbstractRule__NameAssignment_1 - { - pushFollow(FOLLOW_rule__AbstractRule__NameAssignment_1_in_rule__AbstractRule__Group__1__Impl1050); - rule__AbstractRule__NameAssignment_1(); - state._fsp--; + } + after(grammarAccess.getAbstractRuleAccess().getValueAlternatives_2_1_0()); - } - break; + } - } - after(grammarAccess.getAbstractRuleAccess().getNameAssignment_1()); + } - } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__AbstractRule__ValueAssignment_2_1" - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - restoreStackSize(stackSize); + // $ANTLR start "rule__AbstractRule__UndefinedAssignment_2_2" + // InternalUmlValueSpecification.g:616:1: rule__AbstractRule__UndefinedAssignment_2_2 : ( ruleUndefinedRule ) ; + public final void rule__AbstractRule__UndefinedAssignment_2_2() throws RecognitionException { - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__1__Impl" + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:620:1: ( ( ruleUndefinedRule ) ) + // InternalUmlValueSpecification.g:621:1: ( ruleUndefinedRule ) + { + // InternalUmlValueSpecification.g:621:1: ( ruleUndefinedRule ) + // InternalUmlValueSpecification.g:622:1: ruleUndefinedRule + { + before(grammarAccess.getAbstractRuleAccess().getUndefinedUndefinedRuleParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + ruleUndefinedRule(); - // $ANTLR start "rule__AbstractRule__Group__2" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:516:1: rule__AbstractRule__Group__2 : rule__AbstractRule__Group__2__Impl ; - public final void rule__AbstractRule__Group__2() throws RecognitionException { + state._fsp--; - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:520:1: ( rule__AbstractRule__Group__2__Impl ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:521:2: rule__AbstractRule__Group__2__Impl - { - pushFollow(FOLLOW_rule__AbstractRule__Group__2__Impl_in_rule__AbstractRule__Group__21081); - rule__AbstractRule__Group__2__Impl(); + after(grammarAccess.getAbstractRuleAccess().getUndefinedUndefinedRuleParserRuleCall_2_2_0()); - state._fsp--; + } - } + } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - restoreStackSize(stackSize); + restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__2" + } + return; + } + // $ANTLR end "rule__AbstractRule__UndefinedAssignment_2_2" - // $ANTLR start "rule__AbstractRule__Group__2__Impl" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:527:1: rule__AbstractRule__Group__2__Impl : ( ( rule__AbstractRule__Alternatives_2 ) ) ; - public final void rule__AbstractRule__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__LiteralBooleanRule__ValueAssignment" + // InternalUmlValueSpecification.g:631:1: rule__LiteralBooleanRule__ValueAssignment : ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) ; + public final void rule__LiteralBooleanRule__ValueAssignment() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:531:1: ( ( ( rule__AbstractRule__Alternatives_2 ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:532:1: ( ( rule__AbstractRule__Alternatives_2 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:532:1: ( ( rule__AbstractRule__Alternatives_2 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:533:1: ( rule__AbstractRule__Alternatives_2 ) - { - before(grammarAccess.getAbstractRuleAccess().getAlternatives_2()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:534:1: ( rule__AbstractRule__Alternatives_2 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:534:2: rule__AbstractRule__Alternatives_2 - { - pushFollow(FOLLOW_rule__AbstractRule__Alternatives_2_in_rule__AbstractRule__Group__2__Impl1108); - rule__AbstractRule__Alternatives_2(); + int stackSize = keepStackSize(); - state._fsp--; + try { + // InternalUmlValueSpecification.g:635:1: ( ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) ) + // InternalUmlValueSpecification.g:636:1: ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) + { + // InternalUmlValueSpecification.g:636:1: ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) + // InternalUmlValueSpecification.g:637:1: ( rule__LiteralBooleanRule__ValueAlternatives_0 ) + { + before(grammarAccess.getLiteralBooleanRuleAccess().getValueAlternatives_0()); + // InternalUmlValueSpecification.g:638:1: ( rule__LiteralBooleanRule__ValueAlternatives_0 ) + // InternalUmlValueSpecification.g:638:2: rule__LiteralBooleanRule__ValueAlternatives_0 + { + pushFollow(FOLLOW_2); + rule__LiteralBooleanRule__ValueAlternatives_0(); + state._fsp--; - } - after(grammarAccess.getAbstractRuleAccess().getAlternatives_2()); + } - } + after(grammarAccess.getLiteralBooleanRuleAccess().getValueAlternatives_0()); + } - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } - return ; - } - // $ANTLR end "rule__AbstractRule__Group__2__Impl" + restoreStackSize(stackSize); + } + return; + } + // $ANTLR end "rule__LiteralBooleanRule__ValueAssignment" - // $ANTLR start "rule__AbstractRule__VisibilityAssignment_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:551:1: rule__AbstractRule__VisibilityAssignment_0 : ( ruleVisibilityKind ) ; - public final void rule__AbstractRule__VisibilityAssignment_0() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:555:1: ( ( ruleVisibilityKind ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:556:1: ( ruleVisibilityKind ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:556:1: ( ruleVisibilityKind ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:557:1: ruleVisibilityKind - { - before(grammarAccess.getAbstractRuleAccess().getVisibilityVisibilityKindParserRuleCall_0_0()); - pushFollow(FOLLOW_ruleVisibilityKind_in_rule__AbstractRule__VisibilityAssignment_01149); - ruleVisibilityKind(); + // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0" + // InternalUmlValueSpecification.g:647:1: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 : ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) ; + public final void rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0() throws RecognitionException { - state._fsp--; + int stackSize = keepStackSize(); - after(grammarAccess.getAbstractRuleAccess().getVisibilityVisibilityKindParserRuleCall_0_0()); + try { + // InternalUmlValueSpecification.g:651:1: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) ) + // InternalUmlValueSpecification.g:652:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) + { + // InternalUmlValueSpecification.g:652:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) + // InternalUmlValueSpecification.g:653:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAlternatives_0_0()); + // InternalUmlValueSpecification.g:654:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) + // InternalUmlValueSpecification.g:654:2: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 + { + pushFollow(FOLLOW_2); + rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0(); - } + state._fsp--; - } + } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAlternatives_0_0()); - restoreStackSize(stackSize); + } - } - return ; - } - // $ANTLR end "rule__AbstractRule__VisibilityAssignment_0" - - - // $ANTLR start "rule__AbstractRule__NameAssignment_1" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:566:1: rule__AbstractRule__NameAssignment_1 : ( RULE_VALUE_SPECIFICATION_ID ) ; - public final void rule__AbstractRule__NameAssignment_1() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:570:1: ( ( RULE_VALUE_SPECIFICATION_ID ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:571:1: ( RULE_VALUE_SPECIFICATION_ID ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:571:1: ( RULE_VALUE_SPECIFICATION_ID ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:572:1: RULE_VALUE_SPECIFICATION_ID - { - before(grammarAccess.getAbstractRuleAccess().getNameVALUE_SPECIFICATION_IDTerminalRuleCall_1_0()); - match(input,RULE_VALUE_SPECIFICATION_ID,FOLLOW_RULE_VALUE_SPECIFICATION_ID_in_rule__AbstractRule__NameAssignment_11180); - after(grammarAccess.getAbstractRuleAccess().getNameVALUE_SPECIFICATION_IDTerminalRuleCall_1_0()); + } - } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0" - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - restoreStackSize(stackSize); + // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1" + // InternalUmlValueSpecification.g:663:1: rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 : ( ( '*' ) ) ; + public final void rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1() throws RecognitionException { - } - return ; - } - // $ANTLR end "rule__AbstractRule__NameAssignment_1" + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:667:1: ( ( ( '*' ) ) ) + // InternalUmlValueSpecification.g:668:1: ( ( '*' ) ) + { + // InternalUmlValueSpecification.g:668:1: ( ( '*' ) ) + // InternalUmlValueSpecification.g:669:1: ( '*' ) + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); + // InternalUmlValueSpecification.g:670:1: ( '*' ) + // InternalUmlValueSpecification.g:671:1: '*' + { + before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); + match(input, 16, FOLLOW_2); + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); - // $ANTLR start "rule__AbstractRule__InstanceSpecificationAssignment_2_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:581:1: rule__AbstractRule__InstanceSpecificationAssignment_2_0 : ( ( RULE_ID ) ) ; - public final void rule__AbstractRule__InstanceSpecificationAssignment_2_0() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:585:1: ( ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:586:1: ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:586:1: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:587:1: ( RULE_ID ) - { - before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationCrossReference_2_0_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:588:1: ( RULE_ID ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:589:1: RULE_ID - { - before(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationIDTerminalRuleCall_2_0_0_1()); - match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__AbstractRule__InstanceSpecificationAssignment_2_01215); - after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationIDTerminalRuleCall_2_0_0_1()); + after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); - } + } - after(grammarAccess.getAbstractRuleAccess().getInstanceSpecificationInstanceSpecificationCrossReference_2_0_0()); - } + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + return; + } + // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1" - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__AbstractRule__InstanceSpecificationAssignment_2_0" + // $ANTLR start "rule__LiteralRealRule__ValueAssignment" + // InternalUmlValueSpecification.g:686:1: rule__LiteralRealRule__ValueAssignment : ( RULE_VALUE_SPECIFICATION_DOUBLE ) ; + public final void rule__LiteralRealRule__ValueAssignment() throws RecognitionException { + int stackSize = keepStackSize(); - // $ANTLR start "rule__AbstractRule__ValueAssignment_2_1" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:600:1: rule__AbstractRule__ValueAssignment_2_1 : ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) ; - public final void rule__AbstractRule__ValueAssignment_2_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:604:1: ( ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:605:1: ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:605:1: ( ( rule__AbstractRule__ValueAlternatives_2_1_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:606:1: ( rule__AbstractRule__ValueAlternatives_2_1_0 ) - { - before(grammarAccess.getAbstractRuleAccess().getValueAlternatives_2_1_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:607:1: ( rule__AbstractRule__ValueAlternatives_2_1_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:607:2: rule__AbstractRule__ValueAlternatives_2_1_0 - { - pushFollow(FOLLOW_rule__AbstractRule__ValueAlternatives_2_1_0_in_rule__AbstractRule__ValueAssignment_2_11250); - rule__AbstractRule__ValueAlternatives_2_1_0(); + try { + // InternalUmlValueSpecification.g:690:1: ( ( RULE_VALUE_SPECIFICATION_DOUBLE ) ) + // InternalUmlValueSpecification.g:691:1: ( RULE_VALUE_SPECIFICATION_DOUBLE ) + { + // InternalUmlValueSpecification.g:691:1: ( RULE_VALUE_SPECIFICATION_DOUBLE ) + // InternalUmlValueSpecification.g:692:1: RULE_VALUE_SPECIFICATION_DOUBLE + { + before(grammarAccess.getLiteralRealRuleAccess().getValueVALUE_SPECIFICATION_DOUBLETerminalRuleCall_0()); + match(input, RULE_VALUE_SPECIFICATION_DOUBLE, FOLLOW_2); + after(grammarAccess.getLiteralRealRuleAccess().getValueVALUE_SPECIFICATION_DOUBLETerminalRuleCall_0()); - state._fsp--; + } - } + } - after(grammarAccess.getAbstractRuleAccess().getValueAlternatives_2_1_0()); + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); + } + return; + } + // $ANTLR end "rule__LiteralRealRule__ValueAssignment" - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + // $ANTLR start "rule__LiteralNullRule__ValueAssignment" + // InternalUmlValueSpecification.g:701:1: rule__LiteralNullRule__ValueAssignment : ( ( 'null' ) ) ; + public final void rule__LiteralNullRule__ValueAssignment() throws RecognitionException { - restoreStackSize(stackSize); + int stackSize = keepStackSize(); - } - return ; - } - // $ANTLR end "rule__AbstractRule__ValueAssignment_2_1" + try { + // InternalUmlValueSpecification.g:705:1: ( ( ( 'null' ) ) ) + // InternalUmlValueSpecification.g:706:1: ( ( 'null' ) ) + { + // InternalUmlValueSpecification.g:706:1: ( ( 'null' ) ) + // InternalUmlValueSpecification.g:707:1: ( 'null' ) + { + before(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); + // InternalUmlValueSpecification.g:708:1: ( 'null' ) + // InternalUmlValueSpecification.g:709:1: 'null' + { + before(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); + match(input, 17, FOLLOW_2); + after(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); + } - // $ANTLR start "rule__AbstractRule__UndefinedAssignment_2_2" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:616:1: rule__AbstractRule__UndefinedAssignment_2_2 : ( ruleUndefinedRule ) ; - public final void rule__AbstractRule__UndefinedAssignment_2_2() throws RecognitionException { + after(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:620:1: ( ( ruleUndefinedRule ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:621:1: ( ruleUndefinedRule ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:621:1: ( ruleUndefinedRule ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:622:1: ruleUndefinedRule - { - before(grammarAccess.getAbstractRuleAccess().getUndefinedUndefinedRuleParserRuleCall_2_2_0()); - pushFollow(FOLLOW_ruleUndefinedRule_in_rule__AbstractRule__UndefinedAssignment_2_21283); - ruleUndefinedRule(); + } - state._fsp--; - after(grammarAccess.getAbstractRuleAccess().getUndefinedUndefinedRuleParserRuleCall_2_2_0()); + } - } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__LiteralNullRule__ValueAssignment" - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - restoreStackSize(stackSize); + // $ANTLR start "rule__LiteralStringRule__ValueAssignment" + // InternalUmlValueSpecification.g:724:1: rule__LiteralStringRule__ValueAssignment : ( RULE_STRING ) ; + public final void rule__LiteralStringRule__ValueAssignment() throws RecognitionException { - } - return ; - } - // $ANTLR end "rule__AbstractRule__UndefinedAssignment_2_2" + int stackSize = keepStackSize(); + try { + // InternalUmlValueSpecification.g:728:1: ( ( RULE_STRING ) ) + // InternalUmlValueSpecification.g:729:1: ( RULE_STRING ) + { + // InternalUmlValueSpecification.g:729:1: ( RULE_STRING ) + // InternalUmlValueSpecification.g:730:1: RULE_STRING + { + before(grammarAccess.getLiteralStringRuleAccess().getValueSTRINGTerminalRuleCall_0()); + match(input, RULE_STRING, FOLLOW_2); + after(grammarAccess.getLiteralStringRuleAccess().getValueSTRINGTerminalRuleCall_0()); - // $ANTLR start "rule__LiteralBooleanRule__ValueAssignment" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:631:1: rule__LiteralBooleanRule__ValueAssignment : ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) ; - public final void rule__LiteralBooleanRule__ValueAssignment() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:635:1: ( ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:636:1: ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:636:1: ( ( rule__LiteralBooleanRule__ValueAlternatives_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:637:1: ( rule__LiteralBooleanRule__ValueAlternatives_0 ) - { - before(grammarAccess.getLiteralBooleanRuleAccess().getValueAlternatives_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:638:1: ( rule__LiteralBooleanRule__ValueAlternatives_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:638:2: rule__LiteralBooleanRule__ValueAlternatives_0 - { - pushFollow(FOLLOW_rule__LiteralBooleanRule__ValueAlternatives_0_in_rule__LiteralBooleanRule__ValueAssignment1314); - rule__LiteralBooleanRule__ValueAlternatives_0(); - state._fsp--; + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getLiteralBooleanRuleAccess().getValueAlternatives_0()); + } + return; + } + // $ANTLR end "rule__LiteralStringRule__ValueAssignment" - } + // $ANTLR start "rule__UndefinedRule__ValueAssignment" + // InternalUmlValueSpecification.g:739:1: rule__UndefinedRule__ValueAssignment : ( ( '<Undefined>' ) ) ; + public final void rule__UndefinedRule__ValueAssignment() throws RecognitionException { - } + int stackSize = keepStackSize(); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + try { + // InternalUmlValueSpecification.g:743:1: ( ( ( '<Undefined>' ) ) ) + // InternalUmlValueSpecification.g:744:1: ( ( '<Undefined>' ) ) + { + // InternalUmlValueSpecification.g:744:1: ( ( '<Undefined>' ) ) + // InternalUmlValueSpecification.g:745:1: ( '<Undefined>' ) + { + before(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); + // InternalUmlValueSpecification.g:746:1: ( '<Undefined>' ) + // InternalUmlValueSpecification.g:747:1: '<Undefined>' + { + before(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); + match(input, 18, FOLLOW_2); + after(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); - restoreStackSize(stackSize); + } - } - return ; - } - // $ANTLR end "rule__LiteralBooleanRule__ValueAssignment" + after(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); + } - // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:647:1: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0 : ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) ; - public final void rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:651:1: ( ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:652:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:652:1: ( ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:653:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAlternatives_0_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:654:1: ( rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:654:2: rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0 - { - pushFollow(FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_01347); - rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0(); + } - state._fsp--; + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__UndefinedRule__ValueAssignment" - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getValueAlternatives_0_0()); - } + // $ANTLR start "rule__VisibilityKind__PublicAssignment_0" + // InternalUmlValueSpecification.g:762:1: rule__VisibilityKind__PublicAssignment_0 : ( ( '+' ) ) ; + public final void rule__VisibilityKind__PublicAssignment_0() throws RecognitionException { + int stackSize = keepStackSize(); - } + try { + // InternalUmlValueSpecification.g:766:1: ( ( ( '+' ) ) ) + // InternalUmlValueSpecification.g:767:1: ( ( '+' ) ) + { + // InternalUmlValueSpecification.g:767:1: ( ( '+' ) ) + // InternalUmlValueSpecification.g:768:1: ( '+' ) + { + before(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); + // InternalUmlValueSpecification.g:769:1: ( '+' ) + // InternalUmlValueSpecification.g:770:1: '+' + { + before(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); + match(input, 19, FOLLOW_2); + after(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + after(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - } - return ; - } - // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0" + } - // $ANTLR start "rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:663:1: rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1 : ( ( '*' ) ) ; - public final void rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:667:1: ( ( ( '*' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:668:1: ( ( '*' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:668:1: ( ( '*' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:669:1: ( '*' ) - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:670:1: ( '*' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:671:1: '*' - { - before(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); - match(input,16,FOLLOW_16_in_rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_11385); - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - after(grammarAccess.getLiteralIntegerOrUnlimitedNaturalRuleAccess().getUnlimitedAsteriskKeyword_1_0()); + } + return; + } + // $ANTLR end "rule__VisibilityKind__PublicAssignment_0" - } + // $ANTLR start "rule__VisibilityKind__PrivateAssignment_1" + // InternalUmlValueSpecification.g:785:1: rule__VisibilityKind__PrivateAssignment_1 : ( ( '-' ) ) ; + public final void rule__VisibilityKind__PrivateAssignment_1() throws RecognitionException { - } + int stackSize = keepStackSize(); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + try { + // InternalUmlValueSpecification.g:789:1: ( ( ( '-' ) ) ) + // InternalUmlValueSpecification.g:790:1: ( ( '-' ) ) + { + // InternalUmlValueSpecification.g:790:1: ( ( '-' ) ) + // InternalUmlValueSpecification.g:791:1: ( '-' ) + { + before(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); + // InternalUmlValueSpecification.g:792:1: ( '-' ) + // InternalUmlValueSpecification.g:793:1: '-' + { + before(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); + match(input, 20, FOLLOW_2); + after(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1" + } + after(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); - // $ANTLR start "rule__LiteralRealRule__ValueAssignment" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:686:1: rule__LiteralRealRule__ValueAssignment : ( RULE_VALUE_SPECIFICATION_DOUBLE ) ; - public final void rule__LiteralRealRule__ValueAssignment() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:690:1: ( ( RULE_VALUE_SPECIFICATION_DOUBLE ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:691:1: ( RULE_VALUE_SPECIFICATION_DOUBLE ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:691:1: ( RULE_VALUE_SPECIFICATION_DOUBLE ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:692:1: RULE_VALUE_SPECIFICATION_DOUBLE - { - before(grammarAccess.getLiteralRealRuleAccess().getValueVALUE_SPECIFICATION_DOUBLETerminalRuleCall_0()); - match(input,RULE_VALUE_SPECIFICATION_DOUBLE,FOLLOW_RULE_VALUE_SPECIFICATION_DOUBLE_in_rule__LiteralRealRule__ValueAssignment1424); - after(grammarAccess.getLiteralRealRuleAccess().getValueVALUE_SPECIFICATION_DOUBLETerminalRuleCall_0()); - } + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - } + restoreStackSize(stackSize); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + return; + } + // $ANTLR end "rule__VisibilityKind__PrivateAssignment_1" - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__LiteralRealRule__ValueAssignment" - - - // $ANTLR start "rule__LiteralNullRule__ValueAssignment" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:701:1: rule__LiteralNullRule__ValueAssignment : ( ( 'null' ) ) ; - public final void rule__LiteralNullRule__ValueAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:705:1: ( ( ( 'null' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:706:1: ( ( 'null' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:706:1: ( ( 'null' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:707:1: ( 'null' ) - { - before(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:708:1: ( 'null' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:709:1: 'null' - { - before(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); - match(input,17,FOLLOW_17_in_rule__LiteralNullRule__ValueAssignment1460); - after(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); - - } - - after(grammarAccess.getLiteralNullRuleAccess().getValueNullKeyword_0()); - - } + // $ANTLR start "rule__VisibilityKind__ProtectedAssignment_2" + // InternalUmlValueSpecification.g:808:1: rule__VisibilityKind__ProtectedAssignment_2 : ( ( '#' ) ) ; + public final void rule__VisibilityKind__ProtectedAssignment_2() throws RecognitionException { + int stackSize = keepStackSize(); - } + try { + // InternalUmlValueSpecification.g:812:1: ( ( ( '#' ) ) ) + // InternalUmlValueSpecification.g:813:1: ( ( '#' ) ) + { + // InternalUmlValueSpecification.g:813:1: ( ( '#' ) ) + // InternalUmlValueSpecification.g:814:1: ( '#' ) + { + before(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); + // InternalUmlValueSpecification.g:815:1: ( '#' ) + // InternalUmlValueSpecification.g:816:1: '#' + { + before(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); + match(input, 21, FOLLOW_2); + after(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + after(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - } - return ; - } - // $ANTLR end "rule__LiteralNullRule__ValueAssignment" - - - // $ANTLR start "rule__LiteralStringRule__ValueAssignment" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:724:1: rule__LiteralStringRule__ValueAssignment : ( RULE_STRING ) ; - public final void rule__LiteralStringRule__ValueAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:728:1: ( ( RULE_STRING ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:729:1: ( RULE_STRING ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:729:1: ( RULE_STRING ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:730:1: RULE_STRING - { - before(grammarAccess.getLiteralStringRuleAccess().getValueSTRINGTerminalRuleCall_0()); - match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rule__LiteralStringRule__ValueAssignment1499); - after(grammarAccess.getLiteralStringRuleAccess().getValueSTRINGTerminalRuleCall_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__LiteralStringRule__ValueAssignment" + } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { - // $ANTLR start "rule__UndefinedRule__ValueAssignment" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:739:1: rule__UndefinedRule__ValueAssignment : ( ( '<Undefined>' ) ) ; - public final void rule__UndefinedRule__ValueAssignment() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:743:1: ( ( ( '<Undefined>' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:744:1: ( ( '<Undefined>' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:744:1: ( ( '<Undefined>' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:745:1: ( '<Undefined>' ) - { - before(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:746:1: ( '<Undefined>' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:747:1: '<Undefined>' - { - before(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); - match(input,18,FOLLOW_18_in_rule__UndefinedRule__ValueAssignment1535); - after(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); - - } - - after(grammarAccess.getUndefinedRuleAccess().getValueUndefinedKeyword_0()); - - } - - - } + restoreStackSize(stackSize); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + return; + } + // $ANTLR end "rule__VisibilityKind__ProtectedAssignment_2" - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__UndefinedRule__ValueAssignment" + // $ANTLR start "rule__VisibilityKind__PackageAssignment_3" + // InternalUmlValueSpecification.g:831:1: rule__VisibilityKind__PackageAssignment_3 : ( ( '~' ) ) ; + public final void rule__VisibilityKind__PackageAssignment_3() throws RecognitionException { + int stackSize = keepStackSize(); - // $ANTLR start "rule__VisibilityKind__PublicAssignment_0" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:762:1: rule__VisibilityKind__PublicAssignment_0 : ( ( '+' ) ) ; - public final void rule__VisibilityKind__PublicAssignment_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:766:1: ( ( ( '+' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:767:1: ( ( '+' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:767:1: ( ( '+' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:768:1: ( '+' ) - { - before(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:769:1: ( '+' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:770:1: '+' - { - before(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - match(input,19,FOLLOW_19_in_rule__VisibilityKind__PublicAssignment_01579); - after(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - - } - - after(grammarAccess.getVisibilityKindAccess().getPublicPlusSignKeyword_0_0()); - - } - - - } + try { + // InternalUmlValueSpecification.g:835:1: ( ( ( '~' ) ) ) + // InternalUmlValueSpecification.g:836:1: ( ( '~' ) ) + { + // InternalUmlValueSpecification.g:836:1: ( ( '~' ) ) + // InternalUmlValueSpecification.g:837:1: ( '~' ) + { + before(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); + // InternalUmlValueSpecification.g:838:1: ( '~' ) + // InternalUmlValueSpecification.g:839:1: '~' + { + before(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); + match(input, 22, FOLLOW_2); + after(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + after(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - } - return ; - } - // $ANTLR end "rule__VisibilityKind__PublicAssignment_0" - - - // $ANTLR start "rule__VisibilityKind__PrivateAssignment_1" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:785:1: rule__VisibilityKind__PrivateAssignment_1 : ( ( '-' ) ) ; - public final void rule__VisibilityKind__PrivateAssignment_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:789:1: ( ( ( '-' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:790:1: ( ( '-' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:790:1: ( ( '-' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:791:1: ( '-' ) - { - before(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:792:1: ( '-' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:793:1: '-' - { - before(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); - match(input,20,FOLLOW_20_in_rule__VisibilityKind__PrivateAssignment_11623); - after(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); + } - } - after(grammarAccess.getVisibilityKindAccess().getPrivateHyphenMinusKeyword_1_0()); + } - } + } catch (RecognitionException re) { + reportError(re); + recover(input, re); + } finally { + restoreStackSize(stackSize); - } + } + return; + } + // $ANTLR end "rule__VisibilityKind__PackageAssignment_3" - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + // Delegated rules - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__VisibilityKind__PrivateAssignment_1" - // $ANTLR start "rule__VisibilityKind__ProtectedAssignment_2" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:808:1: rule__VisibilityKind__ProtectedAssignment_2 : ( ( '#' ) ) ; - public final void rule__VisibilityKind__ProtectedAssignment_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:812:1: ( ( ( '#' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:813:1: ( ( '#' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:813:1: ( ( '#' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:814:1: ( '#' ) - { - before(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:815:1: ( '#' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:816:1: '#' - { - before(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - match(input,21,FOLLOW_21_in_rule__VisibilityKind__ProtectedAssignment_21667); - after(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - - } - - after(grammarAccess.getVisibilityKindAccess().getProtectedNumberSignKeyword_2_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__VisibilityKind__ProtectedAssignment_2" - - - // $ANTLR start "rule__VisibilityKind__PackageAssignment_3" - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:831:1: rule__VisibilityKind__PackageAssignment_3 : ( ( '~' ) ) ; - public final void rule__VisibilityKind__PackageAssignment_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:835:1: ( ( ( '~' ) ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:836:1: ( ( '~' ) ) - { - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:836:1: ( ( '~' ) ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:837:1: ( '~' ) - { - before(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:838:1: ( '~' ) - // ../org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/contentassist/antlr/internal/InternalUmlValueSpecification.g:839:1: '~' - { - before(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - match(input,22,FOLLOW_22_in_rule__VisibilityKind__PackageAssignment_31711); - after(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - - } - - after(grammarAccess.getVisibilityKindAccess().getPackageTildeKeyword_3_0()); - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__VisibilityKind__PackageAssignment_3" - - // Delegated rules - - - - - public static final BitSet FOLLOW_ruleAbstractRule_in_entryRuleAbstractRule61 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAbstractRule68 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__0_in_ruleAbstractRule94 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralBooleanRule_in_entryRuleLiteralBooleanRule121 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteralBooleanRule128 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralBooleanRule__ValueAssignment_in_ruleLiteralBooleanRule154 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralIntegerOrUnlimitedNaturalRule_in_entryRuleLiteralIntegerOrUnlimitedNaturalRule181 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteralIntegerOrUnlimitedNaturalRule188 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives_in_ruleLiteralIntegerOrUnlimitedNaturalRule214 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralRealRule_in_entryRuleLiteralRealRule241 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteralRealRule248 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralRealRule__ValueAssignment_in_ruleLiteralRealRule274 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralNullRule_in_entryRuleLiteralNullRule301 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteralNullRule308 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralNullRule__ValueAssignment_in_ruleLiteralNullRule334 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralStringRule_in_entryRuleLiteralStringRule361 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteralStringRule368 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralStringRule__ValueAssignment_in_ruleLiteralStringRule394 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUndefinedRule_in_entryRuleUndefinedRule421 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleUndefinedRule428 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__UndefinedRule__ValueAssignment_in_ruleUndefinedRule454 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVisibilityKind_in_entryRuleVisibilityKind481 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVisibilityKind488 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__VisibilityKind__Alternatives_in_ruleVisibilityKind514 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__InstanceSpecificationAssignment_2_0_in_rule__AbstractRule__Alternatives_2550 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__ValueAssignment_2_1_in_rule__AbstractRule__Alternatives_2568 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__UndefinedAssignment_2_2_in_rule__AbstractRule__Alternatives_2586 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralBooleanRule_in_rule__AbstractRule__ValueAlternatives_2_1_0619 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralIntegerOrUnlimitedNaturalRule_in_rule__AbstractRule__ValueAlternatives_2_1_0636 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralRealRule_in_rule__AbstractRule__ValueAlternatives_2_1_0653 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralNullRule_in_rule__AbstractRule__ValueAlternatives_2_1_0670 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteralStringRule_in_rule__AbstractRule__ValueAlternatives_2_1_0687 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_14_in_rule__LiteralBooleanRule__ValueAlternatives_0720 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_rule__LiteralBooleanRule__ValueAlternatives_0740 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_0_in_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives774 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_1_in_rule__LiteralIntegerOrUnlimitedNaturalRule__Alternatives792 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0825 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_VALUE_SPECIFICATION_NEGATIVE_INT_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0842 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__VisibilityKind__PublicAssignment_0_in_rule__VisibilityKind__Alternatives874 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__VisibilityKind__PrivateAssignment_1_in_rule__VisibilityKind__Alternatives892 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__VisibilityKind__ProtectedAssignment_2_in_rule__VisibilityKind__Alternatives910 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__VisibilityKind__PackageAssignment_3_in_rule__VisibilityKind__Alternatives928 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__0__Impl_in_rule__AbstractRule__Group__0959 = new BitSet(new long[]{0x000000000007C3F0L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__1_in_rule__AbstractRule__Group__0962 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__VisibilityAssignment_0_in_rule__AbstractRule__Group__0__Impl989 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__1__Impl_in_rule__AbstractRule__Group__11020 = new BitSet(new long[]{0x000000000007C3F0L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__2_in_rule__AbstractRule__Group__11023 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__NameAssignment_1_in_rule__AbstractRule__Group__1__Impl1050 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__Group__2__Impl_in_rule__AbstractRule__Group__21081 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__Alternatives_2_in_rule__AbstractRule__Group__2__Impl1108 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVisibilityKind_in_rule__AbstractRule__VisibilityAssignment_01149 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_VALUE_SPECIFICATION_ID_in_rule__AbstractRule__NameAssignment_11180 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rule__AbstractRule__InstanceSpecificationAssignment_2_01215 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__AbstractRule__ValueAlternatives_2_1_0_in_rule__AbstractRule__ValueAssignment_2_11250 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUndefinedRule_in_rule__AbstractRule__UndefinedAssignment_2_21283 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralBooleanRule__ValueAlternatives_0_in_rule__LiteralBooleanRule__ValueAssignment1314 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAlternatives_0_0_in_rule__LiteralIntegerOrUnlimitedNaturalRule__ValueAssignment_01347 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_rule__LiteralIntegerOrUnlimitedNaturalRule__UnlimitedAssignment_11385 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_VALUE_SPECIFICATION_DOUBLE_in_rule__LiteralRealRule__ValueAssignment1424 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_17_in_rule__LiteralNullRule__ValueAssignment1460 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_rule__LiteralStringRule__ValueAssignment1499 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_18_in_rule__UndefinedRule__ValueAssignment1535 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_19_in_rule__VisibilityKind__PublicAssignment_01579 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_rule__VisibilityKind__PrivateAssignment_11623 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_21_in_rule__VisibilityKind__ProtectedAssignment_21667 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_22_in_rule__VisibilityKind__PackageAssignment_31711 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_1 = new BitSet(new long[] { 0x0000000000000000L }); + public static final BitSet FOLLOW_2 = new BitSet(new long[] { 0x0000000000000002L }); + public static final BitSet FOLLOW_3 = new BitSet(new long[] { 0x000000000007C3F0L }); }
\ No newline at end of file diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/internal/UmlValueSpecificationActivator.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/internal/UmlValueSpecificationActivator.java index b56d93ec5a8..bfab4fbc5b8 100644 --- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/internal/UmlValueSpecificationActivator.java +++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui/src-gen/org/eclipse/papyrus/uml/textedit/valuespecification/xtext/ui/internal/UmlValueSpecificationActivator.java @@ -19,35 +19,35 @@ import com.google.inject.Module; /** * This class was generated. Customizations should only happen in a newly - * introduced subclass. + * introduced subclass. */ public class UmlValueSpecificationActivator extends AbstractUIPlugin { - + public static final String ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_VALUESPECIFICATION_XTEXT_UMLVALUESPECIFICATION = "org.eclipse.papyrus.uml.textedit.valuespecification.xtext.UmlValueSpecification"; - + private static final Logger logger = Logger.getLogger(UmlValueSpecificationActivator.class); - + private static UmlValueSpecificationActivator INSTANCE; - + private Map<String, Injector> injectors = Collections.synchronizedMap(Maps.<String, Injector> newHashMapWithExpectedSize(1)); - + @Override public void start(BundleContext context) throws Exception { super.start(context); INSTANCE = this; } - + @Override public void stop(BundleContext context) throws Exception { injectors.clear(); INSTANCE = null; super.stop(context); } - + public static UmlValueSpecificationActivator getInstance() { return INSTANCE; } - + public Injector getInjector(String language) { synchronized (injectors) { Injector injector = injectors.get(language); @@ -57,7 +57,7 @@ public class UmlValueSpecificationActivator extends AbstractUIPlugin { return injector; } } - + protected Injector createInjector(String language) { try { Module runtimeModule = getRuntimeModule(language); @@ -76,20 +76,20 @@ public class UmlValueSpecificationActivator extends AbstractUIPlugin { if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_VALUESPECIFICATION_XTEXT_UMLVALUESPECIFICATION.equals(grammar)) { return new org.eclipse.papyrus.uml.textedit.valuespecification.xtext.UmlValueSpecificationRuntimeModule(); } - + throw new IllegalArgumentException(grammar); } - + protected Module getUiModule(String grammar) { if (ORG_ECLIPSE_PAPYRUS_UML_TEXTEDIT_VALUESPECIFICATION_XTEXT_UMLVALUESPECIFICATION.equals(grammar)) { return new org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.UmlValueSpecificationUiModule(this); } - + throw new IllegalArgumentException(grammar); } - + protected Module getSharedStateModule() { return new SharedStateModule(); } - + } |