- org.codehaus.groovy.macro.methods.MacroGroovyMethods
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
public static ListExpression |
buildSubstitutions(SourceUnit source, ASTNode expr)
|
|
protected static ClosureExpression |
getClosureArgument(SourceUnit source, MethodCallExpression call)
|
|
protected static TupleExpression |
getMacroArguments(SourceUnit source, MethodCallExpression call)
|
|
protected SourceUnit |
getSourceUnit()
|
<T> |
public static T |
macro(Object self, Closure cl)
|
|
public static Expression |
macro(MacroContext macroContext, ClosureExpression closureExpression)
|
<T> |
public static T |
macro(Object self, boolean asIs, Closure cl)
|
|
public static Expression |
macro(MacroContext macroContext, ConstantExpression asIsConstantExpression, ClosureExpression closureExpression)
|
<T> |
public static T |
macro(Object self, CompilePhase compilePhase, Closure cl)
|
|
public static Expression |
macro(MacroContext macroContext, PropertyExpression phaseExpression, ClosureExpression closureExpression)
|
<T> |
public static T |
macro(Object self, CompilePhase compilePhase, boolean asIs, Closure cl)
|
|
public static Expression |
macro(MacroContext macroContext, PropertyExpression phaseExpression, ConstantExpression asIsConstantExpression, ClosureExpression closureExpression)
|
|
public void |
visitClass(ClassNode node)
|
|
public void |
visitMethodCallExpression(MethodCallExpression call)
|
-
Inherited Methods Summary
-
-
Field Detail
-
public static final String DOLLAR_VALUE
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.