mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Merge pull request #13315 from jordan-woyak/func-exp-cleanup
InputCommon/ExpressionParser: Function argument parsing minor cleanup.
This commit is contained in:
commit
9ff833e2f4
3 changed files with 56 additions and 85 deletions
|
@ -33,14 +33,12 @@ public:
|
|||
int CountNumControls() const override;
|
||||
void UpdateReferences(ControlEnvironment& env) override;
|
||||
|
||||
ArgumentValidation SetArguments(std::vector<std::unique_ptr<Expression>>&& args);
|
||||
void SetArguments(std::vector<std::unique_ptr<Expression>>&& args);
|
||||
virtual ArgumentValidation ValidateArguments() = 0;
|
||||
|
||||
void SetValue(ControlState value) override;
|
||||
|
||||
protected:
|
||||
virtual ArgumentValidation
|
||||
ValidateArguments(const std::vector<std::unique_ptr<Expression>>& args) = 0;
|
||||
|
||||
Expression& GetArg(u32 number);
|
||||
u32 GetArgCount() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue