Skip to content

SageInterface::getEnclosingFileNode

get the SgFile node from current node

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgFile*
getEnclosingFileNode(SgNode* astNode);

Return Value

Base class for files in a project. Stores file metadata and command-line options. SgSourceFile owns 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