SageInterface::getEnclosingClassDeclaration
Get the closest class declaration enclosing the specified AST node,
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgClassDeclaration*
getEnclosingClassDeclaration(SgNode* astNode);
Return Value
the closest class declaration enclosing the specified AST node,
Parameters
Name |
Description |
astNode |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs