Parses a url into a `UrlTree`
(url: string)
| 472 | export class DefaultUrlSerializer implements UrlSerializer { |
| 473 | /** Parses a url into a `UrlTree` */ |
| 474 | parse(url: string): UrlTree { |
| 475 | const p = new UrlParser(url); |
| 476 | return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment()); |
| 477 | } |
| 478 | |
| 479 | /** Converts a `UrlTree` into a url */ |
| 480 | serialize(tree: UrlTree): string { |
nothing calls this directly
no test coverage detected