Stanse  -1
Public Member Functions | List of all members
cz.muni.stanse.codestructures.CFGBreakNode Class Reference
Inheritance diagram for cz.muni.stanse.codestructures.CFGBreakNode:
Inheritance graph
[legend]
Collaboration diagram for cz.muni.stanse.codestructures.CFGBreakNode:
Collaboration graph
[legend]

Public Member Functions

 CFGBreakNode (Element e)
 
void addEdge (CFGNode to)
 
void addOptEdge (CFGNode to)
 
void addBreakEdge (CFGNode to)
 
String toString ()
 
- Public Member Functions inherited from cz.muni.stanse.codestructures.CFGNode
 CFGNode ()
 
 CFGNode (Element e, String code)
 
 CFGNode (Element e)
 
int getNumber ()
 
String getCode ()
 
Element getElement ()
 
void setLocation (File file, int line, int column)
 
boolean hasLocation ()
 
File getFile ()
 
final int getColumn ()
 
final int getLine ()
 
boolean isVisible ()
 
void setVisible (boolean value)
 
Set< String > getDependentVars ()
 
List< CFGNodegetPredecessors ()
 
List< CFGNodegetSuccessors ()
 
List< CFGNodegetOptPredecessors ()
 
List< CFGNodegetOptSuccessors ()
 
List< Operand > getOperands ()
 
void setOperands (List< Operand > operands)
 
void addOperand (OperandType type, Object id)
 
String getNodeType ()
 
void setNodeType (String nodeType)
 
void addEdge (CFGNode to)
 
void addEdge (CFGNode to, Object label)
 
void addEdge (CFGNode to, int edgeIndex, Object label)
 
Object getEdgeLabel (int edge)
 
void addOptEdge (CFGNode to)
 
void replaceEdge (CFGNode oldTo, CFGNode newTo)
 
void replaceOptEdge (CFGNode oldTo, CFGNode newTo)
 
void drop ()
 
boolean equals (Object obj)
 
int hashCode ()
 
String toString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cz.muni.stanse.codestructures.CFGNode
static Set< String > getDependentVars (Operand op)
 
- Protected Member Functions inherited from cz.muni.stanse.codestructures.CFGNode
void addPred (CFGNode pred)
 
void removeSucc (int index)
 

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
eelement to assign to this node

Member Function Documentation

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
towhich node to add the edge to
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
toignored parameter
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
toignored parameter
String cz.muni.stanse.codestructures.CFGBreakNode.toString ( )
inline

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