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, rewriteExpressionpublic void transform(Op04StructuredStatement root)
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
transform in interface StructuredStatementTransformerprivate static Expression applyTransforms(TernaryExpression t)
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
rewriteExpression in interface ExpressionRewriterrewriteExpression in class AbstractExpressionRewriter