ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sg::InitNameCloner Struct Reference

Functor copying an initialized name into a different scope. More...

#include <sageFunctors.h>

Collaboration diagram for sg::InitNameCloner:

Public Member Functions

 InitNameCloner (SgDeclarationStatement &declaration, SgScopeStatement *enclosing_scope=0)
 
SgInitializedNameoperator() (const SgInitializedName *orig) const
 

Private Attributes

SgDeclarationStatementdecl
 
SgScopeStatementscope
 

Detailed Description

Functor copying an initialized name into a different scope.

Definition at line 84 of file sageFunctors.h.

Constructor & Destructor Documentation

sg::InitNameCloner::InitNameCloner ( SgDeclarationStatement declaration,
SgScopeStatement enclosing_scope = 0 
)
inline

Definition at line 86 of file sageFunctors.h.

Member Function Documentation

Member Data Documentation

SgDeclarationStatement& sg::InitNameCloner::decl
private

Definition at line 101 of file sageFunctors.h.

SgScopeStatement* sg::InitNameCloner::scope
private

Definition at line 102 of file sageFunctors.h.

Referenced by operator()().


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