edu.ksu.cis.projects.bogor.ast
Class ASTType

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.Node
      extended by 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

Field Summary
 
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node
ILLEGAL_LOCAL_ID_CHAR
 
Constructor Summary
ASTType()
           
 
Method Summary
abstract  ASTType clone()
          Clones this object (deep clone); including location info.
 void dispose()
          Removes reference to parent.
abstract  boolean equals(Object o)
           
 ITypeParent getParent()
          Gets the parent of this object.
abstract  int hashCode()
           
 void setParent(ITypeParent 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTType

public ASTType()
Method Detail

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