xText: any text rule [message #571523] |
Wed, 21 February 2007 12:10 |
Eclipse User |
|
|
|
Hi.
I have read short documentation on xText framework, server-side article
and have seen screen casts.
But I have not found answer on following question.
Is there is any possibility to create rule "Any text"?
In my model domain text to be analyzed is arbitrary but I need to
proceed in some logic way text fragments like
{action name='my_name'}
So for me it doesn't matter what text is before and after.
For example of text:
<!-- fdfdf -->
#sdfsdf
*dddd {action name='my_name1'} 090909
*dddd {action name='my_name2'} 090909
<!-- fdfdf -->
The only interesting parts for me are
{action name='my_name1'}
{action name='my_name2'}
Is there is some built-in rule/token like ANY_TEXT?
If there is no such rule could you help me to prototype xText grammar
for such language?
Thanks in advance.
Ilya
|
|
|
Powered by
FUDForum. Page generated in 1.49158 seconds