Rose2xaif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rose2xaif::SageSymbolAttr Class Reference

#include <SageAttr.hpp>

Inheritance diagram for rose2xaif::SageSymbolAttr:
Collaboration diagram for rose2xaif::SageSymbolAttr:

Public Types

enum  DontVisitReason { NOT_SET, DUMMY_SUBROUTINE_RETURN }
 

Public Member Functions

void set_change_to_pointer (int i)
 
int get_change_to_pointer ()
 
 SageSymbolAttr ()
 
void setDontVisit (DontVisitReason aReason)
 
bool dontVisit () const
 
virtual SageSymbolAttrcopy ()
 
- Public Member Functions inherited from rose2xaif::SageAttrWithScope
 SageAttrWithScope ()
 
void setSgScopeId (int i)
 
int getSgScopeId ()
 
- Public Member Functions inherited from rose2xaif::SageAttr
 SageAttr ()
 
bool isPragma () const
 
bool isActive ()
 
void setActive ()
 
void unsetActive ()
 
void add_to_change_log (std::string str1)
 
std::string get_change_log ()
 

Public Attributes

int flags
 
long floatBits1
 
long floatBits2
 
SgVariableSymbol * ret_symbol
 

Static Public Attributes

static const char * ourClassName ="SageSymbolAttr"
 

Private Attributes

int change_to_pointer
 
bool myDontVisitFlag
 
DontVisitReason myDontVisitReason
 

Detailed Description

Definition at line 97 of file SageAttr.hpp.

Member Enumeration Documentation

Enumerator
NOT_SET 

default value when myDontVisitFlag is false Rose introduces a fake Fortran subroutine return value for consistency with Fortran functions

DUMMY_SUBROUTINE_RETURN 

Definition at line 109 of file SageAttr.hpp.

Constructor & Destructor Documentation

rose2xaif::SageSymbolAttr::SageSymbolAttr ( )
inline

Definition at line 124 of file SageAttr.hpp.

Referenced by copy().

Member Function Documentation

virtual SageSymbolAttr* rose2xaif::SageSymbolAttr::copy ( )
inlinevirtual

reimplement this for tree copies to work properly

Reimplemented from rose2xaif::SageAttrWithScope.

Definition at line 138 of file SageAttr.hpp.

References SageSymbolAttr().

Referenced by rose2xaif::CanonState::canonicalizeVariableDeclarationStmt().

Here is the call graph for this function:

bool rose2xaif::SageSymbolAttr::dontVisit ( ) const
inline

Definition at line 134 of file SageAttr.hpp.

References myDontVisitFlag.

Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().

int rose2xaif::SageSymbolAttr::get_change_to_pointer ( )
inline

Definition at line 104 of file SageAttr.hpp.

Referenced by rose2xaif::SymbolsAndActiveAnalysis::handleSymbols().

void rose2xaif::SageSymbolAttr::set_change_to_pointer ( int  i)
inline
void rose2xaif::SageSymbolAttr::setDontVisit ( SageSymbolAttr::DontVisitReason  aReason)

Member Data Documentation

int rose2xaif::SageSymbolAttr::change_to_pointer
private

Definition at line 120 of file SageAttr.hpp.

Referenced by set_change_to_pointer().

long rose2xaif::SageSymbolAttr::floatBits1
long rose2xaif::SageSymbolAttr::floatBits2
bool rose2xaif::SageSymbolAttr::myDontVisitFlag
private

Definition at line 121 of file SageAttr.hpp.

Referenced by dontVisit(), and setDontVisit().

DontVisitReason rose2xaif::SageSymbolAttr::myDontVisitReason
private

Definition at line 122 of file SageAttr.hpp.

Referenced by setDontVisit().

const char * rose2xaif::SageSymbolAttr::ourClassName ="SageSymbolAttr"
static

for debugging in the template functions

Definition at line 104 of file SageAttr.hpp.

SgVariableSymbol* rose2xaif::SageSymbolAttr::ret_symbol

Definition at line 102 of file SageAttr.hpp.

Referenced by rose2xaif::CanonState::ShouldConvertToProc().


The documentation for this class was generated from the following files: