Handle bound classes as constants during evaluation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,9 +13,9 @@ public:
|
||||
explicit EvaluationScope(unordered_map<size_t, shared_ptr<EvalValue>>* scriptVariables, int deepestScope);
|
||||
~EvaluationScope() = default;
|
||||
|
||||
void CreateVariable(BoundVariableKey* key, const shared_ptr<EvalValue>& value);
|
||||
void SetVariable(BoundVariableKey* key, const shared_ptr<EvalValue>& value);
|
||||
shared_ptr<EvalValue> GetVariable(BoundVariableKey* key);
|
||||
void CreateVariable(const BoundVariableKey* key, const shared_ptr<EvalValue>& value);
|
||||
void SetVariable(const BoundVariableKey* key, const shared_ptr<EvalValue>& value);
|
||||
shared_ptr<EvalValue> GetVariable(const BoundVariableKey* key);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user