Searched refs:StringDict (Results 1 – 16 of 16) sorted by relevance
/external/starlark-go/starlark/ |
D | example_test.go | 49 predeclared := starlark.StringDict{ 89 globals starlark.StringDict 95 var load func(_ *starlark.Thread, module string) (starlark.StringDict, error) 96 load = func(_ *starlark.Thread, module string) (starlark.StringDict, error) { 224 globals starlark.StringDict 229 func (c *cache) Load(module string) (starlark.StringDict, error) { 234 func (c *cache) get(cc *cycleChecker, module string) (starlark.StringDict, error) { 266 func (c *cache) doLoad(cc *cycleChecker, module string) (starlark.StringDict, error) { 270 Load: func(_ *starlark.Thread, module string) (starlark.StringDict, error) {
|
D | eval.go | 48 Load func(thread *Thread, module string) (StringDict, error) 138 type StringDict map[string]Value type 141 func (d StringDict) Keys() []string { 150 func (d StringDict) String() string { 165 func (d StringDict) Freeze() { 172 func (d StringDict) Has(key string) bool { _, ok := d[key]; return ok } 332 func ExecFile(thread *Thread, filename string, src interface{}, predeclared StringDict) (StringDict… argument 408 func (prog *Program) Init(thread *Thread, predeclared StringDict) (StringDict, error) { 426 func ExecREPLChunk(f *syntax.File, thread *Thread, globals StringDict) error { argument 427 var predeclared StringDict [all …]
|
D | eval_test.go | 135 predeclared := starlark.StringDict{ 189 func load(thread *starlark.Thread, module string) (starlark.StringDict, error) { 194 return starlark.StringDict{"json": starlarkjson.Module}, nil 214 attrs starlark.StringDict 550 globals := starlark.StringDict{"i": starlark.MakeInt(i)} 573 thread.Load = func(t *starlark.Thread, module string) (starlark.StringDict, error) { 616 predeclared := starlark.StringDict{"x": starlark.None} 644 var predeclared starlark.StringDict 785 predeclared := starlark.StringDict{ 842 globals := make(starlark.StringDict) [all …]
|
D | bench_test.go | 140 _, prog, err = starlark.SourceProgram(filename, src, starlark.StringDict(nil).Has)
|
D | value.go | 669 predeclared StringDict 676 func (m *module) makeGlobalDict() StringDict { 677 r := make(StringDict, len(m.program.Globals)) 696 func (fn *Function) Globals() StringDict { return fn.module.makeGlobalDict() }
|
D | library.go | 34 var Universe StringDict 38 Universe = StringDict{
|
/external/starlark-go/repl/ |
D | repl.go | 37 func REPL(thread *starlark.Thread, globals starlark.StringDict) { argument 63 func rep(rl *readline.Instance, thread *starlark.Thread, globals starlark.StringDict) error { argument 156 func MakeLoad() func(thread *starlark.Thread, module string) (starlark.StringDict, error) { 158 globals starlark.StringDict 164 return func(thread *starlark.Thread, module string) (starlark.StringDict, error) {
|
/external/starlark-go/starlarktest/ |
D | starlarktest.go | 55 assert starlark.StringDict 61 func LoadAssertModule() (starlark.StringDict, error) { 63 predeclared := starlark.StringDict{
|
/external/starlark-go/starlarkstruct/ |
D | module.go | 16 Members starlark.StringDict 37 members := make(starlark.StringDict, len(kwargs))
|
D | struct_test.go | 22 predeclared := starlark.StringDict{ 35 func load(thread *starlark.Thread, module string) (starlark.StringDict, error) {
|
D | struct.go | 71 func FromStringDict(constructor starlark.Value, d starlark.StringDict) *Struct { argument 127 func (s *Struct) ToStringDict(d starlark.StringDict) { 195 z := make(starlark.StringDict, x.len()+y.len())
|
/external/starlark-go/internal/compile/ |
D | compile_test.go | 14 predeclared := starlark.StringDict{
|
/external/starlark-go/cmd/starlark/ |
D | starlark.go | 89 globals := make(starlark.StringDict)
|
/external/starlark-go/lib/proto/cmd/star2proto/ |
D | star2proto.go | 89 predeclared := starlark.StringDict{
|
/external/starlark-go/starlarkjson/ |
D | json.go | 75 Members: starlark.StringDict{
|
/external/starlark-go/lib/proto/ |
D | proto.go | 143 Members: starlark.StringDict{
|