[Groovy] Class VariableExpressionTransformer

  • org.codehaus.groovy.transform.tailrec.VariableExpressionTransformer
All Implemented Interfaces and Traits:
ExpressionTransformer
@CompileStatic
class VariableExpressionTransformer
extends Object

An expression transformer used in the process of replacing the access to variables

Properties Summary

Properties
Type Name and description
Closure<VariableExpression> replaceWith
Closure<Boolean> when

Methods Summary

Methods
Type Params Return Type Name and description
Expression transform(Expression expr)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Property Detail

Closure<VariableExpression> replaceWith

Closure<Boolean> when

Method Detail

@Override @SuppressWarnings('Instanceof') Expression transform(Expression expr)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/transform/tailrec/VariableExpressionTransformer.html