Home
last modified time | relevance | path

Searched refs:Evaluator (Results 1 – 25 of 27) sorted by relevance

12

/build/kati/
Dstmt.h27 class Evaluator; variable
58 virtual void Eval(Evaluator* ev) const = 0;
77 virtual void Eval(Evaluator* ev) const;
94 virtual void Eval(Evaluator* ev) const;
98 Symbol GetLhsSymbol(Evaluator* ev) const;
110 virtual void Eval(Evaluator* ev) const;
124 virtual void Eval(Evaluator* ev) const;
135 virtual void Eval(Evaluator* ev) const;
146 virtual void Eval(Evaluator* ev) const;
156 virtual void Eval(Evaluator* ev) const;
Deval.cc33 Evaluator::Evaluator() in Evaluator() function in Evaluator
40 Evaluator::~Evaluator() { in ~Evaluator()
47 Var* Evaluator::EvalRHS(Symbol lhs, Value* rhs_v, StringPiece orig_rhs, in EvalRHS()
95 void Evaluator::EvalAssign(const AssignStmt* stmt) { in EvalAssign()
107 void Evaluator::EvalRule(const RuleStmt* stmt) { in EvalRule()
165 void Evaluator::EvalCommand(const CommandStmt* stmt) { in EvalCommand()
182 void Evaluator::EvalIf(const IfStmt* stmt) { in EvalIf()
223 void Evaluator::DoInclude(const string& fname) { in DoInclude()
235 void Evaluator::EvalInclude(const IncludeStmt* stmt) { in EvalInclude()
262 void Evaluator::EvalExport(const ExportStmt* stmt) { in EvalExport()
[all …]
Dvar.go27 Append(*Evaluator, string) (Var, error) argument
28 AppendVar(*Evaluator, Value) (Var, error) argument
39 func (v *targetSpecificVar) Append(ev *Evaluator, s string) (Var, error) {
49 func (v *targetSpecificVar) AppendVar(ev *Evaluator, v2 Value) (Var, error) {
74 func (v *targetSpecificVar) Eval(w evalWriter, ev *Evaluator) error {
103 func (v *simpleVar) Eval(w evalWriter, ev *Evaluator) error {
130 func (v *simpleVar) Append(ev *Evaluator, s string) (Var, error) {
145 func (v *simpleVar) AppendVar(ev *Evaluator, val Value) (Var, error) {
165 func (v *automaticVar) Eval(w evalWriter, ev *Evaluator) error {
176 func (v *automaticVar) Append(ev *Evaluator, s string) (Var, error) {
[all …]
Dfunc.cc97 void PatsubstFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in PatsubstFunc()
109 void StripFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in StripFunc()
117 void SubstFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in SubstFunc()
138 void FindstringFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in FindstringFunc()
145 void FilterFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in FilterFunc()
163 void FilterOutFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in FilterOutFunc()
184 void SortFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in SortFunc()
213 void WordFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in WordFunc()
235 void WordlistFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in WordlistFunc()
268 void WordsFunc(const vector<Value*>& args, Evaluator* ev, string* s) { in WordsFunc()
[all …]
Dast.go24 eval(*Evaluator) error argument
36 func (ast *assignAST) eval(ev *Evaluator) error {
40 func (ast *assignAST) evalRHS(ev *Evaluator, lhs string) (Var, error) {
98 func (ast *maybeRuleAST) eval(ev *Evaluator) error {
111 func (ast *commandAST) eval(ev *Evaluator) error {
125 func (ast *includeAST) eval(ev *Evaluator) error {
142 func (ast *ifAST) eval(ev *Evaluator) error {
158 func (ast *exportAST) eval(ev *Evaluator) error {
172 func (ast *vpathAST) eval(ev *Evaluator) error {
Dcommand.cc40 virtual void AppendVar(Evaluator*, Value*) override { CHECK(false); } in AppendVar() argument
65 virtual void Eval(Evaluator* ev, string* s) const override; \
81 virtual void Eval(Evaluator* ev, string* s) const override;
92 virtual void Eval(Evaluator* ev, string* s) const override;
98 void AutoAtVar::Eval(Evaluator*, string* s) const { in Eval() argument
102 void AutoLessVar::Eval(Evaluator*, string* s) const { in Eval() argument
108 void AutoHatVar::Eval(Evaluator*, string* s) const { in Eval() argument
117 void AutoPlusVar::Eval(Evaluator*, string* s) const { in Eval() argument
124 void AutoStarVar::Eval(Evaluator*, string* s) const { in Eval() argument
132 void AutoNotImplementedVar::Eval(Evaluator* ev, string*) const { in Eval()
[all …]
Dstmt.cc58 Symbol AssignStmt::GetLhsSymbol(Evaluator* ev) const { in GetLhsSymbol()
116 void RuleStmt::Eval(Evaluator* ev) const { in Eval()
125 void AssignStmt::Eval(Evaluator* ev) const { in Eval()
133 void CommandStmt::Eval(Evaluator* ev) const { in Eval()
142 void IfStmt::Eval(Evaluator* ev) const { in Eval()
150 void IncludeStmt::Eval(Evaluator* ev) const { in Eval()
158 void ExportStmt::Eval(Evaluator* ev) const { in Eval()
165 void ParseErrorStmt::Eval(Evaluator* ev) const { in Eval()
Dvar.h29 class Evaluator; variable
53 virtual void AppendVar(Evaluator* ev, Value* v);
75 virtual void Eval(Evaluator* ev, string* s) const override;
77 virtual void AppendVar(Evaluator* ev, Value* v) override;
101 virtual void Eval(Evaluator* ev, string* s) const override;
103 virtual void AppendVar(Evaluator* ev, Value* v) override;
127 virtual void Eval(Evaluator* ev, string* s) const override;
153 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
156 virtual void AppendVar(Evaluator* ev, Value* v) override { in AppendVar()
Dvar.cc46 void Var::AppendVar(Evaluator*, Value*) { in AppendVar() argument
58 void SimpleVar::Eval(Evaluator*, string* s) const { in Eval() argument
62 void SimpleVar::AppendVar(Evaluator* ev, Value* v) { in AppendVar()
81 void RecursiveVar::Eval(Evaluator* ev, string* s) const { in Eval()
85 void RecursiveVar::AppendVar(Evaluator*, Value* v) { in AppendVar() argument
99 void UndefinedVar::Eval(Evaluator*, string*) const { in Eval() argument
Dfunc.go172 func (f *funcSubst) Eval(w evalWriter, ev *Evaluator) error {
201 func (f *funcPatsubst) Eval(w evalWriter, ev *Evaluator) error {
238 func (f *funcStrip) Eval(w evalWriter, ev *Evaluator) error {
260 func (f *funcFindstring) Eval(w evalWriter, ev *Evaluator) error {
284 func (f *funcFilter) Eval(w evalWriter, ev *Evaluator) error {
316 func (f *funcFilterOut) Eval(w evalWriter, ev *Evaluator) error {
350 func (f *funcSort) Eval(w evalWriter, ev *Evaluator) error {
384 func (f *funcWord) Eval(w evalWriter, ev *Evaluator) error {
420 func (f *funcWordlist) Eval(w evalWriter, ev *Evaluator) error {
464 func (f *funcWords) Eval(w evalWriter, ev *Evaluator) error {
[all …]
Dcommand.h25 class Evaluator; variable
39 explicit CommandEvaluator(Evaluator* ev);
44 Evaluator* ev_;
Deval.go152 type Evaluator struct { struct
174 func NewEvaluator(vars map[string]Var) *Evaluator {
175 return &Evaluator{
183 func (ev *Evaluator) args(buf *evalBuffer, args ...Value) ([][]byte, error) { argument
203 func (ev *Evaluator) evalAssign(ast *assignAST) error { argument
219 func (ev *Evaluator) evalAssignAST(ast *assignAST) (string, Var, error) { argument
244 func (ev *Evaluator) setTargetSpecificVar(assign *assignAST, output string) error { argument
263 func (ev *Evaluator) evalMaybeRule(ast *maybeRuleAST) error { argument
369 func (ev *Evaluator) evalCommand(ast *commandAST) error { argument
403 func (ev *Evaluator) paramVar(name string) (Var, error) { argument
[all …]
Devalcmd.go30 ev *Evaluator
86 func (v autoVar) Append(*Evaluator, string) (Var, error) {
89 func (v autoVar) AppendVar(*Evaluator, Value) (Var, error) {
101 func (v autoAtVar) Eval(w evalWriter, ev *Evaluator) error {
109 func (v autoLessVar) Eval(w evalWriter, ev *Evaluator) error {
122 func (v autoHatVar) Eval(w evalWriter, ev *Evaluator) error {
132 func (v autoPlusVar) Eval(w evalWriter, ev *Evaluator) error {
140 func (v autoStarVar) Eval(w evalWriter, ev *Evaluator) error {
235 func (r runner) eval(ev *Evaluator, s string) ([]runner, error) {
Dexpr.h25 class Evaluator; variable
30 virtual void Eval(Evaluator* ev, string* s) const = 0;
31 string Eval(Evaluator*) const;
Dexec.h23 class Evaluator; variable
25 void Exec(const vector<DepNode*>& roots, Evaluator* ev);
Dninja.h28 class Evaluator; variable
31 Evaluator* ev,
Deval.h34 class Evaluator {
36 Evaluator();
37 ~Evaluator();
Ddep.h26 class Evaluator; variable
55 void MakeDep(Evaluator* ev,
Dexpr.go46 Eval(w evalWriter, ev *Evaluator) error argument
55 func (s literal) Eval(w evalWriter, ev *Evaluator) error { argument
71 func (t tmpval) Eval(w evalWriter, ev *Evaluator) error { argument
95 func (e expr) Eval(w evalWriter, ev *Evaluator) error { argument
156 func (v *varref) Eval(w evalWriter, ev *Evaluator) error {
193 func (p paramref) Eval(w evalWriter, ev *Evaluator) error { argument
237 func (v varsubst) Eval(w evalWriter, ev *Evaluator) error {
686 func (f funcstats) Eval(w evalWriter, ev *Evaluator) error {
699 func (m matcherValue) Eval(w evalWriter, ev *Evaluator) error {
Dexpr.cc34 string Evaluable::Eval(Evaluator* ev) const { in Eval()
61 virtual void Eval(Evaluator*, string* s) const override { in Eval() argument
92 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
135 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
157 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
184 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
224 virtual void Eval(Evaluator* ev, string* s) const override { in Eval()
Dexec.cc46 explicit Executor(Evaluator* ev) in Executor()
143 void Exec(const vector<DepNode*>& roots, Evaluator* ev) { in Exec()
Dfunc.h28 void (*func)(const vector<Value*>& args, Evaluator* ev, string* s);
Dmain.cc146 Evaluator* ev = new Evaluator(); in Run()
Dninja.cc179 NinjaGenerator(Evaluator* ev, double start_time) in NinjaGenerator()
704 DumpInt(fp, Evaluator::used_undefined_vars().size()); in GenerateStamp()
705 for (Symbol v : Evaluator::used_undefined_vars()) { in GenerateStamp()
772 Evaluator* ev_;
800 Evaluator* ev, in GenerateNinja()
Ddep.cc237 DepBuilder(Evaluator* ev, in DepBuilder()
638 Evaluator* ev_;
654 void MakeDep(Evaluator* ev, in MakeDep()

12