37 state.
AddIn(edge,
"in1", 0);
38 state.
AddIn(edge,
"in2", 0);
39 state.
AddOut(edge,
"out", 0,
nullptr);
TEST(CLParserTest, ShowIncludes)
void AddRule(std::unique_ptr< const Rule > rule)
An edge in the dependency graph; links between Nodes using Rules.
std::string EvaluateCommand(bool incl_rsp_file=false) const
Expand all variables in a command and return it as a string.
A tokenized string that contains variable references.
void AddSpecial(StringPiece text)
void AddText(StringPiece text)
An invocable build command and associated metadata (description, etc.).
void AddBinding(const std::string &key, const EvalString &val)
Global state (file status) for a single run.
Edge * AddEdge(const Rule *rule)
Node * GetNode(StringPiece path, uint64_t slash_bits)
void AddIn(Edge *edge, StringPiece path, uint64_t slash_bits)
Add input / output / validation nodes to a given edge.
bool AddOut(Edge *edge, StringPiece path, uint64_t slash_bits, std::string *err)