[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.gmt] Re: MOFScript: rules context type must be a metamodel type?

Hi Yannick
I tried this:

toto(){
	// code: stdout ...
}

but it doesn't compile. I'd really like to write something like that so
that I can make smaller functions and thus easier to understand.


Could you help me please?

If everything in your meta-model inherits from Object or Element or some similar
abstract class you can provide a single implementation for the root class, or
at least sufficient root classes to cover all derived classes of interest.

	Regards

		Ed Willink