PorygonLang/src/UserData/UserDataFunctionType.hpp

23 lines
607 B
C++
Raw Normal View History

2019-06-21 15:03:13 +00:00
#ifndef PORYGONLANG_USERDATAFUNCTIONTYPE_HPP
#define PORYGONLANG_USERDATAFUNCTIONTYPE_HPP
#include <utility>
#include "../ScriptType.hpp"
namespace Porygon::UserData{
class UserDataFunctionType : public GenericFunctionScriptType{
public:
UserDataFunctionType(std::shared_ptr<ScriptType> returnType, vector<shared_ptr<ScriptType>> parameterTypes)
: GenericFunctionScriptType(std::move(returnType), std::move(parameterTypes)){
}
const bool IsScriptFunction() const final{
return false;
}
};
}
#endif //PORYGONLANG_USERDATAFUNCTIONTYPE_HPP