()
| 630 | } |
| 631 | |
| 632 | parseQueryParams(): Params { |
| 633 | const params: Params = {}; |
| 634 | if (this.consumeOptional('?')) { |
| 635 | do { |
| 636 | this.parseQueryParam(params); |
| 637 | } while (this.consumeOptional('&')); |
| 638 | } |
| 639 | return params; |
| 640 | } |
| 641 | |
| 642 | parseFragment(): string | null { |
| 643 | return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null; |
no test coverage detected