Macro method context. Every macro method must be an extension method of it.
Constructor and description |
---|
MacroContext
(org.codehaus.groovy.control.CompilationUnit compilationUnit, org.codehaus.groovy.control.SourceUnit sourceUnit, MethodCallExpression call) |
Type Params | Return Type | Name and description |
---|---|---|
|
MethodCallExpression |
getCall() @return original method call expression |
|
org.codehaus.groovy.control.CompilationUnit |
getCompilationUnit() @return current compilation unit |
|
org.codehaus.groovy.control.SourceUnit |
getSourceUnit() @return current source unit |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.