Add base for menu eventhandlerset parsing

This commit is contained in:
Jan
2021-11-06 16:28:24 +01:00
parent b15efd4a4c
commit bf19208351
19 changed files with 334 additions and 46 deletions

View File

@ -0,0 +1,17 @@
#include "CommonEventHandlerSetLocalVar.h"
using namespace menu;
CommonEventHandlerSetLocalVar::CommonEventHandlerSetLocalVar()
= default;
CommonEventHandlerSetLocalVar::CommonEventHandlerSetLocalVar(std::string varName, std::unique_ptr<ICommonExpression> value)
: m_var_name(std::move(varName)),
m_value(std::move(value))
{
}
CommonEventHandlerElementType CommonEventHandlerSetLocalVar::GetType()
{
return CommonEventHandlerElementType::SET_LOCAL_VAR;
}