Constructor and Description |
---|
StmtList() |
Modifier and Type | Method and Description |
---|---|
void |
add(Stmt stmt) |
void |
addAll(java.util.Collection<Stmt> list) |
void |
clear() |
StmtList |
clone(LabelAndLocalMapper mapper) |
int |
compare(Stmt o1,
Stmt o2) |
boolean |
contains(Stmt stmt) |
Stmt |
getFirst() |
Stmt |
getLast() |
int |
getSize() |
void |
insertAfter(Stmt position,
Stmt stmt) |
void |
insertBefore(Stmt position,
Stmt stmt) |
void |
insertFirst(Stmt stmt) |
void |
insertLast(Stmt stmt) |
java.util.Iterator<Stmt> |
iterator() |
void |
move(Stmt start,
Stmt end,
Stmt dist) |
void |
remove(Stmt stmt) |
void |
replace(Stmt stmt,
Stmt nas) |
java.lang.String |
toString() |
public void add(Stmt stmt)
public void addAll(java.util.Collection<Stmt> list)
public StmtList clone(LabelAndLocalMapper mapper)
public int compare(Stmt o1, Stmt o2)
compare
in interface java.util.Comparator<Stmt>
public boolean contains(Stmt stmt)
public Stmt getFirst()
public Stmt getLast()
public int getSize()
public void insertFirst(Stmt stmt)
public void insertLast(Stmt stmt)
public java.util.Iterator<Stmt> iterator()
iterator
in interface java.lang.Iterable<Stmt>
public void remove(Stmt stmt)
public java.lang.String toString()
toString
in class java.lang.Object
public void clear()