Login  Register

FAMIXInvocation question

Posted by CyrilFerlicot on Sep 18, 2017; 7:45pm
URL: https://forum.world.st/FAMIXInvocation-question-tp4969667.html

Hi,

I saw that in FAMIXInvocation we have an instance variable named
"receiverSourceCode". I think this is a bad idea to get variables like
this one because source code should be saved via source anchors. Also,
it is not used in Moose image.

I would like to replace the accessors by:

receiverSourceCode
        ^ self receiver sourceText

receiverSourceCode: aString
        self deprecated: 'The source code of the receiver should not be saved
as a property. Instead access it via the receiver entity.'

Any objection? If I get none I'll do it soon to reduce memory consumption.

--
Cyril Ferlicot
https://ferlicot.fr

http://www.synectique.eu
2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev

signature.asc (836 bytes) Download Attachment