| 15 | {"acc", TYPE_ACCENT}}; |
| 16 | |
| 17 | string TeXSymbolParser::getAttr(const char* attr, const XMLElement* e) throw(ex_res_parse) { |
| 18 | const char* x = e->Attribute(attr); |
| 19 | if (x == nullptr || strlen(x) == 0) throw ex_xml_parse(RESOURCE_NAME, e->Name(), attr, "no mapping!"); |
| 20 | return x; |
| 21 | } |
| 22 | |
| 23 | TeXSymbolParser::TeXSymbolParser(const string& file) throw(ex_res_parse) |
| 24 | : _doc(true, COLLAPSE_WHITESPACE) { |
nothing calls this directly
no test coverage detected