ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SgTreeCopy Class Reference

Supporting class for "Deep" copies of the AST. More...

#include <Cxx_Grammar.h>

Inheritance diagram for SgTreeCopy:
Collaboration diagram for SgTreeCopy:

Public Member Functions

SgNodecopyAst (const SgNode *n)
 
- Public Member Functions inherited from SgCopyHelp
 SgCopyHelp ()
 
virtual ~SgCopyHelp ()
 
int get_depth ()
 
void incrementDepth ()
 
void decrementDepth ()
 
copiedNodeMapTypeget_copiedNodeMap ()
 
void clearState ()
 
void insertCopiedNodePair (const SgNode *key, SgNode *value)
 

Additional Inherited Members

- Public Types inherited from SgCopyHelp
typedef std::map< const SgNode
*, SgNode * > 
copiedNodeMapType
 
typedef copiedNodeMapType::iterator copiedNodeMapTypeIterator
 

Detailed Description

Supporting class for "Deep" copies of the AST.

This class supports only deep copies of the AST.

The name of this class should perhaps be changed to reflect that it is a "deep" copy.

Definition at line 7856 of file Cxx_Grammar.h.

Member Function Documentation

SgNode* SgTreeCopy::copyAst ( const SgNode n)
virtual

Implements SgCopyHelp.


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