Skip to content

Commit

Permalink
Merge 1a94bd0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Aug 5, 2024
2 parents 9e5d905 + 1a94bd0 commit 07ee09e
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 177 deletions.
14 changes: 14 additions & 0 deletions src/Famix-Value-Entities/FamixValueEntity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ FamixValueEntity class >> metamodel [
^ FamixValueModel metamodel
]

{ #category : #testing }
FamixValueEntity >> isOfClassReference [

<generated>
^ false
]

{ #category : #testing }
FamixValueEntity >> isOfClosure [

<generated>
^ false
]

{ #category : #testing }
FamixValueEntity >> isOfCollection [

Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Value-Entities/FamixValueOfClassReference.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ FamixValueOfClassReference class >> annotation [
^ self
]

{ #category : #testing }
FamixValueOfClassReference >> isOfClassReference [

<generated>
^ true
]

{ #category : #accessing }
FamixValueOfClassReference >> value [
"Relation named: #value type: #FamixTClass opposite: #valueReferences"
Expand Down
7 changes: 7 additions & 0 deletions src/Famix-Value-Entities/FamixValueOfClosure.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ FamixValueOfClosure >> addVariable: anObject [
^ self variables add: anObject
]

{ #category : #testing }
FamixValueOfClosure >> isOfClosure [

<generated>
^ true
]

{ #category : #accessing }
FamixValueOfClosure >> sourceCode [

Expand Down
8 changes: 8 additions & 0 deletions src/Famix-Value-Entities/FamixValueOfCollection.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ FamixValueOfCollection >> addValue: anObject [
^ self value add: anObject
]

{ #category : #converting }
FamixValueOfCollection >> asPharoInitializationAST [

^ RBMessageNode
receiver: (RBVariableNode named: self type name)
selector: #basicNew
]

{ #category : #testing }
FamixValueOfCollection >> isOfCollection [

Expand Down
Loading

0 comments on commit 07ee09e

Please sign in to comment.