coins
Class IrRoot

java.lang.Object
  extended bycoins.IrRoot
Direct Known Subclasses:
HirRoot

public class IrRoot
extends java.lang.Object

IrRoot class is the super class of HirRoot and LirRoot. It contains references to IoRoot object and SymRoot object which are used in accessing information and methods of IoRoot and Sym. All HIR objects and LIR objects contain a reference to IrRoot object.


Field Summary
protected  HirRoot fHirRoot
           
protected  int fInitiateIrCount
           
 IoRoot ioRoot
          ioRoot records the reference to the IoRoot object got from SymRoot passed as a parameter of costructors of IrRoot, HirRoot, LirRoot.
 IR ir
          ir records the root of program tree represented in HIR or LIR.
 IrRoot irRoot
          irRoot records the instance of IrRoot so as it can be refered from others.
 IR programRoot
          programRoot records the root of program tree represented in HIR or LIR.
 SymRoot symRoot
          symRoot records the reference to the SymRoot object passed as a parameter of costructors for IrRoot, HirRoot, LirRoot.
 
Constructor Summary
IrRoot()
           
IrRoot(SymRoot pSymRoot)
          IrRoot is usually invoked from the constructors of HirRoot and LirRoot.
 
Method Summary
 HirRoot getHirRoot()
          getHirRoot: Get HirRoot reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ioRoot

public final IoRoot ioRoot
ioRoot records the reference to the IoRoot object got from SymRoot passed as a parameter of costructors of IrRoot, HirRoot, LirRoot. It is used in accessing IoRoot information and invoking IoRoot methods.


symRoot

public final SymRoot symRoot
symRoot records the reference to the SymRoot object passed as a parameter of costructors for IrRoot, HirRoot, LirRoot. It is used in accessing information and methods of SymRoot and Sym.


irRoot

public final IrRoot irRoot
irRoot records the instance of IrRoot so as it can be refered from others.


ir

public IR ir
ir records the root of program tree represented in HIR or LIR.


programRoot

public IR programRoot
programRoot records the root of program tree represented in HIR or LIR.


fInitiateIrCount

protected int fInitiateIrCount

fHirRoot

protected HirRoot fHirRoot
Constructor Detail

IrRoot

public IrRoot()

IrRoot

public IrRoot(SymRoot pSymRoot)
IrRoot is usually invoked from the constructors of HirRoot and LirRoot.

Method Detail

getHirRoot

public HirRoot getHirRoot()
getHirRoot: Get HirRoot reference.