cz::muni::stanse::codestructures::CFGBreakNode Class Reference

Inheritance diagram for cz::muni::stanse::codestructures::CFGBreakNode:
[legend]
Collaboration diagram for cz::muni::stanse::codestructures::CFGBreakNode:
[legend]

List of all members.

Public Member Functions

 CFGBreakNode (Element e)
void addEdge (CFGNode to)
void addOptEdge (CFGNode to)
void addBreakEdge (CFGNode to)
String toString ()


Detailed Description

Represents a node in control-flow graph

Constructor & Destructor Documentation

cz::muni::stanse::codestructures::CFGBreakNode::CFGBreakNode ( Element  e  )  [inline]

Creates an instance of the CFGBreakNode with assigned element

Parameters:
e element to assign to this node


Member Function Documentation

void cz::muni::stanse::codestructures::CFGBreakNode::addEdge ( CFGNode  to  )  [inline]

Overriden addEdge which does (intentionally) nothing

We want to ignore all added edges, since we are a node which breaks code flow such as goto, break, return, etc.

Parameters:
to ignored parameter

Reimplemented from cz::muni::stanse::codestructures::CFGNode.

void cz::muni::stanse::codestructures::CFGBreakNode::addOptEdge ( CFGNode  to  )  [inline]

Overriden addEdge which does (intentionally) nothing

We want to ignore all added edges, since we are a node which breaks code flow such as goto, break, return, etc.

Parameters:
to ignored parameter

Reimplemented from cz::muni::stanse::codestructures::CFGNode.

void cz::muni::stanse::codestructures::CFGBreakNode::addBreakEdge ( CFGNode  to  )  [inline]

Real addEdge for CFGBreakNode

Usually used when backpatching, when we know it's a break node and should be handled specifically.

Parameters:
to which node to add the edge to

String cz::muni::stanse::codestructures::CFGBreakNode::toString (  )  [inline]


The documentation for this class was generated from the following file:

Generated on Thu Jan 13 16:24:08 2011 for Stanse by  doxygen 1.5.6