SageBuilder::buildVarRefExp
Build SgVarRefExp based on a variable's name. It will lookup symbol table internally starting from scope. A variable is unique so type can be inferred.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgVarRefExp*
buildVarRefExp(
std::string const& varName,
SgScopeStatement* scope = NULL);
Return Value
This class represents the variable refernece in expressions.
Parameters
Name |
Description |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs