linc 0.7
Linc is a general-purpose programming language inspired by C
Loading...
Searching...
No Matches
linc::ScopeStack< SYMBOL_TYPE > Class Template Referencefinal

Public Member Functions

void beginScope ()
 
void endScope ()
 
decltype(auto) top (this auto &self)
 
decltype(auto) get (this auto &self, const std::string &name)
 
decltype(auto) findTop (this auto &self, const std::string &name)
 
decltype(auto) find (this auto &self, const std::string &name)
 
std::stack< std::unordered_map< std::string, SYMBOL_TYPE > >::size_type getScopeSize () const
 
std::vector< std::pair< std::string, SYMBOL_TYPE > > getNamedSymbols () const
 
std::vector< const SYMBOL_TYPE * > getSymbols () const
 
void append (std::string_view name, SYMBOL_TYPE symbol)
 
void update (std::string_view name, SYMBOL_TYPE symbol)
 

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