|
PH Logo
Logo intepreter modeled after UCB Logo.
|
#include <Scope.h>
Public Member Functions | |
| Scope (World *world) | |
| void | setThing (const std::string &name, const std::string &value, bool local) |
| void | setThing (const std::string &name, pThing value, bool local) |
| pThing | getThing (const std::string &name) |
| void | removeThing (const std::string &name) |
| void | removeThings () |
|
std::map< std::string, pThing > ::const_iterator | begin () |
|
std::map< std::string, pThing > ::const_iterator | end () |
| pThing phlogo::Scope::getThing | ( | const std::string & | name | ) |
Lookup a thing by walking this scope upwards to the global scope.
| void phlogo::Scope::removeThing | ( | const std::string & | name | ) |
| void phlogo::Scope::setThing | ( | const std::string & | name, |
| const std::string & | value, | ||
| bool | local | ||
| ) |
1.7.4