|
||||||||||
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.IdType
public final class IdType
Id type AST
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
IdType(String id)
Default constructor. |
Method Summary | |
---|---|
IdType |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Removes reference to id. |
boolean |
equals(Object o)
|
String |
getId()
Gets the id. |
int |
hashCode()
|
void |
setId(String newId)
Sets the id. |
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 IdType(String id)
id
- The id. Must be non-null.Method Detail |
---|
public void setId(String newId)
newId
- The new id. Must be non-null.public String getId()
public IdType 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 |