Dependencies between methods using MooseChef?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dependencies between methods using MooseChef?

abergel
Hi!

For a given famix class “cls” and a given famix method “m” (m is defined in cls), I would like to get the methods called by m that belongs to cls. Why is the simplest way to get this? I try the following:

(m queryAllOutgoingInvocations withinClass: cls) asArray flatCollect: #candidates

But I am sure there is a simpler way to do this…. Any hint?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Dependencies between methods using MooseChef?

Tudor Girba-2
(m queryAllOutgoingInvocations within: m parentType) opposites

Doru

On Thu, May 14, 2015 at 5:58 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

For a given famix class “cls” and a given famix method “m” (m is defined in cls), I would like to get the methods called by m that belongs to cls. Why is the simplest way to get this? I try the following:

(m queryAllOutgoingInvocations withinClass: cls) asArray flatCollect: #candidates

But I am sure there is a simpler way to do this…. Any hint?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Dependencies between methods using MooseChef?

abergel
Ah yes!

Thanks
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On May 14, 2015, at 11:07 AM, Tudor Girba <[hidden email]> wrote:

(m queryAllOutgoingInvocations within: m parentType) opposites

Doru

On Thu, May 14, 2015 at 5:58 PM, Alexandre Bergel <[hidden email]> wrote:
Hi!

For a given famix class “cls” and a given famix method “m” (m is defined in cls), I would like to get the methods called by m that belongs to cls. Why is the simplest way to get this? I try the following:

(m queryAllOutgoingInvocations withinClass: cls) asArray flatCollect: #candidates

But I am sure there is a simpler way to do this…. Any hint?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev