MCPcopy Create free account
hub / github.com/bazelbuild/bazel / values0

Method values0

src/main/java/net/starlark/java/eval/Dict.java:390–399  ·  view source on GitHub ↗
(StarlarkThread thread)

Source from the content-addressed store, hash-verified

388 }
389
390 @StarlarkMethod(
391 name = "values",
392 doc =
393 "Returns the list of values:"
394 + "<pre class=\"language-python\">"
395 + "{2: \"a\", 4: \"b\", 1: \"c\"}.values() == [\"a\", \"b\", \"c\"]</pre>\n",
396 useStarlarkThread = true)
397 public StarlarkList<?> values0(StarlarkThread thread) throws EvalException {
398 return StarlarkList.copyOf(thread.mutability(), values());
399 }
400
401 @StarlarkMethod(
402 name = "items",

Callers

nothing calls this directly

Calls 3

copyOfMethod · 0.95
valuesMethod · 0.95
mutabilityMethod · 0.65

Tested by

no test coverage detected