|Re: xtext syntax question [message #713992 is a reply to message #713891]
||Tue, 09 August 2011 13:36
| Sebastian Zarnekow
Registered: July 2009
to begin with, you should either
a) allow only one element in your model rule between the brackets
b) make an element consist only of one MixedContent.
Both approaches will lead to a model that contains any number of
MixedContent instances but with a reduced complexity in the structure of
Does that make sense?
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
On 09.08.11 12:07, Sven Krause wrote:
> Am 09.08.2011 09:05, schrieb Sebastian Zarnekow:
>> Hi Sven,
>> I'm surprised. Your solution should suffer from the same problems as
>> your first approach, e.g. rule Element may match the empty input and the
>> parser cannot decide, how often it should descend into Element coming
>> from rule Model.
>> No, there is no difference between 'keyword' and "keyword".
> Ok Sebastian,
> but what is the proposed syntax model for such a construct >"text"
> something "text"< ?
Powered by FUDForum
. Page generated in 0.01662 seconds