MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / AddChild

Method AddChild

src/PrefixMatch.cpp:228–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 : matchPolicy(_matchPolicy) {}
227
228 void AddChild(std::unique_ptr<Matcher> child) {
229 children.push_back(std::move(child));
230 }
231
232 Candidate MatchPrefixCandidate(const char* word, size_t len) const override {
233 switch (matchPolicy) {

Callers 1

BuildMatcherFunction · 0.80

Calls 2

moveFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected