Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 15 of 15) sorted by relevance

/build/kati/
Deval.cc101 void Evaluator::EvalAssign(const AssignStmt* stmt) { in EvalAssign() argument
102 loc_ = stmt->loc(); in EvalAssign()
104 Symbol lhs = stmt->GetLhsSymbol(this); in EvalAssign()
110 stmt->rhs->Eval(this, &rhs); in EvalAssign()
121 Var* rhs = EvalRHS(lhs, stmt->rhs, stmt->orig_rhs, stmt->op, in EvalAssign()
122 stmt->directive == AssignDirective::OVERRIDE); in EvalAssign()
126 stmt->directive == AssignDirective::OVERRIDE, in EvalAssign()
134 void Evaluator::EvalRule(const RuleStmt* stmt) { in EvalRule() argument
135 loc_ = stmt->loc(); in EvalRule()
138 const string&& expr = stmt->expr->Eval(this); in EvalRule()
[all …]
Dparser.cc39 IfStmt* stmt; member
147 ParseErrorStmt* stmt = new ParseErrorStmt(); in Error() local
148 stmt->set_loc(loc_); in Error()
149 stmt->msg = msg; in Error()
150 out_stmts_->push_back(stmt); in Error()
151 parse_errors.push_back(stmt); in Error()
174 CommandStmt* stmt = new CommandStmt(); in ParseLine() local
175 stmt->set_loc(loc_); in ParseLine()
176 stmt->expr = ParseExpr(line.substr(1), ParseExprOpt::COMMAND); in ParseLine()
177 stmt->orig = line; in ParseLine()
[all …]
Deval.h39 void EvalAssign(const AssignStmt* stmt);
40 void EvalRule(const RuleStmt* stmt);
41 void EvalCommand(const CommandStmt* stmt);
42 void EvalIf(const IfStmt* stmt);
43 void EvalInclude(const IncludeStmt* stmt);
44 void EvalExport(const ExportStmt* stmt);
Dmain.cc151 for (Stmt* stmt : bootstrap_asts) { in Run()
152 LOG("%s", stmt->DebugString().c_str()); in Run()
153 stmt->Eval(ev); in Run()
169 for (Stmt* stmt : mk->stmts()) { in Run()
170 LOG("%s", stmt->DebugString().c_str()); in Run()
171 stmt->Eval(ev); in Run()
213 for (Stmt* stmt : bootstrap_asts) in Run()
214 delete stmt; in Run()
Dfile.cc60 for (Stmt* stmt : stmts_) in ~Makefile()
61 delete stmt; in ~Makefile()
Deval.go381 for _, stmt := range mk.stmts {
382 err = ev.eval(stmt)
476 for _, stmt := range mk.stmts {
477 err = ev.eval(stmt)
592 for _, stmt := range stmts {
593 err := ev.eval(stmt)
672 func (ev *Evaluator) eval(stmt ast) error {
673 return stmt.eval(ev)
692 for _, stmt := range mk.stmts {
693 err = ev.eval(stmt)
Ddepgraph.go150 for _, stmt := range mk.stmts {
151 stmt.show()
DAndroid.bp58 "stmt.cc",
DMakefile.ckati45 stmt.cc \
Dparser.go83 func (p *parser) addStatement(stmt ast) {
84 *p.outStmts = append(*p.outStmts, stmt)
85 switch stmt.(type) {
Dfunc.cc474 for (Stmt* stmt : stmts) { in EvalFunc()
475 LOG("%s", stmt->DebugString().c_str()); in EvalFunc()
476 stmt->Eval(ev); in EvalFunc()
Dfunc.go1118 for _, stmt := range mk.stmts {
1119 err = ev.eval(stmt)
DINTERNALS.md119 Data structures for them are defined in *stmt.h*. Here are examples of these
/build/soong/cc/
Dpylintrc195 single-line-if-stmt=no
/build/make/tools/releasetools/
Dpylintrc262 single-line-if-stmt=no