-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01df2dd
commit 0b82586
Showing
5 changed files
with
103 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
" | ||
A lexical closure. | ||
## Relations | ||
====================== | ||
### Other | ||
| Relation | Origin | Opposite | Type | Comment | | ||
|---| | ||
| `value` | `FamixValueOfClosure` | `closure` | `FamixValueOfType` | | | ||
## Properties | ||
====================== | ||
| Name | Type | Default value | Comment | | ||
|---| | ||
| `value` | `Object` | nil | Value data represented as a native Smalltalk object.| | ||
" | ||
Class { | ||
#name : #FamixValueOfClosure, | ||
#superclass : #FamixValueOfType, | ||
#traits : 'FamixValueTWithValueProperty', | ||
#classTraits : 'FamixValueTWithValueProperty classTrait', | ||
#instVars : [ | ||
'#value => FMOne type: #FamixValueOfType opposite: #closure' | ||
], | ||
#category : #'Famix-Value-Entities-Entities' | ||
} | ||
|
||
{ #category : #meta } | ||
FamixValueOfClosure class >> annotation [ | ||
|
||
<FMClass: #OfClosure super: #FamixValueOfType> | ||
<package: #'Famix-Value-Entities'> | ||
<generated> | ||
^ self | ||
] | ||
|
||
{ #category : #accessing } | ||
FamixValueOfClosure >> value [ | ||
"Relation named: #value type: #FamixValueOfType opposite: #closure" | ||
|
||
<generated> | ||
^ value | ||
] | ||
|
||
{ #category : #accessing } | ||
FamixValueOfClosure >> value: anObject [ | ||
|
||
<generated> | ||
value := anObject | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #FamixValueOfClosure } | ||
|
||
{ #category : #'*Famix-Value-Exporter' } | ||
FamixValueOfClosure >> accept: visitor [ | ||
|
||
^ visitor visitClosure: self | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters