Module org.eclipse.xtend.lib.macro
Interface CompilationStrategy
@Beta
public interface CompilationStrategy
A compilation strategy can be assigned instead of an expression see {MutableExecutableDeclaration.
It's used to take control over generating Java statements and expressions directly.
- Author:
- Sven Efftinge
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA strategy provided during compilation. -
Method Summary
Modifier and TypeMethodDescriptioncall back method invoked during compliation
-
Method Details
-
compile
call back method invoked during compliation- Parameters:
ctx- - a compilation context, providing useful services.- Returns:
- the Java code
-