|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.Tree.ExpList
public final class ExpList
ExpList
s form singly-linked lists of Exp
s.
Field Summary | |
---|---|
Exp |
head
The expression at this list entry. |
ExpList |
tail
The next list entry. |
Constructor Summary | |
---|---|
ExpList(Exp head,
ExpList tail)
List constructor. |
Method Summary | |
---|---|
static Iterator |
iterator(ExpList el)
FSK: didn't use standard JDK instance-local iterators because ExpLists are allowed to be null, and so such a definition would encourage attempted method-calls on null. |
static ExpList |
rename(ExpList e,
TreeFactory tf,
TempMap tm,
Tree.CloneCallback cb)
|
static ExpList |
replace(ExpList e,
Exp eOld,
Exp eNew)
|
static int |
size(ExpList e)
|
static ExpList |
toExpList(List list)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final Exp head
public final ExpList tail
Constructor Detail |
---|
public ExpList(Exp head, ExpList tail)
Method Detail |
---|
public static ExpList toExpList(List list)
public static Iterator iterator(ExpList el)
public static int size(ExpList e)
public static ExpList replace(ExpList e, Exp eOld, Exp eNew)
public static ExpList rename(ExpList e, TreeFactory tf, TempMap tm, Tree.CloneCallback cb)
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |