Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java21
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore4
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel6
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.xtextbinbin3220 -> 3298 bytes
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g8
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens22
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java1324
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java151
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSemanticSequencer.java39
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSyntacticSequencer.java6
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/services/UMLConnectionPointReferenceGrammarAccess.java109
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java15
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java11
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java40
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java69
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java49
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java93
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java67
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java55
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java32
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java47
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java54
22 files changed, 939 insertions, 1283 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java
index b38ba277ff8..cdc0fc57808 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/AbstractUMLConnectionPointReferenceRuntimeModule.java
@@ -6,7 +6,6 @@ package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext;
import java.util.Properties;
import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
import com.google.inject.Binder;
import com.google.inject.name.Names;
@@ -15,7 +14,7 @@ import com.google.inject.name.Names;
* Manual modifications go to {org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.UMLConnectionPointReferenceRuntimeModule}
*/
@SuppressWarnings("all")
-public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends DefaultRuntimeModule {
+public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
protected Properties properties = null;
@@ -30,9 +29,8 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
public void configureFileExtensions(Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) {
+ if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("conncectionpointreference");
- }
}
// contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
@@ -46,7 +44,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- @Override
public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() {
return org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.serializer.UMLConnectionPointReferenceSemanticSequencer.class;
}
@@ -57,7 +54,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- @Override
public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() {
return org.eclipse.xtext.serializer.impl.Serializer.class;
}
@@ -68,7 +64,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
}
@@ -95,7 +90,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
}
@@ -107,7 +101,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
return org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.scoping.UMLConnectionPointReferenceScopeProvider.class;
}
@@ -119,7 +112,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
return org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.class;
}
@@ -130,7 +122,6 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- @Override
public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
}
@@ -141,13 +132,11 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- @Override
public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
return org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.formatting.UMLConnectionPointReferenceFormatter.class;
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
}
@@ -158,15 +147,13 @@ public abstract class AbstractUMLConnectionPointReferenceRuntimeModule extends D
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
public void configureIResourceDescriptions(com.google.inject.Binder binder) {
binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
}
// contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- @Override
- 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))
+ 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.resource.impl.ResourceSetBasedResourceDescriptions.class);
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
index 6579a8bac9b..5391796801a 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.ecore
@@ -4,8 +4,8 @@
nsPrefix="uMLConnectionPointReference">
<eClassifiers xsi:type="ecore:EClass" name="ConnectionPointReferenceRule">
<eStructuralFeatures xsi:type="ecore:EReference" name="entry" unique="false" upperBound="-1"
- eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
+ eType="ecore:EClass platform:/resource/org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="exit" unique="false" upperBound="-1"
- eType="ecore:EClass ../../../../../../../../../org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
+ eType="ecore:EClass platform:/resource/org.eclipse.uml2.uml/model/UML.ecore#//Pseudostate"/>
</eClassifiers>
</ecore:EPackage>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
index 61f9189468b..100b1caa80f 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.genmodel
@@ -5,12 +5,12 @@
editorDirectory="/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor/src"
modelPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
forceOverwrite="true" modelName="UMLConnectionPointReference" updateClasspath="false"
- rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0"
+ rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0"
copyrightFields="false" editPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.edit"
editorPluginID="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.editor"
- runtimeVersion="2.9" usedGenPackages="../../../../../../../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml">
+ runtimeVersion="2.14" usedGenPackages="platform:/resource/org.eclipse.uml2.uml/model/UML.genmodel#//uml">
<genPackages prefix="UMLConnectionPointReference" basePackage="org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext"
- resource="XML" disposableProviderFactory="true" ecorePackage="UMLConnectionPointReference.ecore#/">
+ disposableProviderFactory="true" ecorePackage="UMLConnectionPointReference.ecore#/">
<genClasses ecoreClass="UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/entry"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference UMLConnectionPointReference.ecore#//ConnectionPointReferenceRule/exit"/>
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.xtextbin b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.xtextbin
index 555c49659f6..40fe028c331 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.xtextbin
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference.xtextbin
Binary files differ
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g
index bfe01870a2e..47714ee49a7 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
grammar InternalUMLConnectionPointReference;
options {
@@ -153,8 +153,6 @@ ruleConnectionPointReferenceRule returns [EObject current=null]
-RULE_INTEGER_VALUE : (('0'|'1'..'9' ('_'? '0'..'9')*)|('0b'|'0B') '0'..'1' ('_'? '0'..'1')*|('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F') ('_'? ('0'..'9'|'a'..'f'|'A'..'F'))*|'0' '_'? '0'..'7' ('_'? '0'..'7')*);
-
RULE_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( options {greedy=false;} : . )*'\'');
RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
@@ -165,6 +163,8 @@ RULE_SL_COMMENT : '//' ~(('\n'|'\r'|'@'))* ('\r'? '\n')?;
RULE_INT : ('0'..'9')+;
+RULE_INTEGER_VALUE : (('0'|'1'..'9' ('_'? '0'..'9')*)|('0b'|'0B') '0'..'1' ('_'? '0'..'1')*|('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F') ('_'? ('0'..'9'|'a'..'f'|'A'..'F'))*|'0' '_'? '0'..'7' ('_'? '0'..'7')*);
+
RULE_WS : (' '|'\t'|'\r'|'\n')+;
RULE_ANY_OTHER : .;
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
index b94e58d40cb..71e3a2fa11e 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.tokens
@@ -1,14 +1,14 @@
+','=13
+'entry'=12
+'exit'=14
+RULE_ANY_OTHER=11
RULE_ID=4
-RULE_STRING=6
+RULE_INT=8
+RULE_INTEGER_VALUE=9
+RULE_ML_COMMENT=6
+RULE_SL_COMMENT=7
+RULE_STRING=5
+RULE_WS=10
T__12=12
-T__14=14
T__13=13
-RULE_ANY_OTHER=11
-RULE_INT=9
-RULE_INTEGER_VALUE=5
-RULE_WS=10
-RULE_SL_COMMENT=8
-RULE_ML_COMMENT=7
-'exit'=14
-','=13
-'entry'=12
+T__14=14
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
index b0498d14411..1905f545fd0 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceLexer.java
@@ -1,7 +1,5 @@
package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.parser.antlr.internal;
-// 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.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.DFA;
@@ -11,22 +9,24 @@ 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.parser.antlr.Lexer;
@SuppressWarnings("all")
public class InternalUMLConnectionPointReferenceLexer extends Lexer {
public static final int RULE_ID = 4;
- public static final int RULE_STRING = 6;
+ public static final int RULE_WS = 10;
+ public static final int RULE_STRING = 5;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_SL_COMMENT = 7;
+ public static final int RULE_INT = 8;
+ public static final int RULE_ML_COMMENT = 6;
+ public static final int RULE_INTEGER_VALUE = 9;
public static final int T__12 = 12;
- public static final int T__14 = 14;
public static final int T__13 = 13;
- public static final int RULE_ANY_OTHER = 11;
- public static final int RULE_INT = 9;
- public static final int RULE_INTEGER_VALUE = 5;
- public static final int RULE_WS = 10;
- public static final int RULE_SL_COMMENT = 8;
+ public static final int T__14 = 14;
public static final int EOF = -1;
- public static final int RULE_ML_COMMENT = 7;
// delegates
// delegators
@@ -44,9 +44,8 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
}
- @Override
public String getGrammarFileName() {
- return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
+ return "InternalUMLConnectionPointReference.g";
}
// $ANTLR start "T__12"
@@ -54,8 +53,8 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = T__12;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:11:9: 'entry'
+ // InternalUMLConnectionPointReference.g:11:7: ( 'entry' )
+ // InternalUMLConnectionPointReference.g:11:9: 'entry'
{
match("entry");
@@ -67,7 +66,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__12"
// $ANTLR start "T__13"
@@ -75,8 +73,8 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = T__13;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:7: ( ',' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:12:9: ','
+ // InternalUMLConnectionPointReference.g:12:7: ( ',' )
+ // InternalUMLConnectionPointReference.g:12:9: ','
{
match(',');
@@ -87,7 +85,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__13"
// $ANTLR start "T__14"
@@ -95,8 +92,8 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = T__14;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:13:9: 'exit'
+ // InternalUMLConnectionPointReference.g:13:7: ( 'exit' )
+ // InternalUMLConnectionPointReference.g:13:9: 'exit'
{
match("exit");
@@ -108,505 +105,60 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "T__14"
- // $ANTLR start "RULE_INTEGER_VALUE"
- public final void mRULE_INTEGER_VALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGER_VALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0'
- // .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' ..
- // '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:22: ( ( '0' | '1' .. '9' ( ( '_' )?
- // '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- int alt13 = 4;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == '0')) {
- switch (input.LA(2)) {
- case 'B':
- case 'b': {
- alt13 = 2;
- }
- break;
- case 'X':
- case 'x': {
- alt13 = 3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_': {
- alt13 = 4;
- }
- break;
- default:
- alt13 = 1;
- }
-
- }
- else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
- alt13 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )? '0'
- // .. '9' )* )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:23: ( '0' | '1' .. '9' ( ( '_' )?
- // '0' .. '9' )* )
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == '0')) {
- alt3 = 1;
- }
- else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
- alt3 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:24: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:28: '1' .. '9' ( ( '_' )? '0' ..
- // '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:37: ( ( '_' )? '0' .. '9' )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: ( '_' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '_')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:38: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_'
- // )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:55: ( '0b' | '0B' )
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == '0')) {
- int LA4_1 = input.LA(2);
-
- if ((LA4_1 == 'b')) {
- alt4 = 1;
- }
- else if ((LA4_1 == 'B')) {
- alt4 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 0, input);
-
- throw nvae;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:56: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:61: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:76: ( ( '_' )? '0' .. '1' )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
- alt6 = 1;
- }
-
-
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: ( '_' )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '_')) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:77: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a'
- // .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:93: ( '0x' | '0X' )
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '0')) {
- int LA7_1 = input.LA(2);
-
- if ((LA7_1 == 'x')) {
- alt7 = 1;
- }
- else if ((LA7_1 == 'X')) {
- alt7 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
-
- throw nvae;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:94: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:99: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:134: ( ( '_' )? ( '0' .. '9' | 'a'
- // .. 'f' | 'A' .. 'F' ) )*
- loop9: do {
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
- alt9 = 1;
- }
-
-
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )? ( '0' .. '9' |
- // 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: ( '_' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '_')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:135: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop9;
- }
- } while (true);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:171: '0' ( '_' )? '0' .. '7' ( ( '_'
- // )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:175: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:189: ( ( '_' )? '0' .. '7' )*
- loop12: do {
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
- alt12 = 1;
- }
-
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: ( '_' )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == '_')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:156:190: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
-
- }
- break;
-
- default:
- break loop12;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGER_VALUE"
-
// $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.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
- // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) (
- // 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ // InternalUMLConnectionPointReference.g:156:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' ) )
+ // InternalUMLConnectionPointReference.g:156:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_'
- // ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '\'')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ // InternalUMLConnectionPointReference.g:156:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' ( options {greedy=false; } : . )* '\\'' )
+ int alt3 = 2;
+ int LA3_0 = input.LA(1);
+
+ if (((LA3_0 >= 'A' && LA3_0 <= 'Z') || LA3_0 == '_' || (LA3_0 >= 'a' && LA3_0 <= 'z'))) {
+ alt3 = 1;
+ } else if ((LA3_0 == '\'')) {
+ alt3 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 3, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt3) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' )
- // ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalUMLConnectionPointReference.g:156:12: ( '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 {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:36: ( 'a' .. 'z' | 'A' .. 'Z' |
- // '_' | '0' .. '9' )*
- loop14: do {
- int alt14 = 2;
- int LA14_0 = input.LA(1);
+ // InternalUMLConnectionPointReference.g:156:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ loop1: do {
+ int alt1 = 2;
+ int LA1_0 = input.LA(1);
- if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
- alt14 = 1;
+ if (((LA1_0 >= '0' && LA1_0 <= '9') || (LA1_0 >= 'A' && LA1_0 <= 'Z') || LA1_0 == '_' || (LA1_0 >= 'a' && LA1_0 <= 'z'))) {
+ alt1 = 1;
}
- switch (alt14) {
+ switch (alt1) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
+ // InternalUMLConnectionPointReference.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 {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -617,7 +169,7 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- break loop14;
+ break loop1;
}
} while (true);
@@ -625,27 +177,24 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:70: '\\'' ( options {greedy=false; } :
- // . )* '\\''
+ // InternalUMLConnectionPointReference.g:156:70: '\\'' ( options {greedy=false; } : . )* '\\''
{
match('\'');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:75: ( options {greedy=false; } : .
- // )*
- loop15: do {
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '\'')) {
- alt15 = 2;
- }
- else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
- alt15 = 1;
+ // InternalUMLConnectionPointReference.g:156:75: ( options {greedy=false; } : . )*
+ loop2: do {
+ int alt2 = 2;
+ int LA2_0 = input.LA(1);
+
+ if ((LA2_0 == '\'')) {
+ alt2 = 2;
+ } else if (((LA2_0 >= '\u0000' && LA2_0 <= '&') || (LA2_0 >= '(' && LA2_0 <= '\uFFFF'))) {
+ alt2 = 1;
}
- switch (alt15) {
+ switch (alt2) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:158:103: .
+ // InternalUMLConnectionPointReference.g:156:103: .
{
matchAny();
@@ -653,7 +202,7 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- break loop15;
+ break loop2;
}
} while (true);
@@ -672,7 +221,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ID"
// $ANTLR start "RULE_STRING"
@@ -680,37 +228,31 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' |
- // 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f'
- // | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalUMLConnectionPointReference.g:158:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' )
+ // InternalUMLConnectionPointReference.g:158:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' |
- // 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop17: do {
- int alt17 = 3;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '\\')) {
- alt17 = 1;
- }
- else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
- alt17 = 2;
+ // InternalUMLConnectionPointReference.g:158:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ loop4: do {
+ int alt4 = 3;
+ int LA4_0 = input.LA(1);
+
+ if ((LA4_0 == '\\')) {
+ alt4 = 1;
+ } else if (((LA4_0 >= '\u0000' && LA4_0 <= '!') || (LA4_0 >= '#' && LA4_0 <= '[') || (LA4_0 >= ']' && LA4_0 <= '\uFFFF'))) {
+ alt4 = 2;
}
- switch (alt17) {
+ switch (alt4) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:20: '\\\\' ( 'b' | 't' | 'n' | 'f'
- // | 'r' | '\"' | '\\'' | '\\\\' )
+ // InternalUMLConnectionPointReference.g:158:20: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if (input.LA(1) == '\"' || input.LA(1) == '\'' || input.LA(1) == '\\' || input.LA(1) == 'b' || input.LA(1) == 'f' || input.LA(1) == 'n' || input.LA(1) == 'r' || input.LA(1) == 't') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -720,13 +262,12 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:160:61: ~ ( ( '\\\\' | '\"' ) )
+ // InternalUMLConnectionPointReference.g:158: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 {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -737,7 +278,7 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- break loop17;
+ break loop4;
}
} while (true);
@@ -750,7 +291,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_STRING"
// $ANTLR start "RULE_ML_COMMENT"
@@ -758,48 +298,43 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:17: ( '/*' ~ ( '@' ) ( options
- // {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:19: '/*' ~ ( '@' ) ( options
- // {greedy=false; } : . )* '*/'
+ // InternalUMLConnectionPointReference.g:160:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
+ // InternalUMLConnectionPointReference.g:160:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
{
match("/*");
if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
}
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:31: ( options {greedy=false; } : . )*
- loop18: do {
- int alt18 = 2;
- int LA18_0 = input.LA(1);
+ // InternalUMLConnectionPointReference.g:160:31: ( options {greedy=false; } : . )*
+ loop5: do {
+ int alt5 = 2;
+ int LA5_0 = input.LA(1);
- if ((LA18_0 == '*')) {
- int LA18_1 = input.LA(2);
+ if ((LA5_0 == '*')) {
+ int LA5_1 = input.LA(2);
- if ((LA18_1 == '/')) {
- alt18 = 2;
- }
- else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
- alt18 = 1;
+ if ((LA5_1 == '/')) {
+ alt5 = 2;
+ } else if (((LA5_1 >= '\u0000' && LA5_1 <= '.') || (LA5_1 >= '0' && LA5_1 <= '\uFFFF'))) {
+ alt5 = 1;
}
- }
- else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
- alt18 = 1;
+ } else if (((LA5_0 >= '\u0000' && LA5_0 <= ')') || (LA5_0 >= '+' && LA5_0 <= '\uFFFF'))) {
+ alt5 = 1;
}
- switch (alt18) {
+ switch (alt5) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:162:59: .
+ // InternalUMLConnectionPointReference.g:160:59: .
{
matchAny();
@@ -807,7 +342,7 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- break loop18;
+ break loop5;
}
} while (true);
@@ -821,7 +356,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ML_COMMENT"
// $ANTLR start "RULE_SL_COMMENT"
@@ -829,32 +363,29 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) )
- // )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- // ( ( '\\r' )? '\\n' )?
+ // InternalUMLConnectionPointReference.g:162:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalUMLConnectionPointReference.g:162:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop19: do {
- int alt19 = 2;
- int LA19_0 = input.LA(1);
+ // InternalUMLConnectionPointReference.g:162:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
+ loop6: do {
+ int alt6 = 2;
+ int LA6_0 = input.LA(1);
- if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
- alt19 = 1;
+ if (((LA6_0 >= '\u0000' && LA6_0 <= '\t') || (LA6_0 >= '\u000B' && LA6_0 <= '\f') || (LA6_0 >= '\u000E' && LA6_0 <= '?') || (LA6_0 >= 'A' && LA6_0 <= '\uFFFF'))) {
+ alt6 = 1;
}
- switch (alt19) {
+ switch (alt6) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:24: ~ ( ( '\\n' | '\\r' | '@' ) )
+ // InternalUMLConnectionPointReference.g:162: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) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -865,31 +396,31 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- break loop19;
+ break loop6;
}
} while (true);
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:44: ( ( '\\r' )? '\\n' )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
+ // InternalUMLConnectionPointReference.g:162:44: ( ( '\\r' )? '\\n' )?
+ int alt8 = 2;
+ int LA8_0 = input.LA(1);
- if ((LA21_0 == '\n' || LA21_0 == '\r')) {
- alt21 = 1;
+ if ((LA8_0 == '\n' || LA8_0 == '\r')) {
+ alt8 = 1;
}
- switch (alt21) {
+ switch (alt8) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )? '\\n'
+ // InternalUMLConnectionPointReference.g:162:45: ( '\\r' )? '\\n'
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: ( '\\r' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
+ // InternalUMLConnectionPointReference.g:162:45: ( '\\r' )?
+ int alt7 = 2;
+ int LA7_0 = input.LA(1);
- if ((LA20_0 == '\r')) {
- alt20 = 1;
+ if ((LA7_0 == '\r')) {
+ alt7 = 1;
}
- switch (alt20) {
+ switch (alt7) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:164:45: '\\r'
+ // InternalUMLConnectionPointReference.g:162:45: '\\r'
{
match('\r');
@@ -913,7 +444,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_SL_COMMENT"
// $ANTLR start "RULE_INT"
@@ -921,23 +451,23 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
+ // InternalUMLConnectionPointReference.g:164:10: ( ( '0' .. '9' )+ )
+ // InternalUMLConnectionPointReference.g:164:12: ( '0' .. '9' )+
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:12: ( '0' .. '9' )+
- int cnt22 = 0;
- loop22: do {
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
- alt22 = 1;
+ // InternalUMLConnectionPointReference.g:164:12: ( '0' .. '9' )+
+ int cnt9 = 0;
+ loop9: do {
+ int alt9 = 2;
+ int LA9_0 = input.LA(1);
+
+ if (((LA9_0 >= '0' && LA9_0 <= '9'))) {
+ alt9 = 1;
}
- switch (alt22) {
+ switch (alt9) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:166:13: '0' .. '9'
+ // InternalUMLConnectionPointReference.g:164:13: '0' .. '9'
{
matchRange('0', '9');
@@ -945,14 +475,12 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- if (cnt22 >= 1) {
- break loop22;
- }
- EarlyExitException eee =
- new EarlyExitException(22, input);
+ if (cnt9 >= 1)
+ break loop9;
+ EarlyExitException eee = new EarlyExitException(9, input);
throw eee;
}
- cnt22++;
+ cnt9++;
} while (true);
@@ -963,18 +491,424 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_INT"
+ // $ANTLR start "RULE_INTEGER_VALUE"
+ public final void mRULE_INTEGER_VALUE() throws RecognitionException {
+ try {
+ int _type = RULE_INTEGER_VALUE;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // InternalUMLConnectionPointReference.g:166:20: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f'
+ // | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
+ // InternalUMLConnectionPointReference.g:166:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' |
+ // 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ {
+ // InternalUMLConnectionPointReference.g:166:22: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' ..
+ // 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
+ int alt22 = 4;
+ int LA22_0 = input.LA(1);
+
+ if ((LA22_0 == '0')) {
+ switch (input.LA(2)) {
+ case 'B':
+ case 'b': {
+ alt22 = 2;
+ }
+ break;
+ case 'X':
+ case 'x': {
+ alt22 = 3;
+ }
+ break;
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '_': {
+ alt22 = 4;
+ }
+ break;
+ default:
+ alt22 = 1;
+ }
+
+ } else if (((LA22_0 >= '1' && LA22_0 <= '9'))) {
+ alt22 = 1;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 22, 0, input);
+
+ throw nvae;
+ }
+ switch (alt22) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ {
+ // InternalUMLConnectionPointReference.g:166:23: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
+ int alt12 = 2;
+ int LA12_0 = input.LA(1);
+
+ if ((LA12_0 == '0')) {
+ alt12 = 1;
+ } else if (((LA12_0 >= '1' && LA12_0 <= '9'))) {
+ alt12 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:24: '0'
+ {
+ match('0');
+
+ }
+ break;
+ case 2:
+ // InternalUMLConnectionPointReference.g:166:28: '1' .. '9' ( ( '_' )? '0' .. '9' )*
+ {
+ matchRange('1', '9');
+ // InternalUMLConnectionPointReference.g:166:37: ( ( '_' )? '0' .. '9' )*
+ loop11: do {
+ int alt11 = 2;
+ int LA11_0 = input.LA(1);
+
+ if (((LA11_0 >= '0' && LA11_0 <= '9') || LA11_0 == '_')) {
+ alt11 = 1;
+ }
+
+
+ switch (alt11) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:38: ( '_' )? '0' .. '9'
+ {
+ // InternalUMLConnectionPointReference.g:166:38: ( '_' )?
+ int alt10 = 2;
+ int LA10_0 = input.LA(1);
+
+ if ((LA10_0 == '_')) {
+ alt10 = 1;
+ }
+ switch (alt10) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:38: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '9');
+
+ }
+ break;
+
+ default:
+ break loop11;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+ case 2:
+ // InternalUMLConnectionPointReference.g:166:55: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
+ {
+ // InternalUMLConnectionPointReference.g:166:55: ( '0b' | '0B' )
+ int alt13 = 2;
+ int LA13_0 = input.LA(1);
+
+ if ((LA13_0 == '0')) {
+ int LA13_1 = input.LA(2);
+
+ if ((LA13_1 == 'b')) {
+ alt13 = 1;
+ } else if ((LA13_1 == 'B')) {
+ alt13 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:56: '0b'
+ {
+ match("0b");
+
+
+ }
+ break;
+ case 2:
+ // InternalUMLConnectionPointReference.g:166:61: '0B'
+ {
+ match("0B");
+
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+ // InternalUMLConnectionPointReference.g:166:76: ( ( '_' )? '0' .. '1' )*
+ loop15: do {
+ int alt15 = 2;
+ int LA15_0 = input.LA(1);
+
+ if (((LA15_0 >= '0' && LA15_0 <= '1') || LA15_0 == '_')) {
+ alt15 = 1;
+ }
+
+
+ switch (alt15) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:77: ( '_' )? '0' .. '1'
+ {
+ // InternalUMLConnectionPointReference.g:166:77: ( '_' )?
+ int alt14 = 2;
+ int LA14_0 = input.LA(1);
+
+ if ((LA14_0 == '_')) {
+ alt14 = 1;
+ }
+ switch (alt14) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:77: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '1');
+
+ }
+ break;
+
+ default:
+ break loop15;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 3:
+ // InternalUMLConnectionPointReference.g:166:93: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ {
+ // InternalUMLConnectionPointReference.g:166:93: ( '0x' | '0X' )
+ int alt16 = 2;
+ int LA16_0 = input.LA(1);
+
+ if ((LA16_0 == '0')) {
+ int LA16_1 = input.LA(2);
+
+ if ((LA16_1 == 'x')) {
+ alt16 = 1;
+ } else if ((LA16_1 == 'X')) {
+ alt16 = 2;
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 1, input);
+
+ throw nvae;
+ }
+ } else {
+ NoViableAltException nvae = new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:94: '0x'
+ {
+ match("0x");
+
+
+ }
+ break;
+ case 2:
+ // InternalUMLConnectionPointReference.g:166:99: '0X'
+ {
+ match("0X");
+
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+ // InternalUMLConnectionPointReference.g:166:134: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
+ loop18: do {
+ int alt18 = 2;
+ int LA18_0 = input.LA(1);
+
+ if (((LA18_0 >= '0' && LA18_0 <= '9') || (LA18_0 >= 'A' && LA18_0 <= 'F') || LA18_0 == '_' || (LA18_0 >= 'a' && LA18_0 <= 'f'))) {
+ alt18 = 1;
+ }
+
+
+ switch (alt18) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:135: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ {
+ // InternalUMLConnectionPointReference.g:166:135: ( '_' )?
+ int alt17 = 2;
+ int LA17_0 = input.LA(1);
+
+ if ((LA17_0 == '_')) {
+ alt17 = 1;
+ }
+ switch (alt17) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:135: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ if ((input.LA(1) >= '0' && input.LA(1) <= '9') || (input.LA(1) >= 'A' && input.LA(1) <= 'F') || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
+ input.consume();
+
+ } else {
+ MismatchedSetException mse = new MismatchedSetException(null, input);
+ recover(mse);
+ throw mse;
+ }
+
+
+ }
+ break;
+
+ default:
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+ break;
+ case 4:
+ // InternalUMLConnectionPointReference.g:166:171: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
+ {
+ match('0');
+ // InternalUMLConnectionPointReference.g:166:175: ( '_' )?
+ int alt19 = 2;
+ int LA19_0 = input.LA(1);
+
+ if ((LA19_0 == '_')) {
+ alt19 = 1;
+ }
+ switch (alt19) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:175: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+ // InternalUMLConnectionPointReference.g:166:189: ( ( '_' )? '0' .. '7' )*
+ loop21: do {
+ int alt21 = 2;
+ int LA21_0 = input.LA(1);
+
+ if (((LA21_0 >= '0' && LA21_0 <= '7') || LA21_0 == '_')) {
+ alt21 = 1;
+ }
+
+
+ switch (alt21) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:190: ( '_' )? '0' .. '7'
+ {
+ // InternalUMLConnectionPointReference.g:166:190: ( '_' )?
+ int alt20 = 2;
+ int LA20_0 = input.LA(1);
+
+ if ((LA20_0 == '_')) {
+ alt20 = 1;
+ }
+ switch (alt20) {
+ case 1:
+ // InternalUMLConnectionPointReference.g:166:190: '_'
+ {
+ match('_');
+
+ }
+ break;
+
+ }
+
+ matchRange('0', '7');
+
+ }
+ break;
+
+ default:
+ break loop21;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ } finally {
+ }
+ }
+ // $ANTLR end "RULE_INTEGER_VALUE"
+
// $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.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUMLConnectionPointReference.g:168:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalUMLConnectionPointReference.g:168:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt23 = 0;
loop23: do {
int alt23 = 2;
@@ -987,13 +921,12 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
switch (alt23) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:
+ // InternalUMLConnectionPointReference.g:
{
if ((input.LA(1) >= '\t' && input.LA(1) <= '\n') || input.LA(1) == '\r' || input.LA(1) == ' ') {
input.consume();
- }
- else {
+ } else {
MismatchedSetException mse = new MismatchedSetException(null, input);
recover(mse);
throw mse;
@@ -1004,11 +937,9 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
break;
default:
- if (cnt23 >= 1) {
+ if (cnt23 >= 1)
break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
+ EarlyExitException eee = new EarlyExitException(23, input);
throw eee;
}
cnt23++;
@@ -1022,7 +953,6 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_WS"
// $ANTLR start "RULE_ANY_OTHER"
@@ -1030,8 +960,8 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:16: ( . )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:170:18: .
+ // InternalUMLConnectionPointReference.g:170:16: ( . )
+ // InternalUMLConnectionPointReference.g:170:18: .
{
matchAny();
@@ -1042,88 +972,85 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
} finally {
}
}
-
// $ANTLR end "RULE_ANY_OTHER"
- @Override
public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:8: ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE
- // | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
+ // InternalUMLConnectionPointReference.g:1:8: ( T__12 | T__13 | T__14 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER )
int alt24 = 11;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:10: T__12
+ // InternalUMLConnectionPointReference.g:1:10: T__12
{
mT__12();
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:16: T__13
+ // InternalUMLConnectionPointReference.g:1:16: T__13
{
mT__13();
}
break;
case 3:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:22: T__14
+ // InternalUMLConnectionPointReference.g:1:22: T__14
{
mT__14();
}
break;
case 4:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:28: RULE_INTEGER_VALUE
+ // InternalUMLConnectionPointReference.g:1:28: RULE_ID
{
- mRULE_INTEGER_VALUE();
+ mRULE_ID();
}
break;
case 5:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:47: RULE_ID
+ // InternalUMLConnectionPointReference.g:1:36: RULE_STRING
{
- mRULE_ID();
+ mRULE_STRING();
}
break;
case 6:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:55: RULE_STRING
+ // InternalUMLConnectionPointReference.g:1:48: RULE_ML_COMMENT
{
- mRULE_STRING();
+ mRULE_ML_COMMENT();
}
break;
case 7:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:67: RULE_ML_COMMENT
+ // InternalUMLConnectionPointReference.g:1:64: RULE_SL_COMMENT
{
- mRULE_ML_COMMENT();
+ mRULE_SL_COMMENT();
}
break;
case 8:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:83: RULE_SL_COMMENT
+ // InternalUMLConnectionPointReference.g:1:80: RULE_INT
{
- mRULE_SL_COMMENT();
+ mRULE_INT();
}
break;
case 9:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:99: RULE_INT
+ // InternalUMLConnectionPointReference.g:1:89: RULE_INTEGER_VALUE
{
- mRULE_INT();
+ mRULE_INTEGER_VALUE();
}
break;
case 10:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:108: RULE_WS
+ // InternalUMLConnectionPointReference.g:1:108: RULE_WS
{
mRULE_WS();
}
break;
case 11:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:1:116: RULE_ANY_OTHER
+ // InternalUMLConnectionPointReference.g:1:116: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1136,35 +1063,22 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\1\uffff\1\15\1\uffff\2\17\1\uffff\3\12\2\uffff\2\15\3\uffff\1" +
- "\17\1\uffff\1\17\4\uffff\2\15\1\17\1\15\1\35\1\36\2\uffff";
- static final String DFA24_eofS =
- "\37\uffff";
- static final String DFA24_minS =
- "\1\0\1\156\1\uffff\2\60\1\uffff\2\0\1\52\2\uffff\1\164\1\151\3" +
- "\uffff\1\60\1\uffff\1\60\4\uffff\1\162\1\164\1\60\1\171\2\60\2\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\170\1\uffff\2\71\1\uffff\2\uffff\1\57\2\uffff\1\164" +
- "\1\151\3\uffff\1\71\1\uffff\1\71\4\uffff\1\162\1\164\1\71\1\171" +
- "\2\172\2\uffff";
- static final String DFA24_acceptS =
- "\2\uffff\1\2\2\uffff\1\5\3\uffff\1\12\1\13\2\uffff\1\5\1\2\1\4" +
- "\1\uffff\1\11\1\uffff\1\6\1\7\1\10\1\12\6\uffff\1\3\1\1";
- static final String DFA24_specialS =
- "\1\0\5\uffff\1\1\1\2\27\uffff}>";
+ static final String DFA24_eotS = "\1\uffff\1\15\2\uffff\3\12\2\23\2\uffff\2\15\7\uffff\2\23\1\uffff\2\15\1\23\1\15\1\35\1\36\2\uffff";
+ static final String DFA24_eofS = "\37\uffff";
+ static final String DFA24_minS = "\1\0\1\156\2\uffff\2\0\1\52\2\60\2\uffff\1\164\1\151\7\uffff\2\60\1\uffff\1\162\1\164\1\60\1\171\2\60\2\uffff";
+ static final String DFA24_maxS = "\1\uffff\1\170\2\uffff\2\uffff\1\57\1\170\1\137\2\uffff\1\164\1\151\7\uffff\2\137\1\uffff\1\162\1\164\1\137\1\171\2\172\2\uffff";
+ static final String DFA24_acceptS = "\2\uffff\1\2\1\4\5\uffff\1\12\1\13\2\uffff\1\4\1\2\1\5\1\6\1\7\1\11\1\10\2\uffff\1\12\6\uffff\1\3\1\1";
+ static final String DFA24_specialS = "\1\2\3\uffff\1\0\1\1\31\uffff}>";
static final String[] DFA24_transitionS = {
- "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\7\4\12\1\6\4\12\1\2" +
- "\2\12\1\10\1\3\11\4\7\12\32\5\4\12\1\5\1\12\4\5\1\1\25\5\uff85" +
- "\12",
+ "\11\12\2\11\2\12\1\11\22\12\1\11\1\12\1\5\4\12\1\4\4\12\1\2\2\12\1\6\1\7\11\10\7\12\32\3\4\12\1\3\1\12\4\3\1\1\25\3\uff85\12",
"\1\13\11\uffff\1\14",
"",
- "\10\20\2\21",
- "\12\22",
"",
"\0\15",
- "\0\23",
- "\1\24\4\uffff\1\25",
+ "\0\17",
+ "\1\20\4\uffff\1\21",
+ "\10\24\12\uffff\1\22\25\uffff\1\22\6\uffff\1\22\2\uffff\1\22\25\uffff\1\22",
+ "\12\25\45\uffff\1\22",
"",
"",
"\1\27",
@@ -1172,16 +1086,16 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
"",
"",
"",
- "\10\31\2\21",
"",
- "\12\22",
"",
"",
"",
+ "\10\31\47\uffff\1\22",
+ "\12\25\45\uffff\1\22",
"",
"\1\32",
"\1\33",
- "\10\31\2\21",
+ "\10\31\47\uffff\1\22",
"\1\34",
"\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
"\12\15\7\uffff\32\15\4\uffff\1\15\1\uffff\32\15",
@@ -1219,17 +1133,43 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
this.transition = DFA24_transition;
}
- @Override
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | RULE_INTEGER_VALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__12 | T__13 | T__14 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_INTEGER_VALUE | RULE_WS | RULE_ANY_OTHER );";
}
- @Override
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch (s) {
case 0:
+ int LA24_4 = input.LA(1);
+
+ s = -1;
+ if (((LA24_4 >= '\u0000' && LA24_4 <= '\uFFFF'))) {
+ s = 13;
+ }
+
+ else
+ s = 10;
+
+ if (s >= 0)
+ return s;
+ break;
+ case 1:
+ int LA24_5 = input.LA(1);
+
+ s = -1;
+ if (((LA24_5 >= '\u0000' && LA24_5 <= '\uFFFF'))) {
+ s = 15;
+ }
+
+ else
+ s = 10;
+
+ if (s >= 0)
+ return s;
+ break;
+ case 2:
int LA24_0 = input.LA(1);
s = -1;
@@ -1241,27 +1181,27 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
s = 2;
}
- else if ((LA24_0 == '0')) {
+ else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'd') || (LA24_0 >= 'f' && LA24_0 <= 'z'))) {
s = 3;
}
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
+ else if ((LA24_0 == '\'')) {
s = 4;
}
- else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || (LA24_0 >= 'a' && LA24_0 <= 'd') || (LA24_0 >= 'f' && LA24_0 <= 'z'))) {
+ else if ((LA24_0 == '\"')) {
s = 5;
}
- else if ((LA24_0 == '\'')) {
+ else if ((LA24_0 == '/')) {
s = 6;
}
- else if ((LA24_0 == '\"')) {
+ else if ((LA24_0 == '0')) {
s = 7;
}
- else if ((LA24_0 == '/')) {
+ else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
s = 8;
}
@@ -1274,41 +1214,11 @@ public class InternalUMLConnectionPointReferenceLexer extends Lexer {
s = 10;
}
- if (s >= 0) {
+ if (s >= 0)
return s;
- }
- break;
- case 1:
- int LA24_6 = input.LA(1);
-
- s = -1;
- if (((LA24_6 >= '\u0000' && LA24_6 <= '\uFFFF'))) {
- s = 13;
- } else {
- s = 10;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 2:
- int LA24_7 = input.LA(1);
-
- s = -1;
- if (((LA24_7 >= '\u0000' && LA24_7 <= '\uFFFF'))) {
- s = 19;
- } else {
- s = 10;
- }
-
- if (s >= 0) {
- return s;
- }
break;
}
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
+ NoViableAltException nvae = new NoViableAltException(getDescription(), 24, _s, input);
error(nvae);
throw nvae;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
index 63ae465282c..db2d301f24b 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReferenceParser.java
@@ -12,20 +12,20 @@ import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
@SuppressWarnings("all")
public class InternalUMLConnectionPointReferenceParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGER_VALUE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "'entry'", "','", "'exit'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_INTEGER_VALUE", "RULE_WS", "RULE_ANY_OTHER", "'entry'", "','", "'exit'"
};
public static final int RULE_ID = 4;
- public static final int RULE_STRING = 6;
+ public static final int RULE_WS = 10;
+ public static final int RULE_STRING = 5;
+ public static final int RULE_ANY_OTHER = 11;
+ public static final int RULE_SL_COMMENT = 7;
+ public static final int RULE_INT = 8;
+ public static final int RULE_ML_COMMENT = 6;
+ public static final int RULE_INTEGER_VALUE = 9;
public static final int T__12 = 12;
- public static final int T__14 = 14;
public static final int T__13 = 13;
- public static final int RULE_ANY_OTHER = 11;
- public static final int RULE_INT = 9;
- public static final int RULE_INTEGER_VALUE = 5;
- public static final int RULE_WS = 10;
- public static final int RULE_SL_COMMENT = 8;
+ public static final int T__14 = 14;
public static final int EOF = -1;
- public static final int RULE_ML_COMMENT = 7;
// delegates
// delegators
@@ -41,12 +41,10 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
- @Override
public String[] getTokenNames() {
return InternalUMLConnectionPointReferenceParser.tokenNames;
}
- @Override
public String getGrammarFileName() {
return "../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g";
}
@@ -74,8 +72,7 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
// $ANTLR start "entryRuleConnectionPointReferenceRule"
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:67:1: entryRuleConnectionPointReferenceRule returns
- // [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
+ // InternalUMLConnectionPointReference.g:67:1: entryRuleConnectionPointReferenceRule returns [EObject current=null] : iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF ;
public final EObject entryRuleConnectionPointReferenceRule() throws RecognitionException {
EObject current = null;
@@ -83,19 +80,17 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
try {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:68:2: (iv_ruleConnectionPointReferenceRule=
- // ruleConnectionPointReferenceRule EOF )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:69:2: iv_ruleConnectionPointReferenceRule=
- // ruleConnectionPointReferenceRule EOF
+ // InternalUMLConnectionPointReference.g:68:2: (iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF )
+ // InternalUMLConnectionPointReference.g:69:2: iv_ruleConnectionPointReferenceRule= ruleConnectionPointReferenceRule EOF
{
newCompositeNode(grammarAccess.getConnectionPointReferenceRuleRule());
- pushFollow(FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75);
+ pushFollow(FOLLOW_1);
iv_ruleConnectionPointReferenceRule = ruleConnectionPointReferenceRule();
state._fsp--;
current = iv_ruleConnectionPointReferenceRule;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85);
+ match(input, EOF, FOLLOW_2);
}
@@ -108,13 +103,12 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
return current;
}
-
// $ANTLR end "entryRuleConnectionPointReferenceRule"
// $ANTLR start "ruleConnectionPointReferenceRule"
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:76:1: ruleConnectionPointReferenceRule returns
- // [EObject current=null] : ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? ;
+ // InternalUMLConnectionPointReference.g:76:1: ruleConnectionPointReferenceRule returns [EObject current=null] : ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) )
+ // (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? ;
public final EObject ruleConnectionPointReferenceRule() throws RecognitionException {
EObject current = null;
@@ -130,48 +124,41 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
enterRule();
try {
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:79:28: ( ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
+ // InternalUMLConnectionPointReference.g:79:28: ( ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )? )
+ // InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
+ // InternalUMLConnectionPointReference.g:80:1: ( (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* ) | (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* ) )?
int alt3 = 3;
int LA3_0 = input.LA(1);
if ((LA3_0 == 12)) {
alt3 = 1;
- }
- else if ((LA3_0 == 14)) {
+ } else if ((LA3_0 == 14)) {
alt3 = 2;
}
switch (alt3) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
+ // InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' (
- // (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:80:4: otherlv_0= 'entry' ( (otherlv_1=
- // RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
+ // InternalUMLConnectionPointReference.g:80:2: (otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )* )
+ // InternalUMLConnectionPointReference.g:80:4: otherlv_0= 'entry' ( (otherlv_1= RULE_ID ) ) (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
{
- otherlv_0 = (Token) match(input, 12, FOLLOW_12_in_ruleConnectionPointReferenceRule123);
+ otherlv_0 = (Token) match(input, 12, FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryKeyword_0_0());
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:84:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
+ // InternalUMLConnectionPointReference.g:84:1: ( (otherlv_1= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:86:3: otherlv_1= RULE_ID
+ // InternalUMLConnectionPointReference.g:85:1: (otherlv_1= RULE_ID )
+ // InternalUMLConnectionPointReference.g:86:3: otherlv_1= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
}
- otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143);
+ otherlv_1 = (Token) match(input, RULE_ID, FOLLOW_4);
newLeafNode(otherlv_1, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_1_0());
@@ -181,8 +168,7 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:2: (otherlv_2= ',' (
- // (otherlv_3= RULE_ID ) ) )*
+ // InternalUMLConnectionPointReference.g:97:2: (otherlv_2= ',' ( (otherlv_3= RULE_ID ) ) )*
loop1: do {
int alt1 = 2;
int LA1_0 = input.LA(1);
@@ -194,29 +180,24 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
switch (alt1) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:97:4: otherlv_2= ',' (
- // (otherlv_3= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:97:4: otherlv_2= ',' ( (otherlv_3= RULE_ID ) )
{
- otherlv_2 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule156);
+ otherlv_2 = (Token) match(input, 13, FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_0_2_0());
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:101:1: ( (otherlv_3=
- // RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID
- // )
+ // InternalUMLConnectionPointReference.g:101:1: ( (otherlv_3= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:102:1: (otherlv_3=
- // RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:103:3: otherlv_3=
- // RULE_ID
+ // InternalUMLConnectionPointReference.g:102:1: (otherlv_3= RULE_ID )
+ // InternalUMLConnectionPointReference.g:103:3: otherlv_3= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
}
- otherlv_3 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176);
+ otherlv_3 = (Token) match(input, RULE_ID, FOLLOW_4);
newLeafNode(otherlv_3, grammarAccess.getConnectionPointReferenceRuleAccess().getEntryPseudostateCrossReference_0_2_1_0());
@@ -242,30 +223,27 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
break;
case 2:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5=
- // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
+ // InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' (
- // (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:115:8: otherlv_4= 'exit' ( (otherlv_5=
- // RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
+ // InternalUMLConnectionPointReference.g:115:6: (otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )* )
+ // InternalUMLConnectionPointReference.g:115:8: otherlv_4= 'exit' ( (otherlv_5= RULE_ID ) ) (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
{
- otherlv_4 = (Token) match(input, 14, FOLLOW_14_in_ruleConnectionPointReferenceRule198);
+ otherlv_4 = (Token) match(input, 14, FOLLOW_3);
newLeafNode(otherlv_4, grammarAccess.getConnectionPointReferenceRuleAccess().getExitKeyword_1_0());
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:119:1: ( (otherlv_5= RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
+ // InternalUMLConnectionPointReference.g:119:1: ( (otherlv_5= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:121:3: otherlv_5= RULE_ID
+ // InternalUMLConnectionPointReference.g:120:1: (otherlv_5= RULE_ID )
+ // InternalUMLConnectionPointReference.g:121:3: otherlv_5= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
}
- otherlv_5 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218);
+ otherlv_5 = (Token) match(input, RULE_ID, FOLLOW_4);
newLeafNode(otherlv_5, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_1_0());
@@ -275,8 +253,7 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:2: (otherlv_6= ',' (
- // (otherlv_7= RULE_ID ) ) )*
+ // InternalUMLConnectionPointReference.g:132:2: (otherlv_6= ',' ( (otherlv_7= RULE_ID ) ) )*
loop2: do {
int alt2 = 2;
int LA2_0 = input.LA(1);
@@ -288,29 +265,24 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
switch (alt2) {
case 1:
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:132:4: otherlv_6= ',' (
- // (otherlv_7= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:132:4: otherlv_6= ',' ( (otherlv_7= RULE_ID ) )
{
- otherlv_6 = (Token) match(input, 13, FOLLOW_13_in_ruleConnectionPointReferenceRule231);
+ otherlv_6 = (Token) match(input, 13, FOLLOW_3);
newLeafNode(otherlv_6, grammarAccess.getConnectionPointReferenceRuleAccess().getCommaKeyword_1_2_0());
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:136:1: ( (otherlv_7=
- // RULE_ID ) )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID
- // )
+ // InternalUMLConnectionPointReference.g:136:1: ( (otherlv_7= RULE_ID ) )
+ // InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID )
{
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:137:1: (otherlv_7=
- // RULE_ID )
- // ../org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/parser/antlr/internal/InternalUMLConnectionPointReference.g:138:3: otherlv_7=
- // RULE_ID
+ // InternalUMLConnectionPointReference.g:137:1: (otherlv_7= RULE_ID )
+ // InternalUMLConnectionPointReference.g:138:3: otherlv_7= RULE_ID
{
if (current == null) {
current = createModelElement(grammarAccess.getConnectionPointReferenceRuleRule());
}
- otherlv_7 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251);
+ otherlv_7 = (Token) match(input, RULE_ID, FOLLOW_4);
newLeafNode(otherlv_7, grammarAccess.getConnectionPointReferenceRuleAccess().getExitPseudostateCrossReference_1_2_1_0());
@@ -351,7 +323,6 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
}
return current;
}
-
// $ANTLR end "ruleConnectionPointReferenceRule"
// Delegated rules
@@ -359,15 +330,9 @@ public class InternalUMLConnectionPointReferenceParser extends AbstractInternalA
- public static final BitSet FOLLOW_ruleConnectionPointReferenceRule_in_entryRuleConnectionPointReferenceRule75 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConnectionPointReferenceRule85 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_12_in_ruleConnectionPointReferenceRule123 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule143 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule156 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule176 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_14_in_ruleConnectionPointReferenceRule198 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule218 = new BitSet(new long[] { 0x0000000000002002L });
- public static final BitSet FOLLOW_13_in_ruleConnectionPointReferenceRule231 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleConnectionPointReferenceRule251 = new BitSet(new long[] { 0x0000000000002002L });
+ 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[] { 0x0000000000000010L });
+ public static final BitSet FOLLOW_4 = new BitSet(new long[] { 0x0000000000002002L });
} \ No newline at end of file
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSemanticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSemanticSequencer.java
index 4d963d4bcd1..64fcfc5b168 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSemanticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSemanticSequencer.java
@@ -1,9 +1,19 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.serializer;
+import java.util.Set;
+
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.services.UMLConnectionPointReferenceGrammarAccess;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+import org.eclipse.xtext.Action;
+import org.eclipse.xtext.Parameter;
+import org.eclipse.xtext.ParserRule;
+import org.eclipse.xtext.serializer.ISerializationContext;
import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer;
import com.google.inject.Inject;
@@ -15,28 +25,31 @@ public class UMLConnectionPointReferenceSemanticSequencer extends AbstractDelega
private UMLConnectionPointReferenceGrammarAccess grammarAccess;
@Override
- public void createSequence(EObject context, EObject semanticObject) {
- if (semanticObject.eClass().getEPackage() == UMLConnectionPointReferencePackage.eINSTANCE) {
+ public void sequence(ISerializationContext context, EObject semanticObject) {
+ EPackage epackage = semanticObject.eClass().getEPackage();
+ ParserRule rule = context.getParserRule();
+ Action action = context.getAssignedAction();
+ Set<Parameter> parameters = context.getEnabledBooleanParameters();
+ if (epackage == UMLConnectionPointReferencePackage.eINSTANCE)
switch (semanticObject.eClass().getClassifierID()) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE:
- if (context == grammarAccess.getConnectionPointReferenceRuleRule()) {
- sequence_ConnectionPointReferenceRule(context, (ConnectionPointReferenceRule) semanticObject);
- return;
- } else {
- break;
- }
+ sequence_ConnectionPointReferenceRule(context, (ConnectionPointReferenceRule) semanticObject);
+ return;
}
- }
- if (errorAcceptor != null) {
+ if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
- }
}
/**
+ * Contexts:
+ * ConnectionPointReferenceRule returns ConnectionPointReferenceRule
+ *
* Constraint:
- * ((entry+=[Pseudostate|ID] entry+=[Pseudostate|ID]*) | (exit+=[Pseudostate|ID] exit+=[Pseudostate|ID]*))?
+ * ((entry+=[Pseudostate|ID] entry+=[Pseudostate|ID]*) | (exit+=[Pseudostate|ID] exit+=[Pseudostate|ID]*))
*/
- protected void sequence_ConnectionPointReferenceRule(EObject context, ConnectionPointReferenceRule semanticObject) {
+ protected void sequence_ConnectionPointReferenceRule(ISerializationContext context, ConnectionPointReferenceRule semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
+
+
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSyntacticSequencer.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSyntacticSequencer.java
index 3f466e98be5..5c27af07357 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSyntacticSequencer.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/serializer/UMLConnectionPointReferenceSyntacticSequencer.java
@@ -1,3 +1,6 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.serializer;
import java.util.List;
@@ -31,9 +34,8 @@ public class UMLConnectionPointReferenceSyntacticSequencer extends AbstractSynta
@Override
protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) {
- if (transition.getAmbiguousSyntaxes().isEmpty()) {
+ if (transition.getAmbiguousSyntaxes().isEmpty())
return;
- }
List<INode> transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/services/UMLConnectionPointReferenceGrammarAccess.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/services/UMLConnectionPointReferenceGrammarAccess.java
index 18c6fea14a7..d8b79f1e9da 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/services/UMLConnectionPointReferenceGrammarAccess.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/services/UMLConnectionPointReferenceGrammarAccess.java
@@ -16,6 +16,7 @@ import org.eclipse.xtext.Keyword;
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
+import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
@@ -27,7 +28,7 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
public class ConnectionPointReferenceRuleElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConnectionPointReferenceRule");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.UMLConnectionPointReference.ConnectionPointReferenceRule");
private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
private final Group cGroup_0 = (Group) cAlternatives.eContents().get(0);
private final Keyword cEntryKeyword_0_0 = (Keyword) cGroup_0.eContents().get(0);
@@ -51,28 +52,25 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
private final RuleCall cExitPseudostateIDTerminalRuleCall_1_2_1_0_1 = (RuleCall) cExitPseudostateCrossReference_1_2_1_0.eContents().get(1);
// ConnectionPointReferenceRule:
- //
- // ("entry" entry+=[uml::Pseudostate] ("," entry+=[uml::Pseudostate])* | "exit" exit+=[uml::Pseudostate] (","
- //
+ // ('entry' entry+=[uml::Pseudostate] (',' entry+=[uml::Pseudostate])* | 'exit' exit+=[uml::Pseudostate] (','
// exit+=[uml::Pseudostate])*)?;
@Override
public ParserRule getRule() {
return rule;
}
- // ("entry" entry+=[uml::Pseudostate] ("," entry+=[uml::Pseudostate])* | "exit" exit+=[uml::Pseudostate] (","
- //
+ // ('entry' entry+=[uml::Pseudostate] (',' entry+=[uml::Pseudostate])* | 'exit' exit+=[uml::Pseudostate] (','
// exit+=[uml::Pseudostate])*)?
public Alternatives getAlternatives() {
return cAlternatives;
}
- // "entry" entry+=[uml::Pseudostate] ("," entry+=[uml::Pseudostate])*
+ // 'entry' entry+=[uml::Pseudostate] (',' entry+=[uml::Pseudostate])*
public Group getGroup_0() {
return cGroup_0;
}
- // "entry"
+ // 'entry'
public Keyword getEntryKeyword_0_0() {
return cEntryKeyword_0_0;
}
@@ -92,12 +90,12 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
return cEntryPseudostateIDTerminalRuleCall_0_1_0_1;
}
- // ("," entry+=[uml::Pseudostate])*
+ // (',' entry+=[uml::Pseudostate])*
public Group getGroup_0_2() {
return cGroup_0_2;
}
- // ","
+ // ','
public Keyword getCommaKeyword_0_2_0() {
return cCommaKeyword_0_2_0;
}
@@ -117,12 +115,12 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
return cEntryPseudostateIDTerminalRuleCall_0_2_1_0_1;
}
- // "exit" exit+=[uml::Pseudostate] ("," exit+=[uml::Pseudostate])*
+ // 'exit' exit+=[uml::Pseudostate] (',' exit+=[uml::Pseudostate])*
public Group getGroup_1() {
return cGroup_1;
}
- // "exit"
+ // 'exit'
public Keyword getExitKeyword_1_0() {
return cExitKeyword_1_0;
}
@@ -142,12 +140,12 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
return cExitPseudostateIDTerminalRuleCall_1_1_0_1;
}
- // ("," exit+=[uml::Pseudostate])*
+ // (',' exit+=[uml::Pseudostate])*
public Group getGroup_1_2() {
return cGroup_1_2;
}
- // ","
+ // ','
public Keyword getCommaKeyword_1_2_0() {
return cCommaKeyword_1_2_0;
}
@@ -169,17 +167,22 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
}
- private ConnectionPointReferenceRuleElements pConnectionPointReferenceRule;
+ private final ConnectionPointReferenceRuleElements pConnectionPointReferenceRule;
private final Grammar grammar;
- private CommonGrammarAccess gaCommon;
+ private final CommonGrammarAccess gaCommon;
+
+ private final TerminalsGrammarAccess gaTerminals;
@Inject
public UMLConnectionPointReferenceGrammarAccess(GrammarProvider grammarProvider,
- CommonGrammarAccess gaCommon) {
+ CommonGrammarAccess gaCommon,
+ TerminalsGrammarAccess gaTerminals) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaCommon = gaCommon;
+ this.gaTerminals = gaTerminals;
+ this.pConnectionPointReferenceRule = new ConnectionPointReferenceRuleElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
@@ -198,7 +201,6 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
return grammar;
}
-
@Override
public Grammar getGrammar() {
return grammar;
@@ -209,95 +211,68 @@ public class UMLConnectionPointReferenceGrammarAccess extends AbstractGrammarEle
return gaCommon;
}
+ public TerminalsGrammarAccess getTerminalsGrammarAccess() {
+ return gaTerminals;
+ }
+
// ConnectionPointReferenceRule:
- //
- // ("entry" entry+=[uml::Pseudostate] ("," entry+=[uml::Pseudostate])* | "exit" exit+=[uml::Pseudostate] (","
- //
+ // ('entry' entry+=[uml::Pseudostate] (',' entry+=[uml::Pseudostate])* | 'exit' exit+=[uml::Pseudostate] (','
// exit+=[uml::Pseudostate])*)?;
public ConnectionPointReferenceRuleElements getConnectionPointReferenceRuleAccess() {
- return (pConnectionPointReferenceRule != null) ? pConnectionPointReferenceRule : (pConnectionPointReferenceRule = new ConnectionPointReferenceRuleElements());
+ return pConnectionPointReferenceRule;
}
public ParserRule getConnectionPointReferenceRuleRule() {
return getConnectionPointReferenceRuleAccess().getRule();
}
- // terminal INTEGER_VALUE:
- //
- // ("0" | "1".."9" ("_"? "0".."9")*) //DECIMAL
- //
- // // BINARY
- //
- // // HEX
- //
- // // OCT
- //
- // | ("0b" | "0B") "0".."1" ("_"? "0".."1")* | ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F") ("_"? ("0".."9" | "a".."f" |
- //
- // "A".."F"))* | "0" "_"? "0".."7" ("_"? "0".."7")*;
- public TerminalRule getINTEGER_VALUERule() {
- return gaCommon.getINTEGER_VALUERule();
- }
-
// terminal ID:
- //
- // ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")* | "\'"->"\'";
+ // ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')* | '\''->'\'';
public TerminalRule getIDRule() {
return gaCommon.getIDRule();
}
// terminal STRING:
- //
- // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"";
+ // '"' ('\\' ('b' | 't' | 'n' | 'f' | 'r' | '"' | "'" | '\\') | !('\\' | '"'))* '"';
public TerminalRule getSTRINGRule() {
return gaCommon.getSTRINGRule();
}
// terminal ML_COMMENT:
- //
- // "/ *" !"@"->"* /";
+ // '/*' !'@'->'*/';
public TerminalRule getML_COMMENTRule() {
return gaCommon.getML_COMMENTRule();
}
- // //terminal DOUBLE_COLON : '::' ;
- //
- // //terminal IDENTIFIER : ID ;
- //
- // //terminal IDENTIFIER : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')* | ('\'' -> '\'') ;
- //
- // //terminal DOCUMENTATION_COMMENT : '/ *' -> '* /' ;
- //
- // //terminal ML_COMMENT : '/°' -> '°/';
- //
- // //terminal SL_COMMENT : '°°' !('\n'|'\r')* ('\r'? '\n')?;
- //
- // //terminal WS : (' '|'\t'|'\r'|'\n')+; terminal SL_COMMENT:
- //
- // "//" !("\n" | "\r" | "@")* ("\r"? "\n")?;
+ // terminal SL_COMMENT:
+ // '//' !('\n' | '\r' | '@')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
return gaCommon.getSL_COMMENTRule();
}
// terminal INT returns ecore::EInt:
- //
- // "0".."9"+;
+ // '0'..'9'+;
public TerminalRule getINTRule() {
return gaCommon.getINTRule();
}
+ // terminal INTEGER_VALUE:
+ // ('0' | '1'..'9' ('_'? '0'..'9')*) | ('0b' | '0B') '0'..'1' ('_'? '0'..'1')* | ('0x' | '0X') ('0'..'9' | 'a'..'f' |
+ // 'A'..'F') ('_'? ('0'..'9' | 'a'..'f' | 'A'..'F'))* | '0' '_'? '0'..'7' ('_'? '0'..'7')*;
+ public TerminalRule getINTEGER_VALUERule() {
+ return gaCommon.getINTEGER_VALUERule();
+ }
+
// terminal WS:
- //
- // (" " | "\t" | "\r" | "\n")+;
+ // ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
- return gaCommon.getWSRule();
+ return gaTerminals.getWSRule();
}
// terminal ANY_OTHER:
- //
// .;
public TerminalRule getANY_OTHERRule() {
- return gaCommon.getANY_OTHERRule();
+ return gaTerminals.getANY_OTHERRule();
}
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
index 241d7f32915..263fe275084 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/ConnectionPointReferenceRule.java
@@ -13,27 +13,27 @@ import org.eclipse.uml2.uml.Pseudostate;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule()
* @model
* @generated
*/
-public interface ConnectionPointReferenceRule extends EObject
-{
+public interface ConnectionPointReferenceRule extends EObject {
/**
* Returns the value of the '<em><b>Entry</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Entry</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Entry</em>' reference list isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Entry</em>' reference list.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Entry()
* @model
@@ -46,10 +46,11 @@ public interface ConnectionPointReferenceRule extends EObject
* The list contents are of type {@link org.eclipse.uml2.uml.Pseudostate}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Exit</em>' reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Exit</em>' reference list isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
+ *
* @return the value of the '<em>Exit</em>' reference list.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#getConnectionPointReferenceRule_Exit()
* @model
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
index ac11f55f41b..1718be47b69 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferenceFactory.java
@@ -9,17 +9,16 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
* @generated
*/
-public interface UMLConnectionPointReferenceFactory extends EFactory
-{
+public interface UMLConnectionPointReferenceFactory extends EFactory {
/**
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
UMLConnectionPointReferenceFactory eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferenceFactoryImpl.init();
@@ -28,7 +27,7 @@ public interface UMLConnectionPointReferenceFactory extends EFactory
* Returns a new object of class '<em>Connection Point Reference Rule</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return a new object of class '<em>Connection Point Reference Rule</em>'.
* @generated
*/
@@ -38,7 +37,7 @@ public interface UMLConnectionPointReferenceFactory extends EFactory
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
index 816f2c59760..59ce8b04e87 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/UMLConnectionPointReferencePackage.java
@@ -17,18 +17,17 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory
* @model kind="package"
* @generated
*/
-public interface UMLConnectionPointReferencePackage extends EPackage
-{
+public interface UMLConnectionPointReferencePackage extends EPackage {
/**
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNAME = "uMLConnectionPointReference";
@@ -37,7 +36,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/uml/textedit/connectionpointreference/xtext/UMLConnectionPointReference";
@@ -46,7 +45,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
String eNS_PREFIX = "uMLConnectionPointReference";
@@ -55,7 +54,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
UMLConnectionPointReferencePackage eINSTANCE = org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl.init();
@@ -64,7 +63,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The meta object id for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
* @generated
@@ -75,7 +74,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The feature id for the '<em><b>Entry</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -85,7 +84,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The feature id for the '<em><b>Exit</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -95,7 +94,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The number of structural features of the '<em>Connection Point Reference Rule</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
* @ordered
*/
@@ -106,7 +105,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* Returns the meta object for class '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule <em>Connection Point Reference Rule</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Connection Point Reference Rule</em>'.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
* @generated
@@ -117,7 +116,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry <em>Entry</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Entry</em>'.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getEntry()
* @see #getConnectionPointReferenceRule()
@@ -129,7 +128,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit <em>Exit</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Exit</em>'.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule#getExit()
* @see #getConnectionPointReferenceRule()
@@ -141,7 +140,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -157,16 +156,15 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- interface Literals
- {
+ interface Literals {
/**
* The meta object literal for the '{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl <em>Connection Point Reference Rule</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.UMLConnectionPointReferencePackageImpl#getConnectionPointReferenceRule()
* @generated
@@ -177,7 +175,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The meta object literal for the '<em><b>Entry</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONNECTION_POINT_REFERENCE_RULE__ENTRY = eINSTANCE.getConnectionPointReferenceRule_Entry();
@@ -186,7 +184,7 @@ public interface UMLConnectionPointReferencePackage extends EPackage
* The meta object literal for the '<em><b>Exit</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CONNECTION_POINT_REFERENCE_RULE__EXIT = eINSTANCE.getConnectionPointReferenceRule_Exit();
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
index 0a37e14c18d..e1dd8ad9f00 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/ConnectionPointReferenceRuleImpl.java
@@ -18,21 +18,20 @@ import org.eclipse.uml2.uml.Pseudostate;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getEntry <em>Entry</em>}</li>
* <li>{@link org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.impl.ConnectionPointReferenceRuleImpl#getExit <em>Exit</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
-public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Container implements ConnectionPointReferenceRule
-{
+public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Container implements ConnectionPointReferenceRule {
/**
* The cached value of the '{@link #getEntry() <em>Entry</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getEntry()
* @generated
* @ordered
@@ -43,7 +42,7 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
* The cached value of the '{@link #getExit() <em>Exit</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @see #getExit()
* @generated
* @ordered
@@ -53,37 +52,32 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected ConnectionPointReferenceRuleImpl()
- {
+ protected ConnectionPointReferenceRuleImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- protected EClass eStaticClass()
- {
+ protected EClass eStaticClass() {
return UMLConnectionPointReferencePackage.Literals.CONNECTION_POINT_REFERENCE_RULE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EList<Pseudostate> getEntry()
- {
- if (entry == null)
- {
+ public EList<Pseudostate> getEntry() {
+ if (entry == null) {
entry = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY);
}
return entry;
@@ -92,14 +86,11 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EList<Pseudostate> getExit()
- {
- if (exit == null)
- {
+ public EList<Pseudostate> getExit() {
+ if (exit == null) {
exit = new EObjectResolvingEList<Pseudostate>(Pseudostate.class, this, UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT);
}
return exit;
@@ -108,14 +99,12 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
return getEntry();
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
@@ -127,15 +116,13 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
getEntry().clear();
getEntry().addAll((Collection<? extends Pseudostate>) newValue);
@@ -151,14 +138,12 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
+ public void eUnset(int featureID) {
+ switch (featureID) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
getEntry().clear();
return;
@@ -172,14 +157,12 @@ public class ConnectionPointReferenceRuleImpl extends MinimalEObjectImpl.Contain
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__ENTRY:
return entry != null && !entry.isEmpty();
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE__EXIT:
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
index 6686d6b5b40..7d1782437be 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferenceFactoryImpl.java
@@ -15,29 +15,24 @@ import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnec
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
-public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl implements UMLConnectionPointReferenceFactory
-{
+public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl implements UMLConnectionPointReferenceFactory {
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public static UMLConnectionPointReferenceFactory init()
- {
- try
- {
+ public static UMLConnectionPointReferenceFactory init() {
+ try {
UMLConnectionPointReferenceFactory theUMLConnectionPointReferenceFactory = (UMLConnectionPointReferenceFactory) EPackage.Registry.INSTANCE.getEFactory(UMLConnectionPointReferencePackage.eNS_URI);
- if (theUMLConnectionPointReferenceFactory != null)
- {
+ if (theUMLConnectionPointReferenceFactory != null) {
return theUMLConnectionPointReferenceFactory;
}
- } catch (Exception exception)
- {
+ } catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new UMLConnectionPointReferenceFactoryImpl();
@@ -47,25 +42,22 @@ public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl impleme
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UMLConnectionPointReferenceFactoryImpl()
- {
+ public UMLConnectionPointReferenceFactoryImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE:
return createConnectionPointReferenceRule();
default:
@@ -76,12 +68,10 @@ public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public ConnectionPointReferenceRule createConnectionPointReferenceRule()
- {
+ public ConnectionPointReferenceRule createConnectionPointReferenceRule() {
ConnectionPointReferenceRuleImpl connectionPointReferenceRule = new ConnectionPointReferenceRuleImpl();
return connectionPointReferenceRule;
}
@@ -89,25 +79,22 @@ public class UMLConnectionPointReferenceFactoryImpl extends EFactoryImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage()
- {
+ public UMLConnectionPointReferencePackage getUMLConnectionPointReferencePackage() {
return (UMLConnectionPointReferencePackage) getEPackage();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@Deprecated
- public static UMLConnectionPointReferencePackage getPackage()
- {
+ public static UMLConnectionPointReferencePackage getPackage() {
return UMLConnectionPointReferencePackage.eINSTANCE;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
index 7acf4d977cc..e2d16234e3c 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/impl/UMLConnectionPointReferencePackageImpl.java
@@ -5,49 +5,55 @@ package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConne
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferenceFactory;
import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
+import org.eclipse.uml2.types.TypesPackage;
import org.eclipse.uml2.uml.UMLPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
-public class UMLConnectionPointReferencePackageImpl extends EPackageImpl implements UMLConnectionPointReferencePackage
-{
+public class UMLConnectionPointReferencePackageImpl extends EPackageImpl implements UMLConnectionPointReferencePackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private EClass connectionPointReferenceRuleEClass = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage#eNS_URI
* @see #init()
* @generated
*/
- private UMLConnectionPointReferencePackageImpl()
- {
+ private UMLConnectionPointReferencePackageImpl() {
super(eNS_URI, UMLConnectionPointReferenceFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private static boolean isInited = false;
@@ -56,28 +62,32 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>
- * This method is used to initialize {@link UMLConnectionPointReferencePackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
+ * This method is used to initialize {@link UMLConnectionPointReferencePackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
- public static UMLConnectionPointReferencePackage init()
- {
- if (isInited) {
+ public static UMLConnectionPointReferencePackage init() {
+ if (isInited)
return (UMLConnectionPointReferencePackage) EPackage.Registry.INSTANCE.getEPackage(UMLConnectionPointReferencePackage.eNS_URI);
- }
// Obtain or create and register package
- UMLConnectionPointReferencePackageImpl theUMLConnectionPointReferencePackage = (UMLConnectionPointReferencePackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof UMLConnectionPointReferencePackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new UMLConnectionPointReferencePackageImpl());
+ Object registeredUMLConnectionPointReferencePackage = EPackage.Registry.INSTANCE.get(eNS_URI);
+ UMLConnectionPointReferencePackageImpl theUMLConnectionPointReferencePackage = registeredUMLConnectionPointReferencePackage instanceof UMLConnectionPointReferencePackageImpl
+ ? (UMLConnectionPointReferencePackageImpl) registeredUMLConnectionPointReferencePackage
+ : new UMLConnectionPointReferencePackageImpl();
isInited = true;
// Initialize simple dependencies
UMLPackage.eINSTANCE.eClass();
+ EcorePackage.eINSTANCE.eClass();
+ TypesPackage.eINSTANCE.eClass();
// Create package meta-data objects
theUMLConnectionPointReferencePackage.createPackageContents();
@@ -88,7 +98,6 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
// Mark meta-data to indicate it can't be changed
theUMLConnectionPointReferencePackage.freeze();
-
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(UMLConnectionPointReferencePackage.eNS_URI, theUMLConnectionPointReferencePackage);
return theUMLConnectionPointReferencePackage;
@@ -97,55 +106,47 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EClass getConnectionPointReferenceRule()
- {
+ public EClass getConnectionPointReferenceRule() {
return connectionPointReferenceRuleEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getConnectionPointReferenceRule_Entry()
- {
+ public EReference getConnectionPointReferenceRule_Entry() {
return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public EReference getConnectionPointReferenceRule_Exit()
- {
+ public EReference getConnectionPointReferenceRule_Exit() {
return (EReference) connectionPointReferenceRuleEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- @Override
- public UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory()
- {
+ public UMLConnectionPointReferenceFactory getUMLConnectionPointReferenceFactory() {
return (UMLConnectionPointReferenceFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isCreated = false;
@@ -155,14 +156,12 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public void createPackageContents()
- {
- if (isCreated) {
+ public void createPackageContents() {
+ if (isCreated)
return;
- }
isCreated = true;
// Create classes and their features
@@ -174,7 +173,7 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
private boolean isInitialized = false;
@@ -184,14 +183,12 @@ public class UMLConnectionPointReferencePackageImpl extends EPackageImpl impleme
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public void initializePackageContents()
- {
- if (isInitialized) {
+ public void initializePackageContents() {
+ if (isInitialized)
return;
- }
isInitialized = true;
// Initialize package
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
index 4e54ae57424..498de96aacc 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceAdapterFactory.java
@@ -14,17 +14,16 @@ import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnec
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
* @generated
*/
-public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImpl
-{
+public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static UMLConnectionPointReferencePackage modelPackage;
@@ -33,13 +32,11 @@ public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImp
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UMLConnectionPointReferenceAdapterFactory()
- {
- if (modelPackage == null)
- {
+ public UMLConnectionPointReferenceAdapterFactory() {
+ if (modelPackage == null) {
modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
}
}
@@ -49,19 +46,16 @@ public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImp
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
- *
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
return true;
}
- if (object instanceof EObject)
- {
+ if (object instanceof EObject) {
return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -71,38 +65,33 @@ public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImp
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected UMLConnectionPointReferenceSwitch<Adapter> modelSwitch =
- new UMLConnectionPointReferenceSwitch<Adapter>()
- {
- @Override
- public Adapter caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
- {
- return createConnectionPointReferenceRuleAdapter();
- }
+ protected UMLConnectionPointReferenceSwitch<Adapter> modelSwitch = new UMLConnectionPointReferenceSwitch<Adapter>() {
+ @Override
+ public Adapter caseConnectionPointReferenceRule(ConnectionPointReferenceRule object) {
+ return createConnectionPointReferenceRuleAdapter();
+ }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @param target
* the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
- public Adapter createAdapter(Notifier target)
- {
+ public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject) target);
}
@@ -113,13 +102,12 @@ public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImp
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.ConnectionPointReferenceRule
* @generated
*/
- public Adapter createConnectionPointReferenceRuleAdapter()
- {
+ public Adapter createConnectionPointReferenceRuleAdapter() {
return null;
}
@@ -128,12 +116,11 @@ public class UMLConnectionPointReferenceAdapterFactory extends AdapterFactoryImp
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
- public Adapter createEObjectAdapter()
- {
+ public Adapter createEObjectAdapter() {
return null;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java
deleted file mode 100644
index 8c2b48d0f5c..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceFactoryImpl.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceImpl
- * @generated
- */
-public class UMLConnectionPointReferenceResourceFactoryImpl extends ResourceFactoryImpl
-{
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceResourceFactoryImpl()
- {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Resource createResource(URI uri)
- {
- XMLResource result = new UMLConnectionPointReferenceResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} // UMLConnectionPointReferenceResourceFactoryImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java
deleted file mode 100644
index 8ec0a101115..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util.UMLConnectionPointReferenceResourceFactoryImpl
- * @generated
- */
-public class UMLConnectionPointReferenceResourceImpl extends XMLResourceImpl
-{
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param uri
- * the URI of the new resource.
- * @generated
- */
- public UMLConnectionPointReferenceResourceImpl(URI uri)
- {
- super(uri);
- }
-
-} // UMLConnectionPointReferenceResourceImpl
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
index 13a72639b0d..b88c8db4d96 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceSwitch.java
@@ -11,23 +11,23 @@ import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnec
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage
* @generated
*/
-public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
-{
+public class UMLConnectionPointReferenceSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static UMLConnectionPointReferencePackage modelPackage;
@@ -36,13 +36,11 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UMLConnectionPointReferenceSwitch()
- {
- if (modelPackage == null)
- {
+ public UMLConnectionPointReferenceSwitch() {
+ if (modelPackage == null) {
modelPackage = UMLConnectionPointReferencePackage.eINSTANCE;
}
}
@@ -51,14 +49,14 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
+ *
+ * @param ePackage
+ * the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
+ protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
@@ -66,21 +64,18 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
case UMLConnectionPointReferencePackage.CONNECTION_POINT_REFERENCE_RULE: {
ConnectionPointReferenceRule connectionPointReferenceRule = (ConnectionPointReferenceRule) theEObject;
T result = caseConnectionPointReferenceRule(connectionPointReferenceRule);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
default:
@@ -94,15 +89,14 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Connection Point Reference Rule</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseConnectionPointReferenceRule(ConnectionPointReferenceRule object)
- {
+ public T caseConnectionPointReferenceRule(ConnectionPointReferenceRule object) {
return null;
}
@@ -112,7 +106,7 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- *
+ *
* @param object
* the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
@@ -120,8 +114,7 @@ public class UMLConnectionPointReferenceSwitch<T> extends Switch<T>
* @generated
*/
@Override
- public T defaultCase(EObject object)
- {
+ public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java
deleted file mode 100644
index 48f428ef535..00000000000
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext/src-gen/org/eclipse/papyrus/uml/textedit/connectionpointreference/xtext/uMLConnectionPointReference/util/UMLConnectionPointReferenceXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- */
-package org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-import org.eclipse.papyrus.uml.textedit.connectionpointreference.xtext.uMLConnectionPointReference.UMLConnectionPointReferencePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class UMLConnectionPointReferenceXMLProcessor extends XMLProcessor
-{
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UMLConnectionPointReferenceXMLProcessor()
- {
- super((EPackage.Registry.INSTANCE));
- UMLConnectionPointReferencePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the UMLConnectionPointReferenceResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations()
- {
- if (registrations == null)
- {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new UMLConnectionPointReferenceResourceFactoryImpl());
- }
- return registrations;
- }
-
-} // UMLConnectionPointReferenceXMLProcessor

Back to the top