Skip to content

SageBuilder::buildVarRefExp

Build a variable reference from an existing variable declaration. The assumption is a SgVariableDeclartion only declares one variable in the ROSE AST.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgVarRefExp*
buildVarRefExp(SgVariableDeclaration* vardecl);

Return Value

This class represents the variable refernece in expressions.

Parameters

Name

Description

vardecl

This class represents the concept of a C or C++ variable declaration.

Created with MrDocs