Skip to content

SageInterface::getGlobalScope

Traverse back through a node's parents to find the enclosing global scope

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgGlobal*
getGlobalScope(SgNode const* astNode);

Return Value

This class represents the concept of a namespace definition.

Parameters

Name

Description

astNode

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs