* The outer methods of chains through members and calls, which resolution * types link by link (#2550): `{args}.A.B.C` for one written with its * arguments, `{call}.A.B.C` for a statement.
(code: string, qualifiedName: string)
| 88 | * arguments, `{call}.A.B.C` for a statement. |
| 89 | */ |
| 90 | function chainsFrom(code: string, qualifiedName: string): string[] { |
| 91 | return refsFrom(code, qualifiedName, 'references').filter((r) => /^\{(?:args|call)[@}]/.test(r)); |
| 92 | } |
| 93 | |
| 94 | async function withIndex(code: string, check: (cg: CodeGraph) => void): Promise<void> { |
| 95 | const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-pascal-chain-')); |
no test coverage detected