@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS) public class TailRecursiveASTTransformation extends AbstractASTTransformation
Handles generation of code for the
It's doing its work in the earliest possible compile phase
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE, sourceUnit |
Type Params | Return Type | Name and description |
---|---|---|
|
public Boolean |
doCall(ASTNode node) |
|
public Statement |
doCall(ReturnStatement statement) |
|
public Boolean |
doCall(Statement statement, boolean inClosure) |
|
public Statement |
doCall(ReturnStatement statement) |
|
public Boolean |
doCall(Statement statement, boolean inClosure) |
|
public Statement |
doCall(ReturnStatement statement) |
|
public static String |
getMY_TYPE_NAME() |
|
public Map<String, Map> |
name2VariableMappingFor(MethodNode method) |
|
public Map<Integer, Map> |
position2VariableMappingFor(MethodNode method) |
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |