Ninja
|
An Env for an Edge, providing $in and $out. More...
Public Member Functions | |
EdgeEnv (Edge *edge) | |
virtual string | LookupVariable (const string &var) |
string | MakePathList (vector< Node * >::iterator begin, vector< Node * >::iterator end, char sep) |
Given a span of Nodes, construct a list of paths suitable for a command line. More... | |
Public Attributes | |
Edge * | edge_ |
|
virtual |
Implements Env.
Definition at line 237 of file graph.cc.
References edge_, Edge::env_, Rule::GetBinding(), Edge::implicit_deps_, Edge::inputs_, BindingEnv::LookupWithFallback(), MakePathList(), Edge::order_only_deps_, Edge::outputs_, and Edge::rule_.
Referenced by Edge::GetBinding().
string EdgeEnv::MakePathList | ( | vector< Node * >::iterator | begin, |
vector< Node * >::iterator | end, | ||
char | sep | ||
) |
Given a span of Nodes, construct a list of paths suitable for a command line.
Definition at line 255 of file graph.cc.
Referenced by LookupVariable().
Edge* EdgeEnv::edge_ |
Definition at line 234 of file graph.cc.
Referenced by LookupVariable().