[squeak-dev] Getting rid of Display global

Igor Stasenko siguctua at gmail.com
Sun Nov 9 02:02:55 UTC 2008


i finally got it working!!
accept works if i open search from package list..
Basically this is all what i need so far..
and the search pattern is quite simple:

ParseTreeSearcher new
	matches: 'Display' do: [ :node :answer | (node parent isAssignment
and: [node parent variable == node]) ifTrue: [node] ifFalse: [nil]];
	yourself

- shows all assignments to Display global var.
and if i change ifTrue/ifFalse, it will show me all references to
Display, except assignments


-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list