InputCommon: Fix input expression assignment operator behavior.

This commit is contained in:
Jordan Woyak
2024-11-07 11:51:11 -06:00
parent 3f79aa23b4
commit c9ad5430d0
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