Skip to content

Commit

Permalink
Merge pull request #751 from moosetechnology/generalize-isself
Browse files Browse the repository at this point in the history
Generalize `isSelf` by moving it to `FamixTImplicitVariable`
  • Loading branch information
Gabriel-Darbord authored Apr 12, 2024
2 parents ff4865f + c8eac69 commit 13b49c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ FamixStImplicitVariable class >> annotation [
^ self
]

{ #category : #testing }
FamixStImplicitVariable >> isSelf [
^ self name = #self
]

{ #category : #testing }
FamixStImplicitVariable >> isSuper [
^ self name == #super
Expand Down
6 changes: 6 additions & 0 deletions src/Famix-Traits/FamixTImplicitVariable.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ FamixTImplicitVariable >> isImplicitVariable [
^ true
]

{ #category : #testing }
FamixTImplicitVariable >> isSelf [

^ self name == #self
]

{ #category : #accessing }
FamixTImplicitVariable >> parentBehaviouralEntity [
"Relation named: #parentBehaviouralEntity type: #FamixTWithImplicitVariables opposite: #implicitVariables"
Expand Down

0 comments on commit 13b49c0

Please sign in to comment.