Indeed, Slots are implemented in Fame, and the CodeGenerator uses that instead of direct references or collections. That is why FAMIX uses Slots.
Doru
On Jun 12, 2008, at 9:29 PM, Stéphane Ducasse wrote:
ok
We still did not generate the add*: selectors for adding elements in collections, but Toon said he will do this shortly, so we will regenerate afterwards. Until then, instead of adding in the collection, you can just set the opposite link and this will populate the element in the collection due to the Slot implementation.
Is Slot part of FAME? what is the dependency with moose?
For example, see:
FAMIXTest>>testSlot
| c m | c := FAMIXClass new. m := FAMIXMethod new. m parentClass: c. self assert: (c methods first = m)
Cheers, Doru
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"Every thing has its own flow."