Skip to content

SageBuilder::buildVarRefExp

Build a variable reference from an initialized name It first tries to grab the associated symbol, then call buildVarRefExp(const SgName& name, SgScopeStatement*) if symbol does not exist.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
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