SageInterface::getEnclosingModuleStatement¶
Get the closest module statement enclosing the specified AST node,
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
SgModuleStatement*
getEnclosingModuleStatement(
SgNode* astNode,
bool const includingSelf = false); Return Value¶
the closest module statement 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