Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

FlattenDismantleChanger Class Reference

#include <dismantle.h>

Inheritance diagram for FlattenDismantleChanger::

DismantleChanger Changer List of all members.

Public Methods

Nodeat_label (labelNode *, Order)
Nodeat_proc (procNode *, Order)
Nodeat_unary (unaryNode *, Order)
void flatten_block (blockNode *, blockNode *)
int change (void)
 FlattenDismantleChanger (map< string, bool > *l, unsigned int flags)

Private Methods

stmt_list_p search_target (stmt_list_p, gotoNode *, stmt_list_p)
void search_and_replace_labels (stmt_list, stmt_list_p, stmt_list_p)

Private Attributes

int _change
map< string, bool > * labels
bool unreachable

Constructor & Destructor Documentation

FlattenDismantleChanger::FlattenDismantleChanger map< string, bool > *    l,
unsigned int    flags
[inline]
 


Member Function Documentation

Node * FlattenDismantleChanger::at_label labelNode   p,
Order    ord
[virtual]
 

Reimplemented from Changer.

Node * FlattenDismantleChanger::at_proc procNode   p,
Order    ord
[virtual]
 

Reimplemented from Changer.

Node * FlattenDismantleChanger::at_unary unaryNode   p,
Order    ord
[virtual]
 

Reimplemented from Changer.

int FlattenDismantleChanger::change void    [inline]
 

void FlattenDismantleChanger::flatten_block blockNode   top,
blockNode   b
 

void FlattenDismantleChanger::search_and_replace_labels stmt_list    stmts,
stmt_list_p    search,
stmt_list_p    replace
[private]
 

stmt_list_p FlattenDismantleChanger::search_target stmt_list_p    r,
gotoNode   g,
stmt_list_p    end
[private]
 


Member Data Documentation

int FlattenDismantleChanger::_change [private]
 

map<string,bool>* FlattenDismantleChanger::labels [private]
 

bool FlattenDismantleChanger::unreachable [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 12:06:28 2002 for C-Breeze by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001