| 5312 | matched in the current top-level parse. */ |
| 5313 | template<typename Context> |
| 5314 | void erase_for_next_parse(Context const & context, std::string_view str) |
| 5315 | { |
| 5316 | auto & pending_ops = |
| 5317 | detail::get_pending_symtab_ops(context, ref()); |
| 5318 | pending_ops.push_back(detail::symbol_table_operation<T>{ |
| 5319 | std::string(str), |
| 5320 | std::nullopt, |
| 5321 | detail::symbol_table_op::erase}); |
| 5322 | } |
| 5323 | |
| 5324 | /** Erases all the entries from the copy of the symbol table inside |
| 5325 | the parse context `context`. */ |
nothing calls this directly
no test coverage detected