public class IterLoopRewriter
extends java.lang.Object
Constructor and Description |
---|
IterLoopRewriter() |
Modifier and Type | Method and Description |
---|---|
private static Pair<ConditionalExpression,ConditionalExpression> |
getSplitAnd(ConditionalExpression cnd) |
private static void |
rewriteArrayForLoop(Op03SimpleStatement loop,
java.util.List<Op03SimpleStatement> statements) |
static void |
rewriteArrayForLoops(java.util.List<Op03SimpleStatement> statements) |
private static void |
rewriteIteratorWhileLoop(Op03SimpleStatement loop,
java.util.List<Op03SimpleStatement> statements) |
static void |
rewriteIteratorWhileLoops(java.util.List<Op03SimpleStatement> statements) |
private static Pair<ConditionalExpression,ConditionalExpression> getSplitAnd(ConditionalExpression cnd)
private static void rewriteArrayForLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
public static void rewriteArrayForLoops(java.util.List<Op03SimpleStatement> statements)
private static void rewriteIteratorWhileLoop(Op03SimpleStatement loop, java.util.List<Op03SimpleStatement> statements)
public static void rewriteIteratorWhileLoops(java.util.List<Op03SimpleStatement> statements)