Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » deleted
deleted [message #905013] Wed, 29 August 2012 14:57 Go to next message
Vinod Ravi is currently offline Vinod RaviFriend
Messages: 12
Registered: August 2012
Junior Member
No Message Body

[Updated on: Sun, 28 October 2012 09:52]

Report message to a moderator

Re: problem multiple alternatives [message #905016 is a reply to message #905013] Wed, 29 August 2012 15:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13409
Registered: July 2009
Senior Member
Hi your grammar is ambigous. the basic problem is the | Outparam stuff you do.


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
deleted [message #905021 is a reply to message #905016] Wed, 29 August 2012 15:06 Go to previous messageGo to next message
Vinod Ravi is currently offline Vinod RaviFriend
Messages: 12
Registered: August 2012
Junior Member

[Updated on: Sun, 28 October 2012 09:52]

Report message to a moderator

Re: problem multiple alternatives [message #905024 is a reply to message #905021] Wed, 29 August 2012 15:08 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13409
Registered: July 2009
Senior Member
Hi,

i am not quite sure about the synatax / semantics you want to achive,
can you give an example?


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
deleted [message #905029 is a reply to message #905024] Wed, 29 August 2012 15:14 Go to previous messageGo to next message
Vinod Ravi is currently offline Vinod RaviFriend
Messages: 12
Registered: August 2012
Junior Member
No Message Body

[Updated on: Sun, 28 October 2012 09:52]

Report message to a moderator

Re: problem multiple alternatives [message #905032 is a reply to message #905029] Wed, 29 August 2012 15:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13409
Registered: July 2009
Senior Member
So you want something like this (i am not sure about the cardinalities you wanna have

Operation:
	"Operation" name=ID
	(ins+=Inparam
	|outs+=Outparam)*
    ;


Event:
	"Event" name=ID
	(outs+=Outparam)*
    ;


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
deleted [message #905038 is a reply to message #905032] Wed, 29 August 2012 15:26 Go to previous messageGo to next message
Vinod Ravi is currently offline Vinod RaviFriend
Messages: 12
Registered: August 2012
Junior Member

[Updated on: Sun, 28 October 2012 09:53]

Report message to a moderator

Re: problem multiple alternatives [message #905043 is a reply to message #905038] Wed, 29 August 2012 15:31 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13409
Registered: July 2009
Senior Member
As i said: you are the boss over cardinalities so change * to + is you want to have at least one param

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Debugging Xtext
Next Topic:EMF-Text or Xtext?
Goto Forum:
  


Current Time: Sat Mar 28 15:42:33 GMT 2020

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

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

Back to the top