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



{
sendcommand
checkcommand
}



is there a possibility???

thanks in advance?

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

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: 14665
Registered: July 2009
Senior Member
Hi youmay look for derivedstatecomputer. There you can create the wanted model viam2m

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:RichString in Xbase
Next Topic:eContainer becomes null after model transformation
Goto Forum:
  


Current Time: Tue Apr 16 21:01:46 GMT 2024

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

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

Back to the top