|
PH Logo
Logo intepreter modeled after UCB Logo.
|
00001 /* 00002 * Tokenizer.h 00003 * 00004 * Author: Paul Hamilton 00005 * Date: 4 Jul 2011 00006 * 00007 */ 00008 #ifndef _TOKENIZER_H 00009 #define _TOKENIZER_H 00010 00011 #include <string> 00012 00013 namespace phlogo { 00014 00015 class Verbs; 00016 00032 class Tokenizer { 00033 00034 public: 00035 00036 Tokenizer(Verbs *verbs) : _verbs(verbs) {} 00037 00038 std::string tokenizeToString(const std::string &input); 00039 00040 private: 00041 Verbs *_verbs; 00042 }; 00043 00044 } 00045 00046 #endif // _TOKENIZER_H
1.7.4