ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SlicingInfo Class Reference

#include <SlicingInfo.h>

Inheritance diagram for SlicingInfo:
Collaboration diagram for SlicingInfo:

Public Member Functions

 SlicingInfo ()
 
void addNode (SgNode *sgNode)
 
void setSliceTargetString (std::string target)
 
SgFunctionDeclarationgetTargetFunction ()
 
SgNodegetSlicingCriterion ()
 
std::list< SgNode * > getSlicingTargets ()
 
- Public Member Functions inherited from AstSimpleProcessing
void traverse (SgNode *node, Order treeTraversalOrder)
 traverse the entire AST. Order defines preorder (preorder) or postorder (postorder) traversal. Default is 'preorder'. More...
 
void traverseWithinFile (SgNode *node, Order treeTraversalOrder)
 traverse only nodes which represent the same file as where the traversal was started More...
 
void traverseInputFiles (SgProject *projectNode, Order treeTraversalOrder)
 traverse only nodes which represent files which were specified on the command line (=input files). More...
 
- Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
DummyAttribute traverse (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
DummyAttribute traverseWithinFile (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
void traverseInputFiles (SgProject *projectNode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
virtual ~SgTreeTraversal ()
 
 SgTreeTraversal ()
 
 SgTreeTraversal (const SgTreeTraversal &)
 
const SgTreeTraversaloperator= (const SgTreeTraversal &)
 

Protected Member Functions

virtual void visit (SgNode *node)
 this method is called at every traversed node. More...
 
- Protected Member Functions inherited from AstSimpleProcessing
virtual void atTraversalStart ()
 GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actually visited; can be used to perform a "last-minute" computation of attributes that may have changed since the constructor was executed, but are constant during the traversal itself. More...
 
virtual void atTraversalEnd ()
 
- Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
virtual void setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer)
 
void set_useDefaultIndexBasedTraversal (bool)
 

Protected Attributes

std::list< SgNode * > targets
 
SgFunctionDeclaration_func
 
SgNode_target
 
bool _markFunction
 
bool _markStatement
 
std::string sliceFunctionCalls
 
std::string sliceStatement
 

Additional Inherited Members

- Public Types inherited from AstSimpleProcessing
typedef t_traverseOrder Order
 
- Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
typedef
AstSuccessorsSelectors::SuccessorsContainer 
SuccessorsContainer
 
typedef SuccessorsContainerSuccessorsContainerRef
 

Detailed Description

Definition at line 22 of file SlicingInfo.h.

Constructor & Destructor Documentation

SlicingInfo::SlicingInfo ( )

Member Function Documentation

void SlicingInfo::addNode ( SgNode sgNode)
inline

Definition at line 29 of file SlicingInfo.h.

void SlicingInfo::setSliceTargetString ( std::string  target)
inline

Definition at line 33 of file SlicingInfo.h.

SgFunctionDeclaration* SlicingInfo::getTargetFunction ( )
inline

Definition at line 39 of file SlicingInfo.h.

SgNode* SlicingInfo::getSlicingCriterion ( )
inline

Definition at line 45 of file SlicingInfo.h.

std::list< SgNode * > SlicingInfo::getSlicingTargets ( )
inline

Definition at line 50 of file SlicingInfo.h.

virtual void SlicingInfo::visit ( SgNode astNode)
protectedvirtual

this method is called at every traversed node.

Implements AstSimpleProcessing.

Member Data Documentation

std::list< SgNode * > SlicingInfo::targets
protected

Definition at line 53 of file SlicingInfo.h.

SgFunctionDeclaration* SlicingInfo::_func
protected

Definition at line 62 of file SlicingInfo.h.

SgNode* SlicingInfo::_target
protected

Definition at line 65 of file SlicingInfo.h.

bool SlicingInfo::_markFunction
protected

Definition at line 72 of file SlicingInfo.h.

bool SlicingInfo::_markStatement
protected

Definition at line 79 of file SlicingInfo.h.

std::string SlicingInfo::sliceFunctionCalls
protected

Definition at line 83 of file SlicingInfo.h.

std::string SlicingInfo::sliceStatement
protected

Definition at line 85 of file SlicingInfo.h.


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