[ATL] Called Rules Parameter Passing [message #73425] |
Sat, 26 January 2008 10:55  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.17032 seconds