ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sg::VarRefBuilder Struct Reference

Functor building a variable reference from an initialized name. More...

#include <sageFunctors.h>

Collaboration diagram for sg::VarRefBuilder:

Public Member Functions

 VarRefBuilder (SgScopeStatement &the_scope)
 
SgVarRefExpoperator() (SgInitializedName *initName) const
 

Private Attributes

SgScopeStatementscope
 

Detailed Description

Functor building a variable reference from an initialized name.

Definition at line 67 of file sageFunctors.h.

Constructor & Destructor Documentation

sg::VarRefBuilder::VarRefBuilder ( SgScopeStatement the_scope)
inlineexplicit

Definition at line 70 of file sageFunctors.h.

Member Function Documentation

SgVarRefExp* sg::VarRefBuilder::operator() ( SgInitializedName initName) const
inline

Definition at line 74 of file sageFunctors.h.

References SageBuilder::buildVarRefExp(), and scope.

Member Data Documentation

SgScopeStatement& sg::VarRefBuilder::scope
private

Definition at line 80 of file sageFunctors.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: