ifNotNilDo: (was Re: [squeak-dev] SqueakMap in 4.1)
leves at elte.hu
Mon Apr 12 18:21:57 UTC 2010
On Mon, 12 Apr 2010, Tobias Pape wrote:
> Am 2010-04-12 um 18:26 schrieb Levente Uzonyi:
>> (method getSource asString reject: #isSeparator) includesSubString: 'ifNotNil:[:' ] ].
> Given _I_ would have written Code there,
> you wouldn't find any of it with this line,
> as I would have used 'ifNotNil: [:'.
> some other would have used 'ifNotNil:[ :'
> and even other 'ifNotNil: [ :'.
The separators are rejected, so all variations you mentioned will be
> anyhow, what about bytecode inspection? *duck&hide* ;)
That could work too, but that's probably a lot more complicated.
> So Long,
More information about the Squeak-dev