|
Ninja
|
An invokable build command and associated metadata (description, etc.). More...
#include <eval_env.h>
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 Types | |
| typedef map< string, EvalString > | Bindings |
Private Attributes | |
| Bindings | bindings_ |
| string | name_ |
Friends | |
| struct | ManifestParser |
An invokable build command and associated metadata (description, etc.).
Definition at line 55 of file eval_env.h.
|
private |
Definition at line 71 of file eval_env.h.
|
inlineexplicit |
Definition at line 56 of file eval_env.h.
| void Rule::AddBinding | ( | const string & | key, |
| const EvalString & | val | ||
| ) |
Definition at line 53 of file eval_env.cc.
References bindings_.
Referenced by ManifestParser::ParseRule().
| const EvalString * Rule::GetBinding | ( | const string & | key | ) | const |
Definition at line 57 of file eval_env.cc.
References bindings_.
Referenced by EdgeEnv::LookupVariable().
|
static |
Definition at line 65 of file eval_env.cc.
Referenced by ManifestParser::ParseRule().
|
inline |
Definition at line 58 of file eval_env.h.
Referenced by BindingEnv::AddRule(), GraphViz::AddTarget(), Cleaner::DoCleanRule(), Edge::Dump(), FakeCommandRunner::StartCommand(), and FakeCommandRunner::WaitForCommand().
|
friend |
Definition at line 68 of file eval_env.h.
|
private |
Definition at line 72 of file eval_env.h.
Referenced by AddBinding(), GetBinding(), ManifestParser::ParseRule(), and TEST_F().
|
private |
Definition at line 70 of file eval_env.h.
1.8.14