public class TernaryCastCleaner extends AbstractExpressionRewriter implements StructuredStatementTransformer
Constructor and Description |
---|
TernaryCastCleaner() |
Modifier and Type | Method and Description |
---|---|
private static Expression |
applyTransforms(TernaryExpression t) |
Expression |
rewriteExpression(Expression expression,
SSAIdentifiers ssaIdentifiers,
StatementContainer statementContainer,
ExpressionRewriterFlags flags) |
void |
transform(Op04StructuredStatement root) |
StructuredStatement |
transform(StructuredStatement in,
StructuredScope scope) |
handleStatement, rewriteExpression, rewriteExpression, rewriteExpression
public void transform(Op04StructuredStatement root)
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
transform
in interface StructuredStatementTransformer
private static Expression applyTransforms(TernaryExpression t)
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
rewriteExpression
in interface ExpressionRewriter
rewriteExpression
in class AbstractExpressionRewriter