|
||||||||||
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.Exp
public abstract class Exp
The top level class for exp AST.
Field Summary | |
---|---|
static int |
TYPE
The property key for the type of this expression. |
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
Exp()
|
Method Summary | |
---|---|
abstract Exp |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Removes reference to parent. |
IExpParent |
getParent()
Gets the parent of this object. |
void |
setParent(IExpParent 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 |
Field Detail |
---|
public static final int TYPE
Constructor Detail |
---|
public Exp()
Method Detail |
---|
public void setParent(IExpParent newParent)
newParent
- The new parent of this object.
Must be non-null.public IExpParent getParent()
public abstract Exp 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 |