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

Function withDisabledComputing

lib/web/tern/infer.js:357–362  ·  view source on GitHub ↗
(fn, body)

Source from the content-addressed store, hash-verified

355 });
356
357 function withDisabledComputing(fn, body) {
358 cx.disabledComputing = {fn: fn, prev: cx.disabledComputing};
359 var result = body();
360 cx.disabledComputing = cx.disabledComputing.prev;
361 return result;
362 }
363 var IsCallee = exports.IsCallee = constraint({
364 construct: function(self, args, argNodes, retval) {
365 this.self = self; this.args = args; this.argNodes = argNodes; this.retval = retval;

Callers 1

setFunctionInstantiatedFunction · 0.85

Calls 1

bodyFunction · 0.85

Tested by

no test coverage detected