[ATL]: Create 'thisModule' VariableExp in ATL model [message #51455] |
Mon, 09 July 2007 04:29  |
Eclipse User |
|
|
|
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 11:09   |
Eclipse User |
|
|
|
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 09:05  |
Eclipse User |
|
|
|
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.
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02663 seconds