|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.data.type.TypeLattice
Type hierarchy for token classes.
CPO
| Red |
| Red (yuhong) |
| Constructor Summary | |
TypeLattice()
|
|
| Method Summary | |
static CPO |
basicLattice()
Return the an instance of CPO representing the basic type lattice. |
static int |
compare(Token token1,
Token token2)
Compare the types of the two specified tokens in the type lattice. |
static int |
compare(Token token,
Type type)
Compare the types of the two specified tokens in the type lattice. |
static int |
compare(Type type,
Token token)
Compare the types of the two specified tokens in the type lattice. |
static int |
compare(Type type1,
Type type2)
Compare two types in the type lattice. |
static CPO |
lattice()
Return the an instance of CPO representing the infinite type lattice. |
static Type |
leastUpperBound(Type type1,
Type type2)
Return the least upper bound of the two given types. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TypeLattice()
| Method Detail |
public static CPO basicLattice()
public static int compare(Token token1,
Token token2)
token1 - a Token.token2 - a Token.
public static int compare(Token token,
Type type)
token - a Token.type - a Type.
public static int compare(Type type,
Token token)
token - a Token.type - a Type.
public static int compare(Type type1,
Type type2)
type1 - an instance of Type.type2 - an instance of Type.
public static CPO lattice()
public static Type leastUpperBound(Type type1,
Type type2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||