|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ksu.cis.projects.bogor.type.Type
edu.ksu.cis.projects.bogor.type.NonPrimitiveType
edu.ksu.cis.projects.bogor.type.TypeExtensionType
public class TypeExtensionType
Represents a type extension type.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.type.Type |
---|
hashCode, typeId |
Method Summary | |
---|---|
void |
dispose()
Removes references. |
boolean |
equals(Object o)
Checks whether this object is equal to another object. |
String |
getId()
Gets the type extension id. |
String |
getTypeVariable(int index)
Gets the fixed type variable at a particular index. |
int |
getTypeVariableCount()
Gets the number of fixed type variables. |
ASTType |
toASTType()
Get a newly constructed (unowned) syntax tree node suitable for declaring this type statically. |
String |
toString()
Returns the string representation of this object. |
Methods inherited from class edu.ksu.cis.projects.bogor.type.Type |
---|
getTypeId, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getId()
public String getTypeVariable(int index)
index
- The index of the type variable. Must be at least zero and at
most less than the number of fixed type variables.
public int getTypeVariableCount()
public void dispose()
public boolean equals(Object o)
equals
in class Object
o
- Another object to check equality to.
public String toString()
toString
in class Object
public ASTType toASTType()
toASTType
in class Type
null
if the type is undeclarable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |