|
PH Logo
Logo intepreter modeled after UCB Logo.
|
#include <Verbs.h>
Public Member Functions | |
| Verbs (Interpreter *itp, World *world) | |
| void | run (TokenStream *ts) |
| Func * | createFunction (const std::string &name, const std::string &args) |
|
const std::map< std::string, std::string > & | getVerbTokenMap () |
|
const std::map< std::string, std::string > & | getFuncTokenMap () |
| void | removeFunction (const std::string &name) |
| void | removeFunctions () |
Static Public Member Functions | |
| static bool | isVariable (const std::string &s) |
| static std::string | getVariable (const std::string &s) |
| static size_t | safeNext (size_t i, size_t end) |
| Func * phlogo::Verbs::createFunction | ( | const std::string & | name, |
| const std::string & | args | ||
| ) |
| void phlogo::Verbs::run | ( | TokenStream * | ts | ) |
Given an interpreter and a list of words from a sentence, returning the next word after the end of the current command.
Definition at line 48 of file Interpreter.cpp.
1.7.4