| 395 | } |
| 396 | |
| 397 | void SingleDocParser::ParseTag(std::string& tag) { |
| 398 | Token& token = m_scanner.peek(); |
| 399 | if (!tag.empty()) |
| 400 | throw ParserException(token.mark, ErrorMsg::MULTIPLE_TAGS); |
| 401 | |
| 402 | Tag tagInfo(token); |
| 403 | tag = tagInfo.Translate(m_directives); |
| 404 | m_scanner.pop(); |
| 405 | } |
| 406 | |
| 407 | void SingleDocParser::ParseAnchor(anchor_t& anchor, std::string& anchor_name) { |
| 408 | Token& token = m_scanner.peek(); |
nothing calls this directly
no test coverage detected