Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] how can I invoke a called rule?
[ATL] how can I invoke a called rule? [message #104996] Fri, 15 May 2009 12:34 Go to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
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 09:26 Go to previous message
Lucas is currently offline LucasFriend
Messages: 9
Registered: July 2009
Junior Member
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
Previous Topic:[ATL] An error about calling a rule.
Next Topic:[ATL] Collection as target element
Goto Forum:
  


Current Time: Fri Apr 19 06:20:18 GMT 2024

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

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

Back to the top