Large overhaul of pointers to shared_ptrs, implemented function evaluation
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include "BoundVariable.hpp"
|
||||
#include "BoundVariableKey.hpp"
|
||||
#include "VariableAssigmentResult.hpp"
|
||||
@@ -26,8 +27,8 @@ public:
|
||||
|
||||
int Exists(int key);
|
||||
BoundVariable* GetVariable(int scope, int identifier);
|
||||
VariableAssignment CreateExplicitLocal(int identifier, const ScriptType& type);
|
||||
VariableAssignment AssignVariable(int identifier, const ScriptType& type);
|
||||
VariableAssignment CreateExplicitLocal(int identifier, std::shared_ptr<ScriptType> type);
|
||||
VariableAssignment AssignVariable(int identifier, const std::shared_ptr<ScriptType>& type);
|
||||
|
||||
int GetDeepestScope(){
|
||||
return _deepestScope;
|
||||
|
||||
Reference in New Issue
Block a user