SageInterface::lookupNamedTypeInParentScopes
Lookup a named type based on its name, bottomup searching from a specified scope. Note name collison might be allowed for c (not C++) between typedef and enum/struct. Only the first matched named type will be returned in this case. typedef is returned as it is, not the base type it actually refers to.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgType*
lookupNamedTypeInParentScopes(
std::string const& type_name,
SgScopeStatement* scope = NULL);
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