| 44 | bool Push(char const * /*element*/) { return true; } |
| 45 | |
| 46 | void Pop(std::string_view element) |
| 47 | { |
| 48 | if (element == "symbol") |
| 49 | { |
| 50 | ASSERT(!m_name.empty(), ()); |
| 51 | ASSERT(m_rect.IsValid(), ()); |
| 52 | ASSERT(m_definitionInserter != nullptr, ()); |
| 53 | m_definitionInserter(m_name, m_rect); |
| 54 | |
| 55 | m_name = ""; |
| 56 | m_rect.MakeEmpty(); |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | void AddAttr(std::string_view attribute, char const * value) |
| 61 | { |