Hi,
I have studied the Famix metamodel and I have some questions / remarks:
- There is a reference (I think even a composition) between ScopingEntities and Function.
It thus means that by inheritance, a Module, a Namespace or a Package refer to function.
Does it make sense for Namespace or Package?
- Furthermore, there also exist a reference (I think even a composition) between Module
and Function. In Module, how the distinction is done between the functions collection
inherited from ScopingEntitiy and the specific one?
- There is a reference between ImplicitVariable and BehaviouralEntity
(parentBehaviouralEntity) whose opposite reference is named localVariables. However, in
BehaviouralEntity, the reference named localVariables points to LocalVariables. And there
is no inheritance between ImplicitVariable and LocalVariable.
- There is a reference (globalVariables) (I think even a composition) between
ScopingEntities and GlobalVariable with an opposite reference. There is also a reference
between GlobalVariable and Module (parentModule) but without any opposite reference. Is
this later an easy way to determine the module as a ScopingEntity to which a
GlobalVariable belongs to or does it add something from the reference between
GlobalVariable and ScopingEntities.
It would be nice if someone can give me explanations.
Anne
PS: Sorry, if the questions have been already asked, I am new on the list.