Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » syntactic predicates / references
syntactic predicates / references [message #1692234] Tue, 14 April 2015 12:36 Go to next message
roman stingler is currently offline roman stinglerFriend
Messages: 8
Registered: November 2014
Junior Member
Hi I want to use the SendSPIExpression and optionally CheckSPIExpression
but I want to be able to call other things in-between but CheckSPIExpression should always refer to the previous send command.

I don't want to have cross references due to necessary ID.
The problem I have is the code generation, because I have to generate


is there a possibility???

thanks in advance?

	{SendSPIExpression} 'send_spi' '(' spiParameter=SPIParameter ')' NEWLINE?
	(=> checkstatement=CheckSPIExpression)?;

	{CheckSPIExpression} 'check_spi' '(' spiParameter=SPIParameter ')';
Re: syntactic predicates / references [message #1692267 is a reply to message #1692234] Tue, 14 April 2015 16:13 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13939
Registered: July 2009
Senior Member
Hi youmay look for derivedstatecomputer. There you can create the wanted model viam2m

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:RichString in Xbase
Next Topic:eContainer becomes null after model transformation
Goto Forum:

Current Time: Sat May 15 03:21:55 GMT 2021

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

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

Back to the top