MCPcopy
hub / github.com/witheve/Eve / accept

Method accept

src/runtime/join.ts:706–717  ·  view source on GitHub ↗
(multiIndex: MultiIndex, prefix, solvingFor, force?)

Source from the content-addressed store, hash-verified

704 }
705
706 accept(multiIndex: MultiIndex, prefix, solvingFor, force?) {
707 if(!force && !this.internalVars[solvingFor.id] || !fullyResolved(this.args, prefix)) return true;
708 for(let branch of this.branches) {
709 for(let stratum of branch.strata) {
710 let result = preJoinAccept(multiIndex, stratum.scans, stratum.vars, prefix);
711 if(result.accepted) {
712 return true;
713 }
714 }
715 }
716 return false;
717 }
718
719}
720

Callers

nothing calls this directly

Calls 2

fullyResolvedFunction · 0.85
preJoinAcceptFunction · 0.85

Tested by

no test coverage detected