|
LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
#include <over-table.hh>


Public Types | |
| typedef std::list< T * > | tlist_type |
| typedef tlist_type::const_iterator | const_iterator |
| typedef std::map< const misc::symbol, tlist_type > | mmap_type |
| typedef std::list< mmap_type > | oversymtab_type |
| typedef std::pair < const_iterator, const_iterator > | range_type |
Public Member Functions | |
| OverTable () | |
| void | put (misc::symbol key, T &value) |
| tlist_type | get (misc::symbol key) |
| std::ostream & | print (std::ostream &ostr) const |
Scopes. | |
| void | scope_begin () |
| Open a new scope. | |
| void | scope_end () |
| Close the last scope. | |
Protected Attributes | |
| oversymtab_type | oversymtab_ |
| typedef tlist_type::const_iterator overload::OverTable< T >::const_iterator |
| typedef std::map<const misc::symbol, tlist_type> overload::OverTable< T >::mmap_type |
| typedef std::list<mmap_type> overload::OverTable< T >::oversymtab_type |
| typedef std::pair<const_iterator, const_iterator> overload::OverTable< T >::range_type |
| typedef std::list<T*> overload::OverTable< T >::tlist_type |
| overload::OverTable< T >::OverTable | ( | ) |
| OverTable< T >::tlist_type overload::OverTable< T >::get | ( | misc::symbol | key | ) |
References precondition.
Referenced by overload::Binder::operator()().
| std::ostream & overload::OverTable< T >::print | ( | std::ostream & | ostr | ) | const |
| void overload::OverTable< T >::put | ( | misc::symbol | key, |
| T & | value | ||
| ) |
Referenced by overload::Binder::visit_dec_header().
| void overload::OverTable< T >::scope_begin | ( | ) |
Open a new scope.
All further type related declarations will be limited to this scope.
Referenced by overload::Binder::scope_begin().
| void overload::OverTable< T >::scope_end | ( | ) |
Close the last scope.
Forget everything (ie every type related informations) since the latest scope_begin ().
References precondition.
Referenced by overload::Binder::scope_end().
|
protected |