harpoon.Analysis.EventDriven
Class EventDrivenCode

java.lang.Object
  |
  +--harpoon.ClassFile.HCode
        |
        +--harpoon.IR.Quads.Code
              |
              +--harpoon.IR.Quads.QuadSSI
                    |
                    +--harpoon.Analysis.EventDriven.EventDrivenCode
All Implemented Interfaces:
Serializable

public class EventDrivenCode
extends QuadSSI

EventDrivenCode

Version:
$Id: EventDrivenCode.java,v 1.2 2002/02/25 20:57:01 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class harpoon.ClassFile.HCode
HCode.PrintCallback
 
Field Summary
 
Fields inherited from class harpoon.IR.Quads.QuadSSI
codename
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Constructor Summary
EventDrivenCode(HMethod parent, HMethod newmain, Temp[] params, Linker linker)
          Creates a EventDrivenCode.
 
Method Summary
 HCodeAndMaps clone(HMethod newMethod)
          Clone this code representation.
 String getName()
          Return the name of this code view.
 
Methods inherited from class harpoon.IR.Quads.QuadSSI
codeFactory, codeFactory
 
Methods inherited from class harpoon.IR.Quads.Code
cloneHelper, cloneHelper, elementArrayFactory, getAllocationInformation, getDerivation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, newQF, print, setAllocationInformation
 
Methods inherited from class harpoon.ClassFile.HCode
clone, elementIndexer, getElementsE, getElementsL, print, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventDrivenCode

public EventDrivenCode(HMethod parent,
                       HMethod newmain,
                       Temp[] params,
                       Linker linker)
Creates a EventDrivenCode.

Method Detail

clone

public HCodeAndMaps clone(HMethod newMethod)
Clone this code representation. The clone has its own copy of the quad graph.

Overrides:
clone in class QuadSSI

getName

public String getName()
Return the name of this code view.

Overrides:
getName in class QuadSSI
Returns:
the name of the parent's code view.