source code of a block context
Romain Robbes
romain.robbes at lu.unisi.ch
Mon Aug 8 19:21:25 UTC 2005
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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050808/33b9ec6f/attachment.htm
More information about the Squeak-dev
mailing list
|