| 158 | LeafMatcher() {} |
| 159 | |
| 160 | void AddDict(const DictPtr& dict) { |
| 161 | const LexiconPtr lexicon = dict->GetLexicon(); |
| 162 | for (const std::unique_ptr<DictEntry>& item : *lexicon) { |
| 163 | AddEntry(item->Key(), item->GetDefault()); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | Candidate MatchPrefixCandidate(const char* word, size_t len) const override { |
| 168 | const Node* node = &root; |
no test coverage detected