ROSE
0.11.96.11
|
Definition at line 1814 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 |