public class IterationStatement extends Stmt
Modifier and Type | Field and Description |
---|---|
Expr |
condition1 |
Expr |
condition2 |
Expr |
condition3 |
int |
loop_type |
static int |
LOOP_TYPE_DO_WHILE |
static int |
LOOP_TYPE_FOR |
static int |
LOOP_TYPE_WHILE |
Stmt |
stmt |
Type |
type |
debug, global_type, NOP, reader
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calculate(java.lang.String labelToGoto) |
static IterationStatement |
ctor(Reader r) |
void |
findStarNumber() |
void |
foo() |
boolean |
hasEq() |
boolean |
hasPlusEq() |
boolean |
hasStarEq() |
void |
parseForConstants() |
void |
parseLeft() |
void |
toStack(java.lang.StringBuffer sb,
int lineEnd,
Type type,
java.lang.String field,
boolean isBegEnd) |
java.lang.String |
toString() |
public Stmt stmt
public Expr condition1
public Expr condition2
public Expr condition3
public Type type
public int loop_type
public static final int LOOP_TYPE_WHILE
public static final int LOOP_TYPE_DO_WHILE
public static final int LOOP_TYPE_FOR
public static IterationStatement ctor(Reader r)
public void findStarNumber()
findStarNumber
in class Stmt
public java.lang.String calculate(java.lang.String labelToGoto)
public void toStack(java.lang.StringBuffer sb, int lineEnd, Type type, java.lang.String field, boolean isBegEnd)
public void parseForConstants()
parseForConstants
in class Stmt