SageInterface::lookupSymbolInParentScopesForAstCopyFixup
Parent‐scope lookup used only by AST snippet‐copy fixup. Recursive base‐class search is explicit to this call and never changes global state.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgSymbol*
lookupSymbolInParentScopesForAstCopyFixup(
SgName const& name,
SgScopeStatement* currentScope,
VariantT requestedSymbolKind,
SgType const* type = NULL,
SgTemplateParameterPtrList* templateParameterList = NULL,
SgTemplateArgumentPtrList* templateArgumentList = NULL);
Return Value
This class represents the concept of a name within the compiler.
Parameters
Name |
Description |
name |
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.). |
type |
This class represents the base class for all types. |
Created with MrDocs