harpoon.IR.Properties
Class CFGEdge<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
java.lang.Object
harpoon.IR.Properties.CFGEdge<CFG,E>
- All Implemented Interfaces:
- HCodeEdge<CFG>, Graph.Edge<CFG,E>
- Direct Known Subclasses:
- Edge, InstrEdge
public abstract class CFGEdge<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
- extends Object
- implements HCodeEdge<CFG>, Graph.Edge<CFG,E>
An CFGEdge
connects two CFGraphable
s
in a graph structure.
- Version:
- $Id: CFGEdge.java,v 1.6 2003/05/09 20:38:45 cananian Exp $
- Author:
- Duncan Bryce <duncan@lcs.mit.edu>
- See Also:
CFGraphable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CFGEdge
public CFGEdge()
from
public abstract CFG from()
- Returns the source of this
CFGEdge
.
The return value is guaranteed to implement to
CFGraphable
interface.
- Specified by:
from
in interface HCodeEdge<CFG extends CFGraphable<CFG,E>>
- Specified by:
from
in interface Graph.Edge<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
to
public abstract CFG to()
- Returns the destination of this
HCodeEdge
.
The return value is guaranteed to implement to
CFGraphable
interface.
- Specified by:
to
in interface HCodeEdge<CFG extends CFGraphable<CFG,E>>
- Specified by:
to
in interface Graph.Edge<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>