Skip to content

SgCapturingCopy

Supporting template class for "capturing" copies of the AST.

Synopsis

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

template<class CopyType>
class SgCapturingCopy
    : public CopyType

Description

This class allows for retrieval of the clone of arbitrary source nodesunderneath the copied node.

Base Classes

Name Description
CopyType

Member Functions

Name Description
SgCapturingCopy
SgCapturingCopy( std::vector<SgNode*> origList, CopyType const& base = CopyType()); [constructor]
~SgCapturingCopy
virtual ~SgCapturingCopy(); [destructor] [virtual]
Destructor
copyAst
SgNode* copyAst(SgNode const* n);
get_copyList
std::vector<SgNode*> const& get_copyList();

Protected Data Members

Name
copyList
origList

Created with MrDocs