|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.type.Type
orc.type.ground.Top
public final class Top
The Top type. Supertype of all other types. All other types extend this type, so that we can use the Java inheritance hierarchy to maintain a default subtyping relation. The Top type can be ascribed to all values, and thus necessarily carries no information.
| Field Summary |
|---|
| Fields inherited from class orc.type.Type |
|---|
BOOLEAN, BOT, INTEGER, LET, NUMBER, SIGNAL, STRING, TOP |
| Constructor Summary | |
|---|---|
Top()
|
|
| Method Summary | |
|---|---|
boolean |
isTop()
|
Type |
marshal()
Convert to a syntactic type. |
boolean |
subtype(Type that)
|
java.lang.String |
toString()
|
| Methods inherited from class orc.type.Type |
|---|
addConstraints, allFreeVars, assertSubtype, asTycon, call, call, closed, demote, equal, findVariance, freeVars, fromJavaClass, fromJavaMethod, fromJavaMethods, fromJavaType, fromJavaType, isBot, javaCounterpart, join, makeJavaCtx, makeJavaCtx, meet, promote, resolveSites, shiftFreeVars, subst, substAll, supertype, unwrapAs, variances |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Top()
| Method Detail |
|---|
public boolean subtype(Type that)
throws TypeException
subtype in class TypeTypeExceptionpublic boolean isTop()
isTop in class Typepublic java.lang.String toString()
toString in class Typepublic Type marshal()
Type
marshal in class Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||