(caller, site)
| 226 | return (await triggersForFile(file.abs, file.language, [key])).get(siteKey(key)) ?? null; |
| 227 | }, |
| 228 | async callSite(caller, site) { |
| 229 | if (!site.line || sites >= maxSites || !supportsBranchGuards(caller.language)) return null; |
| 230 | const file = resolve(caller); |
| 231 | if (!file) return null; |
| 232 | sites++; |
| 233 | const key = { line: site.line, column: typeof site.column === 'number' ? site.column : null, ...(site.callee ? { callee: site.callee } : {}) }; |
| 234 | return (await callSitesForFile(file.abs, file.language, [key])).get(siteKey(key)) ?? null; |
| 235 | }, |
| 236 | async decorators(definition) { |
| 237 | // Not counted: one lookup per step, on a tree the walk has parsed anyway. |
| 238 | if (!definition.startLine || !supportsBranchGuards(definition.language)) return null; |
nothing calls this directly
no test coverage detected