Lines Matching refs:Node
49 class Node {
52 Node(std::string name) : Node(std::move(name), nullptr) {}
53 Node(std::string name, Node* parent)
56 Node(const Node& that) = delete;
57 Node& operator=(const Node&) = delete;
64 // Add a new child to this node.
65 Node* AddChild(std::string name);
67 // Get existing child for this node. Return nullptr if it
69 Node* MaybeChild(const std::string& name);
72 const Node* parent_;
73 base::LookupSet<Node, const std::string, &Node::name_> children_;
87 Node* GetPrefix(std::string path);
100 Node root_{"", nullptr};