Skip to content

SageInterface::lookupFunctionSymbolInParentScopes

All overloads of SageInterface::lookupFunctionSymbolInParentScopes

look up the first matched function symbol in parent scopes given only a function name, 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,
    SgScopeStatement* currentScope = NULL);

Parameters

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

Created with MrDocs