3 ms·
Xtend is a programming language designed as a syntactic layer over Java (and transpiles to it), it was designed specifically for code generation for the Xtext f
by Banana699 5y ago
Xtend is a programming language designed as a syntactic layer over Java (and transpiles to it), it was designed specifically for code generation for the Xtext framework. It has its own take on multi-line interpolation-equipped strings : template expression.
https://www.eclipse.org/xtend/documentation/203_xtend_expressions.html#templates https://www.eclipse.org/xtend/documentation/203_xtend_expres...
It has this idea called whitespace preprocessing, it has several rules but one of them guarantees that your first 2 examples would work as you intend them to.