Merge pull request #13314 from jordan-woyak/input-expressions-assignment-op-fix

InputCommon: Fix input expression assignment operator behavior.
This commit is contained in:
Admiral H. Curtiss 2025-02-02 17:22:25 +01:00 committed by GitHub
commit 04775b6ef8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 113 additions and 97 deletions

View file

@ -170,10 +170,13 @@ class Expression
{
public:
virtual ~Expression() = default;
virtual ControlState GetValue() const = 0;
virtual ControlState GetValue() = 0;
virtual void SetValue(ControlState state) = 0;
virtual int CountNumControls() const = 0;
virtual void UpdateReferences(ControlEnvironment& finder) = 0;
// Perform any side effects and return Expression to be SetValue'd.
virtual Expression* GetLValue();
};
class ParseResult