SageInterface::getDependentDeclarations
Get a statement's dependent declarations which declares the types used in the statement. The returned vector of declaration statements are sorted according to their appearance order in the original AST. Any reference to a class or template class from a namespace will treated as a reference to the enclosing namespace.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
std::vector<SgDeclarationStatement*>
getDependentDeclarations(SgStatement* stmt);
Return Value
A standard container which offers fixed time access to individual elements in any order.
Parameters
Name |
Description |
stmt |
This class represents the notion of a statement. |
Created with MrDocs