+public:
+ Analyzer(Builder &);
+
+ void set_mode(Mode m) { mode = m; }
+ void set_max_depth(unsigned m) { max_depth = m; }
+ void set_full_paths(bool f) { full_paths = f; }
+
+ /// Performs the analysis and prints out the resulting dependency tree.
+ void analyze();
+
+private:
+ /** Adds rows for a target, then recursively adds rows for dependencies as
+ needed. */