|
|
|
Re: create a class without attributes neither relations [message #648718 is a reply to message #648623] |
Fri, 14 January 2011 08:35 |
Alexander Nittka Messages: 1193 Registered: July 2009 |
Senior Member |
|
|
Hi,
Am 13.01.11 18:21, schrieb Faiez:
> Hi All, I 'd Like to create a class without attributes neither
> relations wih xText but I can't. can you help me. thanks
could you be a bit more specific. Do you mean you want to instantiate a
model element that has no features?
Model: elements+=Element;
Element:{Element} 'newFeaturelessElement';
Some text must be parsed however, in order to tell the parser, that the
element rule should be entered.
Alex
P.S.: sorry, I missed that the question was already answered.
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
|
|
|
Powered by
FUDForum. Page generated in 0.01624 seconds