ROSE 0.11.145.192
|
Definition at line 18596 of file sageInterface.C.
Public Member Functions | |
void | visit (SgNode *astNode) |
visitor function for each node to collect non-builtin types' declarations | |
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'. | |
void | traverseWithinFile (SgNode *node, Order treeTraversalOrder) |
traverse only nodes which represent the same file as where the traversal was started | |
void | traverseInputFiles (SgProject *projectNode, Order treeTraversalOrder) |
traverse only nodes which represent files which were specified on the command line (=input files). | |
Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
DummyAttribute | traverse (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
DummyAttribute | traverseWithinFile (SgNode *basenode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, DummyAttribute inheritedValue, t_traverseOrder travOrder=preandpostorder) |
SgTreeTraversal (const SgTreeTraversal &) | |
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
Public Attributes | |
vector< SgDeclarationStatement * > | declarationList |
vector< SgSymbol * > | symbolList |
set< SgDeclarationStatement * > | alreadySavedDeclarations |
Additional Inherited Members | |
Public Types inherited from AstSimpleProcessing | |
typedef t_traverseOrder | Order |
Public Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef StackFrameVector< DummyAttribute > | SynthesizedAttributesList |
Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
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. | |
virtual void | atTraversalEnd () |
Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute > | |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
void | set_useDefaultIndexBasedTraversal (bool) |
|
virtual |
visitor function for each node to collect non-builtin types' declarations
Implements AstSimpleProcessing.
Definition at line 18795 of file sageInterface.C.
References SgNode::class_name(), SgType::class_name(), SgDeclarationStatement::get_definingDeclaration(), SgNode::get_file_info(), SgDeclarationStatement::get_firstNondefiningDeclaration(), SageInterface::get_name(), SgDeclarationStatement::get_symbol_from_symbol_table(), SgTypedefDeclaration::get_symbol_from_symbol_table(), SgClassDeclaration::get_symbol_from_symbol_table(), SgFunctionCallExp::getAssociatedFunctionDeclaration(), SgFunctionCallExp::getAssociatedFunctionSymbol(), SgDeclarationStatement::hasAssociatedSymbol(), SgDeclarationStatement::search_for_symbol_from_symbol_table(), and SgType::stripType().
vector<SgDeclarationStatement*> CollectDependentDeclarationsTraversal::declarationList |
Definition at line 18601 of file sageInterface.C.
vector<SgSymbol*> CollectDependentDeclarationsTraversal::symbolList |
Definition at line 18605 of file sageInterface.C.
set<SgDeclarationStatement*> CollectDependentDeclarationsTraversal::alreadySavedDeclarations |
Definition at line 18608 of file sageInterface.C.