SageInterface::getPreviousStatement
Get previous statement of the current statement. It may return a previous statement of a parent scope by default (climbOutScope is true), otherwise only a previous statement of the same scope is returned.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgStatement*
getPreviousStatement(
SgStatement* currentStmt,
bool climbOutScope = true);
Return Value
This class represents the notion of a statement.
Parameters
Name |
Description |
currentStmt |
This class represents the notion of a statement. |
Created with MrDocs