ROSE 0.11.145.147
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SageInterface::DeferredTransformation Struct Reference

Description

Definition at line 1953 of file sageInterface.h.

Collaboration diagram for SageInterface::DeferredTransformation:
Collaboration graph
[legend]

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 DeferredTransformationoperator= (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
 
SgStatementstatementToRemove
 
SgStatementstatementToAdd
 
SgClassDefinitionclass_definition
 
SgDeclarationStatementtarget_class_member
 
SgDeclarationStatementnew_function_prototype
 
ClassDefSet_t targetClasses
 
FuncDeclList_t targetFriends
 
IntervalType statementInterval
 
SgStatementlocationToOverwriteWithTransformation
 
SgStatementtransformationToOverwriteFirstStatementInInterval
 
SgBasicBlockblockOfStatementsToOutline
 

Member Typedef Documentation

◆ ClassDefSet_t

typedef std::set<SgClassDefinition *> SageInterface::DeferredTransformation::ClassDefSet_t

Definition at line 1993 of file sageInterface.h.

◆ FuncDeclList_t

typedef std::vector<SgFunctionDeclaration *> SageInterface::DeferredTransformation::FuncDeclList_t

Definition at line 1996 of file sageInterface.h.

◆ IntervalType

typedef std::vector<SgStatement*> SageInterface::DeferredTransformation::IntervalType

Definition at line 2005 of file sageInterface.h.

Member Enumeration Documentation

◆ TransformationKind

enum SageInterface::DeferredTransformation::TransformationKind

Definition at line 1965 of file sageInterface.h.

Member Data Documentation

◆ deferredTransformationKind

TransformationKind SageInterface::DeferredTransformation::deferredTransformationKind

Definition at line 1978 of file sageInterface.h.

◆ transformationLabel

std::string SageInterface::DeferredTransformation::transformationLabel

Definition at line 1983 of file sageInterface.h.

◆ statementToRemove

SgStatement* SageInterface::DeferredTransformation::statementToRemove

Definition at line 1986 of file sageInterface.h.

◆ statementToAdd

SgStatement* SageInterface::DeferredTransformation::statementToAdd

Definition at line 1987 of file sageInterface.h.

◆ class_definition

SgClassDefinition* SageInterface::DeferredTransformation::class_definition

Definition at line 1989 of file sageInterface.h.

◆ target_class_member

SgDeclarationStatement* SageInterface::DeferredTransformation::target_class_member

Definition at line 1990 of file sageInterface.h.

◆ new_function_prototype

SgDeclarationStatement* SageInterface::DeferredTransformation::new_function_prototype

Definition at line 1991 of file sageInterface.h.

◆ targetClasses

ClassDefSet_t SageInterface::DeferredTransformation::targetClasses

Definition at line 1994 of file sageInterface.h.

◆ targetFriends

FuncDeclList_t SageInterface::DeferredTransformation::targetFriends

Definition at line 1997 of file sageInterface.h.

◆ statementInterval

IntervalType SageInterface::DeferredTransformation::statementInterval

Definition at line 2006 of file sageInterface.h.

◆ locationToOverwriteWithTransformation

SgStatement* SageInterface::DeferredTransformation::locationToOverwriteWithTransformation

Definition at line 2007 of file sageInterface.h.

◆ transformationToOverwriteFirstStatementInInterval

SgStatement* SageInterface::DeferredTransformation::transformationToOverwriteFirstStatementInInterval

Definition at line 2008 of file sageInterface.h.

◆ blockOfStatementsToOutline

SgBasicBlock* SageInterface::DeferredTransformation::blockOfStatementsToOutline

Definition at line 2009 of file sageInterface.h.


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