Calculator Step 4

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
set_symbol_table Class Reference

`#include <variables.hpp>`

## 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.

23 {
24 symbol_tables.push_back(&locals);
25 }

set_symbol_table::~set_symbol_table | ( |  | ) |

Definition at line 27 of file variables.cpp.

28 {
29 symbol_tables.pop_back();
30 }

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

- variables.hpp
- variables.cpp