public class HexLiteralTidier extends AbstractExpressionRewriter implements StructuredStatementTransformer
| Constructor and Description |
|---|
HexLiteralTidier() |
| Modifier and Type | Method and Description |
|---|---|
private static Expression |
applyTransforms(ArithmeticMutationOperation t) |
private static Expression |
applyTransforms(ArithmeticOperation t) |
private static boolean |
bitOp(ArithOp op) |
private static Expression |
convertLiteral(Expression e) |
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 boolean bitOp(ArithOp op)
private static Expression applyTransforms(ArithmeticOperation t)
private static Expression applyTransforms(ArithmeticMutationOperation t)
private static Expression convertLiteral(Expression e)
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
rewriteExpression in interface ExpressionRewriterrewriteExpression in class AbstractExpressionRewriter