Ninja
|
An Env for an Edge, providing $in and $out. More...
Public Types | |
enum | EscapeKind { kShellEscape, kDoNotEscape } |
Public Member Functions | |
EdgeEnv (Edge *edge, EscapeKind escape) | |
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_ |
EscapeKind | escape_in_out_ |
enum EdgeEnv::EscapeKind |
|
inlineexplicit |
|
virtual |
Implements Env.
Definition at line 234 of file graph.cc.
Referenced by Edge::GetBinding(), Edge::GetUnescapedDepfile(), and Edge::GetUnescapedRspfile().
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 252 of file graph.cc.
References GetShellEscapedString(), GetWin32EscapedString(), and Node::path().
EscapeKind EdgeEnv::escape_in_out_ |