Skip to content

Commit

Permalink
Add #entities
Browse files Browse the repository at this point in the history
  • Loading branch information
ISayarLu committed Jun 28, 2024
1 parent e90a11d commit 824d36e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Famix-Diff-ChangeModel/FamixChange.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ FamixChange >> changeName [
^ self class changeName
]

{ #category : #accessing }
FamixChange >> entities [

^ { self entity }
]

{ #category : #accessing }
FamixChange >> entity [

Expand Down
8 changes: 8 additions & 0 deletions src/Famix-Diff-ChangeModel/FamixPairedChange.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ FamixPairedChange >> baseEntityName [
^ self baseEntity name
]

{ #category : #accessing }
FamixPairedChange >> entities [

^ {
self baseEntity.
self targetEntity }
]

{ #category : #comparing }
FamixPairedChange >> hash [
^ (super hash bitXor: self targetEntity hash) bitXor: self targetEntityName hash
Expand Down

0 comments on commit 824d36e

Please sign in to comment.