Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL]: Create 'thisModule' VariableExp in ATL model
[ATL]: Create 'thisModule' VariableExp in ATL model [message #51455] Mon, 09 July 2007 08:29 Go to next message
Bas Graaf is currently offline Bas GraafFriend
Messages: 9
Registered: July 2009
Junior Member
Hi All,

I was wondering how an OclExpression, such as:

thisModule.someOp()

would be represented in an ATL model. I suppose it looks like this:

OperationCallExp
source:VariableExp
name='thisModule'
referredVariable=???
operationName='someOp'
arguments=Set{}

But how to initialise the referredVariable feature?

Unfortunately, I cannot get the ATL injector to work properly (see
previous message), so I am not able to simply inject such a fragment and
inspect the result.

Thanks for your help,
Kind regards,

Bas.



--
____________________________________________________________ ________
Ir. B.S. Graaf
Department of Software Technology
Faculty of Electrical Engineering, Mathematics, and Computer Science
Delft University of Technology

phone: +31 (15) 2782467
e-mail: b.s.graaf@tudelft.nl

homepage: http://www.st.ewi.tudelft.nl/~basgraaf

P.O. Box 5031
2600 GA Delft
The Netherlands
Re: [ATL]: Create 'thisModule' VariableExp in ATL model [message #51856 is a reply to message #51455] Tue, 10 July 2007 15:09 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hi Bas,

Have you solved this problem now that you got the ATL injector to work?


Regards,

Frédéric Jouault


Bas Graaf wrote:
> Hi All,
>
> I was wondering how an OclExpression, such as:
>
> thisModule.someOp()
>
> would be represented in an ATL model. I suppose it looks like this:
>
> OperationCallExp
> source:VariableExp
> name='thisModule'
> referredVariable=???
> operationName='someOp'
> arguments=Set{}
>
> But how to initialise the referredVariable feature?
>
> Unfortunately, I cannot get the ATL injector to work properly (see
> previous message), so I am not able to simply inject such a fragment and
> inspect the result.
>
> Thanks for your help,
> Kind regards,
>
> Bas.
>
>
>
Re: [ATL]: Create 'thisModule' VariableExp in ATL model [message #52040 is a reply to message #51856] Wed, 11 July 2007 13:05 Go to previous message
Eclipse UserFriend
Originally posted by: basgraaf.tudelft.nl

Hi Frederic,

Yes I did. Should have let you know. Sorry.

Kind regards,
Bas.

Frédéric Jouault wrote:
> Hi Bas,
>
> Have you solved this problem now that you got the ATL injector to work?
>
>
> Regards,
>
> Frédéric Jouault
>
>
> Bas Graaf wrote:
>> Hi All,
>>
>> I was wondering how an OclExpression, such as:
>>
>> thisModule.someOp()
>>
>> would be represented in an ATL model. I suppose it looks like this:
>>
>> OperationCallExp
>> source:VariableExp
>> name='thisModule'
>> referredVariable=???
>> operationName='someOp'
>> arguments=Set{}
>>
>> But how to initialise the referredVariable feature?
>>
>> Unfortunately, I cannot get the ATL injector to work properly (see
>> previous message), so I am not able to simply inject such a fragment
>> and inspect the result.
>>
>> Thanks for your help,
>> Kind regards,
>>
>> Bas.
>>
>>
>>
Previous Topic:[ATL] how to get more error message when transformation failed?
Next Topic:[ATL] Increase transformation performance
Goto Forum:
  


Current Time: Tue Apr 23 10:57:33 GMT 2024

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

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

Back to the top