set_symbol_table Class Reference

#include <variables.hpp>

List of all members.

Public Member Functions

 set_symbol_table (symbol_table const &symtab)
 ~set_symbol_table ()


Detailed Description

Set a temporary symbol table, for the duration of a single function. When the set_symbol_table object goes out of scope, the local symbol table is no longer in force.

Definition at line 19 of file variables.hpp.


Constructor & Destructor Documentation

set_symbol_table::set_symbol_table ( symbol_table const &  symtab  ) 

Definition at line 22 of file variables.cpp.

References symbol_tables.

00023 {
00024   symbol_tables.push_back(&locals);
00025 }

set_symbol_table::~set_symbol_table (  ) 

Definition at line 27 of file variables.cpp.

References symbol_tables.

00028 {
00029   symbol_tables.pop_back();
00030 }


The documentation for this class was generated from the following files:
Generated on Sun Nov 30 10:05:28 2008 for Calculator by  doxygen 1.5.3