|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CFGraphable<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
CFGraphable
defines an interface for intermediate
representations that are inherently interconnected in a directed
control-flow graphs.
CFGrapher
,
CFGrapher.DEFAULT
Method Summary | |
---|---|
List<E> |
edgeC()
Returns a List of all the edges to and from
this HCodeElement . |
E[] |
edges()
Returns an array of all the edges to and from this CFGraphable . |
E[] |
pred()
Returns an array of all the edges entering this CFGraphable . |
List<E> |
predC()
Returns a List of all the edges to
this HCodeElement . |
E[] |
succ()
Returns an array of all the edges leaving this CFGraphable . |
List<E> |
succC()
Returns a List of all the edges from
this HCodeElement . |
Methods inherited from interface harpoon.ClassFile.HCodeElement |
---|
getID, getLineNumber, getSourceFile |
Methods inherited from interface harpoon.Util.Collections.Graph.Node |
---|
isPred, isSucc |
Method Detail |
---|
E[] edges()
CFGraphable
.
E[] pred()
CFGraphable
.
E[] succ()
CFGraphable
.
List<E> edgeC()
List
of all the edges to and from
this HCodeElement
.
List<E> predC()
List
of all the edges to
this HCodeElement
.
Each CFGEdge
returned is guaranteed to return
this
in response to a call to to()
;
the actual predecessor will be returned from
from()
.
predC
in interface Graph.Node<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
List<E> succC()
List
of all the edges from
this HCodeElement
.
Each CFGEdge
returned is guaranteed to return
this
in response to a call to
from()
; the actual successor to this
will be returned from to()
.
succC
in interface Graph.Node<CFG extends CFGraphable<CFG,E>,E extends CFGEdge<CFG,E>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |