@Incubating public enum MacroBuilder extends Enum<MacroBuilder>
 macro {}  method.| Enum Constant and Description | 
|---|
INSTANCE  | 
| Modifier and Type | Method and Description | 
|---|---|
static ASTNode | 
getMacroValue(BlockStatement closureBlock,
             boolean asIs)  | 
<T> T | 
macro(boolean asIs,
     String source,
     List<Closure<Expression>> context,
     Class<T> resultClass)  | 
<T> T | 
macro(CompilePhase compilePhase,
     boolean asIs,
     String source,
     List<Closure<Expression>> context,
     Class<T> resultClass)  | 
<T> T | 
macro(CompilePhase compilePhase,
     String source,
     List<Closure<Expression>> context,
     Class<T> resultClass)  | 
<T> T | 
macro(String source,
     List<Closure<Expression>> context,
     Class<T> resultClass)  | 
static MacroBuilder | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MacroBuilder[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MacroBuilder INSTANCE
public static MacroBuilder[] values()
for (MacroBuilder c : MacroBuilder.values()) System.out.println(c);
public static MacroBuilder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic <T> T macro(String source, List<Closure<Expression>> context, Class<T> resultClass)
public <T> T macro(boolean asIs,
                   String source,
                   List<Closure<Expression>> context,
                   Class<T> resultClass)
public <T> T macro(CompilePhase compilePhase, String source, List<Closure<Expression>> context, Class<T> resultClass)
public <T> T macro(CompilePhase compilePhase, boolean asIs, String source, List<Closure<Expression>> context, Class<T> resultClass)
public static ASTNode getMacroValue(BlockStatement closureBlock, boolean asIs)