Refactor main.cpp functions into separate class

This commit is contained in:
2020-05-22 20:33:17 +02:00
parent 057a9411e6
commit e7a5cfa327
13 changed files with 252 additions and 185 deletions

View File

@@ -12,5 +12,10 @@ namespace Interpret
std::vector<std::unique_ptr<Statement>> statements;
std::unordered_map<std::string, unsigned> labelStatementIndice;
std::unordered_map<std::string, int> declarations;
Code() = default;
~Code() = default;
Code(const Code&) = delete;
Code& operator=(const Code&) = delete;
};
}