edu.uci.eecs.doc.cascade.graph
Class Exit
java.lang.Object
edu.uci.eecs.doc.cascade.graph.Vertex
edu.uci.eecs.doc.cascade.graph.Exit
public class Exit
- extends Vertex
Represents the single exit point in control flow graphs. Note that even if the
control flow ends at multiple points (e.g., if the method has multiple return
statements), all such points branch to this exit node, so there is only one exit
point.
- Author:
- Trevor Harmon
Fields inherited from class edu.uci.eecs.doc.cascade.graph.Vertex |
graph |
Constructor Summary |
Exit(Graph graph)
Creates a new Exit object. |
Method Summary |
String |
toString()
Converts the exit node to a string representation. |
Exit
public Exit(Graph graph)
- Creates a new Exit object.
- Parameters:
graph
- the control flow graph to which this vertex belongs
toString
public String toString()
- Converts the exit node to a string representation.
- Overrides:
toString
in class Object
- Returns:
- the string "Exit"