upd: tools almost done

This commit is contained in:
2023-11-09 10:59:39 +08:00
parent b737eb8e7d
commit 6d6b1b9a02
5 changed files with 89 additions and 17 deletions

View File

@ -8,20 +8,4 @@
#include <vector>
#include "utils.h"
class FucntionContainer {
struct FunctionItem {
;
};
};
class VariableContainer {
std::unordered_map<std::string, std::any> GlobalScope;
std::stack<std::unordered_map<std::string, std::any>> StackScopes;
public:
void CreateFrame();
void DestroyFrame();
std::any ReadVariable(const std::string &name);
void WriteVariable(const std::string &name, const std::any &value);
};
#endif