MCPcopy Index your code
hub / github.com/bazelbuild/bazel / addIterator

Method addIterator

src/main/java/net/starlark/java/eval/EvalUtils.java:27–31  ·  view source on GitHub ↗
(Object x)

Source from the content-addressed store, hash-verified

25 private EvalUtils() {}
26
27 static void addIterator(Object x) {
28 if (x instanceof Mutability.Freezable) {
29 ((Mutability.Freezable) x).updateIteratorCount(+1);
30 }
31 }
32
33 static void removeIterator(Object x) {
34 if (x instanceof Mutability.Freezable) {

Callers 2

execForMethod · 0.95
execClausesMethod · 0.95

Calls 1

updateIteratorCountMethod · 0.65

Tested by

no test coverage detected