|
||||||||||
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.Constant
public abstract class Constant
The top level class for constant AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
Constant()
|
Method Summary | |
---|---|
abstract Constant |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Removes reference to parent. |
ASTType |
getOptionalCoercedType()
Gets the coerced type of the literal. |
ConstantDefinition |
getParent()
Gets the parent of this object. |
void |
setCoercedType(ASTType newType)
Sets the coerced type of the literal. |
void |
setParent(ConstantDefinition newParent)
Sets the parent of this object. |
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
getLocationInfo, getProperty, putProperty, setLocationInfo, toString, visit |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Constant()
Method Detail |
---|
public void setCoercedType(ASTType newType)
public ASTType getOptionalCoercedType()
public void setParent(ConstantDefinition newParent)
newParent
- The new parent of this object. Must be non-null.public ConstantDefinition getParent()
public abstract Constant clone()
clone
in class Node
public void dispose()
dispose
in interface Disposable
dispose
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |