[Groovy] Class VariableExpressionTransformer
- org.codehaus.groovy.transform.tailrec.VariableExpressionTransformer
- All Implemented Interfaces and Traits:
- ExpressionTransformer
@CompileStatic class VariableExpressionTransformer extends Object implements ExpressionTransformer
An expression transformer used in the process of replacing the access to variables
Properties Summary
Type | Name and description |
---|---|
Closure<VariableExpression> |
replaceWith |
Closure<Boolean> |
when |
Constructor Summary
Constructor and description |
---|
VariableExpressionTransformer
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Expression |
transform(Expression expr) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
Closure<VariableExpression> replaceWith
Closure<Boolean> when
Constructor Detail
VariableExpressionTransformer()
Method Detail
@Override @SuppressWarnings(value: Instanceof) Expression transform(Expression expr)
© 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/VariableExpressionTransformer.html