public class InvalidBooleanCastCleaner extends AbstractExpressionRewriter implements StructuredStatementTransformer
| Modifier and Type | Class and Description |
|---|---|
private static class |
InvalidBooleanCastCleaner.BoolCastInnerTransformer |
| Constructor and Description |
|---|
InvalidBooleanCastCleaner() |
| Modifier and Type | Method and Description |
|---|---|
private static Expression |
applyCastTransforms1(CastExpression t) |
private static Expression |
applyCastTransforms2(CastExpression expression,
SSAIdentifiers ssaIdentifiers,
StatementContainer statementContainer,
ExpressionRewriterFlags flags) |
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 applyCastTransforms1(CastExpression t)
private static Expression applyCastTransforms2(CastExpression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
rewriteExpression in interface ExpressionRewriterrewriteExpression in class AbstractExpressionRewriter