|
Ninja
|
An invocable 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 |
| bool | IsPhony () const |
| const std::string & | name () const |
| Rule (const std::string &name) | |
Static Public Member Functions | |
| static bool | IsReservedBinding (const std::string &var) |
| static std::unique_ptr< Rule > | Phony () |
Private Types | |
| typedef std::map< std::string, EvalString > | Bindings |
Private Attributes | |
| Bindings | bindings_ |
| std::string | name_ |
| bool | phony_ = false |
Friends | |
| struct | ManifestParser |
An invocable build command and associated metadata (description, etc.).
Definition at line 66 of file eval_env.h.
|
private |
Definition at line 86 of file eval_env.h.
|
inlineexplicit |
Definition at line 67 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 MissingDependencyScannerTest::CreateInitialState().
| const EvalString * Rule::GetBinding | ( | const std::string & | key | ) | const |
Definition at line 59 of file eval_env.cc.
| bool Rule::IsPhony | ( | ) | const |
Definition at line 72 of file eval_env.cc.
|
static |
Definition at line 77 of file eval_env.cc.
Referenced by ManifestParser::ParseRule().
|
inline |
Definition at line 73 of file eval_env.h.
References name_.
Referenced by GraphViz::AddTarget(), Cleaner::DoCleanRule(), MissingDependencyPrinter::OnMissingDep(), FakeCommandRunner::StartCommand(), and FakeCommandRunner::WaitForCommand().
|
static |
Definition at line 66 of file eval_env.cc.
Referenced by State::State().
|
friend |
Definition at line 83 of file eval_env.h.
|
private |
Definition at line 87 of file eval_env.h.
|
private |
Definition at line 85 of file eval_env.h.
Referenced by name().
|
private |
Definition at line 88 of file eval_env.h.