const std::map< std::string, std::shared_ptr< Symbol > > & getSymbols() const
bool define(const std::shared_ptr< Symbol > &symbol)
SymbolTable * getParent() const
std::shared_ptr< Symbol > resolve(const std::string &name) const
SymbolTable(SymbolTable *parent=nullptr)