| 5354 | inside the parse context `context`. */ |
| 5355 | template<typename Context> |
| 5356 | void insert(Context const & context, std::string_view str, T && x) const |
| 5357 | { |
| 5358 | auto [trie, has_case_folded] = detail::get_trie(context, ref()); |
| 5359 | if (context.no_case_depth_) { |
| 5360 | trie.insert( |
| 5361 | detail::case_fold_view(str | detail::text::as_utf32), |
| 5362 | std::move(x)); |
| 5363 | } else { |
| 5364 | trie.insert(str | detail::text::as_utf32, std::move(x)); |
| 5365 | } |
| 5366 | } |
| 5367 | |
| 5368 | /** Erases the entry whose UTF-8 match string is `str` from the copy |
| 5369 | of the symbol table inside the parse context `context`. */ |
nothing calls this directly
no test coverage detected