Skip to main content



      Home
Home » Modeling » TMF (Xtext) » about grammar again
about grammar again [message #1072340] Mon, 22 July 2013 10:56 Go to next message
Eclipse UserFriend
There is no Object created for the terminal rule and neither the parser rules
AbstractElement:
KeyValuePair
;
KeyValuePair:
KVP
;

terminal fragment END:
'\r\n'|'\n'
;
terminal KVP:
('a'..'z'|'A'..'Z')(.)* END
;

so what is the problem here?

Thanks advance

[Updated on: Mon, 22 July 2013 11:26] by Moderator

Re: about grammar again [message #1072364 is a reply to message #1072340] Mon, 22 July 2013 11:47 Go to previous messageGo to next message
Eclipse UserFriend
it seems that if there is no java class generated for the parser rule without feature nor the terminal rule
Re: about grammar again [message #1072382 is a reply to message #1072340] Mon, 22 July 2013 12:40 Go to previous message
Eclipse UserFriend
Why don't u use the -> operator as it is done in default terminals .
you should have a look at the errors of the workflow. I am sure there
are ones.

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Previous Topic:Language with macro concept
Next Topic:Hover support and data type rules
Goto Forum:
  


Current Time: Fri Jul 25 15:02:11 EDT 2025

Powered by FUDForum. Page generated in 0.03785 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top