Skip to content

Commit

Permalink
modify isGenericEntity and isConcreteEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
AyechiNour committed Jul 26, 2024
1 parent dd37075 commit 0b5297b
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Extension { #name : #FamixTypeScriptParametricMethod }

{ #category : #'*Famix-TypeScript-Extensions' }
FamixTypeScriptParametricMethod >> isConcreteEntity [
"I am concrete if I concretize a generic entity."

^ self concreteParameters isNotNil
]

{ #category : #'*Famix-TypeScript-Extensions' }
FamixTypeScriptParametricMethod >> isGenericEntity [
"I am generic if I don't concretize a generic entity."

^ self genericParameters isNotNil
]

0 comments on commit 0b5297b

Please sign in to comment.