Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Recursive NavigationOrAttributeCallExp creation
[ATL] Recursive NavigationOrAttributeCallExp creation [message #107118] Wed, 24 June 2009 15:50
Cosmin Ciuraru is currently offline Cosmin CiuraruFriend
Messages: 16
Registered: July 2009
Junior Member
Hello,

I'm working on a higher order transformation which targets an ATL model.
Amongst other things, I need to generate from a string sequence like:

{'self','expressions','smthElse'}

the following ATL code:

self.expressions.smthElse

The string sequence dependes upon the input model for my HOT. I've started
doing this by generating several NavigationOrAttributeCallExp in ATL. I
have some problems though, because I need to write something recursive in
ATL, by using lazy rules, called rules or helpers...

One question will be: what do I set as source element for the initial
NavigationOrAttributeCallExp (self)?
What combination would you advice to use in order to call a rule, helper,
that takes as parameters the name of the NavigationOrAttributeCallExp to
be built and as source the last built navigation exp, in order to call it
recursively.

I've tried all kinds of possibilities but still haven't found something
good. In the end, I want to have just one NavigationOrAttributeCallExp
element, that has as source all the chain of elements.

Any suggestions, please? Thank you!

Regards,
Cosmin
Previous Topic:problem with transformation QVTR.
Next Topic:[ATL] Lazy rules & resolveTemp?
Goto Forum:
  


Current Time: Fri Jan 17 12:54:23 GMT 2025

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

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

Back to the top