BlockContext >> #decompile

Seems pretty fragile though as it has to check the sources files if you need to fetch temp names.

Romain

On Aug 8, 2005, at 8:41 PM, Houssam Fakih wrote:

Hi all,

 

I’m looking for a method that extracts the source code of a block. For instance If I have the following blockContext: [^ self] I need a method that returns the following string: ‘^self’. Is there any method in Squeak that does this job or I have to write a new one?

 

Thanks,

Houssam

____

"Le paradis touche les pieds des mères..."

>>> http://csl.ensm-douai.fr/fakih