Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

cloning_utils.h File Reference

Some support for cloning. More...


Compounds

class deep_suif_clone

Defines

#define _UTILS__CLONING_UTILS_H

Functions

T* deep_suif_clone (T *obj, SuifEnv *s = 0)
Statement* clone_statement (SuifEnv *env,SymbolTable *table,const Statement *stat)
Clone a statement or statement list Sets up all the parameters to handle labels correctly. More...


Detailed Description

Some support for cloning.

A template that makes cloning easier A statement cloner


Define Documentation

#define _UTILS__CLONING_UTILS_H


Function Documentation

template<class T>
T * deep_suif_clone (T * obj, SuifEnv * s = 0)

Statement * clone_statement (SuifEnv * env, SymbolTable * table, const Statement * stat)

Clone a statement or statement list Sets up all the parameters to handle labels correctly.

Parameters:
suif - environment to clone in
symbol - table to put created labels into
statement - to clone

Generated at Wed Apr 25 17:34:41 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999