Home | History | Annotate | Download | only in kati

Lines Matching defs:Func

22 #include "func.h"
203 class Func : public Value {
205 explicit Func(FuncInfo* fi) : fi_(fi) {}
207 ~Func() {
214 LOG("Invoke func %s(%s)", name(), JoinValues(args_, ",").c_str());
216 fi_->func(args_, ev, s);
221 return StringPrintf("Func(%s %s)", fi_->name,
269 Func* f,
303 Value* v = ParseExprImpl(loc, s.substr(i), terms, ParseExprOpt::FUNC, &n,
371 // ${func ...}
376 Func* func = new Func(fi);
377 ParseFunc(loc, func, s, i + 1, terms, index_out);
378 return func;
491 if ((c == '(' || c == '{') && opt == ParseExprOpt::FUNC) {