Function
refOf
(file: string | undefined, line: number | undefined)
Source from the content-addressed store, hash-verified
| 573 | } |
| 574 | |
| 575 | function refOf(file: string | undefined, line: number | undefined): PseudocodeSourceRef | undefined { |
| 576 | if (file === undefined || file.length === 0 || line === undefined) { |
| 577 | return undefined; |
| 578 | } |
| 579 | return { uri: file, line }; |
| 580 | } |
| 581 | |
| 582 | /** The symbol's own declaration, in graph line space. The fallback every line can reach. */ |
| 583 | function declarationRefOf(ir: SemanticIR): PseudocodeSourceRef { |
Tested by
no test coverage detected