Skip to main content



      Home
Home » Modeling » Epsilon » EVL: Code Refactoring
EVL: Code Refactoring [message #1717127] Thu, 10 December 2015 02:36 Go to next message
Eclipse UserFriend
Hi,

Is there any statement like macro definition in the general programming languages to refactor a block of statements in the EVL code scripts (I mean in the do part)?
Since usage of the operation/function statement requires a return type.

Kind regards,
Alireza
Re: EVL: Code Refactoring [message #1717146 is a reply to message #1717127] Thu, 10 December 2015 04:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alireza,

Context and return types are optional for EOL operations i.e. the following is perfectly valid EOL code

foo();

operation foo() {
  "foo".println();
}


Cheers,
Dimitris
Re: EVL: Code Refactoring [message #1717299 is a reply to message #1717146] Fri, 11 December 2015 08:29 Go to previous message
Eclipse UserFriend
Dear Dimitris,

This is great. Thank you very much.

Kind regards,
Alireza

[Updated on: Fri, 11 December 2015 08:36] by Moderator

Previous Topic:[EVL] A problem in markerType
Next Topic:EVL: How to create a .evl extension launch file
Goto Forum:
  


Current Time: Sat Jul 12 14:41:57 EDT 2025

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

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

Back to the top