atScope: is not yet in FAMIX. Is it possible that loaded the new MooseQuery?
Doru
On Tue, Sep 22, 2015 at 2:25 AM, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
There is implementor of atScope: in my image.
I have the last version of Famix-Core loaded…
Alexandre
On Sep 21, 2015, at 1:58 PM, Anne Etien
<anne.etien(a)univ-lille1.fr>
wrote:
Hi,
In order to solve all these problems, we developed the new version of
MooseChef
a.k.a MooseQuery. There are two methods atScope: and toScope:
taking a famix class name (e.g. atScope: FAMIXMethod) to go up
(respectively down) in the containment tree until entities of the specified
type.
Cheers,
Anne
Le 21 sept. 2015 à 16:17, Alexandre Bergel <alexandre.bergel(a)me.com> a
écrit
:
> hi!
>
> Why is there not a method atMethodScope?
>
> Also, why is there not a atClassScope? Apparently this method is
deprecated
and one should use atTypeScope instead. However, a class define
a type, but a type does not necessarily defines a class. It may define an
interface. I have the impression that atTypeScope and atClassScope are both
relevant. We could even introduce atInterfaceScope.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev