MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / functionScope

Function functionScope

lib/web/tern/infer.js:942–946  ·  view source on GitHub ↗
(scope, arrow)

Source from the content-addressed store, hash-verified

940 });
941
942 function functionScope(scope, arrow) {
943 while (scope.isBlock || scope.isCatch || (arrow === false && scope.fnType && scope.fnType.isArrowFn()))
944 scope = scope.prev
945 return scope
946 }
947
948
949 // RETVAL COMPUTATION HEURISTICS

Callers 4

maybeInstantiateFunction · 0.85
maybeTagAsInstantiatedFunction · 0.85
infer.jsFile · 0.85
getThisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected