edu.ksu.cis.projects.bogor.ast
Class ASTType
java.lang.Object
edu.ksu.cis.projects.bogor.ast.Node
edu.ksu.cis.projects.bogor.ast.ASTType
- All Implemented Interfaces:
- Disposable, Serializable, Cloneable
- Direct Known Subclasses:
- ASTArrayType, ASTBooleanType, ASTDoubleType, ASTExtType, ASTFloatType, ASTFunType, ASTIntRangeType, ASTIntType, ASTLockType, ASTLongRangeType, ASTLongType, ASTStringType, ASTThreadIdType, IdType
public abstract class ASTType
- extends Node
Top level class for type AST.
- Version:
- CVS $Revision: 1.4 $ $Date: 2005/05/06 19:33:49 $
- Author:
- Robby
- See Also:
- Serialized Form
ASTType
public ASTType()
setParent
public void setParent(ITypeParent newParent)
- Sets the parent of this object.
- Parameters:
newParent
- The new parent. Must be non-null.
getParent
public ITypeParent getParent()
- Gets the parent of this object.
- Returns:
- The parent of this object.
clone
public abstract ASTType clone()
- Clones this object (deep clone); including location info.
- Specified by:
clone
in class Node
- Returns:
- The clone of this object.
dispose
public void dispose()
- Removes reference to parent.
Once called, avoid using this object.
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class Node
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in class Object
equals
public abstract boolean equals(Object o)
- Overrides:
equals
in class Object