Parses a url into a `UrlTree`
(url: string)
| 447 | export class DefaultUrlSerializer implements UrlSerializer { |
| 448 | /** Parses a url into a `UrlTree` */ |
| 449 | parse(url: string): UrlTree { |
| 450 | const p = new UrlParser(url); |
| 451 | return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment()); |
| 452 | } |
| 453 | |
| 454 | /** Converts a `UrlTree` into a url */ |
| 455 | serialize(tree: UrlTree): string { |
nothing calls this directly
no test coverage detected