Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Enumeration Type
Enumeration Type [message #24476] Mon, 19 March 2007 16:16 Go to next message
Eclipse UserFriend
Originally posted by: yassin_chkouri.yahoo.fr

Hello,
i have problem with enumeration. when i write :
if(st.b = #lazy)
there are an error message compilation : " Expecting NAME, found 'lazy' ".
when i show the documentation of ATL there are the same expression :
if(aPerson.gender = #male)

some one can help me
thank in advance

Yassin
Re: Enumeration Type [message #24641 is a reply to message #24476] Mon, 19 March 2007 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marcos.didonet-del-fabro.univ-nantes.fr

Hello,

this happens because "lazy" is an ATL keyword (to define lazy rules).

If you want to use the lazy word anyway, you write it under ". For example: #"lazy".

There is an post on the ATL archive about this topic:

http://www.sciences.univ-nantes.fr/lina/atl/www/atl_discussi on_archive/2062.html

Regards,

Marcos.

yassin wrote:
> Hello,
> i have problem with enumeration. when i write : if(st.b = #lazy)
> there are an error message compilation : " Expecting NAME, found 'lazy' ".
> when i show the documentation of ATL there are the same expression :
> if(aPerson.gender = #male)
>
> some one can help me
> thank in advance
>
> Yassin
>
[ATL] Re: Enumeration Type [message #26322 is a reply to message #24476] Thu, 29 March 2007 19:42 Go to previous message
Jean Bezivin is currently offline Jean BezivinFriend
Messages: 38
Registered: July 2009
Member
Dear Yassin,

Sorry to bother the group again with this,
but all questions and transactions on this newsgroup
should be prefixed by the mention of the specific component.
In this case the prefix should be [ATL].
I insert it in this answer, but please remember to use it
in further transactions on the present newsgroup.

There are two other QVT components that are going to be contributed
later in this M2M project, coming from Borland and Compuware.
When these are available we'll absolutely need to separate clearly
the various threads of discussion. It's better to start now with the good
habits event if ATL is the first of the available M2M components.

Best regards,

Jean

"yassin" <yassin_chkouri@yahoo.fr> a
Previous Topic:resolveTemp in combination with multiple source patterns
Next Topic:[ATL] News ATL Use Case - Sharing Rules Between OCL/UML and SWRL/OWL
Goto Forum:
  


Current Time: Tue Mar 19 07:53:48 GMT 2024

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

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

Back to the top