[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

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