Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Guards for unique lazy rules
Guards for unique lazy rules [message #1614898] Fri, 13 February 2015 15:15 Go to next message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
Hi,

is it possible to invoke a guard on a lazy rule? I tried to debut my unique lazy rule, but the debugger never enters the guard..

unique lazy rule createImports {
	from
		source : IN!Type (not source.isImported())
	to 
		target : OUT!... (
			
		)
}

helper context IN!Type def: isImported(): Boolean =
true;


The helper isImported() is never entered! Is this normal??

~Alex
Re: Guards for unique lazy rules [message #1618237 is a reply to message #1614898] Sun, 15 February 2015 20:55 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 371
Registered: September 2012
Location: Belgium
Senior Member

Support for guards in lazy rules is introduced in ATL/EMFTVM. They are ignored in regular ATL.

Cheers,
Dennis
Re: Guards for unique lazy rules [message #1619130 is a reply to message #1618237] Mon, 16 February 2015 11:02 Go to previous message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
Thanks for the hint,

just one question. Is the ATL/EMFTVM not the same as the EMF-specific VM?
Which I can configurate in the runtime-config?

https://dl.dropboxusercontent.com/u/18688378/eclipseCoding/question/EMFTVM.JPG

Thanks,
Alex

[Updated on: Mon, 16 February 2015 11:03]

Report message to a moderator

Previous Topic:ATL Transformation
Next Topic:ATL Operator for &&
Goto Forum:
  


Current Time: Tue Jul 17 17:38:27 GMT 2018

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

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

Back to the top