SageBuilder::buildVarRefExp¶
All overloads of SageBuilder::buildVarRefExp
Build SgVarRefExp for an existing variable symbol found from scope. Missing declarations are malformed AST construction and abort immediately.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
SgVarRefExp*
buildVarRefExp(
SgName const& name,
SgScopeStatement* scope = NULL); Return Value¶
This class represents the variable refernece in expressions.
Parameters¶
| Name | Description |
|---|---|
| name | String-backed name value used by AST nodes. |
| scope | This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs