Login  Register

Re: FAMIXInvocation question

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).

> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev
>
>
> --------------------------------------------
> Stéphane Ducasse
> http://stephane.ducasse.free.fr
> http://www.synectique.eu / http://www.pharo.org
> 03 59 35 87 52
> Assistant: Julie Jonas
> FAX 03 59 57 78 50
> TEL 03 59 35 86 16
> S. Ducasse - Inria
> 40, avenue Halley,
> Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
> Villeneuve d'Ascq 59650
> France
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.list.inf.unibe.ch/listinfo/moose-dev
>



--
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