* Get all unresolved references
()
| 4445 | * Get all unresolved references |
| 4446 | */ |
| 4447 | getUnresolvedReferences(): UnresolvedReference[] { |
| 4448 | const rows = this.db.prepare('SELECT * FROM unresolved_refs').all() as UnresolvedRefRow[]; |
| 4449 | return rows.map((row) => ({ |
| 4450 | fromNodeId: row.from_node_id, |
| 4451 | referenceName: row.reference_name, |
| 4452 | referenceKind: row.reference_kind as EdgeKind, |
| 4453 | line: row.line, |
| 4454 | column: row.col, |
| 4455 | candidates: row.candidates ? safeJsonParse(row.candidates, undefined) : undefined, |
| 4456 | filePath: row.file_path, |
| 4457 | language: row.language as Language, |
| 4458 | rowId: row.id, |
| 4459 | })); |
| 4460 | } |
| 4461 | |
| 4462 | /** The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names. */ |
| 4463 | getCppIncludeEdges(): Array<{ source: string; target: string }> { |
no test coverage detected