(start: number, end: number)
| 1347 | const renders = (s: RouteScope): boolean => Boolean(s.component || s.lazy); |
| 1348 | const holds = (outer: RouteScope, start: number, end: number): boolean => outer.start < start && outer.end >= end; |
| 1349 | const around = (start: number, end: number): RouteScope[] => |
| 1350 | scopes.filter((outer) => holds(outer, start, end)).sort((a, b) => a.start - b.start); |
| 1351 | const shown = (p: RoutePart): string => p.lit ?? `{${p.expr}}`; |
| 1352 | const layoutOf = (s: RouteScope): string => (s.component ?? s.lazy)!; |
| 1353 | const partsOf = new Map<RouteScope, RoutePart[]>(); |
no test coverage detected