Skip to content

SageInterface::lookupSymbolInParentScopesForNameQualification

Parent-scope lookup for one name-qualification invocation. The caller must supply the exact symbol kind and its invocation-owned alias visibility set.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgSymbol*
lookupSymbolInParentScopesForNameQualification(
    SgName const& name,
    SgScopeStatement* currentScope,
    VariantT requestedSymbolKind,
    SgType const* type,
    SgTemplateParameterPtrList* templateParameterList,
    SgTemplateArgumentPtrList* templateArgumentList,
    SgUnorderedNodeSet const& visibleAliasCausalNodes);

Return Value

This class represents the concept of a name within the compiler.

Parameters

Name Description
name 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.).
type This class represents the base class for all types.

Created with MrDocs