| Adding metadata to emf AST before generator/validator phase? [message #896355]
||Wed, 18 July 2012 03:34
| Ian Warwick
Registered: April 2012
I would like to add some metadata to the EMF model before the generator (and ideally validator) phase.
This metadata is not part of my DSL's syntax, its just inferred from the model as a convention.
Is there an ideal place that occurs before the validator and generator phase?, such as when the model is turned from text into EMF that I can hook into?
I have looked at my languages RuntimeModule and can see I can override various Guice mappings, but I am unsure which one.
Appologies for the newbie questions, xtext is a bit overwhelming.
EDIT: I found a great article that looks like what I am after, but the article is a year old and there could be more support for this that I am unaware of christiandietrich.wordpress.com/2011/07/22/customizing-xtext-metamodel-inference-using-xtend2 ?
[Updated on: Wed, 18 July 2012 04:10]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02053 seconds