Skip to content

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]]
SgFunctionSymbol*
lookupFunctionSymbolInParentScopes(
    SgName const& functionName,
    SgScopeStatement* currentScope = NULL);

Parameters

Name

Description

functionName

This class represents strings within the IR nodes.

currentScope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs