|
Ninja
|
An invokable build command and associated metadata (description, etc.). More...
#include <eval_env.h>
Public Member Functions | |
| void | AddBinding (const std::string &key, const EvalString &val) |
| const EvalString * | GetBinding (const std::string &key) const |
| const std::string & | name () const |
| Rule (const std::string &name) | |
Static Public Member Functions | |
| static bool | IsReservedBinding (const std::string &var) |
Private Types | |
| typedef std::map< std::string, EvalString > | Bindings |
Private Attributes | |
| Bindings | bindings_ |
| std::string | name_ |
Friends | |
| struct | ManifestParser |
An invokable build command and associated metadata (description, etc.).
Definition at line 59 of file eval_env.h.
|
private |
Definition at line 75 of file eval_env.h.
|
inlineexplicit |
Definition at line 60 of file eval_env.h.
| void Rule::AddBinding | ( | const std::string & | key, |
| const EvalString & | val | ||
| ) |
Definition at line 55 of file eval_env.cc.
Referenced by ManifestParser::ParseRule().
| const EvalString * Rule::GetBinding | ( | const std::string & | key | ) | const |
Definition at line 59 of file eval_env.cc.
|
static |
Definition at line 67 of file eval_env.cc.
Referenced by ManifestParser::ParseRule().
|
inline |
Definition at line 62 of file eval_env.h.
References name_.
Referenced by BindingEnv::AddRule(), GraphViz::AddTarget(), Cleaner::DoCleanRule(), FakeCommandRunner::StartCommand(), and FakeCommandRunner::WaitForCommand().
|
friend |
Definition at line 72 of file eval_env.h.
|
private |
Definition at line 76 of file eval_env.h.
Referenced by ManifestParser::ParseRule(), and TEST_F().
|
private |
Definition at line 74 of file eval_env.h.
Referenced by name().
1.8.14