Get all nodes in a file
(filePath: string)
| 90 | export interface ResolutionContext { |
| 91 | /** Get all nodes in a file */ |
| 92 | getNodesInFile(filePath: string): Node[]; |
| 93 | /** Whether any node in the file is exported (`getNodesInFile(f).some(n => n.isExported)`), as one indexed probe. */ |
| 94 | fileHasExportedNode?(filePath: string): boolean; |
| 95 | /** `getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file. */ |
no outgoing calls