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.
Le 21 sept. 2015 à 16:17, Alexandre Bergel <alexandre.bergel(a)me.com> a écrit :
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.
Alexandre Bergel http://www.bergel.eu
Moose-dev mailing list