@@ -200,8 +200,11 @@ else if (rule == grammarAccess.getFeatureCategoryMemberRule()) {
200200 sequence_CategoryMemberPrefix_FeatureCategoryMember (context , (FeatureMembership ) semanticObject );
201201 return ;
202202 }
203- else if (rule == grammarAccess .getFeatureMemberRule ()
204- || rule == grammarAccess .getAssociationMemberRule ()) {
203+ else if (rule == grammarAccess .getFeatureMemberRule ()) {
204+ sequence_CategoryMemberPrefix_FeatureMember (context , (FeatureMembership ) semanticObject );
205+ return ;
206+ }
207+ else if (rule == grammarAccess .getAssociationMemberRule ()) {
205208 sequence_CategoryMemberPrefix_FeatureMember (context , (FeatureMembership ) semanticObject );
206209 return ;
207210 }
@@ -622,8 +625,8 @@ protected void sequence_AssociationBody_AssociationDeclaration_ClassDeclarationC
622625 *
623626 * Constraint:
624627 * (
625- * ownedRelationship+=PackageImport?
626628 * ownedRelationship+=ElementImport?
629+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
627630 * ownedRelationship+=Annotation?
628631 * isAbstract?='abstract'?
629632 * name=Name
@@ -704,8 +707,8 @@ protected void sequence_BehaviorBody_BehaviorDeclaration_ParameterList_Specializ
704707 *
705708 * Constraint:
706709 * (
707- * ownedRelationship+=PackageImport?
708710 * ownedRelationship+=ElementImport?
711+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
709712 * ownedRelationship+=Annotation?
710713 * isAbstract?='abstract'?
711714 * name=Name
@@ -983,8 +986,8 @@ protected void sequence_CategoryBody_ClassDeclarationCompletion_ObjectClassDecla
983986 *
984987 * Constraint:
985988 * (
986- * ownedRelationship+=PackageImport?
987989 * ownedRelationship+=ElementImport?
990+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
988991 * ownedRelationship+=Annotation?
989992 * isAbstract?='abstract'?
990993 * name=Name
@@ -1040,8 +1043,8 @@ protected void sequence_CategoryBody_ClassDeclarationCompletion_SpecializationLi
10401043 *
10411044 * Constraint:
10421045 * (
1043- * ownedRelationship+=PackageImport?
10441046 * ownedRelationship+=ElementImport?
1047+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
10451048 * ownedRelationship+=Annotation?
10461049 * (isAbstract?='abstract' | isAbstract?='abstract')?
10471050 * name=Name
@@ -1121,8 +1124,8 @@ protected void sequence_CategoryBody_ConnectorDeclaration(ISerializationContext
11211124 *
11221125 * Constraint:
11231126 * (
1124- * ownedRelationship+=PackageImport?
11251127 * ownedRelationship+=ElementImport?
1128+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
11261129 * ownedRelationship+=Annotation?
11271130 * isAbstract?='abstract'?
11281131 * name=Name
@@ -1202,8 +1205,8 @@ protected void sequence_CategoryBody_FeatureCompletion_FeatureDeclaration_Redefi
12021205 * (isOrdered?='ordered'? isNonunique?='nonunique'?)*
12031206 * ((ownedRelationship+=Subset ownedRelationship+=Subset*) | (ownedRelationship+=Redefinition ownedRelationship+=Redefinition*))*
12041207 * ownedRelationship+=FeatureValue?
1205- * ownedRelationship+=PackageImport ?
1206- * (ownedRelationship+=CategoryMember ? ownedRelationship+=PackageImport ?)*
1208+ * ownedRelationship+=CategoryMember ?
1209+ * (ownedRelationship+=PackageImport ? ownedRelationship+=CategoryMember ?)*
12071210 * )
12081211 */
12091212 protected void sequence_CategoryBody_FeatureCompletion_FeatureDeclaration_Redefines_Subsets_SubsettingPart_TypePart_UnnamedFeatureDefinition (ISerializationContext context , Feature semanticObject ) {
@@ -1284,7 +1287,6 @@ protected void sequence_CategoryMemberPrefix_FeatureCategoryMember(ISerializatio
12841287 /**
12851288 * Contexts:
12861289 * FeatureMember returns FeatureMembership
1287- * AssociationMember returns FeatureMembership
12881290 *
12891291 * Constraint:
12901292 * (
@@ -1308,6 +1310,32 @@ protected void sequence_CategoryMemberPrefix_FeatureMember(ISerializationContext
13081310 }
13091311
13101312
1313+ // This method is commented out because it has the same signature as another method in this class.
1314+ // This is probably a bug in Xtext's serializer, please report it here:
1315+ // https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF
1316+ //
1317+ // Contexts:
1318+ // AssociationMember returns FeatureMembership
1319+ //
1320+ // Constraint:
1321+ // (
1322+ // ownedRelationship+=Annotation?
1323+ // visibility=VisibilityIndicator?
1324+ // (
1325+ // (
1326+ // (isPart?='part' | isPort?='port')?
1327+ // direction=FeatureDirection?
1328+ // (ownedRelatedElement+=FeatureDefinition | (memberName=Name? memberFeature=[Feature|QualifiedName]))
1329+ // ) |
1330+ // ((isPart?='part' | isPort?='port')? direction=FeatureDirection? ownedRelatedElement+=AbstractFeatureDefinition) |
1331+ // ownedRelatedElement+=ConnectorDefinition |
1332+ // (memberName=Name? memberFeature=[Connector|QualifiedName]) |
1333+ // ownedRelatedElement+=AbstractConnectorDefinition
1334+ // )
1335+ // )
1336+ //
1337+ // protected void sequence_CategoryMemberPrefix_FeatureMember(ISerializationContext context, FeatureMembership semanticObject) { }
1338+
13111339 /**
13121340 * Contexts:
13131341 * CategoryMember returns Membership
@@ -1627,8 +1655,8 @@ protected void sequence_FunctionBody_FunctionDeclaration_ParameterList_ReturnPar
16271655 *
16281656 * Constraint:
16291657 * (
1630- * ownedRelationship+=PackageImport?
16311658 * ownedRelationship+=ElementImport?
1659+ * (ownedRelationship+=PackageImport ownedRelationship+=ElementImport?)*
16321660 * ownedRelationship+=Annotation?
16331661 * isAbstract?='abstract'?
16341662 * name=Name
0 commit comments