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("default")]]
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