Post-processing the generated genmodel? [message #1067763] |
Wed, 10 July 2013 09:36  |
Eclipse User |
|
|
|
Hi,
I've been successfully using an IXtext2EcorePostProcessor in one of my projects.
Now I wonder if it is possible to also post-process the generated genmodel, in my case in order to set a rootExtendsInterface attribute.
So, when the post-processor is invoked, does the genmodel already exist in memory? Is there a way to get hold of that either from a IXtext2EcorePostProcessor or using a similar hook?
In other projects I'm happy with manually maintaining the meta model, but in this project the language isn't quite mature enough, i.e., I still want Xtext to generate the meta model whenever the grammar is changed.
TIA,
Stephan
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04926 seconds