SageBuilder::buildFunctionRefExp¶
All overloads of SageBuilder::buildFunctionRefExp
Build SgFunctionRefExp based on a C++ function's name and function type. It will lookup symbol table internally starting from scope. A hidden prototype will be created internally to introduce a new function symbol if the function symbol cannot be found.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
SgFunctionRefExp*
buildFunctionRefExp(
SgName const& name,
SgType const* func_type,
SgScopeStatement* scope = NULL); Return Value¶
This class represents the function being called and must be assembled in the
Parameters¶
| Name | Description |
|---|---|
| name | String-backed name value used by AST nodes. |
| func_type | This class represents the base class for all types. |
| scope | This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs