|
||||||||||
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.LiveSet
public final class LiveSet
Live set AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
LiveSet(List<String> ids)
Default constructor. |
Method Summary | |
---|---|
LiveSet |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Removes references to parent and ids. |
String |
getId(int index)
Gets an id at the specified index. |
int |
getIdCount()
Gets the number of ids. |
Location |
getParent()
Gets the parent of this object. |
void |
setIds(List<String> newIds)
Sets the ids. |
void |
setParent(Location newParent)
Sets the parent of this object. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
getLocationInfo, getProperty, putProperty, setLocationInfo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LiveSet(List<String> ids)
ids
- The ids. Must be non-null. Each element must be instance of
String.Method Detail |
---|
public String getId(int index)
index
- The index of the id. Must be between 0 and getIdCount() - 1,
inclusive.
public int getIdCount()
public void setIds(List<String> newIds)
newIds
- The new ids. Must be non-null. Each element must be instance
of String.public void setParent(Location newParent)
newParent
- The new parent. Must be non-null.public Location getParent()
public LiveSet clone()
clone
in class Node
public void dispose()
dispose
in interface Disposable
dispose
in class Node
public String toString()
toString
in class Node
public void visit(ASTVisitor visitor)
visit
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |