I would like to have numberOfMethods, , numberOfAttributes defined in Behavior.
the problems is that numberOfAttributes is not the right vocabulary. Did you check for the other ones if there is not already an equivalent?
Behavior>>instSize returns the number of named variables, tacking class inheritance into account. ClassDescription>>numberOfMethods returns the number of local (ie not defined in a trait) methods
Behavior has nothing close to FAMIXClass>>numberOfLinesOfCode.
Cheers, Alexandre
Stef
Stef, does this make sense? Shall I produce a slice and put it PharoInbox?
Alexandre
Stef On Apr 23, 2010, at 8:05 PM, Alexandre Bergel wrote:
hi!
What about adding in FAMIXClass: withAllSubclasses, allSubclasses, superclasses, withAllSuperclasses, allSuperclasses
FAMIXClass should be somewhat polymorphic to Behavior. That would be useful... I can do it.
Any opinion?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
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
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev