| 53 | } |
| 54 | |
| 55 | double JsonLoader::Value::number() { |
| 56 | mgb_assert(Type::NUMBER == m_type); |
| 57 | auto t = safe_cast<JsonLoader::NumberValue>(); |
| 58 | return t->value(); |
| 59 | } |
| 60 | |
| 61 | bool JsonLoader::Value::Bool() { |
| 62 | mgb_assert(Type::BOOL == m_type); |
no test coverage detected