Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Called Rules Parameter Passing
[ATL] Called Rules Parameter Passing [message #73425] Sat, 26 January 2008 10: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 11:33 Go to previous message
Eclipse UserFriend
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: Fri Jul 11 21:38:40 EDT 2025

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

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

Back to the top