|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.ast.Node edu.ksu.cis.projects.bogor.ast.ASTType edu.ksu.cis.projects.bogor.ast.ASTLongRangeType
public final class ASTLongRangeType
Long range type AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
ASTLongRangeType(LongLiteral lowLimit,
LongLiteral highLimit,
boolean wrap)
Default constructor. |
Method Summary | |
---|---|
ASTLongRangeType |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Disposes lowConstant and highConstant. |
boolean |
equals(Object o)
|
LongLiteral |
getHighLimit()
Gets the high limit. |
LongLiteral |
getLowLimit()
Gets the low limit. |
boolean |
getWrap()
Gets the wrap. |
int |
hashCode()
|
void |
setHighLimit(LongLiteral newHighLimit)
Sets the high limit. |
void |
setLowLimit(LongLiteral 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 ASTLongRangeType(LongLiteral lowLimit, LongLiteral 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(LongLiteral newHighLimit)
newHighLimit
- The new high limit. Must be non-null.public LongLiteral getHighLimit()
public void setLowLimit(LongLiteral newLowLimit)
newLowLimit
- The new low constant. Must be non-null.public LongLiteral getLowLimit()
public void setWrap(boolean newWrap)
newWrap
- The new wrap. Must be non-null.public boolean getWrap()
public ASTLongRangeType clone()
clone
in class ASTType
public void dispose()
dispose
in interface Disposable
dispose
in class ASTType
public String toString()
toString
in class Node
public void visit(ASTVisitor visitor)
visit
in class Node
public int hashCode()
hashCode
in class ASTType
public boolean equals(Object o)
equals
in class ASTType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |