Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [Xtend] template expressions
[Xtend] template expressions [message #1125614] Fri, 04 October 2013 13:57 Go to next message
Miles Parker is currently offline Miles Parker
Messages: 1322
Registered: July 2009
Senior Member
It looks like Xtend templates only allow for two expressions now -- IF and FOR. What happened to LET .. AS? Without this expression, I don't think there is a way to have variable assignment within loops? Instead, you'd need to concatenate separate strings, losing some of the benefits of template formatting and clarity.
Re: [Xtend] template expressions [message #1125705 is a reply to message #1125614] Fri, 04 October 2013 16:11 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5245
Registered: July 2009
Senior Member
hi,

yes it is missing but

<<val variable = .... ;"">>

might be useful as workaround
Previous Topic:ClassCastException & JobReconcilier
Next Topic:using types from non-exported packages
Goto Forum:
  


Current Time: Mon Oct 07 10:30:34 EDT 2013

Powered by FUDForum. Page generated in 0.02536 seconds