Refactor main.cpp functions into separate class
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user