Skip to content

SageInterface::getLastStatement

get the last statement within a scope, return NULL if it does not exit

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgStatement*
getLastStatement(SgScopeStatement* scope);

Return Value

This class represents the notion of a statement.

Parameters

Name

Description

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs