MCPcopy
hub / github.com/DetachHead/basedpyright / forEach

Method forEach

packages/pyright-internal/src/common/uri/uriMap.ts:25–29  ·  view source on GitHub ↗
(callbackfn: (value: T, key: Uri, map: Map<Uri, T>) => void, thisArg?: any)

Source from the content-addressed store, hash-verified

23 this._values.clear();
24 }
25 forEach(callbackfn: (value: T, key: Uri, map: Map<Uri, T>) => void, thisArg?: any): void {
26 this._keys.forEach((v, k) => {
27 callbackfn(this._values.get(k)!, v, this);
28 });
29 }
30 values(): MapIterator<T> {
31 return this._values.values();
32 }

Callers 15

addPythonPathFunction · 0.45
activateFunction · 0.45
setupConnectionMethod · 0.45
runWorkerMessageLoopFunction · 0.45
reportDiagnosticsAsTextFunction · 0.45
clearPartialStubsMethod · 0.45
handleInitializeMethod · 0.45
clearMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected