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 26 of file variables.cpp.

References symbol_tables.

00027 {
00028   symbol_tables.push_back(&locals);
00029 }

set_symbol_table::~set_symbol_table (  ) 

Definition at line 31 of file variables.cpp.

References symbol_tables.

00032 {
00033   symbol_tables.pop_back();
00034 }


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