|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.type.Type edu.ksu.cis.projects.bogor.type.PrimitiveType edu.ksu.cis.projects.bogor.type.IntegralType edu.ksu.cis.projects.bogor.type.IntType edu.ksu.cis.projects.bogor.type.IntRangeType
public final class IntRangeType
Represents an int range type.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.type.Type |
---|
hashCode, typeId |
Method Summary | |
---|---|
boolean |
equals(Object o)
Checks whether this object is equal to another object. |
int |
getHighLimit()
Gets the high limit. |
int |
getLowLimit()
Gets the low limit. |
boolean |
getWrap()
Determines whether wrap around is allowed for this int range type. |
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.IntType |
---|
dispose |
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 int getHighLimit()
public int getLowLimit()
public boolean getWrap()
public boolean equals(Object o)
equals
in class IntType
o
- Another object to check equality to.
public String toString()
toString
in class IntType
public ASTType toASTType()
toASTType
in class IntType
null
if the type is undeclarable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |