On Tue, Sep 19, 2017 at 9:19 AM, Stéphane Ducasse stephane.ducasse@inria.fr 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 Moose-dev@list.inf.unibe.ch 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 Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev