Searched refs:SourceProgram (Results 1 – 4 of 4) sorted by relevance
/external/starlark-go/internal/compile/ |
D | compile_test.go | 24 _, oldProg, err := starlark.SourceProgram("mul.star", src, predeclared.Has)
|
/external/starlark-go/starlark/ |
D | bench_test.go | 140 _, prog, err = starlark.SourceProgram(filename, src, starlark.StringDict(nil).Has)
|
D | eval_test.go | 617 _, prog, err := starlark.SourceProgram("repeat.star", "y = 2 * x", predeclared.Has) 646 _, prog, err := starlark.SourceProgram("hello.star", content, predeclared.Has)
|
D | eval.go | 334 _, mod, err := SourceProgram(filename, src, predeclared.Has) 353 func SourceProgram(filename string, src interface{}, isPredeclared func(string) bool) (*syntax.File… func
|