Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::interpreter::Id_table Class Reference

#include <evaluator.h>

List of all members.

Public Member Functions

 Id_table ()
 ~Id_table ()
void add (Hash_table::id_type id, value v, type_ptr t)
type_declaratortype_of (Hash_table::id_type id) const
value value_of (Hash_table::id_type id) const
size_t size () const
void print (std::ostream &) const

Private Types

typedef std::map< Hash_table::id_type,
id_data
map_type

Private Member Functions

 Id_table (const Id_table &)
Id_tableoperator= (const Id_table &)

Private Attributes

map_type table


Member Typedef Documentation

typedef std::map<Hash_table::id_type,id_data> atlas::interpreter::Id_table::map_type [private]
 

Definition at line 332 of file evaluator.h.


Constructor & Destructor Documentation

atlas::interpreter::Id_table::Id_table const Id_table  )  [private]
 

atlas::interpreter::Id_table::Id_table  )  [inline]
 

Definition at line 337 of file evaluator.h.

atlas::interpreter::Id_table::~Id_table  ) 
 

Definition at line 984 of file evaluator.cpp.

References table.


Member Function Documentation

void atlas::interpreter::Id_table::add Hash_table::id_type  id,
value  v,
type_ptr  t
 

Definition at line 989 of file evaluator.cpp.

References atlas::interpreter::owned_value, table, and atlas::interpreter::value.

Referenced by global_set_identifier(), and atlas::interpreter::install_function().

Id_table& atlas::interpreter::Id_table::operator= const Id_table  )  [private]
 

void atlas::interpreter::Id_table::print std::ostream &   )  const
 

Definition at line 1009 of file evaluator.cpp.

References atlas::interpreter::main_hash_table, atlas::interpreter::Hash_table::name_of(), and table.

Referenced by atlas::interpreter::operator<<().

size_t atlas::interpreter::Id_table::size  )  const [inline]
 

Definition at line 344 of file evaluator.h.

type_declarator * atlas::interpreter::Id_table::type_of Hash_table::id_type  id  )  const
 

Definition at line 1000 of file evaluator.cpp.

References table.

Referenced by atlas::interpreter::check_type(), atlas::interpreter::convert_expr(), and atlas::interpreter::find_type().

value atlas::interpreter::Id_table::value_of Hash_table::id_type  id  )  const
 

Definition at line 1004 of file evaluator.cpp.

References table, and atlas::interpreter::value.

Referenced by atlas::interpreter::identifier_expression::evaluate(), atlas::interpreter::call_expression::evaluate(), and atlas::interpreter::evaluate().


Member Data Documentation

map_type atlas::interpreter::Id_table::table [private]
 

Definition at line 333 of file evaluator.h.

Referenced by add(), print(), type_of(), value_of(), and ~Id_table().


The documentation for this class was generated from the following files:
Generated on Wed Mar 26 16:52:46 2008 for atlas by  doxygen 1.3.9.1