ROSE 0.11.145.147
Public Member Functions | List of all members
SgShallowCopy Class Reference

Description

Supporting class for "Shallow" copies of the AST. This class supports only shallow copies of the AST.

Definition at line 71 of file sageCopy.h.

#include <sageInterface/sageCopy.h>

Inheritance diagram for SgShallowCopy:
Inheritance graph
[legend]
Collaboration diagram for SgShallowCopy:
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 * SgShallowCopy::copyAst ( const SgNode n)
inlinevirtual

Implements SgCopyHelp.

Definition at line 74 of file sageCopy.h.


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