Lines Matching refs:Node
23 std::string PrefixFinder::Node::ToString() const {
29 PrefixFinder::Node* PrefixFinder::Node::AddChild(std::string name) {
33 PrefixFinder::Node* PrefixFinder::Node::MaybeChild(const std::string& name) {
40 Node* cur = &root_;
43 Node* next = cur->MaybeChild(it->first);
95 PrefixFinder::Node* PrefixFinder::GetPrefix(std::string path) {
100 Node* cur = &root_;
103 Node* next = cur->MaybeChild(token);