| 358 | } |
| 359 | |
| 360 | inline const char* as_c_string() const { |
| 361 | if (mType != STRING) |
| 362 | throw DukException() << "Expected string, got " << type_name(); |
| 363 | return mString.data(); |
| 364 | } |
| 365 | |
| 366 | inline Type type() const { |
| 367 | return mType; |
nothing calls this directly
no test coverage detected