Searched refs:predeclared (Results 1 – 20 of 20) sorted by relevance
/external/starlark-go/internal/compile/ |
D | compile_test.go | 14 predeclared := starlark.StringDict{ 24 _, oldProg, err := starlark.SourceProgram("mul.star", src, predeclared.Has) 40 globals, err := newProg.Init(thread, predeclared) 50 predeclared["n"] = starlark.None 51 _, err = newProg.Init(thread, predeclared)
|
D | codegen_test.go | 29 `constant "ab"; predeclared x; plus; constant "cd"; plus; return`, 40 `predeclared x; plus; ` + 52 `constant 1; maketuple<1>; predeclared x; plus; ` +
|
/external/starlark-go/resolve/testdata/ |
D | resolve.star | 3 # The initial environment contains the predeclared names "M" 27 # Redeclaration of predeclared names is allowed. 29 # This rule permits tool maintainers to add members to the predeclared 32 # module-specific predeclared name 36 # universal predeclared name 41 # A global declaration shadows all references to a predeclared; 48 # reference to predeclared name 330 # Redeclaration of predeclared names is allowed. 332 # module-specific predeclared name 336 # universal predeclared name
|
/external/starlark-go/starlark/ |
D | eval_test.go | 135 predeclared := starlark.StringDict{ 144 _, err := starlark.ExecFile(thread, filename, chunk.Source, predeclared) 616 predeclared := starlark.StringDict{"x": starlark.None} 617 _, prog, err := starlark.SourceProgram("repeat.star", "y = 2 * x", predeclared.Has) 629 predeclared["x"] = test.x // update the values in dictionary 631 if globals, err := prog.Init(thread, predeclared); err != nil { 644 var predeclared starlark.StringDict 646 _, prog, err := starlark.SourceProgram("hello.star", content, predeclared.Has) 785 predeclared := starlark.StringDict{ 792 `, predeclared) [all …]
|
D | eval.go | 332 func ExecFile(thread *Thread, filename string, src interface{}, predeclared StringDict) (StringDict… 334 _, mod, err := SourceProgram(filename, src, predeclared.Has) 339 g, err := mod.Init(thread, predeclared) 408 func (prog *Program) Init(thread *Thread, predeclared StringDict) (StringDict, error) { 409 toplevel := makeToplevelFunction(prog.compiled, predeclared) 427 var predeclared StringDict 431 if err := resolve.REPLChunk(f, globals.Has, predeclared.Has, Universe.Has); err != nil { 448 toplevel := makeToplevelFunction(prog.compiled, predeclared) 469 func makeToplevelFunction(prog *compile.Program, predeclared StringDict) *Function { 495 predeclared: predeclared,
|
D | example_test.go | 49 predeclared := starlark.StringDict{ 55 globals, err := starlark.ExecFile(thread, "apparent/filename.star", data, predeclared)
|
D | interp.go | 600 x := fn.module.predeclared[name]
|
D | value.go | 669 predeclared StringDict member
|
/external/starlark-go/starlarkstruct/ |
D | struct_test.go | 22 predeclared := starlark.StringDict{ 26 if _, err := starlark.ExecFile(thread, filename, nil, predeclared); err != nil {
|
/external/starlark-go/lib/proto/cmd/star2proto/ |
D | star2proto.go | 89 predeclared := starlark.StringDict{ 93 globals, err := starlark.ExecFile(thread, filename, nil, predeclared)
|
/external/starlark-go/starlarktest/ |
D | starlarktest.go | 63 predeclared := starlark.StringDict{ 72 assert, assertErr = starlark.ExecFile(thread, filename, nil, predeclared)
|
/external/starlark-go/resolve/ |
D | resolve.go | 191 predeclared: make(map[string]*Binding), 211 predeclared map[string]*Binding member 414 } else if prev, ok := r.predeclared[id.Name]; ok { 420 r.predeclared[id.Name] = bind // save it 427 r.predeclared[id.Name] = bind // save it
|
/external/bazelbuild-rules_android/rules/android_library/ |
D | rule.bzl | 32 # TODO(b/177261846): resource-related predeclared outputs need to be re-pointed at the
|
/external/deqp-deps/glslang/Test/ |
D | specExamples.frag | 123 in vec4 gl_Color; // predeclared by the fragment language
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/ |
D | specExamples.frag | 123 in vec4 gl_Color; // predeclared by the fragment language
|
/external/starlark-go/doc/ |
D | spec.md | 1177 Many built-in functions are predeclared in the environment 1237 The set of predeclared names includes the universal 1244 Starlark programs cannot change the set of predeclared bindings 1247 Nested beneath the predeclared block is the _module_ block, 3007 The outermost block of the Starlark environment is known as the "predeclared" block. 3016 predeclared block in later versions of the language (or
|
/external/python/cffi/doc/source/ |
D | cdef.rst | 289 (These types are not predeclared at all if you don't call
|
/external/python/cpython3/Doc/extending/ |
D | extending.rst | 196 The choice of which exception to raise is entirely yours. There are predeclared
|
/external/python/cpython2/Doc/extending/ |
D | extending.rst | 191 The choice of which exception to raise is entirely yours. There are predeclared
|
/external/mesa3d/docs/relnotes/ |
D | 19.0.0.rst | 1133 - glsl: prevent qualifiers modification of predeclared variables
|