[Groovy] Class TailRecursiveASTTransformation
- org.codehaus.groovy.transform.tailrec.TailRecursiveASTTransformation
Handles generation of code for the
- TailRecursive:
- annotation. It's doing its work in the earliest possible compile phase
- Authors:
- Johannes Link
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation | RETENTION_CLASSNODE, sourceUnit |
Properties Summary
Type | Name and description |
---|---|
static String |
MY_TYPE_NAME |
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
Methods inherited from class | Name |
---|---|
class AbstractASTTransformation | addError, checkIncludeExclude, checkIncludeExclude, checkNotInterface, copyAnnotatedNodeAnnotations, deemedInternalName, getClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, nonGeneric, shouldSkip, shouldSkipOnDescriptor, tokenize |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
static final String MY_TYPE_NAME
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/2.4.21/html/gapi/org/codehaus/groovy/transform/tailrec/TailRecursiveASTTransformation.html