|
|
Re: Xtext Grammar generates extera white space [message #1715868 is a reply to message #1715864] |
Thu, 26 November 2015 19:31 |
Saeed Tajfar Messages: 5 Registered: September 2015 |
Junior Member |
|
|
Perfect, Works!
yes, what I am doing is to convert an XMI model of my Ecore metamodel to obtain a json file as output by running the grammar is standalone mode.
the Xtext project type is: "xtext project from existing ecore models".
I forgot to say that string0 and ID are defined as following inside the grammar:
ID0 returns type::ID:
'ID' /* TODO: implement this rule and an appropriate IValueConverter */;
String0 returns type::String :
'String' /* TODO: implement this rule and an appropriate IValueConverter */;
[Updated on: Thu, 26 November 2015 19:43] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03002 seconds