ROSE  0.11.96.11
Public Member Functions | Protected Attributes | List of all members
SgCapturingCopy< CopyType > Class Template Reference

Description

template<class CopyType>
class SgCapturingCopy< CopyType >

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

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

Definition at line 6619 of file Cxx_Grammar.h.

#include <Cxx_Grammar.h>

Inheritance diagram for SgCapturingCopy< CopyType >:
Inheritance graph
[legend]
Collaboration diagram for SgCapturingCopy< CopyType >:
Collaboration graph
[legend]

Public Member Functions

 SgCapturingCopy (std::vector< SgNode * > origList, const CopyType &base=CopyType())
 
SgNodecopyAst (const SgNode *n)
 
const std::vector< SgNode * > & get_copyList ()
 

Protected Attributes

std::vector< SgNode * > origList
 
std::vector< SgNode * > copyList
 

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