Ok. But pragmas I talk about are pragmas like:
One reason for describing a property with a pragma is to make tools aware of this pragma.
In the example you said, it is more relevant for the user to deal with groups instead of collection. MooseAbstractGroup>>allClasses contains the pragma #navigation:.
Alexandre
On 18 Mar 2010, at 05:42, Cyrille Delaunay wrote:
_______________________________________________Hello,
In which cases should we describe a property with a pragma ?
I guess that property-pragmas will be used to set the list of attributes to the FM3MetaDescription of the class.
But by looking quikly to the famix implementation, it seems that some properties are described and other not.
For example, in FAMIXPackage, the method 'classes' is not described. Therefore it does not appear in the FAMIXPackageMetaDescription listOfAttributes.
I don't know the reason?
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev