Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Called Rules Parameter Passing
[ATL] Called Rules Parameter Passing [message #73425] Sat, 26 January 2008 15:55 Go to next message
Eclipse UserFriend
Originally posted by: francopinchetti.yahoo.it

Hello everybody,
I would like to know if, in ATL, the parameters are passed from a called
rule to another one by reference, or by value.
Thanks
Franco Pinchetti
Re: [ATL] Called Rules Parameter Passing [message #74493 is a reply to message #73425] Tue, 05 February 2008 16:33 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

> I would like to know if, in ATL, the parameters are passed from a called
> rule to another one by reference, or by value.

If you pass a model element as argument, then it is "by reference".
Because OCL values are immutable, passing them as arguments can be
considered as being "by value".


Regards,

Frédéric Jouault
Previous Topic:Re: OCL checker for EMF models in transformation chain
Next Topic:Call atl ant script by java
Goto Forum:
  


Current Time: Wed Apr 14 18:17:29 GMT 2021

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

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

Back to the top