[ATL] how can I invoke a called rule? [message #104996] |
Fri, 15 May 2009 08:34  |
Eclipse User |
|
|
|
Hi,
does anybody give some some idea of calling a called rule? Shall I
must call it in a imperative block?
I also have the folling questions. Hopefully you can answer them
for me.
1) Can helpers generate target model elements?
2) Can I invoke a called rule in an expression, for example, in the
body of `collect' operation?
Thanks.
Michael
|
|
|
Re: [ATL] how can I invoke a called rule? [message #105182 is a reply to message #104996] |
Mon, 18 May 2009 05:26  |
Eclipse User |
|
|
|
Hi Michael,
did you read through the user-guide?
http://wiki.eclipse.org/ATL/User_Guide
You can call a called rule for example in the imperative 'do'-section of a
matched rule. As far as I know only rules (declarative and imperative) can
generate target model elements.
Cheers,
Lucas
Michael wrote:
> Hi,
> does anybody give some some idea of calling a called rule? Shall I
> must call it in a imperative block?
> I also have the folling questions. Hopefully you can answer them
> for me.
> 1) Can helpers generate target model elements?
> 2) Can I invoke a called rule in an expression, for example, in the
> body of `collect' operation?
> Thanks.
> Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03890 seconds