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

Function getOrSetCacheKey

test/fixtures/snapshot/typescript.js:70327–70333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70325 // The non-null unknown type should never escape control flow analysis.
70326 return resultType === nonNullUnknownType ? unknownType : resultType;
70327 function getOrSetCacheKey() {
70328 if (isKeySet) {
70329 return key;
70330 }
70331 isKeySet = true;
70332 return key = getFlowCacheKey(reference, declaredType, initialType, flowContainer);
70333 }
70334 function getTypeAtFlowNode(flow) {
70335 if (flowDepth === 2000) {
70336 // We have made 2000 recursive invocations. To avoid overflowing the call stack we report an error

Callers 1

getTypeAtFlowLoopLabelFunction · 0.85

Calls 1

getFlowCacheKeyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…