The file's nodes named `name`, in `getNodesInFile` order.
(filePath: string, name: string, context: ResolutionContext)
| 141 | |
| 142 | /** The file's nodes named `name`, in `getNodesInFile` order. */ |
| 143 | function nodesInFileNamed(filePath: string, name: string, context: ResolutionContext): Node[] { |
| 144 | return context.getNodesInFileNamed?.(filePath, name) ?? context.getNodesInFile(filePath).filter((n) => n.name === name); |
| 145 | } |
| 146 | |
| 147 | /** The declaration `export default NAME` names in this file (see FileExportIndex.defaultBinding). */ |
| 148 | function defaultExportBindingNode(filePath: string, idx: FileExportIndex, context: ResolutionContext): Node | undefined { |
no test coverage detected