Searched refs:funcode (Results 1 – 5 of 5) sorted by relevance
/external/starlark-go/starlark/ |
D | interp.go | 33 if frfn, ok := fr.Callable().(*Function); ok && frfn.funcode == fn.funcode { 39 f := fn.funcode 500 funcode := f.Prog.Functions[arg] 502 n := len(tuple) - len(funcode.Freevars) 506 funcode: funcode,
|
D | value.go | 659 funcode *compile.Funcode member 686 func (fn *Function) Name() string { return fn.funcode.Name } // "lambda" for anonymous fun… 687 func (fn *Function) Doc() string { return fn.funcode.Doc } 688 func (fn *Function) Hash() (uint32, error) { return hashString(fn.funcode.Name), nil } 698 func (fn *Function) Position() syntax.Position { return fn.funcode.Pos } 699 func (fn *Function) NumParams() int { return fn.funcode.NumParams } 700 func (fn *Function) NumKwonlyParams() int { return fn.funcode.NumKwonlyParams } 710 id := fn.funcode.Locals[i] 713 func (fn *Function) HasVarargs() bool { return fn.funcode.HasVarargs } 714 func (fn *Function) HasKwargs() bool { return fn.funcode.HasKwargs }
|
D | profile.go | 390 return uintptr(unsafe.Pointer(fn.funcode))
|
D | eval.go | 188 return c.funcode.Position(fr.pc) 492 funcode: prog.Toplevel, 1434 paramIdents := fn.funcode.Locals[:nparams]
|
/external/starlark-go/internal/compile/ |
D | compile.go | 1841 funcode := fcomp.pcomp.function(f.Name, f.Pos, f.Body, f.Locals, f.FreeVars) 1856 funcode.NumParams = numParams 1857 funcode.NumKwonlyParams = f.NumKwonlyParams 1858 funcode.HasVarargs = f.HasVarargs 1859 funcode.HasKwargs = f.HasKwargs 1860 fcomp.emit1(MAKEFUNC, fcomp.pcomp.functionIndex(funcode))
|