| 120 | } |
| 121 | |
| 122 | void DeserializeDoc(std::vector<std::string> &doc, |
| 123 | const Vector<Offset<String>> *documentation) { |
| 124 | if (documentation == nullptr) return; |
| 125 | for (uoffset_t index = 0; index < documentation->size(); index++) |
| 126 | doc.push_back(documentation->Get(index)->str()); |
| 127 | } |
| 128 | |
| 129 | void Parser::Message(const std::string &msg) { |
| 130 | if (!error_.empty()) error_ += "\n"; // log all warnings and errors |
no test coverage detected