|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.projects.bogor.ast.Node
edu.ksu.cis.projects.bogor.ast.ASTType
edu.ksu.cis.projects.bogor.ast.ASTIntRangeType
public final class ASTIntRangeType
Int range type AST.
| Field Summary |
|---|
| Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
|---|
ILLEGAL_LOCAL_ID_CHAR |
| Constructor Summary | |
|---|---|
ASTIntRangeType(IntLiteral lowLimit,
IntLiteral highLimit,
boolean wrap)
Default constructor. |
|
| Method Summary | |
|---|---|
ASTIntRangeType |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Disposes lowConstant and highConstant. |
boolean |
equals(Object o)
|
IntLiteral |
getHighLimit()
Gets the high limit. |
IntLiteral |
getLowLimit()
Gets the low limit. |
boolean |
getWrap()
Gets the wrap. |
int |
hashCode()
|
void |
setHighLimit(IntLiteral newHighLimit)
Sets the high limit. |
void |
setLowLimit(IntLiteral newLowLimit)
Sets the low limit. |
void |
setWrap(boolean newWrap)
Sets the wrap. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
| Methods inherited from class edu.ksu.cis.projects.bogor.ast.ASTType |
|---|
getParent, setParent |
| Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
|---|
getLocationInfo, getProperty, putProperty, setLocationInfo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTIntRangeType(IntLiteral lowLimit,
IntLiteral highLimit,
boolean wrap)
lowLimit - The low limit. Must be non-null.highLimit - The high limit. Must be non-null.wrap - The wrap.| Method Detail |
|---|
public void setHighLimit(IntLiteral newHighLimit)
newHighLimit - The new high limit. Must be non-null.public IntLiteral getHighLimit()
public void setLowLimit(IntLiteral newLowLimit)
newLowLimit - The new low constant. Must be non-null.public IntLiteral getLowLimit()
public void setWrap(boolean newWrap)
newWrap - The new wrap. Must be non-null.public boolean getWrap()
public ASTIntRangeType clone()
clone in class ASTTypepublic void dispose()
dispose in interface Disposabledispose in class ASTTypepublic String toString()
toString in class Nodepublic void visit(ASTVisitor visitor)
visit in class Nodepublic int hashCode()
hashCode in class ASTTypepublic boolean equals(Object o)
equals in class ASTType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||