Public Methods | |
CFGSkel () | |
void | add (Index i) |
void | addDescendent (Index p, Index c) |
void | makeArc (Index p, Index c) |
void | makeArc (Index p, Index c, boolean mark) |
void | mark (Index i) |
void | mark (Index i, boolean m) |
Index | next () |
void | start (Index i) |
String | toString () |
void | unmark (Index i) |
Protected Attributes | |
Vector | skel |
Private Methods | |
int | find (Index i) |
Definition at line 47 of file CFGSkel.java.
|
Constructs a new CFG skeleton. It just creates an empty node list. Definition at line 105 of file CFGSkel.java. |
|
Adds a new index to the skeleton.
Definition at line 114 of file CFGSkel.java. Referenced by addDescendent().
|
|
Adds a descendent to a node. Definition at line 124 of file CFGSkel.java. Referenced by makeArc().
|
|
Finds the position of a node.
Definition at line 158 of file CFGSkel.java. Referenced by addDescendent(), mark(), start(), and unmark().
|
|
Makes an arc and sets the mark of the child to mark.
Definition at line 179 of file CFGSkel.java. |
|
Creates a new arc.
Definition at line 168 of file CFGSkel.java. |
|
Sets the mark of an index to what is passed.
Definition at line 212 of file CFGSkel.java. |
|
Marks the index.
Definition at line 189 of file CFGSkel.java. Referenced by makeArc().
|
|
Gets the next unmarked index using a topological sort.
Definition at line 234 of file CFGSkel.java. |
|
Sets the index to the starting point.
Definition at line 264 of file CFGSkel.java. |
|
Unmarks an index.
Definition at line 290 of file CFGSkel.java. Referenced by start().
|
|
The list of nodes that comprise the skeleton. The first one is the head of the skeleton. Definition at line 99 of file CFGSkel.java. |