ROSE 0.11.145.192
Public Member Functions | List of all members
SgTreeCopy Class Reference

Description

Supporting class for "Deep" copies of the AST.

This class supports only deep copies of the AST.

Definition at line 85 of file sageCopy.h.

#include <sageInterface/sageCopy.h>

Inheritance diagram for SgTreeCopy:
Inheritance graph
[legend]
Collaboration diagram for SgTreeCopy:
Collaboration graph
[legend]

Public Member Functions

SgNodecopyAst (const SgNode *n)
 
- Public Member Functions inherited from SgCopyHelp
int get_depth ()
 
void incrementDepth ()
 
void decrementDepth ()
 
copiedNodeMapType & get_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
 

Member Function Documentation

◆ copyAst()

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

Implements SgCopyHelp.


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