Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MEMORIA_h
- #define MEMORIA_h
- #include <iostream>
- #include <utility>
- #include <map>
- #include <string>
- #include "Comando.h"
- using namespace std;
- class Memoria{
- private:
- static map<string,Comando*> *labels;
- static map<string,string> *var;
- public:
- static string getVariavel(string variavel);
- static void setVariavel(string variavel,string valor);
- static Comando* getLabel(string label);
- static void setLabel(string label,Comando *comando);
- };
- #endif
Add Comment
Please, Sign In to add comment