[Groovy] Class TailRecursiveASTTransformation
- org.codehaus.groovy.transform.tailrec.TailRecursiveASTTransformation
@CompileStatic @GroovyASTTransformation(phase: CompilePhase.SEMANTIC_ANALYSIS) class TailRecursiveASTTransformation extends AbstractASTTransformation
Handles generation of code for the
- TailRecursive:
- annotation. It's doing its work in the earliest possible compile phase
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation | RETENTION_CLASSNODE, sourceUnit |
Properties Summary
Type | Name and description |
---|---|
static String |
MY_TYPE_NAME |
Constructor Summary
Constructor and description |
---|
TailRecursiveASTTransformation
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Map<String, Map> |
name2VariableMappingFor(MethodNode method) | |
Map<Integer, Map> |
position2VariableMappingFor(MethodNode method) | |
void |
visit(ASTNode[] nodes, SourceUnit source) |
Inherited Methods Summary
Property Detail
static final String MY_TYPE_NAME
Constructor Detail
TailRecursiveASTTransformation()
Method Detail
Map<String, Map> name2VariableMappingFor(MethodNode method)
Map<Integer, Map> position2VariableMappingFor(MethodNode method)
@Override void visit(ASTNode[] nodes, SourceUnit source)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/transform/tailrec/TailRecursiveASTTransformation.html