ROSE 0.11.145.192
|
Definition at line 1953 of file sageInterface.h.
Public Types | |
enum | TransformationKind { e_error , e_default , e_outliner , e_replaceStatement , e_removeStatement , e_replaceDefiningFunctionDeclarationWithFunctionPrototype , e_last } |
typedef std::set< SgClassDefinition * > | ClassDefSet_t |
typedef std::vector< SgFunctionDeclaration * > | FuncDeclList_t |
typedef std::vector< SgStatement * > | IntervalType |
Public Member Functions | |
ROSE_DLL_API | DeferredTransformation (SgClassDefinition *class_definition, SgDeclarationStatement *target_class_member, SgDeclarationStatement *new_function_prototype) |
ROSE_DLL_API | DeferredTransformation (const DeferredTransformation &X) |
ROSE_DLL_API | ~DeferredTransformation (void) |
Copy constructor. | |
ROSE_DLL_API DeferredTransformation & | operator= (const DeferredTransformation &X) |
Shallow; does not delete fields. | |
ROSE_DLL_API void | display (std::string label) const |
Static Public Member Functions | |
static ROSE_DLL_API DeferredTransformation | replaceDefiningFunctionDeclarationWithFunctionPrototype (SgFunctionDeclaration *functionDeclaration) |
operator=() | |
static ROSE_DLL_API DeferredTransformation | replaceStatement (SgStatement *oldStmt, SgStatement *newStmt, bool movePreprocessinInfo=false) |
static ROSE_DLL_API std::string | outputDeferredTransformationKind (const TransformationKind &kind) |
Public Attributes | |
TransformationKind | deferredTransformationKind |
std::string | transformationLabel |
SgStatement * | statementToRemove |
SgStatement * | statementToAdd |
SgClassDefinition * | class_definition |
SgDeclarationStatement * | target_class_member |
SgDeclarationStatement * | new_function_prototype |
ClassDefSet_t | targetClasses |
FuncDeclList_t | targetFriends |
IntervalType | statementInterval |
SgStatement * | locationToOverwriteWithTransformation |
SgStatement * | transformationToOverwriteFirstStatementInInterval |
SgBasicBlock * | blockOfStatementsToOutline |
typedef std::set<SgClassDefinition *> SageInterface::DeferredTransformation::ClassDefSet_t |
Definition at line 1993 of file sageInterface.h.
typedef std::vector<SgFunctionDeclaration *> SageInterface::DeferredTransformation::FuncDeclList_t |
Definition at line 1996 of file sageInterface.h.
typedef std::vector<SgStatement*> SageInterface::DeferredTransformation::IntervalType |
Definition at line 2005 of file sageInterface.h.
enum SageInterface::DeferredTransformation::TransformationKind |
Definition at line 1965 of file sageInterface.h.
SageInterface::DeferredTransformation::DeferredTransformation | ( | ) |
Definition at line 9733 of file sageInterface.C.
SageInterface::DeferredTransformation::DeferredTransformation | ( | SgClassDefinition * | class_definition, |
SgDeclarationStatement * | target_class_member, | ||
SgDeclarationStatement * | new_function_prototype | ||
) |
Definition at line 9755 of file sageInterface.C.
SageInterface::DeferredTransformation::DeferredTransformation | ( | const DeferredTransformation & | X | ) |
Definition at line 9826 of file sageInterface.C.
SageInterface::DeferredTransformation::~DeferredTransformation | ( | void | ) |
SageInterface::DeferredTransformation & SageInterface::DeferredTransformation::operator= | ( | const DeferredTransformation & | X | ) |
Shallow; does not delete fields.
Definition at line 9848 of file sageInterface.C.
|
static |
Definition at line 9777 of file sageInterface.C.
|
static |
Definition at line 9802 of file sageInterface.C.
|
static |
Definition at line 9893 of file sageInterface.C.
void SageInterface::DeferredTransformation::display | ( | std::string | label | ) | const |
Definition at line 9915 of file sageInterface.C.
TransformationKind SageInterface::DeferredTransformation::deferredTransformationKind |
Definition at line 1978 of file sageInterface.h.
std::string SageInterface::DeferredTransformation::transformationLabel |
Definition at line 1983 of file sageInterface.h.
SgStatement* SageInterface::DeferredTransformation::statementToRemove |
Definition at line 1986 of file sageInterface.h.
SgStatement* SageInterface::DeferredTransformation::statementToAdd |
Definition at line 1987 of file sageInterface.h.
SgClassDefinition* SageInterface::DeferredTransformation::class_definition |
Definition at line 1989 of file sageInterface.h.
SgDeclarationStatement* SageInterface::DeferredTransformation::target_class_member |
Definition at line 1990 of file sageInterface.h.
SgDeclarationStatement* SageInterface::DeferredTransformation::new_function_prototype |
Definition at line 1991 of file sageInterface.h.
ClassDefSet_t SageInterface::DeferredTransformation::targetClasses |
Definition at line 1994 of file sageInterface.h.
FuncDeclList_t SageInterface::DeferredTransformation::targetFriends |
Definition at line 1997 of file sageInterface.h.
IntervalType SageInterface::DeferredTransformation::statementInterval |
Definition at line 2006 of file sageInterface.h.
SgStatement* SageInterface::DeferredTransformation::locationToOverwriteWithTransformation |
Definition at line 2007 of file sageInterface.h.
SgStatement* SageInterface::DeferredTransformation::transformationToOverwriteFirstStatementInInterval |
Definition at line 2008 of file sageInterface.h.
SgBasicBlock* SageInterface::DeferredTransformation::blockOfStatementsToOutline |
Definition at line 2009 of file sageInterface.h.