Public Member Functions | Public Attributes | List of all members
sg::InitNameCloner Struct Reference


Functor copying an initialized name into a different scope.

Definition at line 84 of file sageFunctors.h.

#include <sageFunctors.h>

Collaboration diagram for sg::InitNameCloner:
Collaboration graph

Public Member Functions

res set_scope (scope)

Public Attributes

 __pad0__: scope(enclosing_scope) {} SgInitializedName* operator()(const SgInitializedName* orig) const { SgInitializer* copy_init = cloneNode(orig->get_initializer())
SgInitializedNameres = SageBuilder::buildInitializedName(orig->get_name(), orig->get_type(), copy_init)
return res

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