#include <Map.h>
Public Types | |
typedef ConsCell< C, A > | EnvCons |
Public Member Functions | |
void | put (K akey, C avalue) |
C | get (K akey) |
void | push () |
void | pop () |
void | clear () |
Env () | |
List< C, A > * | get_bucket (K akey) |
Data Fields | |
Map< K, List< C > *, A > | store |
List< List< K >, A > | scope |
Definition at line 221 of file Map.h.
void Env< K, C, A >::clear | ( | void | ) | [inline] |
Definition at line 228 of file Map.h.
References List< C, A >::clear(), Vec< C, A, S >::clear(), Env< K, C, A >::scope, and Env< K, C, A >::store.
C Env< K, C, A >::get | ( | K | akey | ) | [inline] |
Definition at line 722 of file Map.h.
References Vec< C, A, S >::set_in(), Env< K, C, A >::store, and MapElem< K, C >::value.
List< C, A > * Env< K, C, A >::get_bucket | ( | K | akey | ) | [inline] |
Definition at line 731 of file Map.h.
References Map< K, C, A >::get(), Map< K, C, A >::put(), and Env< K, C, A >::store.
Referenced by Env< K, C, A >::pop(), and Env< K, C, A >::put().
void Env< K, C, A >::pop | ( | ) | [inline] |
Definition at line 752 of file Map.h.
References List< C, A >::first(), forc_List, Env< K, C, A >::get_bucket(), and Env< K, C, A >::scope.
void Env< K, C, A >::push | ( | ) | [inline] |
Definition at line 747 of file Map.h.
References List< C, A >::push(), and Env< K, C, A >::scope.
void Env< K, C, A >::put | ( | K | akey, | |
C | avalue | |||
) | [inline] |
Definition at line 741 of file Map.h.
References ConsCell< C, A >::car, Env< K, C, A >::get_bucket(), List< C, A >::head, List< C, A >::push(), and Env< K, C, A >::scope.
Definition at line 232 of file Map.h.
Referenced by Env< K, C, A >::clear(), Env< K, C, A >::pop(), Env< K, C, A >::push(), and Env< K, C, A >::put().
Definition at line 231 of file Map.h.
Referenced by Env< K, C, A >::clear(), Env< K, C, A >::get(), and Env< K, C, A >::get_bucket().