SageInterface::getEnclosingFunctionDeclaration¶
Find the enclosing function declaration, including its derived instances like isSgProcedureHeaderStatement, isSgProgramHeaderStatement, and isSgMemberFunctionDeclaration.
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
SgFunctionDeclaration*
getEnclosingFunctionDeclaration(
SgNode* astNode,
bool const includingSelf = false); Parameters¶
| Name | Description |
|---|---|
| astNode | This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs