Skip to content

SageInterface::getEnclosingSourceFile

Find enclosing source file node

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgSourceFile*
getEnclosingSourceFile(
    SgNode const* n,
    bool const includingSelf = false);

Parameters

Name

Description

n

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

Created with MrDocs