Skip to content

SageInterface::lookupFunctionSymbolInParentScopes

All overloads of SageInterface::lookupFunctionSymbolInParentScopes

look up function symbol in parent scopes given both name and function type, starting from top of ScopeStack if currentscope is not given or NULL

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgFunctionSymbol*
lookupFunctionSymbolInParentScopes(
    SgName const& functionName,
    SgType const* t,
    SgScopeStatement* currentScope = NULL);

Parameters

Name Description
functionName String-backed name value used by AST nodes.
t This class represents the base class for all types.
currentScope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs