Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » xText: any text rule
xText: any text rule [message #571523] Wed, 21 February 2007 17:10
Ilya Klyuchnikov is currently offline Ilya Klyuchnikov
Messages: 74
Registered: July 2009
Member
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
Previous Topic:[MOFScript] _getFeature problem
Next Topic:Re: [TCS] Examples that convert .tcs file to model
Goto Forum:
  


Current Time: Tue Sep 16 19:46:15 GMT 2014

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

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