(tripleIndex, prefix, solvingFor, force?)
| 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 |
nothing calls this directly
no test coverage detected