Rework of variable scope to reduce load on evaluator
This commit is contained in:
@@ -17,6 +17,7 @@ class BoundScope {
|
||||
unordered_map<int, BoundVariable*>* _tableScope;
|
||||
vector<unordered_map<int, BoundVariable*>*> _localScope;
|
||||
int _currentScope;
|
||||
int _lastCreatedScope;
|
||||
int _deepestScope;
|
||||
public:
|
||||
explicit BoundScope(unordered_map<int, BoundVariable*> *tableScope);
|
||||
|
||||
Reference in New Issue
Block a user