Home
last modified time | relevance | path

Searched refs:SourceProgram (Results 1 – 4 of 4) sorted by relevance

/external/starlark-go/internal/compile/
Dcompile_test.go24 _, oldProg, err := starlark.SourceProgram("mul.star", src, predeclared.Has)
/external/starlark-go/starlark/
Dbench_test.go140 _, prog, err = starlark.SourceProgram(filename, src, starlark.StringDict(nil).Has)
Deval_test.go617 _, prog, err := starlark.SourceProgram("repeat.star", "y = 2 * x", predeclared.Has)
646 _, prog, err := starlark.SourceProgram("hello.star", content, predeclared.Has)
Deval.go334 _, mod, err := SourceProgram(filename, src, predeclared.Has)
353 func SourceProgram(filename string, src interface{}, isPredeclared func(string) bool) (*syntax.File… func