15 #ifndef NINJA_COMMAND_COLLECTOR_H_
16 #define NINJA_COMMAND_COLLECTOR_H_
19 #include <unordered_set>
Collects the transitive set of edges that lead into a given set of starting nodes.
std::unordered_set< const Node * > visited_nodes_
std::vector< Edge * > in_edges
we use a vector to preserve order from requisites to their dependents.
void CollectFrom(const Node *node)
std::unordered_set< Edge * > visited_edges_
An edge in the dependency graph; links between Nodes using Rules.
std::vector< Node * > inputs_
Information about a node in the dependency graph: the file, whether it's dirty, mtime,...