Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Regarding Category containing multi word
icon12.gif  Regarding Category containing multi word [message #1721987] Tue, 02 February 2016 06:55 Go to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
Hi ,

I am trying to write a rule such that


John Denver ,Tom Elliot

This means that each NAME can have multiple words and they can be separated by a "," .

I understand that STRING have to be in quotes . I am using ID currently to represent a name.

[Updated on: Tue, 02 February 2016 06:55]

Report message to a moderator

Re: Regarding Category containing multi word [message #1721989 is a reply to message #1721987] Tue, 02 February 2016 06:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14067
Registered: July 2009
Senior Member
NameList : names+=Name ("," names+=Name)*;
Name: ID+;


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Regarding Category containing multi word [message #1721994 is a reply to message #1721989] Tue, 02 February 2016 07:38 Go to previous message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
Thank You for this . I missed the + part.
Previous Topic:Auto -Complete for intellij , based web editor
Next Topic:Changing the port for web DSL module
Goto Forum:
  


Current Time: Sat Sep 25 10:25:03 GMT 2021

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

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

Back to the top