Signed-off-by: Thiago Farina <tfarina@chromium.org>
const EvalString& description() const { return description_; }
const EvalString& depfile() const { return depfile_; }
- // TODO: private:
-
+ private:
// Allow the parsers to reach into this object and fill out its fields.
friend struct ManifestParser;
State state;
Rule* rule = new Rule("cat");
- rule->command_.AddText("cat ");
- rule->command_.AddSpecial("in");
- rule->command_.AddText(" > ");
- rule->command_.AddSpecial("out");
+ rule->command().AddText("cat ");
+ rule->command().AddSpecial("in");
+ rule->command().AddText(" > ");
+ rule->command().AddSpecial("out");
state.AddRule(rule);
Edge* edge = state.AddEdge(rule);