This commit is contained in:
Leonetienne
2021-06-02 18:36:12 +02:00
parent 131520e1ef
commit a2de37264a
14 changed files with 309 additions and 66 deletions

View File

@@ -60,3 +60,35 @@ ListValue::operator std::vector<Value*>() const
{
return value;
}
long long int ListValue::GetInt64() const
{
throw std::bad_cast();
}
int ListValue::GetInt32() const
{
throw std::bad_cast();
}
long double ListValue::GetFloat64() const
{
throw std::bad_cast();
}
double ListValue::GetFloat32() const
{
throw std::bad_cast();
}
std::string ListValue::GetString() const
{
throw std::bad_cast();
}
const std::vector<Value*>& ListValue::GetList() const
{
return value;
}