Ninja
Public Member Functions | Public Attributes
Rule Struct Reference

An invokable build command and associated metadata (description, etc.). More...

#include <graph.h>

List of all members.

Public Member Functions

bool ParseCommand (const string &command, string *err)
 Rule (const string &name)

Public Attributes

EvalString command_
EvalString depfile_
EvalString description_
bool generator_
string name_
bool restat_

Detailed Description

An invokable build command and associated metadata (description, etc.).

Definition at line 61 of file graph.h.


Constructor & Destructor Documentation

Rule::Rule ( const string &  name) [inline]

Definition at line 62 of file graph.h.


Member Function Documentation

bool Rule::ParseCommand ( const string &  command,
string *  err 
) [inline]

Definition at line 64 of file graph.h.


Member Data Documentation

Definition at line 68 of file graph.h.

Referenced by Edge::EvaluateCommand(), and ManifestParser::ParseRule().

Definition at line 70 of file graph.h.

Referenced by Edge::LoadDepFile(), ManifestParser::ParseRule(), and Edge::RecomputeDirty().

Definition at line 69 of file graph.h.

Referenced by Edge::GetDescription(), and ManifestParser::ParseRule().

Definition at line 71 of file graph.h.

Referenced by ManifestParser::ParseRule(), and Edge::RecomputeOutputDirty().

string Rule::name_

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