Hi,
In C/C++ you can define something like this:
typedef Type TypeAlias;
To be able to model this in FAMIX, I introduced FAMIXTypeAlias in Famix-C. However, now I
think we have to move it to the Core because of the following reason.
Suppose we have something like this:
typedef Type TypeAlias;
SubType: TypeAlias
When enumerating the subclasses of Type, I need to get:
- TypeAlias
- SubType
To do this, when traversing with subclassesDo: I need to take into account the typeAliases
associated with each type. This means that the notion of TypeAliases must be in the Core.
I hope I explained the matter. Please let me know if you see other alternatives.
Cheers,
Doru
--
www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."