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

#include <ReachingDefinition.h>

Inheritance diagram for ReachingDefinitionGenerator:
Collaboration diagram for ReachingDefinitionGenerator:

Public Member Functions

 ReachingDefinitionGenerator (const ReachingDefinitionBase &b)
 
void add_unknown_def (ReachingDefinitions &gen, const std::pair< AstNodePtr, AstNodePtr > &def) const
 
void add_def (ReachingDefinitions &repr, const std::string &varname, const AstNodePtr &scope, const std::pair< AstNodePtr, AstNodePtr > &def) const
 
ReachingDefinitions get_unknown_defs () const
 
ReachingDefinitions get_empty_set () const
 
ReachingDefinitions get_def_set (const std::string &varname, const AstNodePtr &scope) const
 
void collect_member (const ReachingDefinitions &repr, CollectObject< std::pair< AstNodePtr, AstNodePtr > > &collect) const
 
const ReachingDefinitionBaseget_base () const
 

Private Attributes

Ast2StringMap scopemap
 

Detailed Description

Definition at line 38 of file ReachingDefinition.h.

Constructor & Destructor Documentation

ReachingDefinitionGenerator::ReachingDefinitionGenerator ( const ReachingDefinitionBase b)
inline

Definition at line 43 of file ReachingDefinition.h.

Member Function Documentation

void ReachingDefinitionGenerator::add_unknown_def ( ReachingDefinitions gen,
const std::pair< AstNodePtr, AstNodePtr > &  def 
) const
inline

Definition at line 45 of file ReachingDefinition.h.

void ReachingDefinitionGenerator::add_def ( ReachingDefinitions repr,
const std::string &  varname,
const AstNodePtr &  scope,
const std::pair< AstNodePtr, AstNodePtr > &  def 
) const
ReachingDefinitions ReachingDefinitionGenerator::get_unknown_defs ( ) const
inline

Definition at line 52 of file ReachingDefinition.h.

ReachingDefinitions ReachingDefinitionGenerator::get_empty_set ( ) const
inline

Definition at line 54 of file ReachingDefinition.h.

ReachingDefinitions ReachingDefinitionGenerator::get_def_set ( const std::string &  varname,
const AstNodePtr &  scope 
) const
void ReachingDefinitionGenerator::collect_member ( const ReachingDefinitions repr,
CollectObject< std::pair< AstNodePtr, AstNodePtr > > &  collect 
) const
inline

Definition at line 58 of file ReachingDefinition.h.

const ReachingDefinitionBase& ReachingDefinitionGenerator::get_base ( ) const
inline

Definition at line 62 of file ReachingDefinition.h.

Member Data Documentation

Ast2StringMap ReachingDefinitionGenerator::scopemap
private

Definition at line 41 of file ReachingDefinition.h.


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