SageInterface::requireNamedTypeInParentScopes¶
Return an existing named type or terminate if the current AST has no such declaration. This never synthesizes a placeholder declaration.
Synopsis¶
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility("default")]]
SgType*
requireNamedTypeInParentScopes(
std::string const& type_name,
SgScopeStatement* scope); Return Value¶
This class represents the base class for all types.
Parameters¶
| Name | Description |
|---|---|
| scope | This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs