public abstract class Stmt
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Stmt.E0Stmt
Represent a statement with no argument
|
static class |
Stmt.E1Stmt
Represent a statement with 1 argument
|
static class |
Stmt.E2Stmt
Represent a statement with 2 arguments
|
static class |
Stmt.ST
Statement Type
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CAN_BRNANCH |
static int |
CAN_CONTINUE |
static int |
CAN_SWITCH |
static int |
CAN_THROW |
java.util.Set<Stmt> |
cfgFroms
Used in construct of a method CFG, Previous
Stmt nodes |
ET |
et
The number of argument
|
java.util.Set<LabelStmt> |
exceptionHandlers
Used in construct of a method CFG, After
Stmt nodes |
java.lang.Object |
frame
Used in Local Split, forward frame of the
Stmt |
int |
id
|
static int |
MAY_THROW |
Stmt.ST |
st
Statement Type
|
Stmt |
tsDefaultNext |
boolean |
visited
Used in visit the method CFG
|
| Modifier | Constructor and Description |
|---|---|
protected |
Stmt(Stmt.ST st,
ET et) |
| Modifier and Type | Method and Description |
|---|---|
abstract Stmt |
clone(LabelAndLocalMapper mapper) |
Stmt |
getNext() |
Value |
getOp() |
Value |
getOp1() |
Value |
getOp2() |
Value[] |
getOps() |
Stmt |
getPre() |
void |
setOp(Value op) |
void |
setOp1(Value op) |
void |
setOp2(Value op) |
void |
setOps(Value[] op) |
public static final int CAN_CONTINUE
public static final int CAN_BRNANCH
public static final int CAN_SWITCH
public static final int CAN_THROW
public static final int MAY_THROW
public java.util.Set<LabelStmt> exceptionHandlers
Stmt nodespublic boolean visited
public java.lang.Object frame
Stmtpublic Stmt tsDefaultNext
public final ET et
public int id
public final Stmt.ST st
public abstract Stmt clone(LabelAndLocalMapper mapper)
public final Stmt getNext()
public Value getOp()
public Value getOp1()
public Value getOp2()
public Value[] getOps()
public final Stmt getPre()
public void setOp(Value op)
public void setOp1(Value op)
public void setOp2(Value op)
public void setOps(Value[] op)