Yesterday we developed two new features in MooseQuery:
- the toScope: method to go down in the containment tree. It is the opposite of atScope:
that goes up. Both methods work the same way: ((classA queryIncoming: FAMIXInvocation)
atScope: FAMIXClass) toScope: FAMIXMethod. This query uses the new API and returns the
methods of the classes containing the methods sources of the incoming FAMIXInvocation of
- the ability to query the MooseGroups. Thanks to this new feature, it is possible to
query directly the model or any MooseGroup resulting from a selection or an operation
(union, intersection, difference…) of several MooseGroups.
A full documentation’s coming, but certainly not before the end of the summer.
Jean-Christophe and Anne