[Moose-dev] Code Generation

sellossa@ensieta.fr sellossa at ensieta.fr
Wed Jun 13 11:49:24 MEST 2007


Hello,

we are still working on an ecore file importer in Moose and we have some
questions concerning the code generation.

When the BasicCodeGenerator generates a class that inherits from nothing,
its super class is by default Core.Object.

However, I believe that the superclass may depend on the type of the model
we want to load. Indeed, if you load a model, or a meta model, or a meta
meta model,  the superclass can be different

Do you think that SCG.Moose.CallingInitializeObject or
SCG.Moose.MooseElement could be sometimes good candidates for the
superclass instead of Core.Object ?

Thank you for your help.

Sara






More information about the Moose-dev mailing list