| 64 | public: |
| 65 | |
| 66 | void addTag(std::string name, std::string attributes, int pos, int len) { |
| 67 | if (len < 0) { |
| 68 | return; |
| 69 | } |
| 70 | Tag t = {std::move(name), std::move(attributes), pos, len}; |
| 71 | auto it = tags.find(t); |
| 72 | if (it != tags.end() && *it == t) return; //Hapens in macro for example |
| 73 | tags.insert(std::move(t)); |
| 74 | } |
| 75 | void addProject(std::string a, std::string b) { |
| 76 | projects.insert({std::move(a), std::move(b) }); |
| 77 | } |
no outgoing calls
no test coverage detected