SageInterface::getFirstStatement
Get the first statement within a scope, return NULL if it does not exist. Skip compilerâgenerated statement by default. Count transformationâgenerated ones, but excluding those which are not to be outputted in unparsers.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgStatement*
getFirstStatement(
SgScopeStatement* scope,
bool includingCompilerGenerated = false);
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