ROSE
0.9.6a
|
Functor copying an initialized name into a different scope. More...
#include <sageFunctors.h>
Public Member Functions | |
InitNameCloner (SgDeclarationStatement &declaration, SgScopeStatement *enclosing_scope=0) | |
SgInitializedName * | operator() (const SgInitializedName *orig) const |
Private Attributes | |
SgDeclarationStatement & | decl |
SgScopeStatement * | scope |
Functor copying an initialized name into a different scope.
Definition at line 84 of file sageFunctors.h.
|
inline |
Definition at line 86 of file sageFunctors.h.
|
inline |
Definition at line 90 of file sageFunctors.h.
References SageBuilder::buildInitializedName(), sg::cloneNode(), SgInitializedName::get_initializer(), SgInitializedName::get_name(), SgInitializedName::get_type(), scope, and SgInitializedName::set_scope().
|
private |
Definition at line 101 of file sageFunctors.h.
|
private |
Definition at line 102 of file sageFunctors.h.
Referenced by operator()().