Generate Diagramm of EMF out of Xtext?? [message #876860] |
Fri, 25 May 2012 08:04  |
Eclipse User |
|
|
|
Hi Team,
I generated my own Xtext grammar. For documentation purposes, I'd like to automatically create a kind of diagramm or picture that shows the AST or maybe the EMF-Meta model that is generated by Xtext.
Has somebody an Idea, wheater this is possible?
I know, that there are ways to have a graphical editor, that generates the corresponding textual model, but I need it the other way around.
Thanks in advance.
|
|
|
|
Re: Generate Diagramm of EMF out of Xtext?? [message #878894 is a reply to message #876860] |
Wed, 30 May 2012 02:34  |
Eclipse User |
|
|
|
The generated metamodel resides in the src-gen folder of your runtime
project. You can visualize it with any Ecore diagram editor, e.g. from
the Ecore Tools project.
There is also the Xtext Syntax Graph (Show View->Other->Xtext->) that
visualizes the syntax in a railroad diagram.
Am 25.05.12 14:04, schrieb Tim Student:
> Hi Team,
> I generated my own Xtext grammar. For documentation purposes, I'd like
> to automatically create a kind of diagramm or picture that shows the AST
> or maybe the EMF-Meta model that is generated by Xtext.
>
> Has somebody an Idea, wheater this is possible?
> I know, that there are ways to have a graphical editor, that generates
> the corresponding textual model, but I need it the other way around.
>
> Thanks in advance.
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
|
|
|
Powered by
FUDForum. Page generated in 0.03787 seconds