23 lines
607 B
C++
23 lines
607 B
C++
|
#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
|