Implements complex tables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-06-12 15:19:28 +02:00
parent ba4fe888fa
commit c022c91777
21 changed files with 272 additions and 50 deletions

View File

@@ -14,12 +14,12 @@
using namespace std;
class BoundScope {
unordered_map<int, BoundVariable*>* _scriptScope;
unordered_map<int, BoundVariable*>* _tableScope;
vector<unordered_map<int, BoundVariable*>*> _localScope;
int _currentScope;
int _deepestScope;
public:
explicit BoundScope(unordered_map<int, BoundVariable*> *scriptScope);
explicit BoundScope(unordered_map<int, BoundVariable*> *tableScope);
~BoundScope();
void GoInnerScope();