* How far a unit's own routines are indented at most. In a unit whose * `unit` header the parser lost, the members of a class it couldn't read * come out as routines of the unit, indented deeper than the unit's own * (`function Http: IHttpClient;` in a class body); elsewhere, any.
(filePath: string, context: ResolutionContext)
| 811 | * (`function Http: IHttpClient;` in a class body); elsewhere, any. |
| 812 | */ |
| 813 | function unitRoutineColumn(filePath: string, context: ResolutionContext): number { |
| 814 | return outlineOf(filePath, context).routineColumn; |
| 815 | } |
| 816 | |
| 817 | /** What scope lookups need of a file's nodes, read once: its classes, its `uses` in order, unitRoutineColumn. */ |
| 818 | function outlineOf(filePath: string, context: ResolutionContext): { classes: Node[]; imports: Node[]; routineColumn: number } { |
no test coverage detected