anyOf: means senders of any of the following message = or because of: with a list could mean that you expect to find the senders of all the message in the list. Am I clear? Stef On Sat, Sep 23, 2017 at 10:37 AM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
2017-09-23 7:54 GMT+02:00 Stephane Ducasse <stepharo.self@gmail.com>:
Ok what is localClassScope?
From LocalClassScope you will see only things which are defined in class itself.
There are also ClassHierarchyScope subclasses. They show you all things which are visible from related classes depending on what type of hierarchy they represent (there are ClySubclassScope, ClyInheritedTraitScope, etc).
I will add this notes to class comments.
Before I introduced ClassHierarchyScope there was only ClassScope (with instance side and class side subclasses). Then I extract LocalClassScope.
so may be we should rename it anyOf:
I not understand it.
On Fri, Sep 22, 2017 at 9:54 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
Hi
2017-09-22 20:41 GMT+02:00 Stephane Ducasse <stepharo.self@gmail.com>:
Hi denis
I'm doing a pass on the architecture of calypso chapter :) as a way to force me to understand it better.
Now I do not understand why the following does not work.
| env classScope | env := ClySystemNavigationEnvironment currentImage. classScope := env selectScope: ClyClassScope of: {Point. Collection}. classScope allClasses
Probably it is not implemented. Each scope should implement what can be retrieved from it. If something was not needed for browser implementation then it will not work. (I not implemented it).
But try also with ClyLocalClassScope. I did little refactoring and it can be not reflected in any doc/comment.
another question
packageScope query: (ClyMessageSenders of: #(do: x))
It is returning all the senders of do: and the senders of x or returning all the sender of do: and x
It returns methods which sent #do: or #x
Stef