Function
getFacts
(
_root: string,
symbol: SymbolRef,
kinds: string[],
_opts?: ProviderQueryOptions,
)
Source from the content-addressed store, hash-verified
| 112 | resolveCalls, |
| 113 | unresolvable, |
| 114 | async getFacts( |
| 115 | _root: string, |
| 116 | symbol: SymbolRef, |
| 117 | kinds: string[], |
| 118 | _opts?: ProviderQueryOptions, |
| 119 | ): Promise<SymbolFacts> { |
| 120 | expect(kinds).toEqual(['callees']); |
| 121 | factCalls.push(symbol.qualifiedName ?? symbol.name); |
| 122 | const short = (symbol.qualifiedName ?? '').slice(PROJECT.length + 1); |
| 123 | return { |
| 124 | callees: { value: graph[short] ?? [], state: 'known', evidence: [] }, |
| 125 | }; |
| 126 | }, |
| 127 | async resolveSymbolAt( |
| 128 | _root: string, |
| 129 | filePath: string, |
Callers
nothing calls this directly
Tested by
no test coverage detected