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

Function addArgCallEffect

lib/web/tern/def.js:254–259  ·  view source on GitHub ↗
(type, argNum)

Source from the content-addressed store, hash-verified

252 }
253
254 function addArgCallEffect(type, argNum) {
255 addEffect(type, function(_self, args) {
256 if (args[argNum]) args[argNum].propagate(
257 new infer.IsCallee(infer.cx().topScope, type.args[argNum].args, null, infer.ANull))
258 })
259 }
260
261 function parseType(spec, name, base, forceNew) {
262 var type = new TypeParser(spec, null, base, forceNew).parseType(false, name, true);

Callers 1

addArgCallEffectsFunction · 0.85

Calls 2

addEffectFunction · 0.85
propagateMethod · 0.80

Tested by

no test coverage detected