@FunctionalInterface
public interface ExpressionTransformer
Functional interface for transforming Expression nodes during AST traversal and manipulation.
This transformer interface enables expression-level transformations in AST processing. Implementations typically take an input expression and return a (possibly modified) expression. This can be used for:
Transformers may return:
This is a functional interface and can be implemented as a lambda expression.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Expression |
transform(Expression expression)Transforms the given expression. |
Transforms the given expression.
expression - the expression to transform, may be null