Posted by
CyrilFerlicot on
Sep 19, 2017; 8:08am
URL: https://forum.world.st/FAMIXInvocation-question-tp4969667p4969732.html
On Tue, Sep 19, 2017 at 9:19 AM, Stéphane Ducasse
<
[hidden email]> wrote:
> Why not :)
>
> Now for your deprecation you should add
>
> instead use self receiver sourceText: aString
> and probably put this expression after the deprecation.
>
It should not use #sourceText: that probably does not exist, but it
should create a SourceAnchor.
> BTW
> Do we want to have the location of the receiver?
> I mean for
>
> (self bar) foo: ,….
>
> do we know that it starts 7 and ends 14
>
It depends of the parser :) This info can be in the source anchor of
the receiver. If the source anchor is a FAMIXSourceTextAnchor you will
not have the info. If the anchor is a FAMIXFileAnchor or a
FAMIXIndexedFileAnchor you will have more info (if the parser set the
infos).
--
Cyril Ferlicot
https://ferlicot.frhttp://www.synectique.eu2 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