[Newcompiler] Changing just a part of a method

Mathieu Suen mathieusuen at yahoo.fr
Fri Jul 27 12:39:45 UTC 2007


Try to use the SqueakParser in the NewParser package.
Could you give me your code to let me try.
Thanks

	Mth



On Jul 27, 2007, at 2:27 PM, 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


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com


More information about the Newcompiler mailing list