MCPcopy Index your code
hub / github.com/witheve/Eve / accept

Function accept

src/runtime/join.ts:420–428  ·  view source on GitHub ↗
(tripleIndex, prefix, solvingFor, force?)

Source from the content-addressed store, hash-verified

418 // if their args aren't fully resolved yet (we can't compute yet!) or if their
419 // returns aren't fully resolved (what would we check against?)
420 accept(tripleIndex, prefix, solvingFor, force?) {
421 if(!force &&
422 !this.vars[solvingFor.id]
423 || !fullyResolved(this.args, prefix)
424 || !fullyResolved(this.returns, prefix)) return true;
425
426 // otherwise we leave it to the constraint to implement an acceptance test
427 return this.test(prefix);
428 }
429
430 // Given a variable to solve for and a prefix of solved variables, return
431 // a proposal for that variable

Callers

nothing calls this directly

Calls 2

fullyResolvedFunction · 0.85
testMethod · 0.45

Tested by

no test coverage detected