Skip to content
Snippets Groups Projects

Resolve "Feature: Send endpoint for relations"

Merged René Schöne requested to merge 37-feature-send-endpoint-for-relations into dev
19 files
+ 1166
27
Compare changes
  • Side-by-side
  • Inline

Files

@@ -16,6 +16,14 @@ aspect ParserRewrites {
@@ -16,6 +16,14 @@ aspect ParserRewrites {
return result;
return result;
}
}
 
when (getChildName() != null && tryGloballyResolveNavigableRoleByToken(combinedName()) != null)
 
to RelationEndpointTarget {
 
RelationEndpointTarget result = new RelationEndpointTarget();
 
result.copyOtherValuesFrom(this);
 
result.setRole(NavigableRole.createRef(this.combinedName()));
 
return result;
 
}
 
when (getChildName() == "")
when (getChildName() == "")
to ContextFreeTypeEndpointTarget {
to ContextFreeTypeEndpointTarget {
ContextFreeTypeEndpointTarget result = new ContextFreeTypeEndpointTarget();
ContextFreeTypeEndpointTarget result = new ContextFreeTypeEndpointTarget();
Loading