(term: string)
| 886 | function juniorTerms(ir: SemanticIR, facets: ReadonlySet<Facet>): TwinTerm[] { |
| 887 | const wanted: string[] = []; |
| 888 | const add = (term: string): void => { |
| 889 | if (TERM_EXPLANATIONS[term] !== undefined && !wanted.includes(term)) { |
| 890 | wanted.push(term); |
| 891 | } |
| 892 | }; |
| 893 | if (ir.steps.value.length > 0 && (facets.has(Facet.Logic) || facets.has(Facet.Calls))) { |
| 894 | add('call site'); |
| 895 | } |