Skip to content

SageBuilder::buildVarRefExp

All overloads of SageBuilder::buildVarRefExp

Build a variable reference from an initialized name's exact symbol.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgVarRefExp*
buildVarRefExp(
    SgInitializedName* initname,
    SgScopeStatement* scope = NULL);

Return Value

This class represents the variable refernece in expressions.

Parameters

Name Description
initname This class represents the notion of a declared variable.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs