ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ReachingDefinitionBase Class Reference

#include <ReachingDefinition.h>

Inheritance diagram for ReachingDefinitionBase:
Collaboration diagram for ReachingDefinitionBase:

Public Types

typedef BitVectorReprBase
< std::string, std::pair
< AstNodePtr, AstNodePtr >
>::iterator 
iterator
 

Public Member Functions

void collect_refs (AstInterface &fa, const AstNodePtr &h, FunctionSideEffectInterface *a=0, AstInterface::AstNodeList *in=0)
 
void add_ref (const std::string &name, const AstNodePtr &scope, const std::pair< AstNodePtr, AstNodePtr > &def)
 
void add_unknown_def (const std::pair< AstNodePtr, AstNodePtr > &def)
 
void finalize ()
 
iterator begin () const
 
iterator end () const
 
std::pair< AstNodePtr, AstNodePtr > get_ref (iterator p) const
 

Private Attributes

Ast2StringMap scopemap
 

Friends

class ReachingDefinitionGenerator
 

Detailed Description

Definition at line 14 of file ReachingDefinition.h.

Member Typedef Documentation

typedef BitVectorReprBase<std::string, std::pair<AstNodePtr, AstNodePtr> >::iterator ReachingDefinitionBase::iterator

Definition at line 19 of file ReachingDefinition.h.

Member Function Documentation

void ReachingDefinitionBase::collect_refs ( AstInterface &  fa,
const AstNodePtr &  h,
FunctionSideEffectInterface *  a = 0,
AstInterface::AstNodeList *  in = 0 
)
void ReachingDefinitionBase::add_ref ( const std::string &  name,
const AstNodePtr &  scope,
const std::pair< AstNodePtr, AstNodePtr > &  def 
)
void ReachingDefinitionBase::add_unknown_def ( const std::pair< AstNodePtr, AstNodePtr > &  def)
inline

Definition at line 24 of file ReachingDefinition.h.

void ReachingDefinitionBase::finalize ( )
inline

Definition at line 26 of file ReachingDefinition.h.

iterator ReachingDefinitionBase::begin ( ) const
inline

Definition at line 27 of file ReachingDefinition.h.

iterator ReachingDefinitionBase::end ( ) const
inline

Definition at line 29 of file ReachingDefinition.h.

std::pair<AstNodePtr, AstNodePtr> ReachingDefinitionBase::get_ref ( iterator  p) const
inline

Definition at line 31 of file ReachingDefinition.h.

Friends And Related Function Documentation

friend class ReachingDefinitionGenerator
friend

Definition at line 35 of file ReachingDefinition.h.

Member Data Documentation

Ast2StringMap ReachingDefinitionBase::scopemap
private

Definition at line 17 of file ReachingDefinition.h.


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