MCPcopy Index your code
hub / github.com/nodejs/node / next

Method next

lib/internal/source_map/source_map_cache_map.js:100–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 const iterator = this.#weakModuleMap.entries();
99
100 const next = () => {
101 const result = iterator.next();
102 if (result.done) return result;
103 const { 0: key, 1: weakRef } = result.value;
104 const moduleInstance = weakRef.deref();
105 if (moduleInstance == null) return next();
106 const value = moduleInstance[source_map_data_private_symbol];
107 return { done: false, value: [key, value] };
108 };
109
110 return {
111 [SymbolIterator]() { return this; },

Callers

nothing calls this directly

Calls 2

nextMethod · 0.65
nextFunction · 0.50

Tested by

no test coverage detected