[Newcompiler] Changing just a part of a method
Stéphane Ducasse
stephane.ducasse at univ-savoie.fr
Fri Jul 27 18:58:44 UTC 2007
I have doubts that RB... maintain information about the nodes so that
you will not lose the formatting.
stef
On 27 juil. 07, at 14:27, Damien Cassou wrote:
> Hi,
>
> is it possible to rewrite only a small part of a method without
> reindenting everything? I'm using ParseTreeRewriter to change code
> from
>
> 'ReadStream on: ``@Expression'
>
> to
>
> '``@Expression readStream'
>
>
> However, when I compile the new tree back, all the indentation is
> changed, all $_ are converted to :=...
>
> When I then browse the changes with Monticello, the change I made is
> not clear because it's lost in the other changes.
>
> Is there any solution?
>
> --
> Damien Cassou
More information about the Newcompiler
mailing list