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 |
|---|---|
SgCapturingCopySgCapturingCopy( std::vector<SgNode*> origList, CopyType const& base = CopyType()); [constructor] | |
~SgCapturingCopyvirtual ~SgCapturingCopy(); [destructor] [virtual] | Destructor |
copyAstSgNode* copyAst(SgNode const* n); | |
get_copyListstd::vector<SgNode*> const& get_copyList(); |
Protected Data Members¶
| Name |
|---|
copyList |
origList |
Created with MrDocs