| 297 | } |
| 298 | |
| 299 | void TextParser::prependError(std::string_view errorMessage) { |
| 300 | SC_ASSERT(hasError()); |
| 301 | _error->error = _error->error.rethrow(StringCache::getGlobal().makeString(errorMessage)); |
| 302 | } |
| 303 | |
| 304 | Error TextParser::makeParseError(std::string_view str, std::string_view sourceErrorMessage, size_t position) { |
| 305 | SC_ASSERT(position <= str.size()); |
no test coverage detected