(node: Node)
| 350 | |
| 351 | /** True for a route node this resolver emitted. */ |
| 352 | export function isAngularRoute(node: Node): boolean { |
| 353 | return node.kind === 'route' && node.id.endsWith(':angular') && node.id === routeId(node.filePath, node.startLine, inFilePath(node)); |
| 354 | } |
| 355 | |
| 356 | /** The path a route has within its own file, before any mount — kept in the qualified name so the cross-file pass is idempotent. */ |
| 357 | function inFilePath(node: Node): string { |
no test coverage detected