Skip to content

Commit

Permalink
Do not print Attribute type in mooseName
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Jun 4, 2024
1 parent e884f22 commit 15484fb
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ Extension { #name : #FamixValueOfObjectAttribute }
FamixValueOfObjectAttribute >> mooseNameOn: aStream [

value printTypeOn: aStream.
aStream << $
<< (object ifNotNil: [ object type name ] ifNil: [ '<type>' ]) << $.
<< (self attribute
ifNotNil: [ :attribute | attribute name ]
ifNil: [ '<attribute>' ]) << $=.
aStream << ' ' << (self attribute
ifNotNil: [ :attribute | attribute name ]
ifNil: [ '<attribute>' ]) << $=.
value printValueOn: aStream
]

0 comments on commit 15484fb

Please sign in to comment.