* Get all unresolved references
()
| 4556 | * Get all unresolved references |
| 4557 | */ |
| 4558 | getUnresolvedReferences(): UnresolvedReference[] { |
| 4559 | const rows = this.db.prepare('SELECT * FROM unresolved_refs').all() as UnresolvedRefRow[]; |
| 4560 | return rows.map((row) => ({ |
| 4561 | fromNodeId: row.from_node_id, |
| 4562 | referenceName: row.reference_name, |
| 4563 | referenceKind: row.reference_kind as EdgeKind, |
| 4564 | line: row.line, |
| 4565 | column: row.col, |
| 4566 | candidates: row.candidates ? safeJsonParse(row.candidates, undefined) : undefined, |
| 4567 | filePath: row.file_path, |
| 4568 | language: row.language as Language, |
| 4569 | rowId: row.id, |
| 4570 | })); |
| 4571 | } |
| 4572 | |
| 4573 | /** The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names. */ |
| 4574 | getCppIncludeEdges(): Array<{ source: string; target: string }> { |
no test coverage detected