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

Function ret

lib/web/tern/infer.js:1358–1364  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1356 }
1357
1358 function ret(f) {
1359 return function(node, scope, out, name) {
1360 var r = f(node, scope, name);
1361 if (out) r.propagate(out);
1362 return r;
1363 };
1364 }
1365 function fill(f) {
1366 return function(node, scope, out, name) {
1367 if (!out) out = new AVal;

Callers 2

infer.jsFile · 0.70
runBoxMethod · 0.50

Calls 2

propagateMethod · 0.80
fFunction · 0.50

Tested by

no test coverage detected