Ninja
Public Member Functions | Public Attributes | List of all members
EdgeEnv Struct Reference

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

Inheritance diagram for EdgeEnv:
Inheritance graph
[legend]

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

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)
inlineexplicit

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

Edge* EdgeEnv::edge_

Definition at line 234 of file graph.cc.

Referenced by LookupVariable().


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