SageInterface::getGlobalScope¶
Traverse back through a node's parents to find the enclosing global scope
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
SgGlobal*
getGlobalScope(SgNode const* astNode); Return Value¶
The global scope of a source file.
Parameters¶
| Name | Description |
|---|---|
| astNode | This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs