(over: Partial<LineRef>)
| 50 | } |
| 51 | |
| 52 | function lineRef(over: Partial<LineRef>): LineRef { |
| 53 | return { |
| 54 | ident: 'x', |
| 55 | col: null, |
| 56 | targetId: 'method:x', |
| 57 | uncertain: false, |
| 58 | outside: false, |
| 59 | title: '', |
| 60 | ...over, |
| 61 | }; |
| 62 | } |
| 63 | |
| 64 | /** Which token an overlay ref claims — the whole point of the atomisation. */ |
| 65 | function claimedText(result: HighlightResult, line: number, ref: LineRef): string | undefined { |