public class LambdaCleaner extends AbstractExpressionRewriter implements StructuredStatementTransformer
| Constructor and Description |
|---|
LambdaCleaner() |
| Modifier and Type | Method and Description |
|---|---|
private static LambdaExpression |
rebuildLambda(LambdaExpression e,
Expression body) |
Expression |
rewriteExpression(Expression expression,
SSAIdentifiers ssaIdentifiers,
StatementContainer statementContainer,
ExpressionRewriterFlags flags) |
void |
transform(Op04StructuredStatement root) |
StructuredStatement |
transform(StructuredStatement in,
StructuredScope scope) |
handleStatement, rewriteExpression, rewriteExpression, rewriteExpressionpublic void transform(Op04StructuredStatement root)
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
transform in interface StructuredStatementTransformerprivate static LambdaExpression rebuildLambda(LambdaExpression e, Expression body)
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
rewriteExpression in interface ExpressionRewriterrewriteExpression in class AbstractExpressionRewriter