Ninja
Public Member Functions | Public Attributes
EdgeEnv Struct Reference

An Env for an Edge, providing $in and $out. More...

Inheritance diagram for EdgeEnv:
Inheritance graph
[legend]

List of all members.

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.

Public Attributes

Edgeedge_

Detailed Description

An Env for an Edge, providing $in and $out.

Definition at line 224 of file graph.cc.


Constructor & Destructor Documentation

EdgeEnv::EdgeEnv ( Edge edge) [inline, explicit]

Definition at line 225 of file graph.cc.


Member Function Documentation

string EdgeEnv::LookupVariable ( const string &  var) [virtual]
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().


Member Data Documentation

Definition at line 234 of file graph.cc.

Referenced by LookupVariable().


The documentation for this struct was generated from the following file: