- org.codehaus.groovy.macro.methods.MacroGroovyMethods
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
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()
|
|
static T |
macro(Object self, Closure cl)
|
|
static Expression |
macro(MacroContext macroContext, ClosureExpression closureExpression)
|
|
static T |
macro(Object self, boolean asIs, Closure cl)
|
|
static Expression |
macro(MacroContext macroContext, ConstantExpression asIsConstantExpression, ClosureExpression closureExpression)
|
|
static T |
macro(Object self, CompilePhase compilePhase, Closure cl)
|
|
static Expression |
macro(MacroContext macroContext, PropertyExpression phaseExpression, ClosureExpression closureExpression)
|
|
static T |
macro(Object self, CompilePhase compilePhase, boolean asIs, Closure cl)
|
|
static Expression |
macro(MacroContext macroContext, PropertyExpression phaseExpression, ConstantExpression asIsConstantExpression, ClosureExpression closureExpression)
|
|
void |
visitClass(ClassNode node)
|
|
void |
visitMethodCallExpression(MethodCallExpression call)
|
-
Inherited Methods Summary
-
-
Field Detail
-
public static final String DOLLAR_VALUE
-
Method Detail
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
protected SourceUnit getSourceUnit()
-
public static T macro(Object self, @com.github.javaparser.ast.expr.SingleMemberAnnotationExprDelegatesTo Closure cl)
-
public static T macro(Object self, boolean asIs, @com.github.javaparser.ast.expr.SingleMemberAnnotationExprDelegatesTo Closure cl)
-
public static T macro(Object self, CompilePhase compilePhase, @com.github.javaparser.ast.expr.SingleMemberAnnotationExprDelegatesTo Closure cl)
-
public static T macro(Object self, CompilePhase compilePhase, boolean asIs, @com.github.javaparser.ast.expr.SingleMemberAnnotationExprDelegatesTo Closure cl)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void visitClass(ClassNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void visitMethodCallExpression(MethodCallExpression call)
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.