* The call site a row came from, when it came from one. * * Steps are the only family whose records carry a resolution confidence and a * strategy of their own; everything else has to fall back to its citation.
(ir: SemanticIR, factPath: string)
| 634 | * strategy of their own; everything else has to fall back to its citation. |
| 635 | */ |
| 636 | function callFor(ir: SemanticIR, factPath: string): CallSite | undefined { |
| 637 | const match = /^steps\[(\d+)\]$/.exec(factPath); |
| 638 | return match ? ir.steps.value[Number(match[1])] : undefined; |
| 639 | } |
| 640 | |
| 641 | /** |
| 642 | * How certain one row is, worded, whether or not anyone put a number on it. |