| 5369 | of the symbol table inside the parse context `context`. */ |
| 5370 | template<typename Context> |
| 5371 | void erase(Context const & context, std::string_view str) const |
| 5372 | { |
| 5373 | auto [trie, has_case_folded] = detail::get_trie(context, ref()); |
| 5374 | if (context.no_case_depth_) { |
| 5375 | trie.erase( |
| 5376 | detail::case_fold_view(str | detail::text::as_utf32)); |
| 5377 | } else { |
| 5378 | trie.erase(str | detail::text::as_utf32); |
| 5379 | } |
| 5380 | } |
| 5381 | |
| 5382 | /** Erases the entry whose UTF-8 match string is `str` from the copy |
| 5383 | of the symbol table inside the parse context `context`. */ |
nothing calls this directly
no test coverage detected