Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Annotations in EOL
Annotations in EOL [message #587451] Tue, 16 March 2010 12:55 Go to next message
Eclipse UserFriend
Originally posted by: Juan.deLara.uam.es

Hi,

where are annotations allowed in EOL?
If I type:

@profile
'a'.println();

then nothing happens, but if I type:

'a'.println();
@profile

then the program works. This also happens
with any other annotation. The AST in both
cases seems to be alright, though.
I know that this probably is not the idea
of annotations (i.e., may be they should be attached to
operations), but I'd like to use EOL annotations
in a different way.

thanks,

juan.
Re: Annotations in EOL [message #587467 is a reply to message #587451] Tue, 16 March 2010 12:58 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Juan,

In EOL annotations are indeed only allowed on operation declarations.

Cheers,
Dimitris

Juan de Lara wrote:
>
> Hi,
>
> where are annotations allowed in EOL?
> If I type:
>
> @profile
> 'a'.println();
>
> then nothing happens, but if I type:
>
> 'a'.println();
> @profile
>
> then the program works. This also happens
> with any other annotation. The AST in both
> cases seems to be alright, though.
> I know that this probably is not the idea
> of annotations (i.e., may be they should be attached to
> operations), but I'd like to use EOL annotations
> in a different way.
>
> thanks,
>
> juan.
>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:Annotations in EOL
Next Topic:Eugenia /GMF
Goto Forum:
  


Current Time: Fri Apr 19 05:29:44 GMT 2024

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

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

Back to the top