Skip to content

SgTreeCopy

Supporting class for "Deep" copies of the AST.

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

class [[visibility("default")]] SgTreeCopy
    : public SgCopyHelp

Description

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.




Base Classes

Name Description
SgCopyHelp Supporting class from copy mechanism within ROSE.

Member Functions

Name
copyAst
virtual SgNode* copyAst(SgNode const* n); [virtual]
finalizeRootCopy
virtual void finalizeRootCopy(); [virtual]
prepareRootCopyForFixup
virtual void prepareRootCopyForFixup(); [virtual]

Using Declarations

Name
SgTreeCopy

Created with MrDocs