@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 |
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) |
Methods inherited from class | Name |
---|---|
class AbstractASTTransformation |
addError, checkPropertyList, checkPropertyList, checkPropertyList, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |