Piethon  1.0
A Python-like interpreter using flex and bison.
functionTable.h
Go to the documentation of this file.
1 #ifndef FUNCTIONTABLE_H
2 #define FUNCTIONTABLE_H
3 
4 #include <map>
5 #include <string>
6 
7 using std::map;
8 using std::string;
9 
10 class Function;
11 
13 public:
14  Function*& operator[](const string&);
15  Function* operator[](const string&) const;
16 
17 private:
18  map<string,Function*> funcTable;
19 };
20 
21 #endif
Function *& operator[](const string &)