MCPcopy
hub / github.com/ternjs/tern / ret

Function ret

lib/infer.js:1382–1388  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1380 }
1381
1382 function ret(f) {
1383 return function(node, scope, out, name) {
1384 var r = f(node, scope, name);
1385 if (out) r.propagate(out);
1386 return r;
1387 };
1388 }
1389 function fill(f) {
1390 return function(node, scope, out, name) {
1391 if (!out) out = new AVal;

Callers 1

infer.jsFile · 0.85

Calls 1

fFunction · 0.50

Tested by

no test coverage detected