The literals `sites` in `file` stand for: each literal written there, and the tables each function named returns.
(sites: TableSite[], file: string, context: ResolutionContext, depth: number)
| 2093 | |
| 2094 | /** The literals `sites` in `file` stand for: each literal written there, and the tables each function named returns. */ |
| 2095 | function tablesAt(sites: TableSite[], file: string, context: ResolutionContext, depth: number): TableLiteral[] { |
| 2096 | return sites.flatMap((site) => |
| 2097 | typeof site === 'number' ? [{ file, at: site }] : depth > 3 ? [] : tableNamed(site, file, context, depth + 1)); |
| 2098 | } |
| 2099 | |
| 2100 | /** The literals `file` exports as `exported`: `export default [ … ]`, `export default AppRoutes`, `export const routes = [ … ]`, re-exports followed. */ |
| 2101 | function exportedTable(file: string, exported: string, call: boolean, context: ResolutionContext, depth: number): TableLiteral[] { |
no test coverage detected