Ninja
|
An invokable build command and associated metadata (description, etc.). More...
#include <graph.h>
Public Types | |
typedef map< string, EvalString > | Bindings |
Public Member Functions | |
void | AddBinding (const string &key, const EvalString &val) |
const EvalString * | GetBinding (const string &key) const |
const string & | name () const |
Rule (const string &name) | |
Static Public Member Functions | |
static bool | IsReservedBinding (const string &var) |
Private Attributes | |
map< string, EvalString > | bindings_ |
string | name_ |
Friends | |
struct | ManifestParser |
An invokable build command and associated metadata (description, etc.).
typedef map<string, EvalString> Rule::Bindings |
void Rule::AddBinding | ( | const string & | key, |
const EvalString & | val | ||
) |
Definition at line 36 of file graph.cc.
References bindings_.
Referenced by ManifestParser::ParseRule().
const EvalString * Rule::GetBinding | ( | const string & | key | ) | const |
Definition at line 40 of file graph.cc.
References bindings_.
Referenced by EdgeEnv::LookupVariable().
|
static |
Definition at line 48 of file graph.cc.
Referenced by ManifestParser::ParseRule().
|
inline |
Definition at line 119 of file graph.h.
Referenced by State::AddRule(), GraphViz::AddTarget(), Cleaner::DoCleanRule(), Edge::Dump(), FakeCommandRunner::StartCommand(), and FakeCommandRunner::WaitForCommand().
|
friend |
|
private |
Definition at line 133 of file graph.h.
Referenced by AddBinding(), GetBinding(), and ManifestParser::ParseRule().