SageInterface::getScope
Get the closest scope from astNode. Return astNode if it is already a scope.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgScopeStatement*
getScope(SgNode const* astNode);
Return Value
the closest scope from astNode. Return astNode if it is already a scope.
Parameters
Name |
Description |
astNode |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs