#include <environment.h>
Inheritance diagram for celx::GlobalEnvironment:


Public Member Functions | |
| virtual void | bind (const std::string &, const Value &) |
| virtual Environment * | getParent () const |
| GlobalEnvironment () | |
| virtual Value * | lookup (const std::string &) const |
| virtual | ~GlobalEnvironment () |
Private Attributes | |
| std::map< std::string, Value * > | bindings |
|
|
Definition at line 26 of file environment.cpp. 00027 {
00028 }
|
|
|
Definition at line 30 of file environment.cpp. 00031 {
00032 }
|
|
||||||||||||
|
Implements celx::Environment. Definition at line 35 of file environment.cpp. References bindings.
|
|
|
Implements celx::Environment. Definition at line 50 of file environment.cpp. 00051 {
00052 return NULL;
00053 }
|
|
|
Implements celx::Environment. Definition at line 40 of file environment.cpp. References bindings. 00041 {
00042 map<string, Value*>::const_iterator iter = bindings.find(name);
00043 if (iter == bindings.end())
00044 return NULL;
00045 else
00046 return iter->second;
00047 }
|
|
|
Definition at line 44 of file environment.h. |
1.4.1