Skip to content

SageInterface::getEnclosingStatement

Find the closest enclosing statement, including the given node

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgStatement*
getEnclosingStatement(SgNode* n);

Return Value

This class represents the notion of a statement.

Parameters

Name

Description

n

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

Created with MrDocs