Public Member Functions | |
CFGNode | getStartNode () |
void | setStartNode (CFGNode n) |
CFGNode | getEndNode () |
void | setEndNode (CFGNode n) |
boolean | isEmpty () |
void | append (CFGPart g) |
void | append (CFGNode n) |
Set< CFGNode > | getAllNodesReverse () |
void | drop () |
boolean | equals (Object obj) |
int | hashCode () |
String | toString () |
String | toStringGraph () |
Converts CFGPart to a string representation. | |
String | toDot () |
Converts CFGPart to a dot graph representation. | |
Protected Member Functions | |
Set< CFGNode > | getAllNodes () |
Set< CFGNode > | getAllNodesOpt () |
CFGNode cz::muni::stanse::codestructures::CFGPart::getStartNode | ( | ) | [inline] |
Returns start of the CFG
void cz::muni::stanse::codestructures::CFGPart::setStartNode | ( | CFGNode | n | ) | [inline] |
Sets start of the CFG
n | start node |
CFGNode cz::muni::stanse::codestructures::CFGPart::getEndNode | ( | ) | [inline] |
Returns end of the CFG
void cz::muni::stanse::codestructures::CFGPart::setEndNode | ( | CFGNode | n | ) | [inline] |
Sets end of the CFG
n | end node |
boolean cz::muni::stanse::codestructures::CFGPart::isEmpty | ( | ) | [inline] |
void cz::muni::stanse::codestructures::CFGPart::append | ( | CFGPart | g | ) | [inline] |
void cz::muni::stanse::codestructures::CFGPart::append | ( | CFGNode | n | ) | [inline] |
Set<CFGNode> cz::muni::stanse::codestructures::CFGPart::getAllNodes | ( | ) | [inline, protected] |
Returns all nodes in this CFG
Set<CFGNode> cz::muni::stanse::codestructures::CFGPart::getAllNodesOpt | ( | ) | [inline, protected] |
Returns all nodes in this CFG including optimized ones
Set<CFGNode> cz::muni::stanse::codestructures::CFGPart::getAllNodesReverse | ( | ) | [inline] |
void cz::muni::stanse::codestructures::CFGPart::drop | ( | ) | [inline] |
boolean cz::muni::stanse::codestructures::CFGPart::equals | ( | Object | obj | ) | [inline] |
Reimplemented in cz::muni::stanse::codestructures::CFG.
int cz::muni::stanse::codestructures::CFGPart::hashCode | ( | ) | [inline] |
Reimplemented in cz::muni::stanse::codestructures::CFG.
String cz::muni::stanse::codestructures::CFGPart::toString | ( | ) | [inline] |
Reimplemented in cz::muni::stanse::codestructures::CFG.
String cz::muni::stanse::codestructures::CFGPart::toStringGraph | ( | ) | [inline] |
Converts CFGPart to a string representation.
Useful for dumping to logs or console.
String cz::muni::stanse::codestructures::CFGPart::toDot | ( | ) | [inline] |
Converts CFGPart to a dot graph representation.
Useful for dumping cfgs to a file and generating e.g. PostScript from it. See Graphviz software.