ROSE 0.11.145.192
Public Member Functions | List of all members
legacy::ScopeSetter Struct Reference

Description

Functor setting the scope of a sage node to a specified (at Functor construction time) scope.

Definition at line 45 of file sageFunctors.h.

#include <sageInterface/sageFunctors.h>

Public Member Functions

 ScopeSetter (SgScopeStatement &the_scope)
 
template<class ScopedSageNode >
void handle (ScopedSageNode *scopeElem) const
 
void operator() (SgStatement *scopeElem) const
 
void operator() (SgInitializedName *scopeElem) const
 

Constructor & Destructor Documentation

◆ ScopeSetter()

legacy::ScopeSetter::ScopeSetter ( SgScopeStatement the_scope)
inlineexplicit

Definition at line 48 of file sageFunctors.h.

Member Function Documentation

◆ handle()

template<class ScopedSageNode >
void legacy::ScopeSetter::handle ( ScopedSageNode *  scopeElem) const
inline

Definition at line 53 of file sageFunctors.h.

◆ operator()() [1/2]

void legacy::ScopeSetter::operator() ( SgStatement scopeElem) const
inline

Definition at line 60 of file sageFunctors.h.

◆ operator()() [2/2]

void legacy::ScopeSetter::operator() ( SgInitializedName scopeElem) const
inline

Definition at line 61 of file sageFunctors.h.


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