1 #ifndef SYMBOL_TABLE_HPP
2 #define SYMBOL_TABLE_HPP
5 #include "../../globals.hpp"
18 std::stack<shptr<Change>> changes;
bool definedInCurrentScope(shptr< Symbol > symbol) const
Definition: symbol_table.cpp:47
shptr< Scope > const & getCurrentScope() const
Definition: symbol_table.cpp:52
void leaveScope()
Definition: symbol_table.cpp:33
std::shared_ptr< T > shptr
Definition: globals.hpp:7
Definition: ClassMember.hpp:7
SymbolTable()
Definition: symbol_table.cpp:9
void insert(shptr< Symbol > symbol, shptr< Definition > def)
Definition: symbol_table.cpp:21
void enterScope()
Definition: symbol_table.cpp:28
Definition: symbol_table.hpp:15
shptr< Definition > lookup(shptr< Symbol > symbol) const
Definition: symbol_table.cpp:14