Skip to content

SageBuilder::buildVarRefExp

Build a variable reference using a C style char array

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgVarRefExp*
buildVarRefExp(
    char 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